@hitachivantara/uikit-react-core 6.0.0-next.1 → 6.0.0-next.10
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/ActionBar/ActionBar.styles.js +1 -1
- package/dist/BaseDropdown/BaseDropdownPanel.js +1 -2
- package/dist/Button/Button.js +2 -2
- package/dist/CheckBox/CheckBox.js +2 -1
- package/dist/CheckBox/CheckBox.styles.js +10 -11
- package/dist/ColorPicker/ColorPicker.js +15 -21
- package/dist/ColorPicker/ColorPicker.styles.js +5 -10
- package/dist/ColorPicker/{Fields → Picker}/Fields.js +54 -44
- package/dist/ColorPicker/Picker/Picker.js +32 -41
- package/dist/ColorPicker/Picker/Picker.styles.js +21 -37
- package/dist/ColorPicker/PresetColors/PresetColors.js +5 -20
- package/dist/ColorPicker/PresetColors/PresetColors.styles.js +1 -10
- package/dist/ColorPicker/SavedColors/SavedColors.js +14 -37
- package/dist/ColorPicker/SavedColors/SavedColors.styles.js +9 -24
- package/dist/ColorPicker/Swatch.js +39 -0
- package/dist/FormElement/Suggestions/Suggestions.js +1 -2
- package/dist/Header/Actions/Actions.styles.js +2 -5
- package/dist/Header/Header.js +0 -1
- package/dist/Header/Header.styles.js +1 -2
- package/dist/Input/Input.js +1 -1
- package/dist/OverflowTooltip/OverflowTooltip.js +2 -2
- package/dist/Pagination/Pagination.js +17 -39
- package/dist/Pagination/Pagination.styles.js +32 -54
- package/dist/Radio/Radio.js +2 -2
- package/dist/Radio/Radio.styles.js +9 -11
- package/dist/SearchInput/SearchInput.styles.js +1 -2
- package/dist/Select/Option.js +1 -1
- package/dist/Select/OptionGroup.js +1 -1
- package/dist/Select/Select.js +4 -4
- package/dist/StatusIcon/StatusIcon.js +4 -4
- package/dist/StatusIcon/StatusIcon.styles.js +9 -14
- package/dist/Tag/Tag.js +1 -1
- package/dist/TextArea/TextArea.js +1 -1
- package/dist/TreeView/TreeView.js +1 -1
- package/dist/VerticalNavigation/NavigationPopup/NavigationPopupContainer.js +1 -2
- package/dist/icons.js +2 -2
- package/dist/index.d.ts +98 -115
- package/dist/index.js +3 -4
- package/dist/providers/Provider.js +3 -3
- package/dist/providers/ThemeProvider.js +24 -6
- package/dist/themes/index.js +3 -3
- package/dist/themes/{ds5.js → next.js} +4 -16
- package/dist/themes/pentaho.js +34 -1
- package/dist/utils/theme.js +0 -20
- package/package.json +11 -10
- package/dist/ColorPicker/Fields/Fields.styles.js +0 -36
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { CardHeaderProps } from '@mui/material/CardHeader';
|
|
|
6
6
|
import { CardMediaProps } from '@mui/material/CardMedia';
|
|
7
7
|
import { Cell } from 'react-table';
|
|
8
8
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
9
|
-
import { ClickAwayListenerProps } from '@mui/base
|
|
9
|
+
import { ClickAwayListenerProps } from '@mui/base';
|
|
10
10
|
import { ColumnInstance } from 'react-table';
|
|
11
11
|
import { ColumnInterface } from 'react-table';
|
|
12
12
|
import { ComponentProps } from 'react';
|
|
@@ -46,10 +46,10 @@ import { IdType as IdType_2 } from 'react-table';
|
|
|
46
46
|
import { InputBaseProps } from '@mui/material/InputBase';
|
|
47
47
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
48
48
|
import { MutableRefObject } from 'react';
|
|
49
|
-
import { OptionGroupProps } from '@mui/base
|
|
50
|
-
import { OptionOwnProps } from '@mui/base
|
|
49
|
+
import { OptionGroupProps } from '@mui/base';
|
|
50
|
+
import { OptionOwnProps } from '@mui/base';
|
|
51
51
|
import { OptionsObject } from 'notistack';
|
|
52
|
-
import { PopperProps } from '@mui/base
|
|
52
|
+
import { PopperProps } from '@mui/base';
|
|
53
53
|
import { PopperProps as PopperProps_2 } from 'react-popper';
|
|
54
54
|
import { PropGetter } from 'react-table';
|
|
55
55
|
import { PropsWithoutRef } from 'react';
|
|
@@ -60,6 +60,8 @@ import { ReducerTableState } from 'react-table';
|
|
|
60
60
|
import { RefAttributes } from 'react';
|
|
61
61
|
import { Renderer } from 'react-table';
|
|
62
62
|
import { Row } from 'react-table';
|
|
63
|
+
import { SelectOption } from '@mui/base';
|
|
64
|
+
import { SelectValue } from '@mui/base';
|
|
63
65
|
import { SlideProps } from '@mui/material/Slide';
|
|
64
66
|
import { SliderProps } from 'rc-slider';
|
|
65
67
|
import { SliderRef } from 'rc-slider';
|
|
@@ -124,7 +126,7 @@ import { UseRowStateInstanceProps } from 'react-table';
|
|
|
124
126
|
import { UseRowStateOptions } from 'react-table';
|
|
125
127
|
import { UseRowStateRowProps } from 'react-table';
|
|
126
128
|
import { UseRowStateState } from 'react-table';
|
|
127
|
-
import { UseSelectParameters } from '@mui/base
|
|
129
|
+
import { UseSelectParameters } from '@mui/base';
|
|
128
130
|
import { UseSortByColumnOptions } from 'react-table';
|
|
129
131
|
import { UseSortByColumnProps } from 'react-table';
|
|
130
132
|
import { UseSortByHooks } from 'react-table';
|
|
@@ -513,10 +515,8 @@ export declare const colorPickerClasses: {
|
|
|
513
515
|
panel: string;
|
|
514
516
|
colorPicker: string;
|
|
515
517
|
colorPickerIcon: string;
|
|
516
|
-
recommendedColorsRoot: string;
|
|
517
518
|
dropdownRootIconOnly: string;
|
|
518
519
|
headerColorIconOnly: string;
|
|
519
|
-
pickerFields: string;
|
|
520
520
|
};
|
|
521
521
|
|
|
522
522
|
declare type ColorVariant = "primary" | "secondary" | "positive" | "negative" | "warning";
|
|
@@ -639,6 +639,16 @@ declare const DEFAULT_LABELS_3: {
|
|
|
639
639
|
};
|
|
640
640
|
|
|
641
641
|
declare const DEFAULT_LABELS_4: {
|
|
642
|
+
backwards: string;
|
|
643
|
+
forwards: string;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
declare const DEFAULT_LABELS_5: {
|
|
647
|
+
recommendedColorsLabel: string;
|
|
648
|
+
customColorsLabel: string;
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
declare const DEFAULT_LABELS_6: {
|
|
642
652
|
/** The label of the clear button. */
|
|
643
653
|
clearButtonLabel: string;
|
|
644
654
|
/** The tooltip of the reveal password button when the password is hidden. */
|
|
@@ -649,16 +659,6 @@ declare const DEFAULT_LABELS_4: {
|
|
|
649
659
|
searchButtonLabel: string;
|
|
650
660
|
};
|
|
651
661
|
|
|
652
|
-
declare const DEFAULT_LABELS_5: {
|
|
653
|
-
backwards: string;
|
|
654
|
-
forwards: string;
|
|
655
|
-
};
|
|
656
|
-
|
|
657
|
-
declare const DEFAULT_LABELS_6: {
|
|
658
|
-
recommendedColorsLabel: string;
|
|
659
|
-
customColorsLabel: string;
|
|
660
|
-
};
|
|
661
|
-
|
|
662
662
|
declare const DEFAULT_LABELS_7: {
|
|
663
663
|
/** Label for overwrite the default header behavior. */
|
|
664
664
|
select: string | undefined;
|
|
@@ -788,8 +788,6 @@ export declare const dropDownMenuClasses: {
|
|
|
788
788
|
menuList: string;
|
|
789
789
|
};
|
|
790
790
|
|
|
791
|
-
export declare const ds5: HvThemeStructure;
|
|
792
|
-
|
|
793
791
|
export { EmotionContext }
|
|
794
792
|
|
|
795
793
|
export declare const emptyStateClasses: {
|
|
@@ -915,7 +913,6 @@ export declare const headerClasses: {
|
|
|
915
913
|
root: string;
|
|
916
914
|
header: string;
|
|
917
915
|
fixed: string;
|
|
918
|
-
backgroundColor: string;
|
|
919
916
|
};
|
|
920
917
|
|
|
921
918
|
export declare const headerNavigationClasses: {
|
|
@@ -942,7 +939,7 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
942
939
|
/** Content to be rendered. */
|
|
943
940
|
children: React.ReactNode;
|
|
944
941
|
/** The accordion label button. */
|
|
945
|
-
label?:
|
|
942
|
+
label?: React.ReactNode;
|
|
946
943
|
/** The function that will be executed whenever the accordion toggles. It will receive the state of the accordion. */
|
|
947
944
|
onChange?: (event: React.SyntheticEvent, value: boolean) => void;
|
|
948
945
|
/** Whether the accordion is open or not. If this property is defined the accordion must be fully controlled. */
|
|
@@ -1257,7 +1254,7 @@ export declare interface HvBannerProps extends Omit<SnackbarProps, "anchorOrigin
|
|
|
1257
1254
|
* */
|
|
1258
1255
|
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
1259
1256
|
/** The message to display. */
|
|
1260
|
-
label?:
|
|
1257
|
+
label?: React.ReactNode;
|
|
1261
1258
|
/** The anchor of the Snackbar. */
|
|
1262
1259
|
anchorOrigin?: "top" | "bottom";
|
|
1263
1260
|
/** Variant of the snackbar. */
|
|
@@ -2056,7 +2053,7 @@ declare interface HvCarouselControlsProps extends HvBaseProps<HTMLDivElement>, P
|
|
|
2056
2053
|
onPreviousClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
2057
2054
|
onNextClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
2058
2055
|
/** Labels used on the component. */
|
|
2059
|
-
labels?: Partial<typeof
|
|
2056
|
+
labels?: Partial<typeof DEFAULT_LABELS_4>;
|
|
2060
2057
|
}
|
|
2061
2058
|
|
|
2062
2059
|
export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "title" | "onChange"> {
|
|
@@ -2183,7 +2180,7 @@ export declare type HvCheckBoxClasses = ExtractNames<typeof useClasses_36>;
|
|
|
2183
2180
|
*/
|
|
2184
2181
|
export declare const HvCheckBoxGroup: ForwardRefExoticComponent<HvCheckBoxGroupProps & RefAttributes<HTMLDivElement>>;
|
|
2185
2182
|
|
|
2186
|
-
export declare type HvCheckBoxGroupClasses = ExtractNames<typeof
|
|
2183
|
+
export declare type HvCheckBoxGroupClasses = ExtractNames<typeof useClasses_47>;
|
|
2187
2184
|
|
|
2188
2185
|
export declare interface HvCheckBoxGroupProps extends HvBaseProps<HTMLDivElement, "onChange"> {
|
|
2189
2186
|
/**
|
|
@@ -2315,7 +2312,7 @@ export { HvColorAny }
|
|
|
2315
2312
|
*/
|
|
2316
2313
|
export declare const HvColorPicker: ForwardRefExoticComponent<HvColorPickerProps & RefAttributes<HTMLDivElement>>;
|
|
2317
2314
|
|
|
2318
|
-
export declare type HvColorPickerClasses = ExtractNames<typeof
|
|
2315
|
+
export declare type HvColorPickerClasses = ExtractNames<typeof useClasses_48>;
|
|
2319
2316
|
|
|
2320
2317
|
export declare interface HvColorPickerProps {
|
|
2321
2318
|
"aria-label"?: string;
|
|
@@ -2363,7 +2360,7 @@ export declare interface HvColorPickerProps {
|
|
|
2363
2360
|
/** If `true`, the labels are shown. If `false`, they are not shown. */
|
|
2364
2361
|
showLabels?: boolean;
|
|
2365
2362
|
/** An object containing all the labels. */
|
|
2366
|
-
labels?: Partial<typeof
|
|
2363
|
+
labels?: Partial<typeof DEFAULT_LABELS_5>;
|
|
2367
2364
|
/** Icon type for the input's end adornment. */
|
|
2368
2365
|
dropdownIcon?: "arrow" | "colorPicker";
|
|
2369
2366
|
/** If `true`, the input only shows an icon. If `false`, the input shows text and icons. */
|
|
@@ -2432,7 +2429,7 @@ declare type HvColumnWithStrictAccessor<D extends object = Record<string, unknow
|
|
|
2432
2429
|
/** The container enables you to center your content horizontally and bound it to a specific breakpoint. */
|
|
2433
2430
|
export declare const HvContainer: ForwardRefExoticComponent<Omit<HvContainerProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2434
2431
|
|
|
2435
|
-
export declare type HvContainerClasses = ExtractNames<typeof
|
|
2432
|
+
export declare type HvContainerClasses = ExtractNames<typeof useClasses_49>;
|
|
2436
2433
|
|
|
2437
2434
|
export declare interface HvContainerProps extends Omit<ContainerProps, "classes"> {
|
|
2438
2435
|
/**
|
|
@@ -2461,7 +2458,7 @@ export declare interface HvContainerProps extends Omit<ContainerProps, "classes"
|
|
|
2461
2458
|
|
|
2462
2459
|
export declare const HvControls: (props: HvControlsProps) => JSX_2.Element;
|
|
2463
2460
|
|
|
2464
|
-
export declare type HvControlsClasses = ExtractNames<typeof
|
|
2461
|
+
export declare type HvControlsClasses = ExtractNames<typeof useClasses_50>;
|
|
2465
2462
|
|
|
2466
2463
|
export declare interface HvControlsProps extends HvBaseProps {
|
|
2467
2464
|
/**
|
|
@@ -3855,9 +3852,9 @@ export declare type HvInlineEditorProps<C extends React.ElementType = typeof HvI
|
|
|
3855
3852
|
*/
|
|
3856
3853
|
export declare const HvInput: <InputElement extends HTMLElement = HTMLTextAreaElement | HTMLInputElement>(props: HvInputProps<InputElement> & RefAttributes<InputElement>) => React.ReactNode;
|
|
3857
3854
|
|
|
3858
|
-
export declare type HvInputClasses = ExtractNames<typeof
|
|
3855
|
+
export declare type HvInputClasses = ExtractNames<typeof useClasses_56>;
|
|
3859
3856
|
|
|
3860
|
-
export declare type HvInputLabels = Partial<typeof
|
|
3857
|
+
export declare type HvInputLabels = Partial<typeof DEFAULT_LABELS_6>;
|
|
3861
3858
|
|
|
3862
3859
|
export declare interface HvInputProps<InputElement extends HTMLElement = HTMLInputElement | HTMLTextAreaElement> extends Omit<HvBaseInputProps, "onChange" | "onBlur" | "onFocus" | "onKeyDown"> {
|
|
3863
3860
|
/** @inheritdoc */
|
|
@@ -4014,7 +4011,7 @@ export declare interface HvLabelProps extends HvTypographyProps<"label"> {
|
|
|
4014
4011
|
|
|
4015
4012
|
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) => JSX_2.Element;
|
|
4016
4013
|
|
|
4017
|
-
export declare type HvLeftControlClasses = ExtractNames<typeof
|
|
4014
|
+
export declare type HvLeftControlClasses = ExtractNames<typeof useClasses_55>;
|
|
4018
4015
|
|
|
4019
4016
|
export declare interface HvLeftControlProps extends HvBaseProps {
|
|
4020
4017
|
/** if `true` the hide sort by dropdown is not rendered */
|
|
@@ -4038,9 +4035,9 @@ export declare const HvList: (props: HvListProps) => JSX_2.Element | null;
|
|
|
4038
4035
|
export declare type HvListClasses = ExtractNames<typeof useClasses_85>;
|
|
4039
4036
|
|
|
4040
4037
|
/**
|
|
4041
|
-
* A
|
|
4042
|
-
* The simple list is for continuous
|
|
4043
|
-
* This pattern is ideal for
|
|
4038
|
+
* A **list** is any enumeration of a set of items.
|
|
4039
|
+
* The simple list is for continuous **vertical indexes of text or icons+text**. The content of these lists must be simple: ideally simples fields.
|
|
4040
|
+
* This pattern is ideal for **selections**. It should be used inside an `HvPanel`.
|
|
4044
4041
|
*/
|
|
4045
4042
|
export declare const HvListContainer: ForwardRefExoticComponent<HvListContainerProps & RefAttributes<HTMLUListElement>>;
|
|
4046
4043
|
|
|
@@ -4364,7 +4361,7 @@ export declare interface HvOverflowTooltipProps extends HvBaseProps {
|
|
|
4364
4361
|
*/
|
|
4365
4362
|
export declare const HvPagination: ForwardRefExoticComponent<HvPaginationProps & RefAttributes<HTMLDivElement>>;
|
|
4366
4363
|
|
|
4367
|
-
export declare type HvPaginationClasses = ExtractNames<typeof
|
|
4364
|
+
export declare type HvPaginationClasses = ExtractNames<typeof useClasses_46>;
|
|
4368
4365
|
|
|
4369
4366
|
export declare type HvPaginationLabels = Partial<typeof DEFAULT_LABELS_3>;
|
|
4370
4367
|
|
|
@@ -4398,7 +4395,7 @@ export declare interface HvPaginationProps extends HvBaseProps {
|
|
|
4398
4395
|
/** Other props to pagination component. */
|
|
4399
4396
|
navigationProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
4400
4397
|
/** Extra properties passed to the input component representing the current pages. */
|
|
4401
|
-
currentPageInputProps?:
|
|
4398
|
+
currentPageInputProps?: HvBaseInputProps;
|
|
4402
4399
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
4403
4400
|
classes?: HvPaginationClasses;
|
|
4404
4401
|
}
|
|
@@ -4506,7 +4503,7 @@ export declare interface HvProviderProps {
|
|
|
4506
4503
|
/**
|
|
4507
4504
|
* The active theme. It must be one of the themes passed to `themes`.
|
|
4508
4505
|
*
|
|
4509
|
-
* If no value is provided, the first theme from the `themes` list is used. If no `themes` list is provided, the `
|
|
4506
|
+
* If no value is provided, the first theme from the `themes` list is used. If no `themes` list is provided, the `next` theme will be used.
|
|
4510
4507
|
*/
|
|
4511
4508
|
theme?: HvTheme | HvThemeStructure;
|
|
4512
4509
|
/**
|
|
@@ -4522,7 +4519,7 @@ export declare interface HvProviderProps {
|
|
|
4522
4519
|
* This component allows you to create conditions and group them using logical operators.
|
|
4523
4520
|
* It outputs a structured set of rules which can be easily parsed to create SQL/NoSQL/whatever queries.
|
|
4524
4521
|
*
|
|
4525
|
-
* Take a look at the [usage page](https://
|
|
4522
|
+
* Take a look at the [usage page](https://pentaho.github.io/uikit-docs/master/components/query-builder) to learn more about this component.
|
|
4526
4523
|
*/
|
|
4527
4524
|
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) => JSX_2.Element;
|
|
4528
4525
|
|
|
@@ -5252,6 +5249,8 @@ export declare interface HvSelectProps<OptionValue extends {}, Multiple extends
|
|
|
5252
5249
|
classes?: HvSelectClasses;
|
|
5253
5250
|
placeholder?: React.ReactNode;
|
|
5254
5251
|
autoComplete?: string;
|
|
5252
|
+
/** Custom render function for rendering the selected value. */
|
|
5253
|
+
renderValue?: (option: SelectValue<SelectOption<OptionValue>, Multiple>) => React.ReactNode;
|
|
5255
5254
|
/** Whether the width of the select panel can vary independently. */
|
|
5256
5255
|
variableWidth?: boolean;
|
|
5257
5256
|
/**
|
|
@@ -5774,7 +5773,7 @@ export declare type HvTabClasses = ExtractNames<typeof useClasses_115>;
|
|
|
5774
5773
|
* You can rely on these **elements** when your table doesn’t have many interactions or you need it to be very lightweight.
|
|
5775
5774
|
*
|
|
5776
5775
|
* For better data handling and **advanced features** we recommend the use of the utility hooks collection.
|
|
5777
|
-
* See the [Table Hooks documentation](https://
|
|
5776
|
+
* See the [Table Hooks documentation](https://pentaho.github.io/uikit-docs/master/components/table#usehvtable-hooks) for more details.
|
|
5778
5777
|
*/
|
|
5779
5778
|
export declare const HvTable: ForwardRefExoticComponent<HvTableProps & RefAttributes<HTMLElement>>;
|
|
5780
5779
|
|
|
@@ -5818,7 +5817,7 @@ export declare const HvTableCell: ForwardRefExoticComponent<HvTableCellProps & R
|
|
|
5818
5817
|
|
|
5819
5818
|
export declare type HvTableCellAlign = "center" | "inherit" | "justify" | "left" | "right";
|
|
5820
5819
|
|
|
5821
|
-
export declare type HvTableCellClasses = ExtractNames<typeof
|
|
5820
|
+
export declare type HvTableCellClasses = ExtractNames<typeof useClasses_51>;
|
|
5822
5821
|
|
|
5823
5822
|
export declare interface HvTableCellProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
5824
5823
|
/** The component used for the root node. Either a string to use a HTML element or a component. Defaults to td. */
|
|
@@ -5857,7 +5856,7 @@ export declare type HvTableCellType = "body" | "footer" | "head";
|
|
|
5857
5856
|
|
|
5858
5857
|
export declare type HvTableCellVariant = "checkbox" | "expand" | "actions" | "default" | "none";
|
|
5859
5858
|
|
|
5860
|
-
export declare type HvTableClasses = ExtractNames<typeof
|
|
5859
|
+
export declare type HvTableClasses = ExtractNames<typeof useClasses_54>;
|
|
5861
5860
|
|
|
5862
5861
|
export declare type HvTableColumnConfig<D extends object = Record<string, unknown>, H extends HvTableHeaderRenderer | undefined = HvTableHeaderRenderer> = HvColumnGroup<D, H> | HvColumnWithLooseAccessor<D, H> | HvColumnWithStrictAccessor<D, H>;
|
|
5863
5862
|
|
|
@@ -5903,7 +5902,7 @@ export declare type HvTableHeadClasses = ExtractNames<typeof useClasses_112>;
|
|
|
5903
5902
|
*/
|
|
5904
5903
|
export declare const HvTableHeader: ForwardRefExoticComponent<HvTableHeaderProps & RefAttributes<HTMLElement>>;
|
|
5905
5904
|
|
|
5906
|
-
export declare type HvTableHeaderClasses = ExtractNames<typeof
|
|
5905
|
+
export declare type HvTableHeaderClasses = ExtractNames<typeof useClasses_53>;
|
|
5907
5906
|
|
|
5908
5907
|
export declare interface HvTableHeaderProps extends Omit<React.ThHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
5909
5908
|
/** The component used for the root node. Either a string to use a HTML element or a component. Defaults to th. */
|
|
@@ -6044,7 +6043,7 @@ export declare interface HvTableProps extends React.TableHTMLAttributes<HTMLTabl
|
|
|
6044
6043
|
*/
|
|
6045
6044
|
export declare const HvTableRow: ForwardRefExoticComponent<HvTableRowProps & RefAttributes<HTMLElement>>;
|
|
6046
6045
|
|
|
6047
|
-
export declare type HvTableRowClasses = ExtractNames<typeof
|
|
6046
|
+
export declare type HvTableRowClasses = ExtractNames<typeof useClasses_52>;
|
|
6048
6047
|
|
|
6049
6048
|
export declare interface HvTableRowProps extends HvBaseProps<HTMLTableRowElement, "children"> {
|
|
6050
6049
|
/** Content to be rendered */
|
|
@@ -7150,6 +7149,8 @@ export declare type NavigationData<T extends React.ElementType = "a"> = React.Co
|
|
|
7150
7149
|
|
|
7151
7150
|
export declare type NavigationMode = "treeview" | "navigation" | "slider";
|
|
7152
7151
|
|
|
7152
|
+
export declare const next: HvThemeStructure;
|
|
7153
|
+
|
|
7153
7154
|
export declare const optionClasses: {
|
|
7154
7155
|
root: string;
|
|
7155
7156
|
highlighted: string;
|
|
@@ -7176,16 +7177,12 @@ export declare const paginationClasses: {
|
|
|
7176
7177
|
pageSizeHeader: string;
|
|
7177
7178
|
pageSizeRoot: string;
|
|
7178
7179
|
pageSizeTextContainer: string;
|
|
7179
|
-
totalPagesTextContainer: string;
|
|
7180
|
-
pageSizeOptionsSelect: string;
|
|
7181
7180
|
pageNavigator: string;
|
|
7182
7181
|
iconContainer: string;
|
|
7183
7182
|
icon: string;
|
|
7184
7183
|
pageInfo: string;
|
|
7185
7184
|
pageJump: string;
|
|
7186
7185
|
pageSizeInput: string;
|
|
7187
|
-
pageSizeInputRoot: string;
|
|
7188
|
-
pageSizeInputContainer: string;
|
|
7189
7186
|
};
|
|
7190
7187
|
|
|
7191
7188
|
export declare const panelClasses: {
|
|
@@ -7202,13 +7199,6 @@ export declare type PolymorphicComponentRef<C extends React.ElementType, Props =
|
|
|
7202
7199
|
|
|
7203
7200
|
export declare type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"];
|
|
7204
7201
|
|
|
7205
|
-
/**
|
|
7206
|
-
* Process the themes provided to the HvProvider:
|
|
7207
|
-
* - Cleans themes with the same name
|
|
7208
|
-
* - Returns the default if the list is empty (ds5)
|
|
7209
|
-
*/
|
|
7210
|
-
export declare const processThemes: (themesList?: (HvTheme | HvThemeStructure)[]) => (HvTheme | HvThemeStructure)[];
|
|
7211
|
-
|
|
7212
7202
|
export declare const progressBarClasses: {
|
|
7213
7203
|
root: string;
|
|
7214
7204
|
progress: string;
|
|
@@ -7663,7 +7653,7 @@ export declare const textAreaClasses: {
|
|
|
7663
7653
|
export { theme }
|
|
7664
7654
|
|
|
7665
7655
|
export declare const themes: {
|
|
7666
|
-
|
|
7656
|
+
next: HvThemeStructure;
|
|
7667
7657
|
pentaho: HvThemeStructure;
|
|
7668
7658
|
};
|
|
7669
7659
|
|
|
@@ -8279,7 +8269,7 @@ declare const useClasses_15: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
8279
8269
|
readonly cx: (...args: any) => string;
|
|
8280
8270
|
};
|
|
8281
8271
|
|
|
8282
|
-
declare const useClasses_16: (classesProp?: Partial<Record<"
|
|
8272
|
+
declare const useClasses_16: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "listbox" | "error" | "root" | "description" | "invalid", string>>, addStatic?: boolean) => {
|
|
8283
8273
|
readonly classes: {
|
|
8284
8274
|
root: string;
|
|
8285
8275
|
error: string;
|
|
@@ -8756,53 +8746,25 @@ declare const useClasses_45: (classesProp?: Partial<Record<"image" | "slide", st
|
|
|
8756
8746
|
readonly cx: (...args: any) => string;
|
|
8757
8747
|
};
|
|
8758
8748
|
|
|
8759
|
-
declare const useClasses_46: (classesProp?: Partial<Record<"
|
|
8760
|
-
readonly classes: {
|
|
8761
|
-
root: string;
|
|
8762
|
-
labelContainer: string;
|
|
8763
|
-
label: string;
|
|
8764
|
-
description: string;
|
|
8765
|
-
adornmentsBox: string;
|
|
8766
|
-
icon: string;
|
|
8767
|
-
adornmentButton: string;
|
|
8768
|
-
iconClear: string;
|
|
8769
|
-
hasSuggestions: string;
|
|
8770
|
-
suggestionsContainer: string;
|
|
8771
|
-
suggestionList: string;
|
|
8772
|
-
input: string;
|
|
8773
|
-
inputRoot: string;
|
|
8774
|
-
inputRootFocused: string;
|
|
8775
|
-
inputRootDisabled: string;
|
|
8776
|
-
inputRootMultiline: string;
|
|
8777
|
-
error: string;
|
|
8778
|
-
};
|
|
8779
|
-
readonly css: any;
|
|
8780
|
-
readonly cx: (...args: any) => string;
|
|
8781
|
-
};
|
|
8782
|
-
|
|
8783
|
-
declare const useClasses_47: (classesProp?: Partial<Record<"icon" | "root" | "iconContainer" | "pageSizeOptions" | "pageSizeHeader" | "pageSizeRoot" | "pageSizeTextContainer" | "totalPagesTextContainer" | "pageSizeOptionsSelect" | "pageNavigator" | "pageInfo" | "pageJump" | "pageSizeInput" | "pageSizeInputRoot" | "pageSizeInputContainer", string>>, addStatic?: boolean) => {
|
|
8749
|
+
declare const useClasses_46: (classesProp?: Partial<Record<"icon" | "root" | "iconContainer" | "pageSizeOptions" | "pageSizeHeader" | "pageSizeRoot" | "pageSizeTextContainer" | "pageNavigator" | "pageInfo" | "pageJump" | "pageSizeInput", string>>, addStatic?: boolean) => {
|
|
8784
8750
|
readonly classes: {
|
|
8785
8751
|
root: string;
|
|
8786
8752
|
pageSizeOptions: string;
|
|
8787
8753
|
pageSizeHeader: string;
|
|
8788
8754
|
pageSizeRoot: string;
|
|
8789
8755
|
pageSizeTextContainer: string;
|
|
8790
|
-
totalPagesTextContainer: string;
|
|
8791
|
-
pageSizeOptionsSelect: string;
|
|
8792
8756
|
pageNavigator: string;
|
|
8793
8757
|
iconContainer: string;
|
|
8794
8758
|
icon: string;
|
|
8795
8759
|
pageInfo: string;
|
|
8796
8760
|
pageJump: string;
|
|
8797
8761
|
pageSizeInput: string;
|
|
8798
|
-
pageSizeInputRoot: string;
|
|
8799
|
-
pageSizeInputContainer: string;
|
|
8800
8762
|
};
|
|
8801
8763
|
readonly css: any;
|
|
8802
8764
|
readonly cx: (...args: any) => string;
|
|
8803
8765
|
};
|
|
8804
8766
|
|
|
8805
|
-
declare const
|
|
8767
|
+
declare const useClasses_47: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "error" | "group" | "root" | "invalid" | "selectAll", string>>, addStatic?: boolean) => {
|
|
8806
8768
|
readonly classes: {
|
|
8807
8769
|
root: string;
|
|
8808
8770
|
label: string;
|
|
@@ -8817,7 +8779,7 @@ declare const useClasses_48: (classesProp?: Partial<Record<"label" | "horizontal
|
|
|
8817
8779
|
readonly cx: (...args: any) => string;
|
|
8818
8780
|
};
|
|
8819
8781
|
|
|
8820
|
-
declare const
|
|
8782
|
+
declare const useClasses_48: (classesProp?: Partial<Record<"label" | "colorPicker" | "root" | "description" | "panel" | "labelContainer" | "headerColorValue" | "headerColorIcon" | "colorPickerIcon" | "dropdownRootIconOnly" | "headerColorIconOnly", string>>, addStatic?: boolean) => {
|
|
8821
8783
|
readonly classes: {
|
|
8822
8784
|
root: string;
|
|
8823
8785
|
labelContainer: string;
|
|
@@ -8828,10 +8790,23 @@ declare const useClasses_49: (classesProp?: Partial<Record<"label" | "root" | "d
|
|
|
8828
8790
|
panel: string;
|
|
8829
8791
|
colorPicker: string;
|
|
8830
8792
|
colorPickerIcon: string;
|
|
8831
|
-
recommendedColorsRoot: string;
|
|
8832
8793
|
dropdownRootIconOnly: string;
|
|
8833
8794
|
headerColorIconOnly: string;
|
|
8834
|
-
|
|
8795
|
+
};
|
|
8796
|
+
readonly css: any;
|
|
8797
|
+
readonly cx: (...args: any) => string;
|
|
8798
|
+
};
|
|
8799
|
+
|
|
8800
|
+
declare const useClasses_49: (classesProp?: Partial<Record<"fixed" | "root" | "disableGutters" | "maxWidthXs" | "maxWidthSm" | "maxWidthMd" | "maxWidthLg" | "maxWidthXl", string>>, addStatic?: boolean) => {
|
|
8801
|
+
readonly classes: {
|
|
8802
|
+
root: string;
|
|
8803
|
+
disableGutters: string;
|
|
8804
|
+
fixed: string;
|
|
8805
|
+
maxWidthXs: string;
|
|
8806
|
+
maxWidthSm: string;
|
|
8807
|
+
maxWidthMd: string;
|
|
8808
|
+
maxWidthLg: string;
|
|
8809
|
+
maxWidthXl: string;
|
|
8835
8810
|
};
|
|
8836
8811
|
readonly css: any;
|
|
8837
8812
|
readonly cx: (...args: any) => string;
|
|
@@ -8854,22 +8829,7 @@ declare const useClasses_5: (classesProp?: Partial<Record<"condensed" | "separat
|
|
|
8854
8829
|
readonly cx: (...args: any) => string;
|
|
8855
8830
|
};
|
|
8856
8831
|
|
|
8857
|
-
declare const useClasses_50: (classesProp?: Partial<Record<"
|
|
8858
|
-
readonly classes: {
|
|
8859
|
-
root: string;
|
|
8860
|
-
disableGutters: string;
|
|
8861
|
-
fixed: string;
|
|
8862
|
-
maxWidthXs: string;
|
|
8863
|
-
maxWidthSm: string;
|
|
8864
|
-
maxWidthMd: string;
|
|
8865
|
-
maxWidthLg: string;
|
|
8866
|
-
maxWidthXl: string;
|
|
8867
|
-
};
|
|
8868
|
-
readonly css: any;
|
|
8869
|
-
readonly cx: (...args: any) => string;
|
|
8870
|
-
};
|
|
8871
|
-
|
|
8872
|
-
declare const useClasses_51: (classesProp?: Partial<Record<"section" | "root" | "rightSection" | "leftSection", string>>, addStatic?: boolean) => {
|
|
8832
|
+
declare const useClasses_50: (classesProp?: Partial<Record<"section" | "root" | "rightSection" | "leftSection", string>>, addStatic?: boolean) => {
|
|
8873
8833
|
readonly classes: {
|
|
8874
8834
|
root: string;
|
|
8875
8835
|
section: string;
|
|
@@ -8880,7 +8840,7 @@ declare const useClasses_51: (classesProp?: Partial<Record<"section" | "root" |
|
|
|
8880
8840
|
readonly cx: (...args: any) => string;
|
|
8881
8841
|
};
|
|
8882
8842
|
|
|
8883
|
-
declare const
|
|
8843
|
+
declare const useClasses_51: (classesProp?: Partial<Record<"body" | "footer" | "head" | "root" | "resizable" | "sorted" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "variantList" | "variantListHead" | "variantListactions" | "variantListcheckbox" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing", string>>, addStatic?: boolean) => {
|
|
8884
8844
|
readonly classes: {
|
|
8885
8845
|
root: string;
|
|
8886
8846
|
head: string;
|
|
@@ -8911,7 +8871,7 @@ declare const useClasses_52: (classesProp?: Partial<Record<"body" | "footer" | "
|
|
|
8911
8871
|
readonly cx: (...args: any) => string;
|
|
8912
8872
|
};
|
|
8913
8873
|
|
|
8914
|
-
declare const
|
|
8874
|
+
declare const useClasses_52: (classesProp?: Partial<Record<"body" | "expanded" | "footer" | "head" | "selected" | "root" | "variantList" | "variantListHead" | "striped" | "hover", string>>, addStatic?: boolean) => {
|
|
8915
8875
|
readonly classes: {
|
|
8916
8876
|
root: string;
|
|
8917
8877
|
head: string;
|
|
@@ -8928,7 +8888,7 @@ declare const useClasses_53: (classesProp?: Partial<Record<"body" | "expanded" |
|
|
|
8928
8888
|
readonly cx: (...args: any) => string;
|
|
8929
8889
|
};
|
|
8930
8890
|
|
|
8931
|
-
declare const
|
|
8891
|
+
declare const useClasses_53: (classesProp?: Partial<Record<"body" | "resizer" | "footer" | "head" | "root" | "resizable" | "sorted" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "variantList" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing" | "headerContent" | "headerText" | "headerParagraph" | "sortableHeaderText" | "sortable" | "sortButton" | "sortIcon" | "alignFlexLeft" | "alignFlexRight" | "alignFlexCenter" | "alignFlexJustify", string>>, addStatic?: boolean) => {
|
|
8932
8892
|
readonly classes: {
|
|
8933
8893
|
root: string;
|
|
8934
8894
|
head: string;
|
|
@@ -8968,7 +8928,7 @@ declare const useClasses_54: (classesProp?: Partial<Record<"body" | "resizer" |
|
|
|
8968
8928
|
readonly cx: (...args: any) => string;
|
|
8969
8929
|
};
|
|
8970
8930
|
|
|
8971
|
-
declare const
|
|
8931
|
+
declare const useClasses_54: (classesProp?: Partial<Record<"root" | "stickyHeader" | "stickyColumns" | "listRow", string>>, addStatic?: boolean) => {
|
|
8972
8932
|
readonly classes: {
|
|
8973
8933
|
root: string;
|
|
8974
8934
|
stickyHeader: string;
|
|
@@ -8979,7 +8939,7 @@ declare const useClasses_55: (classesProp?: Partial<Record<"root" | "stickyHeade
|
|
|
8979
8939
|
readonly cx: (...args: any) => string;
|
|
8980
8940
|
};
|
|
8981
8941
|
|
|
8982
|
-
declare const
|
|
8942
|
+
declare const useClasses_55: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
8983
8943
|
readonly classes: {
|
|
8984
8944
|
root: string;
|
|
8985
8945
|
};
|
|
@@ -8987,6 +8947,30 @@ declare const useClasses_56: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
8987
8947
|
readonly cx: (...args: any) => string;
|
|
8988
8948
|
};
|
|
8989
8949
|
|
|
8950
|
+
declare const useClasses_56: (classesProp?: Partial<Record<"label" | "icon" | "error" | "input" | "root" | "description" | "labelContainer" | "adornmentsBox" | "adornmentButton" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList" | "inputRoot" | "inputRootFocused" | "inputRootDisabled" | "inputRootMultiline", string>>, addStatic?: boolean) => {
|
|
8951
|
+
readonly classes: {
|
|
8952
|
+
root: string;
|
|
8953
|
+
labelContainer: string;
|
|
8954
|
+
label: string;
|
|
8955
|
+
description: string;
|
|
8956
|
+
adornmentsBox: string;
|
|
8957
|
+
icon: string;
|
|
8958
|
+
adornmentButton: string;
|
|
8959
|
+
iconClear: string;
|
|
8960
|
+
hasSuggestions: string;
|
|
8961
|
+
suggestionsContainer: string;
|
|
8962
|
+
suggestionList: string;
|
|
8963
|
+
input: string;
|
|
8964
|
+
inputRoot: string;
|
|
8965
|
+
inputRootFocused: string;
|
|
8966
|
+
inputRootDisabled: string;
|
|
8967
|
+
inputRootMultiline: string;
|
|
8968
|
+
error: string;
|
|
8969
|
+
};
|
|
8970
|
+
readonly css: any;
|
|
8971
|
+
readonly cx: (...args: any) => string;
|
|
8972
|
+
};
|
|
8973
|
+
|
|
8990
8974
|
declare const useClasses_57: (classesProp?: Partial<Record<"root" | "sortDropdown", string>>, addStatic?: boolean) => {
|
|
8991
8975
|
readonly classes: {
|
|
8992
8976
|
root: string;
|
|
@@ -9114,7 +9098,7 @@ declare const useClasses_64: (classesProp?: Partial<Record<"warning" | "backgrou
|
|
|
9114
9098
|
readonly cx: (...args: any) => string;
|
|
9115
9099
|
};
|
|
9116
9100
|
|
|
9117
|
-
declare const useClasses_65: (classesProp?: Partial<Record<"
|
|
9101
|
+
declare const useClasses_65: (classesProp?: Partial<Record<"horizontal" | "radio" | "icon" | "root", string>>, addStatic?: boolean) => {
|
|
9118
9102
|
readonly classes: {
|
|
9119
9103
|
root: string;
|
|
9120
9104
|
horizontal: string;
|
|
@@ -9125,7 +9109,7 @@ declare const useClasses_65: (classesProp?: Partial<Record<"radio" | "horizontal
|
|
|
9125
9109
|
readonly cx: (...args: any) => string;
|
|
9126
9110
|
};
|
|
9127
9111
|
|
|
9128
|
-
declare const useClasses_66: (classesProp?: Partial<Record<"
|
|
9112
|
+
declare const useClasses_66: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "error" | "group" | "root" | "invalid", string>>, addStatic?: boolean) => {
|
|
9129
9113
|
readonly classes: {
|
|
9130
9114
|
root: string;
|
|
9131
9115
|
label: string;
|
|
@@ -9325,12 +9309,11 @@ declare const useClasses_77: (classesProp?: Partial<Record<"container" | "root"
|
|
|
9325
9309
|
readonly cx: (...args: any) => string;
|
|
9326
9310
|
};
|
|
9327
9311
|
|
|
9328
|
-
declare const useClasses_78: (classesProp?: Partial<Record<"
|
|
9312
|
+
declare const useClasses_78: (classesProp?: Partial<Record<"header" | "fixed" | "root", string>>, addStatic?: boolean) => {
|
|
9329
9313
|
readonly classes: {
|
|
9330
9314
|
root: string;
|
|
9331
9315
|
header: string;
|
|
9332
9316
|
fixed: string;
|
|
9333
|
-
backgroundColor: string;
|
|
9334
9317
|
};
|
|
9335
9318
|
readonly css: any;
|
|
9336
9319
|
readonly cx: (...args: any) => string;
|
|
@@ -9462,7 +9445,7 @@ declare const useClasses_88: (classesProp?: Partial<Record<"root" | "formContain
|
|
|
9462
9445
|
readonly cx: (...args: any) => string;
|
|
9463
9446
|
};
|
|
9464
9447
|
|
|
9465
|
-
declare const useClasses_89: (classesProp?: Partial<Record<"
|
|
9448
|
+
declare const useClasses_89: (classesProp?: Partial<Record<"vertical" | "button" | "multiple" | "selected" | "root" | "splitGroup" | "splitGroupDisabled" | "firstButton" | "lastButton", string>>, addStatic?: boolean) => {
|
|
9466
9449
|
readonly classes: {
|
|
9467
9450
|
root: string;
|
|
9468
9451
|
multiple: string;
|
package/dist/index.js
CHANGED
|
@@ -18,10 +18,10 @@ import { fixedForwardRef } from "./types/generic.js";
|
|
|
18
18
|
import { outlineStyles } from "./utils/focusUtils.js";
|
|
19
19
|
import { isDeleteKey, isKey, isOneOfKeys } from "./utils/keyboardUtils.js";
|
|
20
20
|
import { setId } from "./utils/setId.js";
|
|
21
|
-
import {
|
|
21
|
+
import { setElementAttrs } from "./utils/theme.js";
|
|
22
22
|
import { useSavedState } from "./utils/useSavedState.js";
|
|
23
23
|
import { uniqueId } from "./utils/helpers.js";
|
|
24
|
-
import {
|
|
24
|
+
import { next } from "./themes/next.js";
|
|
25
25
|
import { pentaho } from "./themes/pentaho.js";
|
|
26
26
|
import { staticClasses } from "./Typography/Typography.styles.js";
|
|
27
27
|
import { HvTypography } from "./Typography/Typography.js";
|
|
@@ -482,7 +482,6 @@ export {
|
|
|
482
482
|
staticClasses52 as drawerClasses,
|
|
483
483
|
staticClasses54 as dropDownMenuClasses,
|
|
484
484
|
staticClasses53 as dropdownClasses,
|
|
485
|
-
ds5,
|
|
486
485
|
staticClasses55 as emptyStateClasses,
|
|
487
486
|
staticClasses57 as fileClasses,
|
|
488
487
|
staticClasses58 as fileUploaderClasses,
|
|
@@ -528,6 +527,7 @@ export {
|
|
|
528
527
|
staticClasses71 as loadingContainerClasses,
|
|
529
528
|
staticClasses72 as loginClasses,
|
|
530
529
|
staticClasses73 as multiButtonClasses,
|
|
530
|
+
next,
|
|
531
531
|
optionClasses,
|
|
532
532
|
optionGroupClasses,
|
|
533
533
|
outlineStyles,
|
|
@@ -535,7 +535,6 @@ export {
|
|
|
535
535
|
staticClasses75 as paginationClasses,
|
|
536
536
|
staticClasses76 as panelClasses,
|
|
537
537
|
pentaho,
|
|
538
|
-
processThemes,
|
|
539
538
|
staticClasses77 as progressBarClasses,
|
|
540
539
|
staticClasses78 as queryBuilderClasses,
|
|
541
540
|
staticClasses79 as radioClasses,
|
|
@@ -3,7 +3,7 @@ import { useId, useMemo } from "react";
|
|
|
3
3
|
import createCache from "@emotion/cache";
|
|
4
4
|
import { CacheProvider, Global, css, ClassNames } from "@emotion/react";
|
|
5
5
|
import { CssBaseline, getThemeVars, CssScopedBaseline } from "@hitachivantara/uikit-styles";
|
|
6
|
-
import {
|
|
6
|
+
import { pentaho } from "../themes/pentaho.js";
|
|
7
7
|
import { getElementById } from "../utils/document.js";
|
|
8
8
|
import { HvThemeProvider } from "./ThemeProvider.js";
|
|
9
9
|
import { defaultCacheKey, defaultEmotionCache } from "@hitachivantara/uikit-react-shared";
|
|
@@ -12,7 +12,7 @@ const HvProvider = ({
|
|
|
12
12
|
rootElementId,
|
|
13
13
|
cssBaseline = "global",
|
|
14
14
|
cssTheme = "global",
|
|
15
|
-
theme =
|
|
15
|
+
theme = pentaho,
|
|
16
16
|
colorMode = theme.defaultColorMode || "light",
|
|
17
17
|
emotionCache: emotionCacheProp,
|
|
18
18
|
classNameKey = defaultCacheKey
|
|
@@ -42,7 +42,7 @@ const HvProvider = ({
|
|
|
42
42
|
{
|
|
43
43
|
theme,
|
|
44
44
|
emotionCache,
|
|
45
|
-
colorMode
|
|
45
|
+
colorMode,
|
|
46
46
|
themeRootId: cssTheme === "scoped" ? rootElementId || scopedRootId : void 0,
|
|
47
47
|
children: /* @__PURE__ */ jsx(ClassNames, { children: ({ css: css2 }) => {
|
|
48
48
|
if (cssBaseline === "scoped") {
|