@lax-wp/design-system 0.8.37 → 0.8.39
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/components/buttons/option-button/OptionButton.d.ts +2 -0
- package/dist/components/data-display/comparison/Comparison.d.ts +2 -2
- package/dist/components/data-display/comparison/ComparisonContext.d.ts +1 -1
- package/dist/components/data-display/comparison/components/SortableItem.d.ts +1 -1
- package/dist/components/data-display/comparison/constants.d.ts +1 -1
- package/dist/components/data-display/comparison/utils.d.ts +1 -1
- package/dist/index.es.js +1437 -1434
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +27 -27
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -45,6 +45,8 @@ export interface OptionButtonProps {
|
|
|
45
45
|
isFlowAvailable?: boolean;
|
|
46
46
|
/** Array of keyboard shortcut keys to display inline in the button (e.g., ['Meta', 'S'] or ['Ctrl', 'Enter']) */
|
|
47
47
|
shortcuts?: string[];
|
|
48
|
+
/** Custom CSS classes for the text */
|
|
49
|
+
textClassName?: string;
|
|
48
50
|
}
|
|
49
51
|
/**
|
|
50
52
|
* OptionButton component provides a flexible button for lists, menus, and option selections.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dispatch, ReactNode } from 'react';
|
|
2
|
-
import { ILayoutItem } from './constants';
|
|
1
|
+
import type { Dispatch, ReactNode } from 'react';
|
|
2
|
+
import type { ILayoutItem } from './constants';
|
|
3
3
|
export interface ComparisonProps {
|
|
4
4
|
/** Configuration for header tabs */
|
|
5
5
|
headerTabConfig?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ILayoutItem } from './constants';
|
|
1
|
+
import type { ILayoutItem } from './constants';
|
|
2
2
|
export declare const gridLayoutItems: import("memoize-one").MemoizedFn<(layoutItems: Array<Pick<ILayoutItem, "id" | "visible" | "states" | "isLoading">>) => {
|
|
3
3
|
items: Pick<ILayoutItem, "visible" | "id" | "isLoading" | "states">[];
|
|
4
4
|
ids: number[];
|