@fangxinyan/lumina 0.9.0 → 0.9.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/Alert.d.cts +1 -1
- package/dist/Alert.d.ts +1 -1
- package/dist/AppShell.d.cts +1 -1
- package/dist/AppShell.d.ts +1 -1
- package/dist/AutoComplete.d.cts +1 -1
- package/dist/AutoComplete.d.ts +1 -1
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.ts +1 -1
- package/dist/Badge.d.cts +1 -1
- package/dist/Badge.d.ts +1 -1
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Calendar.d.cts +1 -1
- package/dist/Calendar.d.ts +1 -1
- package/dist/Card.d.cts +1 -1
- package/dist/Card.d.ts +1 -1
- package/dist/Cascader.d.cts +1 -1
- package/dist/Cascader.d.ts +1 -1
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Collapse.d.cts +1 -1
- package/dist/Collapse.d.ts +1 -1
- package/dist/ColorPicker.d.cts +1 -1
- package/dist/ColorPicker.d.ts +1 -1
- package/dist/CommandPalette.d.cts +1 -1
- package/dist/CommandPalette.d.ts +1 -1
- package/dist/ContextMenu.d.cts +1 -1
- package/dist/ContextMenu.d.ts +1 -1
- package/dist/DatePicker.d.cts +1 -1
- package/dist/DatePicker.d.ts +1 -1
- package/dist/DateTimePicker.d.cts +1 -1
- package/dist/DateTimePicker.d.ts +1 -1
- package/dist/Divider.d.cts +1 -1
- package/dist/Divider.d.ts +1 -1
- package/dist/Drawer.d.cts +1 -1
- package/dist/Drawer.d.ts +1 -1
- package/dist/Empty.d.cts +1 -1
- package/dist/Empty.d.ts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.ts +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.ts +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.ts +1 -1
- package/dist/Input.d.cts +1 -1
- package/dist/Input.d.ts +1 -1
- package/dist/InputNumber.d.cts +1 -1
- package/dist/InputNumber.d.ts +1 -1
- package/dist/List.d.cts +1 -1
- package/dist/List.d.ts +1 -1
- package/dist/Message.d.cts +1 -1
- package/dist/Message.d.ts +1 -1
- package/dist/{Modal-UI2FXNDR.css → Modal-KLLX3Z2M.css} +23 -6
- package/dist/Modal.cjs +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.ts +1 -1
- package/dist/Modal.js +1 -1
- package/dist/Pagination.d.cts +1 -1
- package/dist/Pagination.d.ts +1 -1
- package/dist/Popover.d.cts +1 -1
- package/dist/Popover.d.ts +1 -1
- package/dist/Progress.d.cts +1 -1
- package/dist/Progress.d.ts +1 -1
- package/dist/Radio.d.cts +1 -1
- package/dist/Radio.d.ts +1 -1
- package/dist/Select.d.cts +1 -1
- package/dist/Select.d.ts +1 -1
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.ts +1 -1
- package/dist/Slider.d.cts +1 -1
- package/dist/Slider.d.ts +1 -1
- package/dist/Spin.d.cts +1 -1
- package/dist/Spin.d.ts +1 -1
- package/dist/Splitter.d.cts +1 -1
- package/dist/Splitter.d.ts +1 -1
- package/dist/StatusBar.d.cts +1 -1
- package/dist/StatusBar.d.ts +1 -1
- package/dist/Surface.d.cts +2 -2
- package/dist/Surface.d.ts +2 -2
- package/dist/Switch.d.cts +1 -1
- package/dist/Switch.d.ts +1 -1
- package/dist/Table.d.cts +1 -1
- package/dist/Table.d.ts +1 -1
- package/dist/TablePro.d.cts +1 -1
- package/dist/TablePro.d.ts +1 -1
- package/dist/Tabs.d.cts +1 -1
- package/dist/Tabs.d.ts +1 -1
- package/dist/Tag.d.cts +1 -1
- package/dist/Tag.d.ts +1 -1
- package/dist/Textarea.d.cts +1 -1
- package/dist/Textarea.d.ts +1 -1
- package/dist/{Theme-uQq2B0Yk.d.cts → Theme-BJa0Nb3w.d.cts} +1 -1
- package/dist/{Theme-CLedeJ_C.d.ts → Theme-DTtq_WWg.d.ts} +1 -1
- package/dist/Theme.d.cts +4 -4
- package/dist/Theme.d.ts +4 -4
- package/dist/ThemePanel.d.cts +2 -2
- package/dist/ThemePanel.d.ts +2 -2
- package/dist/TimePicker.d.cts +1 -1
- package/dist/TimePicker.d.ts +1 -1
- package/dist/Timeline.d.cts +1 -1
- package/dist/Timeline.d.ts +1 -1
- package/dist/Tooltip.d.cts +1 -1
- package/dist/Tooltip.d.ts +1 -1
- package/dist/Typography.d.cts +1 -1
- package/dist/Typography.d.ts +1 -1
- package/dist/{chunk-GMFOY7RD.js → chunk-RJCPXAZ3.js} +10 -4
- package/dist/{chunk-I2YL5XE4.cjs → chunk-SOAGRYM3.cjs} +10 -4
- package/dist/{componentThemeTypes-Jt4B5aU8.d.cts → componentThemeTypes-C7lS3Hi8.d.cts} +6 -2
- package/dist/{componentThemeTypes-Jt4B5aU8.d.ts → componentThemeTypes-C7lS3Hi8.d.ts} +6 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/styles.css +23 -6
- package/docs/llms/modal.md +24 -2
- package/docs/llms/theme.md +1 -1
- package/docs/llms.md +1 -1
- package/package.json +1 -1
package/dist/Select.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconSlot } from './Icon.cjs';
|
|
3
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
interface SelectOption<T extends string | number = string> {
|
package/dist/Select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconSlot } from './Icon.js';
|
|
3
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
interface SelectOption<T extends string | number = string> {
|
package/dist/Skeleton.d.cts
CHANGED
package/dist/Skeleton.d.ts
CHANGED
package/dist/Slider.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
type SliderRangeValue = [number, number];
|
|
5
5
|
type SliderValue = number | SliderRangeValue;
|
package/dist/Slider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
type SliderRangeValue = [number, number];
|
|
5
5
|
type SliderValue = number | SliderRangeValue;
|
package/dist/Spin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
type SpinSize = "small" | "default" | "large" | number;
|
|
5
5
|
interface SpinProps extends React.HTMLAttributes<HTMLSpanElement>, ComponentThemeProps {
|
package/dist/Spin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
type SpinSize = "small" | "default" | "large" | number;
|
|
5
5
|
interface SpinProps extends React.HTMLAttributes<HTMLSpanElement>, ComponentThemeProps {
|
package/dist/Splitter.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
type SplitterDirection = "horizontal" | "vertical";
|
|
5
5
|
interface SplitterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onResize">, ComponentThemeProps {
|
package/dist/Splitter.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
type SplitterDirection = "horizontal" | "vertical";
|
|
5
5
|
interface SplitterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onResize">, ComponentThemeProps {
|
package/dist/StatusBar.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
interface StatusBarItemProps extends Omit<React.HTMLAttributes<HTMLElement>, "children">, ComponentThemeProps {
|
|
5
5
|
/** Optional leading node (usually an `<Icon />`). */
|
package/dist/StatusBar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
interface StatusBarItemProps extends Omit<React.HTMLAttributes<HTMLElement>, "children">, ComponentThemeProps {
|
|
5
5
|
/** Optional leading node (usually an `<Icon />`). */
|
package/dist/Surface.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ThemePreset, e as ThemeMode, b as DensityMode, c as FontConfig, g as ThemePresets } from './Theme-
|
|
3
|
-
import { T as ThemeBaseMode, A as AccentKey, h as CustomAccentInput, l as ThemeTokens, i as ThemeColorOverrides, e as ComponentThemeOverrides, C as ComponentTheme } from './componentThemeTypes-
|
|
2
|
+
import { f as ThemePreset, e as ThemeMode, b as DensityMode, c as FontConfig, g as ThemePresets } from './Theme-BJa0Nb3w.cjs';
|
|
3
|
+
import { T as ThemeBaseMode, A as AccentKey, h as CustomAccentInput, l as ThemeTokens, i as ThemeColorOverrides, e as ComponentThemeOverrides, C as ComponentTheme } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
4
4
|
|
|
5
5
|
type SurfacePreset = "inherit" | "mist" | "porcelain" | "graphite" | "ember";
|
|
6
6
|
type SurfaceTone = "base" | "raised" | "sunken" | "accent";
|
package/dist/Surface.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ThemePreset, e as ThemeMode, b as DensityMode, c as FontConfig, g as ThemePresets } from './Theme-
|
|
3
|
-
import { T as ThemeBaseMode, A as AccentKey, h as CustomAccentInput, l as ThemeTokens, i as ThemeColorOverrides, e as ComponentThemeOverrides, C as ComponentTheme } from './componentThemeTypes-
|
|
2
|
+
import { f as ThemePreset, e as ThemeMode, b as DensityMode, c as FontConfig, g as ThemePresets } from './Theme-DTtq_WWg.js';
|
|
3
|
+
import { T as ThemeBaseMode, A as AccentKey, h as CustomAccentInput, l as ThemeTokens, i as ThemeColorOverrides, e as ComponentThemeOverrides, C as ComponentTheme } from './componentThemeTypes-C7lS3Hi8.js';
|
|
4
4
|
|
|
5
5
|
type SurfacePreset = "inherit" | "mist" | "porcelain" | "graphite" | "ember";
|
|
6
6
|
type SurfaceTone = "base" | "raised" | "sunken" | "accent";
|
package/dist/Switch.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
interface SwitchProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange" | "children" | "id">, ComponentThemeProps {
|
|
5
5
|
checked?: boolean;
|
package/dist/Switch.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
interface SwitchProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange" | "children" | "id">, ComponentThemeProps {
|
|
5
5
|
checked?: boolean;
|
package/dist/Table.d.cts
CHANGED
package/dist/Table.d.ts
CHANGED
package/dist/TablePro.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TableProps } from './Table.cjs';
|
|
3
|
-
import './componentThemeTypes-
|
|
3
|
+
import './componentThemeTypes-C7lS3Hi8.cjs';
|
|
4
4
|
|
|
5
5
|
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title" | "className" | "style"> {
|
|
6
6
|
/** Toolbar slot — search input, filter, etc. */
|
package/dist/TablePro.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TableProps } from './Table.js';
|
|
3
|
-
import './componentThemeTypes-
|
|
3
|
+
import './componentThemeTypes-C7lS3Hi8.js';
|
|
4
4
|
|
|
5
5
|
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title" | "className" | "style"> {
|
|
6
6
|
/** Toolbar slot — search input, filter, etc. */
|
package/dist/Tabs.d.cts
CHANGED
package/dist/Tabs.d.ts
CHANGED
package/dist/Tag.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconSlot } from './Icon.cjs';
|
|
3
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
type TagTone = "neutral" | "accent" | "info" | "success" | "warning" | "danger";
|
package/dist/Tag.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconSlot } from './Icon.js';
|
|
3
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
type TagTone = "neutral" | "accent" | "info" | "success" | "warning" | "danger";
|
package/dist/Textarea.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value" | "defaultValue">, ComponentThemeProps {
|
|
5
5
|
value?: string;
|
package/dist/Textarea.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value" | "defaultValue">, ComponentThemeProps {
|
|
5
5
|
value?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { T as ThemeBaseMode, R as ResolvedThemeColors, A as AccentKey, a as AccentPalette, h as CustomAccentInput, i as ThemeColorOverrides, l as ThemeTokens, e as ComponentThemeOverrides, k as ThemeSurfacePalette } from './componentThemeTypes-
|
|
2
|
+
import { T as ThemeBaseMode, R as ResolvedThemeColors, A as AccentKey, a as AccentPalette, h as CustomAccentInput, i as ThemeColorOverrides, l as ThemeTokens, e as ComponentThemeOverrides, k as ThemeSurfacePalette } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
/** 子树和 Portal 之间传递的完整视觉主题快照。 */
|
|
5
5
|
interface VisualThemeSnapshot {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { T as ThemeBaseMode, R as ResolvedThemeColors, A as AccentKey, a as AccentPalette, h as CustomAccentInput, i as ThemeColorOverrides, l as ThemeTokens, e as ComponentThemeOverrides, k as ThemeSurfacePalette } from './componentThemeTypes-
|
|
2
|
+
import { T as ThemeBaseMode, R as ResolvedThemeColors, A as AccentKey, a as AccentPalette, h as CustomAccentInput, i as ThemeColorOverrides, l as ThemeTokens, e as ComponentThemeOverrides, k as ThemeSurfacePalette } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
/** 子树和 Portal 之间传递的完整视觉主题快照。 */
|
|
5
5
|
interface VisualThemeSnapshot {
|
package/dist/Theme.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as ThemeBaseMode, l as ThemeTokens } from './componentThemeTypes-
|
|
2
|
-
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, R as ResolvedThemeColors, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette } from './componentThemeTypes-
|
|
3
|
-
import { f as ThemePreset } from './Theme-
|
|
4
|
-
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-
|
|
1
|
+
import { T as ThemeBaseMode, l as ThemeTokens } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
2
|
+
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, M as ModalThemeSlot, R as ResolvedThemeColors, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
|
+
import { f as ThemePreset } from './Theme-BJa0Nb3w.cjs';
|
|
4
|
+
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-BJa0Nb3w.cjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
7
|
/** Lumina 内置主题预设名称。 */
|
package/dist/Theme.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as ThemeBaseMode, l as ThemeTokens } from './componentThemeTypes-
|
|
2
|
-
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, R as ResolvedThemeColors, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette } from './componentThemeTypes-
|
|
3
|
-
import { f as ThemePreset } from './Theme-
|
|
4
|
-
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-
|
|
1
|
+
import { T as ThemeBaseMode, l as ThemeTokens } from './componentThemeTypes-C7lS3Hi8.js';
|
|
2
|
+
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, M as ModalThemeSlot, R as ResolvedThemeColors, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
|
+
import { f as ThemePreset } from './Theme-DTtq_WWg.js';
|
|
4
|
+
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-DTtq_WWg.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
7
|
/** Lumina 内置主题预设名称。 */
|
package/dist/ThemePanel.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { e as ThemeMode, f as ThemePreset } from './Theme-
|
|
3
|
-
import { T as ThemeBaseMode, f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { e as ThemeMode, f as ThemePreset } from './Theme-BJa0Nb3w.cjs';
|
|
3
|
+
import { T as ThemeBaseMode, f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
4
4
|
|
|
5
5
|
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density" | "advanced";
|
|
6
6
|
interface ThemePanelPresetOption {
|
package/dist/ThemePanel.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { e as ThemeMode, f as ThemePreset } from './Theme-
|
|
3
|
-
import { T as ThemeBaseMode, f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { e as ThemeMode, f as ThemePreset } from './Theme-DTtq_WWg.js';
|
|
3
|
+
import { T as ThemeBaseMode, f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
4
4
|
|
|
5
5
|
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density" | "advanced";
|
|
6
6
|
interface ThemePanelPresetOption {
|
package/dist/TimePicker.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
type TimePickerFormat = "HH:mm" | "HH:mm:ss";
|
|
5
5
|
type TimePickerSize = "sm" | "md" | "lg";
|
package/dist/TimePicker.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
type TimePickerFormat = "HH:mm" | "HH:mm:ss";
|
|
5
5
|
type TimePickerSize = "sm" | "md" | "lg";
|
package/dist/Timeline.d.cts
CHANGED
package/dist/Timeline.d.ts
CHANGED
package/dist/Tooltip.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
3
3
|
|
|
4
4
|
type TooltipPlacement = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
5
5
|
interface TooltipProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children" | "content" | "title">, ComponentThemeProps {
|
package/dist/Tooltip.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
3
3
|
|
|
4
4
|
type TooltipPlacement = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
5
5
|
interface TooltipProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children" | "content" | "title">, ComponentThemeProps {
|
package/dist/Typography.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconName } from './Icon.cjs';
|
|
3
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
type TypographyType = "secondary" | "success" | "warning" | "danger";
|
package/dist/Typography.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconName } from './Icon.js';
|
|
3
|
-
import { f as ComponentThemeProps } from './componentThemeTypes-
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-C7lS3Hi8.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
type TypographyType = "secondary" | "success" | "warning" | "danger";
|
|
@@ -5,7 +5,7 @@ import { useComponentPortalTheme, InternalComponentThemePart, withComponentTheme
|
|
|
5
5
|
import { usePortalContainer } from './chunk-CPVUDSIY.js';
|
|
6
6
|
import './tokens-223RYVVS.css';
|
|
7
7
|
import './shared-NJHRNLRH.css';
|
|
8
|
-
import './Modal-
|
|
8
|
+
import './Modal-KLLX3Z2M.css';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
11
11
|
import { createRoot } from 'react-dom/client';
|
|
@@ -118,6 +118,7 @@ var ModalBase = React.forwardRef((props, ref) => {
|
|
|
118
118
|
)
|
|
119
119
|
] });
|
|
120
120
|
const modalBodyStyle = bodyOverflow == null ? { ...portalTheme.styles.body, ...bodyStyle } : { ...portalTheme.styles.body, overflow: bodyOverflow, ...bodyStyle };
|
|
121
|
+
const usesDefaultBodyOverflow = bodyOverflow == null && bodyStyle?.overflow == null && portalTheme.styles.body?.overflow == null;
|
|
121
122
|
return ReactDOM.createPortal(
|
|
122
123
|
/* @__PURE__ */ jsx(OverlayZIndexProvider, { zIndex: overlayZIndex, children: /* @__PURE__ */ jsx(
|
|
123
124
|
"div",
|
|
@@ -145,7 +146,7 @@ var ModalBase = React.forwardRef((props, ref) => {
|
|
|
145
146
|
...portalTheme.dataAttributes,
|
|
146
147
|
...rest,
|
|
147
148
|
children: [
|
|
148
|
-
(title || description || closable) && /* @__PURE__ */ jsxs("div", { className: "modal-head", children: [
|
|
149
|
+
(title || description || closable) && /* @__PURE__ */ jsxs("div", { className: "modal-head", style: portalTheme.styles.header, children: [
|
|
149
150
|
/* @__PURE__ */ jsxs("div", { className: "modal-titles", children: [
|
|
150
151
|
title && /* @__PURE__ */ jsx("div", { id: titleId, className: "modal-title", children: title }),
|
|
151
152
|
description && /* @__PURE__ */ jsx("div", { id: descriptionId, className: "modal-desc", children: description })
|
|
@@ -165,12 +166,17 @@ var ModalBase = React.forwardRef((props, ref) => {
|
|
|
165
166
|
"div",
|
|
166
167
|
{
|
|
167
168
|
...bodyProps,
|
|
168
|
-
className: [
|
|
169
|
+
className: [
|
|
170
|
+
"modal-body",
|
|
171
|
+
`inset-${bodyInset}`,
|
|
172
|
+
usesDefaultBodyOverflow ? "default-overflow" : "",
|
|
173
|
+
bodyClassName
|
|
174
|
+
].filter(Boolean).join(" "),
|
|
169
175
|
style: modalBodyStyle,
|
|
170
176
|
children
|
|
171
177
|
}
|
|
172
178
|
),
|
|
173
|
-
footer === null ? null : /* @__PURE__ */ jsx("div", { className: "modal-foot", children: footer ?? defaultFooter })
|
|
179
|
+
footer === null ? null : /* @__PURE__ */ jsx("div", { className: "modal-foot", style: portalTheme.styles.footer, children: footer ?? defaultFooter })
|
|
174
180
|
]
|
|
175
181
|
}
|
|
176
182
|
)
|
|
@@ -7,7 +7,7 @@ var chunkV6BLBIY6_cjs = require('./chunk-V6BLBIY6.cjs');
|
|
|
7
7
|
var chunkI4GJZLJU_cjs = require('./chunk-I4GJZLJU.cjs');
|
|
8
8
|
require('./tokens-223RYVVS.css');
|
|
9
9
|
require('./shared-NJHRNLRH.css');
|
|
10
|
-
require('./Modal-
|
|
10
|
+
require('./Modal-KLLX3Z2M.css');
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var ReactDOM = require('react-dom');
|
|
13
13
|
var client = require('react-dom/client');
|
|
@@ -143,6 +143,7 @@ var ModalBase = React__namespace.forwardRef((props, ref) => {
|
|
|
143
143
|
)
|
|
144
144
|
] });
|
|
145
145
|
const modalBodyStyle = bodyOverflow == null ? { ...portalTheme.styles.body, ...bodyStyle } : { ...portalTheme.styles.body, overflow: bodyOverflow, ...bodyStyle };
|
|
146
|
+
const usesDefaultBodyOverflow = bodyOverflow == null && bodyStyle?.overflow == null && portalTheme.styles.body?.overflow == null;
|
|
146
147
|
return ReactDOM__default.default.createPortal(
|
|
147
148
|
/* @__PURE__ */ jsxRuntime.jsx(chunkHSDMJUB6_cjs.OverlayZIndexProvider, { zIndex: overlayZIndex, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
148
149
|
"div",
|
|
@@ -170,7 +171,7 @@ var ModalBase = React__namespace.forwardRef((props, ref) => {
|
|
|
170
171
|
...portalTheme.dataAttributes,
|
|
171
172
|
...rest,
|
|
172
173
|
children: [
|
|
173
|
-
(title || description || closable) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "modal-head", children: [
|
|
174
|
+
(title || description || closable) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "modal-head", style: portalTheme.styles.header, children: [
|
|
174
175
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "modal-titles", children: [
|
|
175
176
|
title && /* @__PURE__ */ jsxRuntime.jsx("div", { id: titleId, className: "modal-title", children: title }),
|
|
176
177
|
description && /* @__PURE__ */ jsxRuntime.jsx("div", { id: descriptionId, className: "modal-desc", children: description })
|
|
@@ -190,12 +191,17 @@ var ModalBase = React__namespace.forwardRef((props, ref) => {
|
|
|
190
191
|
"div",
|
|
191
192
|
{
|
|
192
193
|
...bodyProps,
|
|
193
|
-
className: [
|
|
194
|
+
className: [
|
|
195
|
+
"modal-body",
|
|
196
|
+
`inset-${bodyInset}`,
|
|
197
|
+
usesDefaultBodyOverflow ? "default-overflow" : "",
|
|
198
|
+
bodyClassName
|
|
199
|
+
].filter(Boolean).join(" "),
|
|
194
200
|
style: modalBodyStyle,
|
|
195
201
|
children
|
|
196
202
|
}
|
|
197
203
|
),
|
|
198
|
-
footer === null ? null : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "modal-foot", children: footer ?? defaultFooter })
|
|
204
|
+
footer === null ? null : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "modal-foot", style: portalTheme.styles.footer, children: footer ?? defaultFooter })
|
|
199
205
|
]
|
|
200
206
|
}
|
|
201
207
|
)
|
|
@@ -60,8 +60,12 @@ interface ComponentThemeOverride<TSlot extends string = string> {
|
|
|
60
60
|
tokens?: ThemeTokens;
|
|
61
61
|
styles?: Partial<Record<TSlot, React.CSSProperties>>;
|
|
62
62
|
}
|
|
63
|
+
/** Modal 对外提供的稳定结构样式插槽。 */
|
|
64
|
+
type ModalThemeSlot = "root" | "popup" | "overlay" | "header" | "body" | "footer";
|
|
63
65
|
/** 按公共组件名称配置的主题覆盖。 */
|
|
64
|
-
type ComponentThemeOverrides = Partial<
|
|
66
|
+
type ComponentThemeOverrides = Partial<{
|
|
67
|
+
[TName in ComponentThemeName]: TName extends "Modal" ? ComponentThemeOverride<ModalThemeSlot> : ComponentThemeOverride;
|
|
68
|
+
}>;
|
|
65
69
|
/** 单个组件或组件子树使用的视觉主题。 */
|
|
66
70
|
interface ComponentThemeOptions extends Omit<ComponentThemeOverride, "styles"> {
|
|
67
71
|
scope?: ComponentThemeScope;
|
|
@@ -74,4 +78,4 @@ interface ComponentThemeProps {
|
|
|
74
78
|
theme?: ComponentTheme;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
|
-
export type { AccentKey as A, ComponentTheme as C, ResolvedThemeColors as R, ThemeBaseMode as T, AccentPalette as a, ComponentThemeName as b, ComponentThemeOptions as c, ComponentThemeOverride as d, ComponentThemeOverrides as e, ComponentThemeProps as f, ComponentThemeScope as g, CustomAccentInput as h, ThemeColorOverrides as i, ThemeSemanticColors as j, ThemeSurfacePalette as k, ThemeTokens as l };
|
|
81
|
+
export type { AccentKey as A, ComponentTheme as C, ModalThemeSlot as M, ResolvedThemeColors as R, ThemeBaseMode as T, AccentPalette as a, ComponentThemeName as b, ComponentThemeOptions as c, ComponentThemeOverride as d, ComponentThemeOverrides as e, ComponentThemeProps as f, ComponentThemeScope as g, CustomAccentInput as h, ThemeColorOverrides as i, ThemeSemanticColors as j, ThemeSurfacePalette as k, ThemeTokens as l };
|
|
@@ -60,8 +60,12 @@ interface ComponentThemeOverride<TSlot extends string = string> {
|
|
|
60
60
|
tokens?: ThemeTokens;
|
|
61
61
|
styles?: Partial<Record<TSlot, React.CSSProperties>>;
|
|
62
62
|
}
|
|
63
|
+
/** Modal 对外提供的稳定结构样式插槽。 */
|
|
64
|
+
type ModalThemeSlot = "root" | "popup" | "overlay" | "header" | "body" | "footer";
|
|
63
65
|
/** 按公共组件名称配置的主题覆盖。 */
|
|
64
|
-
type ComponentThemeOverrides = Partial<
|
|
66
|
+
type ComponentThemeOverrides = Partial<{
|
|
67
|
+
[TName in ComponentThemeName]: TName extends "Modal" ? ComponentThemeOverride<ModalThemeSlot> : ComponentThemeOverride;
|
|
68
|
+
}>;
|
|
65
69
|
/** 单个组件或组件子树使用的视觉主题。 */
|
|
66
70
|
interface ComponentThemeOptions extends Omit<ComponentThemeOverride, "styles"> {
|
|
67
71
|
scope?: ComponentThemeScope;
|
|
@@ -74,4 +78,4 @@ interface ComponentThemeProps {
|
|
|
74
78
|
theme?: ComponentTheme;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
|
-
export type { AccentKey as A, ComponentTheme as C, ResolvedThemeColors as R, ThemeBaseMode as T, AccentPalette as a, ComponentThemeName as b, ComponentThemeOptions as c, ComponentThemeOverride as d, ComponentThemeOverrides as e, ComponentThemeProps as f, ComponentThemeScope as g, CustomAccentInput as h, ThemeColorOverrides as i, ThemeSemanticColors as j, ThemeSurfacePalette as k, ThemeTokens as l };
|
|
81
|
+
export type { AccentKey as A, ComponentTheme as C, ModalThemeSlot as M, ResolvedThemeColors as R, ThemeBaseMode as T, AccentPalette as a, ComponentThemeName as b, ComponentThemeOptions as c, ComponentThemeOverride as d, ComponentThemeOverrides as e, ComponentThemeProps as f, ComponentThemeScope as g, CustomAccentInput as h, ThemeColorOverrides as i, ThemeSemanticColors as j, ThemeSurfacePalette as k, ThemeTokens as l };
|
package/dist/index.cjs
CHANGED
|
@@ -19,7 +19,7 @@ var chunkUQF7E32V_cjs = require('./chunk-UQF7E32V.cjs');
|
|
|
19
19
|
var chunk6WEXRX7K_cjs = require('./chunk-6WEXRX7K.cjs');
|
|
20
20
|
var chunkZ6AG7O4B_cjs = require('./chunk-Z6AG7O4B.cjs');
|
|
21
21
|
var chunkTPFY5SKB_cjs = require('./chunk-TPFY5SKB.cjs');
|
|
22
|
-
var
|
|
22
|
+
var chunkSOAGRYM3_cjs = require('./chunk-SOAGRYM3.cjs');
|
|
23
23
|
var chunkVTN6YLRJ_cjs = require('./chunk-VTN6YLRJ.cjs');
|
|
24
24
|
var chunkK3KHQ77L_cjs = require('./chunk-K3KHQ77L.cjs');
|
|
25
25
|
var chunkVNP5WB6M_cjs = require('./chunk-VNP5WB6M.cjs');
|
|
@@ -58,7 +58,7 @@ require('./chunk-V6BLBIY6.cjs');
|
|
|
58
58
|
var chunkI4GJZLJU_cjs = require('./chunk-I4GJZLJU.cjs');
|
|
59
59
|
|
|
60
60
|
// src/index.ts
|
|
61
|
-
var VERSION = "0.9.
|
|
61
|
+
var VERSION = "0.9.1";
|
|
62
62
|
|
|
63
63
|
Object.defineProperty(exports, "Timeline", {
|
|
64
64
|
enumerable: true,
|
|
@@ -186,7 +186,7 @@ Object.defineProperty(exports, "toast", {
|
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "Modal", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkSOAGRYM3_cjs.Modal; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "Pagination", {
|
|
192
192
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -45,8 +45,8 @@ export { Cascader, CascaderOption, CascaderOptionRenderInfo, CascaderProps, Casc
|
|
|
45
45
|
export { BaseTypographyProps, CopyableConfig, EditableConfig, EllipsisConfig, Link, LinkProps, Paragraph, ParagraphProps, Text, TextProps, Title, TitleLevel, TitleProps, Typography, TypographyProps, TypographyType } from './Typography.cjs';
|
|
46
46
|
export { ColorPicker, ColorPickerProps, ColorPickerTriggerElement } from './ColorPicker.cjs';
|
|
47
47
|
export { Drawer, DrawerBodyInset, DrawerProps } from './Drawer.cjs';
|
|
48
|
-
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, R as ResolvedThemeColors, T as ThemeBaseMode, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette, l as ThemeTokens } from './componentThemeTypes-
|
|
49
|
-
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, f as ThemePreset, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-
|
|
48
|
+
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, M as ModalThemeSlot, R as ResolvedThemeColors, T as ThemeBaseMode, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette, l as ThemeTokens } from './componentThemeTypes-C7lS3Hi8.cjs';
|
|
49
|
+
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, f as ThemePreset, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-BJa0Nb3w.cjs';
|
|
50
50
|
export { BuiltInLuminaThemePresetKey, LUMINA_THEME_PRESETS, cloneLuminaThemePreset, pickLuminaThemePresets } from './Theme.cjs';
|
|
51
51
|
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, ThemePanelCreateThemePayload, ThemePanelCreatedThemeMeta, ThemePanelDeleteThemePayload, ThemePanelModeOption, ThemePanelPresetOption, ThemePanelProps, ThemePanelSection, ThemePanelUpdateThemePayload } from './ThemePanel.cjs';
|
|
52
52
|
export { Timeline, TimelineItemConfig, TimelineProps } from './Timeline.cjs';
|
|
@@ -54,6 +54,6 @@ import 'react/jsx-runtime';
|
|
|
54
54
|
import 'react';
|
|
55
55
|
|
|
56
56
|
/** Package version — bumped by release scripts. */
|
|
57
|
-
declare const VERSION = "0.9.
|
|
57
|
+
declare const VERSION = "0.9.1";
|
|
58
58
|
|
|
59
59
|
export { VERSION };
|
package/dist/index.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ export { Cascader, CascaderOption, CascaderOptionRenderInfo, CascaderProps, Casc
|
|
|
45
45
|
export { BaseTypographyProps, CopyableConfig, EditableConfig, EllipsisConfig, Link, LinkProps, Paragraph, ParagraphProps, Text, TextProps, Title, TitleLevel, TitleProps, Typography, TypographyProps, TypographyType } from './Typography.js';
|
|
46
46
|
export { ColorPicker, ColorPickerProps, ColorPickerTriggerElement } from './ColorPicker.js';
|
|
47
47
|
export { Drawer, DrawerBodyInset, DrawerProps } from './Drawer.js';
|
|
48
|
-
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, R as ResolvedThemeColors, T as ThemeBaseMode, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette, l as ThemeTokens } from './componentThemeTypes-
|
|
49
|
-
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, f as ThemePreset, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-
|
|
48
|
+
export { A as AccentKey, a as AccentPalette, C as ComponentTheme, b as ComponentThemeName, c as ComponentThemeOptions, d as ComponentThemeOverride, e as ComponentThemeOverrides, f as ComponentThemeProps, g as ComponentThemeScope, h as CustomAccentInput, M as ModalThemeSlot, R as ResolvedThemeColors, T as ThemeBaseMode, i as ThemeColorOverrides, j as ThemeSemanticColors, k as ThemeSurfacePalette, l as ThemeTokens } from './componentThemeTypes-C7lS3Hi8.js';
|
|
49
|
+
export { A as ACCENT_PRESETS, a as ACCENT_PRESETS_DARK, B as BuiltInThemeMode, D as DEFAULT_THEME_COLORS, b as DensityMode, F as FONT_STACKS, c as FontConfig, d as FontKey, R as ResolvedThemeMode, T as ThemeConfig, e as ThemeMode, f as ThemePreset, g as ThemePresets, h as ThemeProvider, i as ThemeProviderConfig, j as ThemeProviderProps, k as ThemeValue, l as applyTheme, m as componentTokensToStyle, n as deriveThemeColors, o as normalizeAccentInput, r as resolveThemeColorScheme, p as resolveThemeColors, q as resolveThemeMode, s as resolveVisualThemeSnapshot, t as themeColorsToStyle, u as themeTokenToKebabCase, v as useTheme, w as useThemeOptional, x as visualThemeToStyle } from './Theme-DTtq_WWg.js';
|
|
50
50
|
export { BuiltInLuminaThemePresetKey, LUMINA_THEME_PRESETS, cloneLuminaThemePreset, pickLuminaThemePresets } from './Theme.js';
|
|
51
51
|
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, ThemePanelCreateThemePayload, ThemePanelCreatedThemeMeta, ThemePanelDeleteThemePayload, ThemePanelModeOption, ThemePanelPresetOption, ThemePanelProps, ThemePanelSection, ThemePanelUpdateThemePayload } from './ThemePanel.js';
|
|
52
52
|
export { Timeline, TimelineItemConfig, TimelineProps } from './Timeline.js';
|
|
@@ -54,6 +54,6 @@ import 'react/jsx-runtime';
|
|
|
54
54
|
import 'react';
|
|
55
55
|
|
|
56
56
|
/** Package version — bumped by release scripts. */
|
|
57
|
-
declare const VERSION = "0.9.
|
|
57
|
+
declare const VERSION = "0.9.1";
|
|
58
58
|
|
|
59
59
|
export { VERSION };
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export { Switch } from './chunk-O6PRE6MZ.js';
|
|
|
17
17
|
export { InputNumber } from './chunk-RYF5ADJW.js';
|
|
18
18
|
export { List } from './chunk-LACXN5CI.js';
|
|
19
19
|
export { MessageContainer, ToastContainer, message, toast } from './chunk-2V6RQQRI.js';
|
|
20
|
-
export { Modal } from './chunk-
|
|
20
|
+
export { Modal } from './chunk-RJCPXAZ3.js';
|
|
21
21
|
export { Pagination } from './chunk-UCE53RYR.js';
|
|
22
22
|
export { Select } from './chunk-AL2PYVVP.js';
|
|
23
23
|
export { Tag } from './chunk-OGMI3TO5.js';
|
|
@@ -56,6 +56,6 @@ import './chunk-5HLNFDV4.js';
|
|
|
56
56
|
export { ACCENT_PRESETS, ACCENT_PRESETS_DARK, DEFAULT_THEME_COLORS, FONT_STACKS, ThemeProvider, applyTheme, componentTokensToStyle, deriveThemeColors, normalizeAccentInput, resolveThemeColorScheme, resolveThemeColors, resolveThemeMode, resolveVisualThemeSnapshot, themeColorsToStyle, themeTokenToKebabCase, useTheme, useThemeOptional, visualThemeToStyle } from './chunk-CPVUDSIY.js';
|
|
57
57
|
|
|
58
58
|
// src/index.ts
|
|
59
|
-
var VERSION = "0.9.
|
|
59
|
+
var VERSION = "0.9.1";
|
|
60
60
|
|
|
61
61
|
export { VERSION };
|