@hitachivantara/uikit-react-core 5.98.0 → 5.99.0
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/README.md +1 -1
- package/dist/cjs/AppSwitcher/Action/Action.cjs +4 -1
- package/dist/cjs/BaseRadio/BaseRadio.cjs +2 -2
- package/dist/cjs/BaseSwitch/BaseSwitch.cjs +2 -2
- package/dist/cjs/Card/Header/Header.styles.cjs +3 -1
- package/dist/cjs/CheckBox/CheckBox.cjs +2 -2
- package/dist/cjs/ColorPicker/Fields/Fields.cjs +0 -1
- package/dist/cjs/ColorPicker/Fields/Fields.styles.cjs +1 -3
- package/dist/cjs/ColorPicker/Picker/Picker.cjs +0 -1
- package/dist/cjs/ColorPicker/Picker/Picker.styles.cjs +1 -3
- package/dist/cjs/ColorPicker/PresetColors/PresetColors.cjs +0 -1
- package/dist/cjs/ColorPicker/PresetColors/PresetColors.styles.cjs +1 -3
- package/dist/cjs/ColorPicker/SavedColors/SavedColors.cjs +0 -1
- package/dist/cjs/ColorPicker/SavedColors/SavedColors.styles.cjs +1 -3
- package/dist/cjs/Dialog/Content/Content.cjs +26 -0
- package/dist/cjs/Dialog/Content/Content.styles.cjs +5 -2
- package/dist/cjs/Dialog/Dialog.styles.cjs +3 -1
- package/dist/cjs/Dialog/Title/Title.cjs +2 -2
- package/dist/cjs/DropdownButton/DropdownButton.cjs +2 -2
- package/dist/cjs/QueryBuilder/ConfirmationDialog.cjs +32 -0
- package/dist/cjs/QueryBuilder/QueryBuilder.cjs +4 -4
- package/dist/cjs/QueryBuilder/Rule/{Attribute/Attribute.cjs → Attribute.cjs} +3 -4
- package/dist/cjs/QueryBuilder/Rule/{Operator/Operator.cjs → Operator.cjs} +3 -4
- package/dist/cjs/QueryBuilder/Rule/Rule.cjs +3 -4
- package/dist/cjs/QueryBuilder/Rule/Rule.styles.cjs +46 -50
- package/dist/cjs/QueryBuilder/{RuleGroup/RuleGroup.cjs → RuleGroup.cjs} +9 -9
- package/dist/cjs/QueryBuilder/{Rule/Value/BooleanValue → Value}/BooleanValue.cjs +3 -5
- package/dist/cjs/QueryBuilder/{Rule/Value/DateTimeValue → Value}/DateTimeValue.cjs +67 -40
- package/dist/cjs/QueryBuilder/{Rule/Value/EmptyValue → Value}/EmptyValue.cjs +1 -1
- package/dist/cjs/QueryBuilder/{Rule/Value/NumericValue → Value}/NumericValue.cjs +33 -8
- package/dist/cjs/QueryBuilder/{Rule/Value/TextValue → Value}/TextValue.cjs +9 -5
- package/dist/cjs/QueryBuilder/{Rule/Value → Value}/Value.cjs +7 -9
- package/dist/cjs/Radio/Radio.cjs +3 -3
- package/dist/cjs/Section/Section.cjs +43 -18
- package/dist/cjs/Section/Section.styles.cjs +14 -2
- package/dist/cjs/Select/Select.cjs +2 -2
- package/dist/cjs/Switch/Switch.cjs +1 -1
- package/dist/cjs/Table/TableSection/TableSection.styles.cjs +1 -7
- package/dist/cjs/TagsInput/TagsInput.cjs +2 -2
- package/dist/cjs/TextArea/TextArea.cjs +2 -2
- package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.cjs +2 -2
- package/dist/cjs/providers/Provider.cjs +1 -4
- package/dist/cjs/themes/ds3.cjs +16 -0
- package/dist/cjs/themes/ds5.cjs +20 -0
- package/dist/cjs/themes/pentahoPlus.cjs +50 -16
- package/dist/esm/AppSwitcher/Action/Action.js +4 -1
- package/dist/esm/BaseRadio/BaseRadio.js +2 -2
- package/dist/esm/BaseSwitch/BaseSwitch.js +2 -2
- package/dist/esm/Card/Header/Header.styles.js +3 -1
- package/dist/esm/CheckBox/CheckBox.js +2 -2
- package/dist/esm/ColorPicker/Fields/Fields.js +1 -3
- package/dist/esm/ColorPicker/Fields/Fields.styles.js +1 -3
- package/dist/esm/ColorPicker/Picker/Picker.js +1 -3
- package/dist/esm/ColorPicker/Picker/Picker.styles.js +1 -3
- package/dist/esm/ColorPicker/PresetColors/PresetColors.js +1 -3
- package/dist/esm/ColorPicker/PresetColors/PresetColors.styles.js +1 -3
- package/dist/esm/ColorPicker/SavedColors/SavedColors.js +1 -3
- package/dist/esm/ColorPicker/SavedColors/SavedColors.styles.js +1 -3
- package/dist/esm/Dialog/Content/Content.js +27 -1
- package/dist/esm/Dialog/Content/Content.styles.js +5 -2
- package/dist/esm/Dialog/Dialog.styles.js +3 -1
- package/dist/esm/Dialog/Title/Title.js +3 -3
- package/dist/esm/DropdownButton/DropdownButton.js +2 -2
- package/dist/esm/QueryBuilder/ConfirmationDialog.js +32 -0
- package/dist/esm/QueryBuilder/QueryBuilder.js +4 -4
- package/dist/esm/QueryBuilder/Rule/{Attribute/Attribute.js → Attribute.js} +4 -5
- package/dist/esm/QueryBuilder/Rule/{Operator/Operator.js → Operator.js} +4 -5
- package/dist/esm/QueryBuilder/Rule/Rule.js +4 -6
- package/dist/esm/QueryBuilder/Rule/Rule.styles.js +47 -51
- package/dist/esm/QueryBuilder/{RuleGroup/RuleGroup.js → RuleGroup.js} +9 -9
- package/dist/esm/QueryBuilder/{Rule/Value/BooleanValue → Value}/BooleanValue.js +3 -5
- package/dist/esm/QueryBuilder/{Rule/Value/DateTimeValue → Value}/DateTimeValue.js +63 -35
- package/dist/esm/QueryBuilder/{Rule/Value/EmptyValue → Value}/EmptyValue.js +1 -1
- package/dist/esm/QueryBuilder/{Rule/Value/NumericValue → Value}/NumericValue.js +33 -8
- package/dist/esm/QueryBuilder/{Rule/Value/TextValue → Value}/TextValue.js +9 -5
- package/dist/esm/QueryBuilder/{Rule/Value → Value}/Value.js +7 -9
- package/dist/esm/Radio/Radio.js +3 -3
- package/dist/esm/Section/Section.js +44 -19
- package/dist/esm/Section/Section.styles.js +14 -2
- package/dist/esm/Select/Select.js +2 -2
- package/dist/esm/Switch/Switch.js +1 -1
- package/dist/esm/Table/TableSection/TableSection.styles.js +1 -7
- package/dist/esm/TagsInput/TagsInput.js +2 -2
- package/dist/esm/TextArea/TextArea.js +2 -2
- package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js +2 -2
- package/dist/esm/providers/Provider.js +2 -5
- package/dist/esm/themes/ds3.js +16 -0
- package/dist/esm/themes/ds5.js +20 -0
- package/dist/esm/themes/pentahoPlus.js +50 -16
- package/dist/types/index.d.ts +51 -47
- package/package.json +6 -6
- package/dist/cjs/QueryBuilder/ConfirmationDialog/ConfirmationDialog.cjs +0 -53
- package/dist/cjs/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.cjs +0 -11
- package/dist/cjs/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.cjs +0 -37
- package/dist/cjs/QueryBuilder/Rule/Value/DateTimeValue/utils.cjs +0 -36
- package/dist/cjs/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.cjs +0 -34
- package/dist/cjs/QueryBuilder/Rule/Value/TextValue/TextValue.styles.cjs +0 -13
- package/dist/esm/QueryBuilder/ConfirmationDialog/ConfirmationDialog.js +0 -53
- package/dist/esm/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.js +0 -11
- package/dist/esm/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.js +0 -37
- package/dist/esm/QueryBuilder/Rule/Value/DateTimeValue/utils.js +0 -34
- package/dist/esm/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.js +0 -34
- package/dist/esm/QueryBuilder/Rule/Value/TextValue/TextValue.styles.js +0 -13
package/dist/types/index.d.ts
CHANGED
|
@@ -876,9 +876,9 @@ export declare const dropDownMenuClasses: {
|
|
|
876
876
|
menuList: string;
|
|
877
877
|
};
|
|
878
878
|
|
|
879
|
-
export declare const ds3:
|
|
879
|
+
export declare const ds3: HvThemeStructure<string>;
|
|
880
880
|
|
|
881
|
-
export declare const ds5:
|
|
881
|
+
export declare const ds5: HvThemeStructure<string>;
|
|
882
882
|
|
|
883
883
|
export { EmotionContext }
|
|
884
884
|
|
|
@@ -2019,7 +2019,7 @@ export declare const HvButton: <C extends React.ElementType = "button">(props: {
|
|
|
2019
2019
|
component?: C | undefined;
|
|
2020
2020
|
} & {
|
|
2021
2021
|
children?: ReactNode | undefined;
|
|
2022
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "
|
|
2022
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "component" | "className" | "selected" | "startIcon" | "endIcon" | "variant" | "overrideIconColors" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "component" | "className" | "selected" | "startIcon" | "endIcon" | "variant" | "overrideIconColors" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never) & {
|
|
2023
2023
|
ref?: PolymorphicRef<C> | undefined;
|
|
2024
2024
|
} & RefAttributes<unknown>) => React.ReactElement<any> | null;
|
|
2025
2025
|
|
|
@@ -2046,7 +2046,7 @@ export declare const HvButtonBase: <C extends React.ElementType = "button">(prop
|
|
|
2046
2046
|
component?: C | undefined;
|
|
2047
2047
|
} & {
|
|
2048
2048
|
children?: ReactNode | undefined;
|
|
2049
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "
|
|
2049
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "component" | "selected" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "component" | "selected" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never) & {
|
|
2050
2050
|
ref?: PolymorphicRef<C> | undefined;
|
|
2051
2051
|
} & RefAttributes<unknown>) => React.ReactElement<any> | null;
|
|
2052
2052
|
|
|
@@ -4025,7 +4025,7 @@ export declare type HvHorizontalScrollListItemClasses = ExtractNames<typeof useC
|
|
|
4025
4025
|
* As defined by Design System, a tooltip with the button’s label should always be displayed when hovering an icon only button.
|
|
4026
4026
|
* This component provides this behavior out of the box.
|
|
4027
4027
|
*/
|
|
4028
|
-
export declare const HvIconButton: <C extends React.ElementType = "button">(props: Omit<HvButtonProps<C>, "children" | "ref" | "icon" | "title" | "component" | "
|
|
4028
|
+
export declare const HvIconButton: <C extends React.ElementType = "button">(props: Omit<HvButtonProps<C>, "children" | "ref" | "icon" | "title" | "component" | "startIcon" | "endIcon" | "focusableWhenDisabled"> & {
|
|
4029
4029
|
/** Label to be displayed in the tooltip when hovered. This label will be used as the button's `aria-label`. */
|
|
4030
4030
|
title: React.ReactNode;
|
|
4031
4031
|
/** Number of milliseconds to wait before showing the tooltip. @default 500 */
|
|
@@ -4038,7 +4038,7 @@ export declare const HvIconButton: <C extends React.ElementType = "button">(prop
|
|
|
4038
4038
|
component?: C | undefined;
|
|
4039
4039
|
} & {
|
|
4040
4040
|
children?: ReactNode | undefined;
|
|
4041
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "disabled" | "radius" | "
|
|
4041
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "disabled" | "radius" | "title" | "component" | "className" | "selected" | "variant" | "overrideIconColors" | "placement" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "component" | "className" | "selected" | "startIcon" | "endIcon" | "variant" | "overrideIconColors" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "component" | "className" | "selected" | "startIcon" | "endIcon" | "variant" | "overrideIconColors" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never), "children" | "ref" | "icon" | "title" | "component" | "startIcon" | "endIcon" | "focusableWhenDisabled">> extends infer T_1 ? T_1 extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "disabled" | "radius" | "title" | "component" | "className" | "selected" | "variant" | "overrideIconColors" | "placement" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "component" | "className" | "selected" | "startIcon" | "endIcon" | "variant" | "overrideIconColors" | "focusableWhenDisabled"> extends infer T_2 ? T_2 extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "size" | "icon" | "disabled" | "radius" | "component" | "className" | "selected" | "startIcon" | "endIcon" | "variant" | "overrideIconColors" | "focusableWhenDisabled"> ? T_2 extends any ? T_2 : never : never : never), "children" | "ref" | "icon" | "title" | "component" | "startIcon" | "endIcon" | "focusableWhenDisabled">> ? T_1 extends any ? T_1 : never : never : never) & {
|
|
4042
4042
|
ref?: PolymorphicRef<C> | undefined;
|
|
4043
4043
|
} & RefAttributes<unknown>) => React.ReactElement<any> | null;
|
|
4044
4044
|
|
|
@@ -4153,7 +4153,7 @@ export declare const HvInlineEditor: <C extends React.ElementType = <InputElemen
|
|
|
4153
4153
|
component?: C | undefined;
|
|
4154
4154
|
} & {
|
|
4155
4155
|
children?: ReactNode | undefined;
|
|
4156
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "value" | "classes" | "disabled" | "
|
|
4156
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "value" | "classes" | "disabled" | "component" | "onBlur" | "onChange" | "onKeyDown" | "defaultValue" | "placeholder" | "variant" | "buttonProps" | "showIcon" | "typographyProps"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "value" | "classes" | "disabled" | "component" | "onBlur" | "onChange" | "onKeyDown" | "defaultValue" | "placeholder" | "variant" | "buttonProps" | "showIcon" | "typographyProps"> ? T extends any ? T : never : never : never) & {
|
|
4157
4157
|
ref?: PolymorphicRef<C> | undefined;
|
|
4158
4158
|
} & RefAttributes<unknown>) => React.ReactElement<any> | null;
|
|
4159
4159
|
|
|
@@ -4897,7 +4897,7 @@ export declare interface HvProviderProps {
|
|
|
4897
4897
|
emotionCache?: EmotionCache;
|
|
4898
4898
|
/**
|
|
4899
4899
|
* List of themes to be used by UI Kit.
|
|
4900
|
-
* You can provide your own themes created with the `createTheme` utility and/or the default themes
|
|
4900
|
+
* You can provide your own themes created with the `createTheme` utility and/or the default themes provided by UI Kit.
|
|
4901
4901
|
*
|
|
4902
4902
|
* If no value is provided, the `ds5` theme will be used.
|
|
4903
4903
|
*/
|
|
@@ -4912,7 +4912,7 @@ export declare interface HvProviderProps {
|
|
|
4912
4912
|
* The active color mode. It must be one of the color modes of the active theme.
|
|
4913
4913
|
*
|
|
4914
4914
|
* If no value is provided, the first color mode defined in the active theme is used.
|
|
4915
|
-
* For the default themes
|
|
4915
|
+
* For the default themes, the `dawn` color mode is the one used.
|
|
4916
4916
|
*/
|
|
4917
4917
|
colorMode?: string;
|
|
4918
4918
|
}
|
|
@@ -5577,6 +5577,8 @@ export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>
|
|
|
5577
5577
|
title?: React.ReactNode;
|
|
5578
5578
|
/** Whether or not the section is expandable. */
|
|
5579
5579
|
expandable?: boolean;
|
|
5580
|
+
/** Whether or not the section header is expandable. If true, the header will be clickable and will toggle the section content. */
|
|
5581
|
+
expandableHeader?: boolean;
|
|
5580
5582
|
/** Whether the section is open or not, if this property is defined the accordion must be fully controlled. */
|
|
5581
5583
|
expanded?: boolean;
|
|
5582
5584
|
/** When uncontrolled, defines the initial expanded state. */
|
|
@@ -7159,7 +7161,7 @@ export declare const HvTypography: <C extends React.ElementType = "p">(props: {
|
|
|
7159
7161
|
component?: C | undefined;
|
|
7160
7162
|
} & {
|
|
7161
7163
|
children?: ReactNode | undefined;
|
|
7162
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "
|
|
7164
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "component" | "variant" | "noWrap" | "paragraph"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "component" | "variant" | "noWrap" | "paragraph"> ? T extends any ? T : never : never : never) & {
|
|
7163
7165
|
ref?: PolymorphicRef<C> | undefined;
|
|
7164
7166
|
} & RefAttributes<unknown>) => React.ReactElement<any> | null;
|
|
7165
7167
|
|
|
@@ -7742,7 +7744,7 @@ export declare const panelClasses: {
|
|
|
7742
7744
|
root: string;
|
|
7743
7745
|
};
|
|
7744
7746
|
|
|
7745
|
-
export declare const pentahoPlus:
|
|
7747
|
+
export declare const pentahoPlus: HvThemeStructure<string>;
|
|
7746
7748
|
|
|
7747
7749
|
declare type PolymorphicComponent<C extends React.ElementType, Props = {}> = React.PropsWithChildren<Props & AsProp<C>> & FixComponentProps<Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>>;
|
|
7748
7750
|
|
|
@@ -7886,6 +7888,7 @@ export declare const sectionClasses: {
|
|
|
7886
7888
|
root: string;
|
|
7887
7889
|
hidden: string;
|
|
7888
7890
|
header: string;
|
|
7891
|
+
headerExpandable: string;
|
|
7889
7892
|
content: string;
|
|
7890
7893
|
hasHeader: string;
|
|
7891
7894
|
spaceTop: string;
|
|
@@ -8233,9 +8236,9 @@ export declare const textAreaClasses: {
|
|
|
8233
8236
|
export { theme }
|
|
8234
8237
|
|
|
8235
8238
|
export declare const themes: {
|
|
8236
|
-
ds3:
|
|
8237
|
-
ds5:
|
|
8238
|
-
pentahoPlus:
|
|
8239
|
+
ds3: HvThemeStructure<string>;
|
|
8240
|
+
ds5: HvThemeStructure<string>;
|
|
8241
|
+
pentahoPlus: HvThemeStructure<string>;
|
|
8239
8242
|
};
|
|
8240
8243
|
|
|
8241
8244
|
export declare const timeAgoClasses: {
|
|
@@ -8423,11 +8426,12 @@ declare const useClasses_102: (classesProp?: Partial<Record<"root" | "positionFi
|
|
|
8423
8426
|
readonly cx: (...args: any) => string;
|
|
8424
8427
|
};
|
|
8425
8428
|
|
|
8426
|
-
declare const useClasses_103: (classesProp?: Partial<Record<"content" | "header" | "hidden" | "root" | "
|
|
8429
|
+
declare const useClasses_103: (classesProp?: Partial<Record<"content" | "header" | "hidden" | "root" | "headerExpandable" | "hasHeader" | "spaceTop" | "actions" | "raisedHeader", string>>, addStatic?: boolean) => {
|
|
8427
8430
|
readonly classes: {
|
|
8428
8431
|
root: string;
|
|
8429
8432
|
hidden: string;
|
|
8430
8433
|
header: string;
|
|
8434
|
+
headerExpandable: string;
|
|
8431
8435
|
content: string;
|
|
8432
8436
|
hasHeader: string;
|
|
8433
8437
|
spaceTop: string;
|
|
@@ -8485,7 +8489,7 @@ declare const useClasses_106: (classesProp?: Partial<Record<"root" | "anchorOrig
|
|
|
8485
8489
|
readonly cx: (...args: any) => string;
|
|
8486
8490
|
};
|
|
8487
8491
|
|
|
8488
|
-
declare const useClasses_107: (classesProp?: Partial<Record<"accent" | "warning" | "info" | "default" | "root" | "
|
|
8492
|
+
declare const useClasses_107: (classesProp?: Partial<Record<"accent" | "warning" | "info" | "default" | "root" | "action" | "error" | "success" | "message" | "messageText" | "iconVariant" | "messageSpan", string>>, addStatic?: boolean) => {
|
|
8489
8493
|
readonly classes: {
|
|
8490
8494
|
root: string;
|
|
8491
8495
|
success: string;
|
|
@@ -8567,7 +8571,7 @@ declare const useClasses_112: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8567
8571
|
readonly cx: (...args: any) => string;
|
|
8568
8572
|
};
|
|
8569
8573
|
|
|
8570
|
-
declare const useClasses_113: (classesProp?: Partial<Record<"content" | "header" | "hidden" | "root" | "
|
|
8574
|
+
declare const useClasses_113: (classesProp?: Partial<Record<"content" | "header" | "hidden" | "root" | "hasHeader" | "spaceTop" | "actions" | "raisedHeader", string>>, addStatic?: boolean) => {
|
|
8571
8575
|
readonly classes: {
|
|
8572
8576
|
root: string;
|
|
8573
8577
|
header: string;
|
|
@@ -8599,7 +8603,7 @@ declare const useClasses_115: (classesProp?: Partial<Record<"root" | "stickyHead
|
|
|
8599
8603
|
readonly cx: (...args: any) => string;
|
|
8600
8604
|
};
|
|
8601
8605
|
|
|
8602
|
-
declare const useClasses_116: (classesProp?: Partial<Record<"
|
|
8606
|
+
declare const useClasses_116: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "label" | "button" | "icon" | "disabled" | "root" | "categorical" | "selected" | "focusVisible" | "hasIcon" | "deleteIcon" | "clickable" | "outlined" | "chipRoot" | "tagButton" | "disabledDeleteIcon" | "categoricalFocus" | "categoricalDisabled", string>>, addStatic?: boolean) => {
|
|
8603
8607
|
readonly classes: {
|
|
8604
8608
|
root: string;
|
|
8605
8609
|
hasIcon: string;
|
|
@@ -8649,7 +8653,7 @@ declare const useClasses_118: (classesProp?: Partial<Record<"disabled" | "root"
|
|
|
8649
8653
|
readonly cx: (...args: any) => string;
|
|
8650
8654
|
};
|
|
8651
8655
|
|
|
8652
|
-
declare const useClasses_119: (classesProp?: Partial<Record<"label" | "disabled" | "root" | "
|
|
8656
|
+
declare const useClasses_119: (classesProp?: Partial<Record<"label" | "disabled" | "root" | "input" | "readOnly" | "description" | "error" | "invalid" | "tagsList" | "singleLine" | "inputExtension" | "labelContainer" | "resizable" | "suggestionsContainer" | "suggestionList" | "chipRoot" | "listItemGutters" | "listItemRoot" | "characterCounter" | "tagInputContainerRoot" | "tagInputRoot" | "tagSelected" | "tagInputBorderContainer" | "tagInputRootFocused" | "tagInputRootEmpty", string>>, addStatic?: boolean) => {
|
|
8653
8657
|
readonly classes: {
|
|
8654
8658
|
listItemGutters: string;
|
|
8655
8659
|
listItemRoot: string;
|
|
@@ -8695,7 +8699,7 @@ declare const useClasses_12: (classesProp?: Partial<Record<"show" | "root" | "de
|
|
|
8695
8699
|
readonly cx: (...args: any) => string;
|
|
8696
8700
|
};
|
|
8697
8701
|
|
|
8698
|
-
declare const useClasses_120: (classesProp?: Partial<Record<"label" | "disabled" | "root" | "
|
|
8702
|
+
declare const useClasses_120: (classesProp?: Partial<Record<"label" | "disabled" | "root" | "input" | "description" | "error" | "invalid" | "labelContainer" | "resizable" | "inputResizable" | "characterCounter" | "baseInput", string>>, addStatic?: boolean) => {
|
|
8699
8703
|
readonly classes: {
|
|
8700
8704
|
root: string;
|
|
8701
8705
|
disabled: string;
|
|
@@ -8722,7 +8726,7 @@ declare const useClasses_121: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8722
8726
|
readonly cx: (...args: any) => string;
|
|
8723
8727
|
};
|
|
8724
8728
|
|
|
8725
|
-
declare const useClasses_122: (classesProp?: Partial<Record<"label" | "icon" | "root" | "
|
|
8729
|
+
declare const useClasses_122: (classesProp?: Partial<Record<"label" | "icon" | "root" | "placeholder" | "description" | "error" | "labelContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "placeholderDisabled" | "dropdownPanel" | "timePopperContainer", string>>, addStatic?: boolean) => {
|
|
8726
8730
|
readonly classes: {
|
|
8727
8731
|
root: string;
|
|
8728
8732
|
labelContainer: string;
|
|
@@ -8822,7 +8826,7 @@ declare const useClasses_129: (classesProp?: Partial<Record<"action" | "minimize
|
|
|
8822
8826
|
readonly cx: (...args: any) => string;
|
|
8823
8827
|
};
|
|
8824
8828
|
|
|
8825
|
-
declare const useClasses_13: (classesProp?: Partial<Record<"label" | "disabled" | "root" | "panel" | "popper" | "
|
|
8829
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"label" | "disabled" | "root" | "panel" | "popper" | "select" | "readOnly" | "description" | "error" | "invalid" | "labelContainer" | "panelOpenedUp" | "panelOpenedDown", string>>, addStatic?: boolean) => {
|
|
8826
8830
|
readonly classes: {
|
|
8827
8831
|
root: string;
|
|
8828
8832
|
disabled: string;
|
|
@@ -8876,7 +8880,7 @@ declare const useClasses_132: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8876
8880
|
readonly cx: (...args: any) => string;
|
|
8877
8881
|
};
|
|
8878
8882
|
|
|
8879
|
-
declare const useClasses_133: (classesProp?: Partial<Record<"
|
|
8883
|
+
declare const useClasses_133: (classesProp?: Partial<Record<"hide" | "content" | "label" | "link" | "expanded" | "icon" | "disabled" | "unselectable" | "selected" | "group" | "expandable" | "selectable" | "node" | "focused" | "labelIcon" | "collapsed" | "minimized" | "unselected" | "labelExpandable", string>>, addStatic?: boolean) => {
|
|
8880
8884
|
readonly classes: {
|
|
8881
8885
|
node: string;
|
|
8882
8886
|
content: string;
|
|
@@ -8902,7 +8906,7 @@ declare const useClasses_133: (classesProp?: Partial<Record<"content" | "label"
|
|
|
8902
8906
|
readonly cx: (...args: any) => string;
|
|
8903
8907
|
};
|
|
8904
8908
|
|
|
8905
|
-
declare const useClasses_134: (classesProp?: Partial<Record<"text" | "
|
|
8909
|
+
declare const useClasses_134: (classesProp?: Partial<Record<"text" | "circle" | "content" | "square" | "root" | "pulse" | "wave", string>>, addStatic?: boolean) => {
|
|
8906
8910
|
readonly classes: {
|
|
8907
8911
|
root: string;
|
|
8908
8912
|
content: string;
|
|
@@ -8916,7 +8920,7 @@ declare const useClasses_134: (classesProp?: Partial<Record<"text" | "content" |
|
|
|
8916
8920
|
readonly cx: (...args: any) => string;
|
|
8917
8921
|
};
|
|
8918
8922
|
|
|
8919
|
-
declare const useClasses_14: (classesProp?: Partial<Record<"primary" | "primarySubtle" | "secondary" | "semantic" | "secondaryGhost" | "primaryGhost" | "secondarySubtle" | "icon" | "disabled" | "root" | "contained" | "
|
|
8923
|
+
declare const useClasses_14: (classesProp?: Partial<Record<"primary" | "primarySubtle" | "secondary" | "semantic" | "secondaryGhost" | "primaryGhost" | "secondarySubtle" | "icon" | "disabled" | "root" | "contained" | "startIcon" | "endIcon" | "focusVisible" | "subtle" | "ghost", string>>, addStatic?: boolean) => {
|
|
8920
8924
|
readonly classes: {
|
|
8921
8925
|
root: string;
|
|
8922
8926
|
startIcon: string;
|
|
@@ -8956,7 +8960,7 @@ declare const useClasses_16: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
8956
8960
|
readonly cx: (...args: any) => string;
|
|
8957
8961
|
};
|
|
8958
8962
|
|
|
8959
|
-
declare const useClasses_17: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "listbox" | "root" | "
|
|
8963
|
+
declare const useClasses_17: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "listbox" | "root" | "description" | "error" | "invalid", string>>, addStatic?: boolean) => {
|
|
8960
8964
|
readonly classes: {
|
|
8961
8965
|
root: string;
|
|
8962
8966
|
error: string;
|
|
@@ -8982,7 +8986,7 @@ declare const useClasses_18: (classesProp?: Partial<Record<"root" | "popper" | "
|
|
|
8982
8986
|
readonly cx: (...args: any) => string;
|
|
8983
8987
|
};
|
|
8984
8988
|
|
|
8985
|
-
declare const useClasses_19: (classesProp?: Partial<Record<"disabled" | "root" | "
|
|
8989
|
+
declare const useClasses_19: (classesProp?: Partial<Record<"disabled" | "root" | "input" | "readOnly" | "invalid" | "inputRoot" | "focused" | "multiline" | "resizable" | "inputBorderContainer" | "inputRootInvalid" | "inputRootReadOnly" | "inputRootFocused" | "inputRootDisabled" | "inputRootMultiline" | "inputDisabled" | "inputReadOnly" | "inputResizable", string>>, addStatic?: boolean) => {
|
|
8986
8990
|
readonly classes: {
|
|
8987
8991
|
root: string;
|
|
8988
8992
|
disabled: string;
|
|
@@ -9149,7 +9153,7 @@ declare const useClasses_25: (classesProp?: Partial<Record<"open" | "single" | "
|
|
|
9149
9153
|
readonly cx: (...args: any) => string;
|
|
9150
9154
|
};
|
|
9151
9155
|
|
|
9152
|
-
declare const useClasses_26: (classesProp?: Partial<Record<"typography" | "icon" | "disabled" | "root" | "
|
|
9156
|
+
declare const useClasses_26: (classesProp?: Partial<Record<"typography" | "icon" | "disabled" | "root" | "title" | "selected" | "iconUrl" | "iconInfo" | "titleAnchor", string>>, addStatic?: boolean) => {
|
|
9153
9157
|
readonly classes: {
|
|
9154
9158
|
root: string;
|
|
9155
9159
|
icon: string;
|
|
@@ -9165,7 +9169,7 @@ declare const useClasses_26: (classesProp?: Partial<Record<"typography" | "icon"
|
|
|
9165
9169
|
readonly cx: (...args: any) => string;
|
|
9166
9170
|
};
|
|
9167
9171
|
|
|
9168
|
-
declare const useClasses_27: (classesProp?: Partial<Record<"
|
|
9172
|
+
declare const useClasses_27: (classesProp?: Partial<Record<"xs" | "sm" | "md" | "lg" | "xl" | "container" | "square" | "root" | "img" | "status" | "fallback" | "avatar" | "badge" | "circular", string>>, addStatic?: boolean) => {
|
|
9169
9173
|
readonly classes: {
|
|
9170
9174
|
root: string;
|
|
9171
9175
|
img: string;
|
|
@@ -9234,7 +9238,7 @@ declare const useClasses_30: (classesProp?: Partial<Record<"root" | "rootClosed"
|
|
|
9234
9238
|
readonly cx: (...args: any) => string;
|
|
9235
9239
|
};
|
|
9236
9240
|
|
|
9237
|
-
declare const useClasses_31: (classesProp?: Partial<Record<"accent" | "warning" | "info" | "default" | "root" | "
|
|
9241
|
+
declare const useClasses_31: (classesProp?: Partial<Record<"accent" | "warning" | "info" | "default" | "root" | "action" | "error" | "success" | "message" | "actionContainer" | "messageContainer" | "iconContainer" | "messageActions" | "closeAction" | "baseVariant" | "outContainer" | "actionsInnerContainer", string>>, addStatic?: boolean) => {
|
|
9238
9242
|
readonly classes: {
|
|
9239
9243
|
root: string;
|
|
9240
9244
|
success: string;
|
|
@@ -9285,7 +9289,7 @@ declare const useClasses_33: (classesProp?: Partial<Record<"semantic" | "icon" |
|
|
|
9285
9289
|
readonly cx: (...args: any) => string;
|
|
9286
9290
|
};
|
|
9287
9291
|
|
|
9288
|
-
declare const useClasses_34: (classesProp?: Partial<Record<"disabled" | "root" | "
|
|
9292
|
+
declare const useClasses_34: (classesProp?: Partial<Record<"disabled" | "root" | "track" | "switch" | "readOnly" | "checked" | "focusVisible" | "switchBase" | "thumb", string>>, addStatic?: boolean) => {
|
|
9289
9293
|
readonly classes: {
|
|
9290
9294
|
root: string;
|
|
9291
9295
|
switch: string;
|
|
@@ -9315,7 +9319,7 @@ declare const useClasses_35: (classesProp?: Partial<Record<"link" | "root" | "a"
|
|
|
9315
9319
|
readonly cx: (...args: any) => string;
|
|
9316
9320
|
};
|
|
9317
9321
|
|
|
9318
|
-
declare const useClasses_36: (classesProp?: Partial<Record<"semantic" | "root" | "
|
|
9322
|
+
declare const useClasses_36: (classesProp?: Partial<Record<"semantic" | "root" | "actions" | "selectAll" | "selectAllContainer" | "selectAllPages" | "divider", string>>, addStatic?: boolean) => {
|
|
9319
9323
|
readonly classes: {
|
|
9320
9324
|
root: string;
|
|
9321
9325
|
semantic: string;
|
|
@@ -9419,7 +9423,7 @@ declare const useClasses_41: (classesProp?: Partial<Record<"icon" | "root" | "se
|
|
|
9419
9423
|
readonly cx: (...args: any) => string;
|
|
9420
9424
|
};
|
|
9421
9425
|
|
|
9422
|
-
declare const useClasses_42: (classesProp?: Partial<Record<"content" | "root" | "
|
|
9426
|
+
declare const useClasses_42: (classesProp?: Partial<Record<"content" | "root" | "title" | "action" | "subheader" | "titleShort", string>>, addStatic?: boolean) => {
|
|
9423
9427
|
readonly classes: {
|
|
9424
9428
|
root: string;
|
|
9425
9429
|
titleShort: string;
|
|
@@ -9449,7 +9453,7 @@ declare const useClasses_44: (classesProp?: Partial<Record<"root" | "media", str
|
|
|
9449
9453
|
readonly cx: (...args: any) => string;
|
|
9450
9454
|
};
|
|
9451
9455
|
|
|
9452
|
-
declare const useClasses_45: (classesProp?: Partial<Record<"xs" | "dot" | "root" | "panel" | "main" | "title" | "controls" | "
|
|
9456
|
+
declare const useClasses_45: (classesProp?: Partial<Record<"xs" | "dot" | "root" | "panel" | "main" | "title" | "controls" | "actions" | "counter" | "fullscreen" | "closeButton" | "mainContainer" | "pageCounter" | "mainXs" | "mainFullscreen" | "counterContainer" | "slideControls" | "slidesViewport" | "slidesContainer" | "dots" | "dotsXs" | "dotSelected" | "thumbnail" | "thumbnailSelected", string>>, addStatic?: boolean) => {
|
|
9453
9457
|
readonly classes: {
|
|
9454
9458
|
root: string;
|
|
9455
9459
|
xs: string;
|
|
@@ -9489,7 +9493,7 @@ declare const useClasses_46: (classesProp?: Partial<Record<"image" | "slide", st
|
|
|
9489
9493
|
readonly cx: (...args: any) => string;
|
|
9490
9494
|
};
|
|
9491
9495
|
|
|
9492
|
-
declare const useClasses_47: (classesProp?: Partial<Record<"label" | "icon" | "root" | "
|
|
9496
|
+
declare const useClasses_47: (classesProp?: Partial<Record<"label" | "icon" | "root" | "input" | "description" | "error" | "inputRoot" | "inputExtension" | "adornmentsBox" | "adornmentButton" | "labelContainer" | "inputBorderContainer" | "inputRootFocused" | "inputRootDisabled" | "inputRootMultiline" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList", string>>, addStatic?: boolean) => {
|
|
9493
9497
|
readonly classes: {
|
|
9494
9498
|
root: string;
|
|
9495
9499
|
labelContainer: string;
|
|
@@ -9537,7 +9541,7 @@ declare const useClasses_48: (classesProp?: Partial<Record<"icon" | "root" | "ic
|
|
|
9537
9541
|
readonly cx: (...args: any) => string;
|
|
9538
9542
|
};
|
|
9539
9543
|
|
|
9540
|
-
declare const useClasses_49: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "
|
|
9544
|
+
declare const useClasses_49: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "error" | "invalid" | "selectAll", string>>, addStatic?: boolean) => {
|
|
9541
9545
|
readonly classes: {
|
|
9542
9546
|
root: string;
|
|
9543
9547
|
label: string;
|
|
@@ -9637,7 +9641,7 @@ declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "fo
|
|
|
9637
9641
|
readonly cx: (...args: any) => string;
|
|
9638
9642
|
};
|
|
9639
9643
|
|
|
9640
|
-
declare const useClasses_54: (classesProp?: Partial<Record<"body" | "expanded" | "root" | "
|
|
9644
|
+
declare const useClasses_54: (classesProp?: Partial<Record<"body" | "expanded" | "root" | "footer" | "head" | "selected" | "variantList" | "variantListHead" | "striped" | "hover", string>>, addStatic?: boolean) => {
|
|
9641
9645
|
readonly classes: {
|
|
9642
9646
|
root: string;
|
|
9643
9647
|
head: string;
|
|
@@ -9722,7 +9726,7 @@ declare const useClasses_58: (classesProp?: Partial<Record<"root" | "sortDropdow
|
|
|
9722
9726
|
readonly cx: (...args: any) => string;
|
|
9723
9727
|
};
|
|
9724
9728
|
|
|
9725
|
-
declare const useClasses_59: (classesProp?: Partial<Record<"
|
|
9729
|
+
declare const useClasses_59: (classesProp?: Partial<Record<"dropdown" | "label" | "disabled" | "root" | "placeholder" | "readOnly" | "description" | "error" | "labelContainer" | "arrow" | "selectionDisabled" | "placeholderClosed" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "dropdownListContainer" | "rootList", string>>, addStatic?: boolean) => {
|
|
9726
9730
|
readonly classes: {
|
|
9727
9731
|
root: string;
|
|
9728
9732
|
labelContainer: string;
|
|
@@ -9778,7 +9782,7 @@ declare const useClasses_60: (classesProp?: Partial<Record<"listContainer" | "vi
|
|
|
9778
9782
|
readonly cx: (...args: any) => string;
|
|
9779
9783
|
};
|
|
9780
9784
|
|
|
9781
|
-
declare const useClasses_61: (classesProp?: Partial<Record<"container" | "label" | "icon" | "root" | "panel" | "
|
|
9785
|
+
declare const useClasses_61: (classesProp?: Partial<Record<"dropdown" | "container" | "label" | "icon" | "root" | "panel" | "action" | "description" | "error" | "labelContainer" | "actionContainer" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "leftContainer" | "rightContainer" | "inputText" | "dateText", string>>, addStatic?: boolean) => {
|
|
9782
9786
|
readonly classes: {
|
|
9783
9787
|
root: string;
|
|
9784
9788
|
actionContainer: string;
|
|
@@ -9833,7 +9837,7 @@ declare const useClasses_64: (classesProp?: Partial<Record<"root" | "spacing" |
|
|
|
9833
9837
|
readonly cx: (...args: any) => string;
|
|
9834
9838
|
};
|
|
9835
9839
|
|
|
9836
|
-
declare const useClasses_65: (classesProp?: Partial<Record<"warning" | "background" | "root" | "
|
|
9840
|
+
declare const useClasses_65: (classesProp?: Partial<Record<"warning" | "background" | "root" | "error" | "success" | "paper" | "statusBar" | "fullscreen" | "closeButton" | "fullHeight", string>>, addStatic?: boolean) => {
|
|
9837
9841
|
readonly classes: {
|
|
9838
9842
|
root: string;
|
|
9839
9843
|
background: string;
|
|
@@ -9862,7 +9866,7 @@ declare const useClasses_66: (classesProp?: Partial<Record<"horizontal" | "radio
|
|
|
9862
9866
|
readonly cx: (...args: any) => string;
|
|
9863
9867
|
};
|
|
9864
9868
|
|
|
9865
|
-
declare const useClasses_67: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "
|
|
9869
|
+
declare const useClasses_67: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "error" | "invalid", string>>, addStatic?: boolean) => {
|
|
9866
9870
|
readonly classes: {
|
|
9867
9871
|
root: string;
|
|
9868
9872
|
label: string;
|
|
@@ -9876,7 +9880,7 @@ declare const useClasses_67: (classesProp?: Partial<Record<"vertical" | "horizon
|
|
|
9876
9880
|
readonly cx: (...args: any) => string;
|
|
9877
9881
|
};
|
|
9878
9882
|
|
|
9879
|
-
declare const useClasses_68: (classesProp?: Partial<Record<"background" | "root" | "
|
|
9883
|
+
declare const useClasses_68: (classesProp?: Partial<Record<"background" | "root" | "paper" | "closeButton", string>>, addStatic?: boolean) => {
|
|
9880
9884
|
readonly classes: {
|
|
9881
9885
|
root: string;
|
|
9882
9886
|
paper: string;
|
|
@@ -9965,7 +9969,7 @@ declare const useClasses_73: (classesProp?: Partial<Record<"dropZoneContainer" |
|
|
|
9965
9969
|
readonly cx: (...args: any) => string;
|
|
9966
9970
|
};
|
|
9967
9971
|
|
|
9968
|
-
declare const useClasses_74: (classesProp?: Partial<Record<"label" | "root" | "
|
|
9972
|
+
declare const useClasses_74: (classesProp?: Partial<Record<"label" | "root" | "description" | "error" | "labelContainer", string>>, addStatic?: boolean) => {
|
|
9969
9973
|
readonly classes: {
|
|
9970
9974
|
root: string;
|
|
9971
9975
|
label: string;
|
|
@@ -9977,7 +9981,7 @@ declare const useClasses_74: (classesProp?: Partial<Record<"label" | "root" | "e
|
|
|
9977
9981
|
readonly cx: (...args: any) => string;
|
|
9978
9982
|
};
|
|
9979
9983
|
|
|
9980
|
-
declare const useClasses_75: (classesProp?: Partial<Record<"
|
|
9984
|
+
declare const useClasses_75: (classesProp?: Partial<Record<"dropdown" | "space" | "header" | "root" | "panel" | "baseDropdownSelection" | "rightSidePanel" | "leftSidePanel" | "actionBar" | "applyButton", string>>, addStatic?: boolean) => {
|
|
9981
9985
|
readonly classes: {
|
|
9982
9986
|
dropdown: string;
|
|
9983
9987
|
panel: string;
|
|
@@ -10144,7 +10148,7 @@ declare const useClasses_84: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
10144
10148
|
readonly cx: (...args: any) => string;
|
|
10145
10149
|
};
|
|
10146
10150
|
|
|
10147
|
-
declare const useClasses_85: (classesProp?: Partial<Record<"text" | "button" | "icon" | "root" | "
|
|
10151
|
+
declare const useClasses_85: (classesProp?: Partial<Record<"text" | "button" | "icon" | "root" | "input" | "inputRoot" | "inputBorderContainer" | "largeText" | "textEmpty" | "iconVisible", string>>, addStatic?: boolean) => {
|
|
10148
10152
|
readonly classes: {
|
|
10149
10153
|
root: string;
|
|
10150
10154
|
inputBorderContainer: string;
|
|
@@ -10203,7 +10207,7 @@ declare const useClasses_88: (classesProp?: Partial<Record<"link" | "root" | "it
|
|
|
10203
10207
|
readonly cx: (...args: any) => string;
|
|
10204
10208
|
};
|
|
10205
10209
|
|
|
10206
|
-
declare const useClasses_89: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "hidden" | "root" | "
|
|
10210
|
+
declare const useClasses_89: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "hidden" | "root" | "blur" | "loadingBar" | "barContainer" | "regular" | "smallColor" | "regularColor", string>>, addStatic?: boolean) => {
|
|
10207
10211
|
readonly classes: {
|
|
10208
10212
|
root: string;
|
|
10209
10213
|
barContainer: string;
|
|
@@ -10279,7 +10283,7 @@ declare const useClasses_93: (classesProp?: Partial<Record<"tooltipData" | "tool
|
|
|
10279
10283
|
readonly cx: (...args: any) => string;
|
|
10280
10284
|
};
|
|
10281
10285
|
|
|
10282
|
-
declare const useClasses_94: (classesProp?: Partial<Record<"
|
|
10286
|
+
declare const useClasses_94: (classesProp?: Partial<Record<"tooltip" | "color" | "values" | "separator" | "root" | "popper" | "title" | "tooltipMulti" | "valuesContainer" | "separatorColor" | "valueWrapper", string>>, addStatic?: boolean) => {
|
|
10283
10287
|
readonly classes: {
|
|
10284
10288
|
root: string;
|
|
10285
10289
|
tooltip: string;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.99.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
|
-
"description": "Core React components
|
|
6
|
+
"description": "UI Kit Core React components.",
|
|
7
7
|
"homepage": "https://github.com/lumada-design/hv-uikit-react",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"keywords": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@emotion/cache": "^11.11.0",
|
|
34
34
|
"@emotion/serialize": "^1.1.2",
|
|
35
|
-
"@hitachivantara/uikit-react-shared": "^5.5.
|
|
36
|
-
"@hitachivantara/uikit-react-utils": "^0.2.
|
|
37
|
-
"@hitachivantara/uikit-styles": "^5.
|
|
35
|
+
"@hitachivantara/uikit-react-shared": "^5.5.2",
|
|
36
|
+
"@hitachivantara/uikit-react-utils": "^0.2.42",
|
|
37
|
+
"@hitachivantara/uikit-styles": "^5.50.0",
|
|
38
38
|
"@internationalized/date": "^3.2.0",
|
|
39
39
|
"@mui/base": "5.0.0-beta.68",
|
|
40
40
|
"@popperjs/core": "^2.11.8",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"access": "public",
|
|
62
62
|
"directory": "package"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "ac709f3b46b8b62ea3fccfa689983b5a9b72c4ec",
|
|
65
65
|
"exports": {
|
|
66
66
|
".": {
|
|
67
67
|
"types": "./dist/types/index.d.ts",
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const ConfirmationDialog_styles = require("./ConfirmationDialog.styles.cjs");
|
|
5
|
-
const Dialog = require("../../Dialog/Dialog.cjs");
|
|
6
|
-
const Title = require("../../Dialog/Title/Title.cjs");
|
|
7
|
-
const Content = require("../../Dialog/Content/Content.cjs");
|
|
8
|
-
const Actions = require("../../Dialog/Actions/Actions.cjs");
|
|
9
|
-
const Button = require("../../Button/Button.cjs");
|
|
10
|
-
const ConfirmationDialog = ({
|
|
11
|
-
title,
|
|
12
|
-
message,
|
|
13
|
-
isOpen,
|
|
14
|
-
onConfirm,
|
|
15
|
-
onCancel,
|
|
16
|
-
confirmButtonLabel,
|
|
17
|
-
cancelButtonLabel,
|
|
18
|
-
closeButtonTooltip
|
|
19
|
-
}) => {
|
|
20
|
-
const { classes } = ConfirmationDialog_styles.useClasses();
|
|
21
|
-
const handleClose = (_, reason) => {
|
|
22
|
-
if (reason !== "backdropClick") {
|
|
23
|
-
onCancel?.();
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27
|
-
Dialog.HvDialog,
|
|
28
|
-
{
|
|
29
|
-
classes: { paper: classes.paper },
|
|
30
|
-
open: isOpen,
|
|
31
|
-
onClose: handleClose,
|
|
32
|
-
firstFocusable: "confirmation-dialog-cancel",
|
|
33
|
-
buttonTitle: closeButtonTooltip,
|
|
34
|
-
children: [
|
|
35
|
-
/* @__PURE__ */ jsxRuntime.jsx(Title.HvDialogTitle, { variant: "warning", children: title }),
|
|
36
|
-
/* @__PURE__ */ jsxRuntime.jsx(Content.HvDialogContent, { indentContent: true, children: message }),
|
|
37
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Actions.HvDialogActions, { children: [
|
|
38
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button.HvButton, { variant: "primaryGhost", onClick: onConfirm, children: confirmButtonLabel }),
|
|
39
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40
|
-
Button.HvButton,
|
|
41
|
-
{
|
|
42
|
-
id: "confirmation-dialog-cancel",
|
|
43
|
-
variant: "primaryGhost",
|
|
44
|
-
onClick: () => onCancel?.(),
|
|
45
|
-
children: cancelButtonLabel
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
] })
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
};
|
|
53
|
-
exports.ConfirmationDialog = ConfirmationDialog;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
|
|
4
|
-
const { useClasses, staticClasses } = uikitReactUtils.createClasses(
|
|
5
|
-
"HvQueryBuilder-ConfirmationDialog",
|
|
6
|
-
{
|
|
7
|
-
paper: {}
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
exports.staticClasses = staticClasses;
|
|
11
|
-
exports.useClasses = useClasses;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
|
|
4
|
-
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
5
|
-
const { useClasses, staticClasses } = uikitReactUtils.createClasses(
|
|
6
|
-
"HvQueryBuilder-DateTimeValue",
|
|
7
|
-
{
|
|
8
|
-
root: {
|
|
9
|
-
display: "flex",
|
|
10
|
-
flexDirection: "column"
|
|
11
|
-
},
|
|
12
|
-
row: {},
|
|
13
|
-
vertical: {
|
|
14
|
-
display: "flex",
|
|
15
|
-
flexDirection: "column"
|
|
16
|
-
},
|
|
17
|
-
horizontal: {
|
|
18
|
-
display: "flex",
|
|
19
|
-
"& > div:not(:last-child)": {
|
|
20
|
-
marginRight: uikitStyles.theme.space.md
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
isMdDown: {
|
|
24
|
-
"& > div:not(:last-child)": {
|
|
25
|
-
marginRight: `calc(${uikitStyles.theme.space.md} / 2)`
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
datePicker: {
|
|
29
|
-
flex: 1
|
|
30
|
-
},
|
|
31
|
-
timePicker: {
|
|
32
|
-
flex: 1
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
exports.staticClasses = staticClasses;
|
|
37
|
-
exports.useClasses = useClasses;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const dayjs = require("dayjs");
|
|
4
|
-
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
5
|
-
const dayjs__default = /* @__PURE__ */ _interopDefault(dayjs);
|
|
6
|
-
const padTime = (value) => {
|
|
7
|
-
if (!value || value < 0) {
|
|
8
|
-
return "00";
|
|
9
|
-
}
|
|
10
|
-
if (value < 10 && value.toString().length === 1) {
|
|
11
|
-
return `0${value.toString()}`;
|
|
12
|
-
}
|
|
13
|
-
return value.toString();
|
|
14
|
-
};
|
|
15
|
-
const parseDate = (date) => {
|
|
16
|
-
if (date != null) {
|
|
17
|
-
return dayjs__default.default(date).toDate();
|
|
18
|
-
}
|
|
19
|
-
return void 0;
|
|
20
|
-
};
|
|
21
|
-
const parseTime = (time) => {
|
|
22
|
-
if (time != null) {
|
|
23
|
-
const parts = time.split(":");
|
|
24
|
-
if (parts.length === 3) {
|
|
25
|
-
return {
|
|
26
|
-
hours: Number.parseInt(parts[0], 10),
|
|
27
|
-
minutes: Number.parseInt(parts[1], 10),
|
|
28
|
-
seconds: Number.parseInt(parts[2], 10)
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return null;
|
|
33
|
-
};
|
|
34
|
-
exports.padTime = padTime;
|
|
35
|
-
exports.parseDate = parseDate;
|
|
36
|
-
exports.parseTime = parseTime;
|