@hitachivantara/uikit-react-core 5.37.2 → 5.38.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/cjs/components/Calendar/CalendarHeader/CalendarHeader.cjs.map +1 -1
- package/dist/cjs/components/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.cjs.map +1 -1
- package/dist/cjs/components/Calendar/CalendarNavigation/MonthSelector/MonthSelector.cjs.map +1 -1
- package/dist/cjs/components/Calendar/model.cjs.map +1 -1
- package/dist/cjs/components/Drawer/Drawer.cjs +2 -5
- package/dist/cjs/components/Drawer/Drawer.cjs.map +1 -1
- package/dist/cjs/components/Drawer/Drawer.styles.cjs +0 -2
- package/dist/cjs/components/Drawer/Drawer.styles.cjs.map +1 -1
- package/dist/cjs/components/FilterGroup/RightPanel/RightPanel.cjs +11 -3
- package/dist/cjs/components/FilterGroup/RightPanel/RightPanel.cjs.map +1 -1
- package/dist/cjs/components/Header/Navigation/MenuBar/Bar.cjs.map +1 -1
- package/dist/cjs/components/Header/Navigation/MenuBar/MenuBar.cjs.map +1 -1
- package/dist/cjs/components/Header/Navigation/MenuItem/MenuItem.cjs.map +1 -1
- package/dist/cjs/components/Input/Input.cjs.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.cjs +5 -5
- package/dist/cjs/components/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.cjs +1 -3
- package/dist/cjs/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/QueryBuilder.styles.cjs +4 -5
- package/dist/cjs/components/QueryBuilder/QueryBuilder.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Rule.cjs +7 -9
- package/dist/cjs/components/QueryBuilder/Rule/Rule.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Rule.styles.cjs +7 -4
- package/dist/cjs/components/QueryBuilder/Rule/Rule.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.cjs +3 -5
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.cjs +6 -10
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/RuleGroup/RuleGroup.cjs +13 -17
- package/dist/cjs/components/QueryBuilder/RuleGroup/RuleGroup.cjs.map +1 -1
- package/dist/cjs/components/Table/TableBody/TableBody.cjs +1 -1
- package/dist/cjs/components/Table/TableBody/TableBody.cjs.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/cjs/components/Typography/Typography.cjs +7 -0
- package/dist/cjs/components/Typography/Typography.cjs.map +1 -1
- package/dist/cjs/hooks/useControlled.cjs.map +1 -1
- package/dist/cjs/hooks/useImageLoaded.cjs +1 -1
- package/dist/cjs/hooks/useImageLoaded.cjs.map +1 -1
- package/dist/cjs/utils/IconButton.cjs +12 -0
- package/dist/cjs/utils/IconButton.cjs.map +1 -0
- package/dist/esm/components/Calendar/CalendarHeader/CalendarHeader.js.map +1 -1
- package/dist/esm/components/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.js.map +1 -1
- package/dist/esm/components/Calendar/CalendarNavigation/MonthSelector/MonthSelector.js.map +1 -1
- package/dist/esm/components/Calendar/model.js.map +1 -1
- package/dist/esm/components/Drawer/Drawer.js +2 -5
- package/dist/esm/components/Drawer/Drawer.js.map +1 -1
- package/dist/esm/components/Drawer/Drawer.styles.js +0 -2
- package/dist/esm/components/Drawer/Drawer.styles.js.map +1 -1
- package/dist/esm/components/FilterGroup/RightPanel/RightPanel.js +11 -3
- package/dist/esm/components/FilterGroup/RightPanel/RightPanel.js.map +1 -1
- package/dist/esm/components/Header/Navigation/MenuBar/Bar.js.map +1 -1
- package/dist/esm/components/Header/Navigation/MenuBar/MenuBar.js.map +1 -1
- package/dist/esm/components/Header/Navigation/MenuItem/MenuItem.js.map +1 -1
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +5 -5
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.js +1 -3
- package/dist/esm/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/QueryBuilder.styles.js +4 -5
- package/dist/esm/components/QueryBuilder/QueryBuilder.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Rule.js +8 -10
- package/dist/esm/components/QueryBuilder/Rule/Rule.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Rule.styles.js +7 -4
- package/dist/esm/components/QueryBuilder/Rule/Rule.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.js +3 -5
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.js +6 -10
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/RuleGroup/RuleGroup.js +13 -17
- package/dist/esm/components/QueryBuilder/RuleGroup/RuleGroup.js.map +1 -1
- package/dist/esm/components/Table/TableBody/TableBody.js +1 -1
- package/dist/esm/components/Table/TableBody/TableBody.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Typography/Typography.js +7 -0
- package/dist/esm/components/Typography/Typography.js.map +1 -1
- package/dist/esm/hooks/useControlled.js.map +1 -1
- package/dist/esm/hooks/useImageLoaded.js +1 -1
- package/dist/esm/hooks/useImageLoaded.js.map +1 -1
- package/dist/esm/utils/IconButton.js +12 -0
- package/dist/esm/utils/IconButton.js.map +1 -0
- package/dist/types/index.d.ts +49 -48
- package/package.json +5 -5
- package/dist/cjs/components/Pagination/ButtonIconTooltip.cjs +0 -16
- package/dist/cjs/components/Pagination/ButtonIconTooltip.cjs.map +0 -1
- package/dist/esm/components/Pagination/ButtonIconTooltip.js +0 -16
- package/dist/esm/components/Pagination/ButtonIconTooltip.js.map +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { HvButton } from "../components/Button/Button.js";
|
|
3
|
+
import { HvTooltip } from "../components/Tooltip/Tooltip.js";
|
|
4
|
+
const IconButton = ({
|
|
5
|
+
title,
|
|
6
|
+
placement = "top",
|
|
7
|
+
...others
|
|
8
|
+
}) => /* @__PURE__ */ jsx(HvTooltip, { enterDelay: 500, title, placement, children: /* @__PURE__ */ jsx(HvButton, { icon: true, ...others }) });
|
|
9
|
+
export {
|
|
10
|
+
IconButton
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=IconButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.js","sources":["../../../src/utils/IconButton.tsx"],"sourcesContent":["import { HvButton, HvButtonProps } from \"@core/components/Button\";\nimport { HvTooltip, HvTooltipProps } from \"@core/components/Tooltip\";\n\nexport interface IconButtonProps extends Omit<HvButtonProps, \"icon\" | \"title\"> {\n title: React.ReactNode;\n placement?: HvTooltipProps[\"placement\"];\n onClick?: HvButtonProps[\"onClick\"];\n}\n\n/** An `HvButton` of type icon wrapped in a tooltip */\nexport const IconButton = ({\n title,\n placement = \"top\",\n ...others\n}: IconButtonProps) => (\n <HvTooltip enterDelay={500} title={title} placement={placement}>\n <HvButton icon {...others} />\n </HvTooltip>\n);\n"],"names":["IconButton","title","placement","others"],"mappings":";;;AAUO,MAAMA,aAAaA,CAAC;AAAA,EACzBC;AAAAA,EACAC,YAAY;AAAA,EACZ,GAAGC;AACY,MACd,oBAAA,WAAA,EAAU,YAAY,KAAK,OAAc,WACxC,UAAC,oBAAA,UAAA,EAAS,MAAI,MAAC,GAAIA,OAAAA,CAAO,EAC5B,CAAA;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -182,6 +182,13 @@ export declare const actionClasses: {
|
|
|
182
182
|
noIcon: "HvVerticalNavigationAction-noIcon";
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
+
/** @private label structure action icon buttons */
|
|
186
|
+
declare interface ActionIconLabels extends DialogLabels {
|
|
187
|
+
/** @deprecated use `tooltip` label instead */
|
|
188
|
+
ariaLabel: string;
|
|
189
|
+
tooltip?: string;
|
|
190
|
+
}
|
|
191
|
+
|
|
185
192
|
export declare const actionsClasses: {
|
|
186
193
|
root: "HvVerticalNavigationActions-root";
|
|
187
194
|
hide: "HvVerticalNavigationActions-hide";
|
|
@@ -295,6 +302,12 @@ export declare const bannerContentClasses: {
|
|
|
295
302
|
outContainer: "HvBannerContent-outContainer";
|
|
296
303
|
};
|
|
297
304
|
|
|
305
|
+
declare interface BarProps extends HvBaseProps {
|
|
306
|
+
data: HvHeaderNavigationItemProp[];
|
|
307
|
+
type?: "menubar" | "menu";
|
|
308
|
+
classes?: HvHeaderMenuBarClasses;
|
|
309
|
+
}
|
|
310
|
+
|
|
298
311
|
export declare const baseCheckBoxClasses: {
|
|
299
312
|
root: "HvBaseCheckBox-root";
|
|
300
313
|
disabled: "HvBaseCheckBox-disabled";
|
|
@@ -540,8 +553,8 @@ export declare const checkBoxGroupClasses: {
|
|
|
540
553
|
label: "HvCheckBoxGroup-label";
|
|
541
554
|
root: "HvCheckBoxGroup-root";
|
|
542
555
|
group: "HvCheckBoxGroup-group";
|
|
543
|
-
invalid: "HvCheckBoxGroup-invalid";
|
|
544
556
|
error: "HvCheckBoxGroup-error";
|
|
557
|
+
invalid: "HvCheckBoxGroup-invalid";
|
|
545
558
|
selectAll: "HvCheckBoxGroup-selectAll";
|
|
546
559
|
};
|
|
547
560
|
|
|
@@ -827,11 +840,11 @@ export declare const focusClasses: {
|
|
|
827
840
|
root: "HvFocus-root";
|
|
828
841
|
disabled: "HvFocus-disabled";
|
|
829
842
|
selected: "HvFocus-selected";
|
|
843
|
+
focus: "HvFocus-focus";
|
|
830
844
|
focusDisabled: "HvFocus-focusDisabled";
|
|
831
845
|
focused: "HvFocus-focused";
|
|
832
846
|
externalReference: "HvFocus-externalReference";
|
|
833
847
|
falseFocus: "HvFocus-falseFocus";
|
|
834
|
-
focus: "HvFocus-focus";
|
|
835
848
|
};
|
|
836
849
|
|
|
837
850
|
export declare const footerClasses: {
|
|
@@ -3898,7 +3911,7 @@ declare type HvHeaderMenuBarClasses = ExtractNames<typeof useClasses_36>;
|
|
|
3898
3911
|
|
|
3899
3912
|
declare interface HvHeaderMenuBarProps extends HvBaseProps<HTMLDivElement, "onClick"> {
|
|
3900
3913
|
data: HvHeaderNavigationItemProp[];
|
|
3901
|
-
type
|
|
3914
|
+
type?: BarProps["type"];
|
|
3902
3915
|
onClick?: (event: MouseEvent_2, selection: HvHeaderNavigationItemProp) => void;
|
|
3903
3916
|
levels: number;
|
|
3904
3917
|
currentLevel: number;
|
|
@@ -4572,23 +4585,23 @@ export declare interface HvPaginationLabels {
|
|
|
4572
4585
|
pageSizeSelectorDescription?: string;
|
|
4573
4586
|
/** Separator of current page and total pages. */
|
|
4574
4587
|
pagesSeparator?: string;
|
|
4575
|
-
/** Title of button `firstPage`. */
|
|
4588
|
+
/** Title of button `firstPage`. @deprecated Use `firstPage` instead. */
|
|
4576
4589
|
paginationFirstPageTitle?: string;
|
|
4577
|
-
/** Title of button `previousPage`. */
|
|
4590
|
+
/** Title of button `previousPage`. @deprecated Use `previousPage` instead. */
|
|
4578
4591
|
paginationPreviousPageTitle?: string;
|
|
4579
|
-
/** Title of button `nextPage`. */
|
|
4592
|
+
/** Title of button `nextPage`. @deprecated Use `nextPage` instead. */
|
|
4580
4593
|
paginationNextPageTitle?: string;
|
|
4581
|
-
/** Title of button `lastPage`. */
|
|
4594
|
+
/** Title of button `lastPage`. @deprecated Use `lastPage` instead. */
|
|
4582
4595
|
paginationLastPageTitle?: string;
|
|
4583
4596
|
/** Aria-label passed to the page input. */
|
|
4584
4597
|
paginationInputLabel?: string;
|
|
4585
|
-
/**
|
|
4598
|
+
/** Label of the first page button */
|
|
4586
4599
|
firstPage?: string;
|
|
4587
|
-
/**
|
|
4600
|
+
/** Label of the previous page button */
|
|
4588
4601
|
previousPage?: string;
|
|
4589
|
-
/**
|
|
4602
|
+
/** Label of the next page button */
|
|
4590
4603
|
nextPage?: string;
|
|
4591
|
-
/**
|
|
4604
|
+
/** Label of the last page button */
|
|
4592
4605
|
lastPage?: string;
|
|
4593
4606
|
}
|
|
4594
4607
|
|
|
@@ -4949,10 +4962,7 @@ export declare const hvQueryBuilderDefaultOperators: {
|
|
|
4949
4962
|
|
|
4950
4963
|
export declare interface HvQueryBuilderLabels {
|
|
4951
4964
|
query?: {
|
|
4952
|
-
delete?:
|
|
4953
|
-
ariaLabel: string;
|
|
4954
|
-
tooltip?: string;
|
|
4955
|
-
} & DialogLabels;
|
|
4965
|
+
delete?: ActionIconLabels;
|
|
4956
4966
|
addRule?: {
|
|
4957
4967
|
label: string;
|
|
4958
4968
|
};
|
|
@@ -5026,20 +5036,11 @@ export declare interface HvQueryBuilderLabels {
|
|
|
5026
5036
|
};
|
|
5027
5037
|
};
|
|
5028
5038
|
};
|
|
5029
|
-
delete:
|
|
5030
|
-
ariaLabel: string;
|
|
5031
|
-
tooltip?: string;
|
|
5032
|
-
} & DialogLabels;
|
|
5039
|
+
delete: ActionIconLabels;
|
|
5033
5040
|
};
|
|
5034
5041
|
group: {
|
|
5035
|
-
delete:
|
|
5036
|
-
|
|
5037
|
-
tooltip?: string;
|
|
5038
|
-
} & DialogLabels;
|
|
5039
|
-
reset: {
|
|
5040
|
-
ariaLabel: string;
|
|
5041
|
-
tooltip?: string;
|
|
5042
|
-
} & DialogLabels;
|
|
5042
|
+
delete: ActionIconLabels;
|
|
5043
|
+
reset: ActionIconLabels;
|
|
5043
5044
|
addRule: {
|
|
5044
5045
|
label: string;
|
|
5045
5046
|
};
|
|
@@ -7430,8 +7431,8 @@ export declare const inputClasses: {
|
|
|
7430
7431
|
inputRootMultiline: "HvInput-inputRootMultiline";
|
|
7431
7432
|
input: "HvInput-input";
|
|
7432
7433
|
icon: "HvInput-icon";
|
|
7433
|
-
adornmentButton: "HvInput-adornmentButton";
|
|
7434
7434
|
error: "HvInput-error";
|
|
7435
|
+
adornmentButton: "HvInput-adornmentButton";
|
|
7435
7436
|
inputRootDisabled: "HvInput-inputRootDisabled";
|
|
7436
7437
|
labelContainer: "HvInput-labelContainer";
|
|
7437
7438
|
adornmentsBox: "HvInput-adornmentsBox";
|
|
@@ -7716,8 +7717,8 @@ export declare const radioGroupClasses: {
|
|
|
7716
7717
|
label: "HvRadioGroup-label";
|
|
7717
7718
|
root: "HvRadioGroup-root";
|
|
7718
7719
|
group: "HvRadioGroup-group";
|
|
7719
|
-
invalid: "HvRadioGroup-invalid";
|
|
7720
7720
|
error: "HvRadioGroup-error";
|
|
7721
|
+
invalid: "HvRadioGroup-invalid";
|
|
7721
7722
|
};
|
|
7722
7723
|
|
|
7723
7724
|
export declare class Random {
|
|
@@ -7768,8 +7769,8 @@ export declare const selectionListClasses: {
|
|
|
7768
7769
|
description: "HvSelectionList-description";
|
|
7769
7770
|
root: "HvSelectionList-root";
|
|
7770
7771
|
listbox: "HvSelectionList-listbox";
|
|
7771
|
-
invalid: "HvSelectionList-invalid";
|
|
7772
7772
|
error: "HvSelectionList-error";
|
|
7773
|
+
invalid: "HvSelectionList-invalid";
|
|
7773
7774
|
};
|
|
7774
7775
|
|
|
7775
7776
|
/**
|
|
@@ -7998,8 +7999,8 @@ export declare const tagsInputClasses: {
|
|
|
7998
7999
|
readOnly: "HvTagsInput-readOnly";
|
|
7999
8000
|
input: "HvTagsInput-input";
|
|
8000
8001
|
tagsList: "HvTagsInput-tagsList";
|
|
8001
|
-
invalid: "HvTagsInput-invalid";
|
|
8002
8002
|
error: "HvTagsInput-error";
|
|
8003
|
+
invalid: "HvTagsInput-invalid";
|
|
8003
8004
|
resizable: "HvTagsInput-resizable";
|
|
8004
8005
|
chipRoot: "HvTagsInput-chipRoot";
|
|
8005
8006
|
labelContainer: "HvTagsInput-labelContainer";
|
|
@@ -8024,8 +8025,8 @@ export declare const textAreaClasses: {
|
|
|
8024
8025
|
root: "HvTextArea-root";
|
|
8025
8026
|
disabled: "HvTextArea-disabled";
|
|
8026
8027
|
input: "HvTextArea-input";
|
|
8027
|
-
invalid: "HvTextArea-invalid";
|
|
8028
8028
|
error: "HvTextArea-error";
|
|
8029
|
+
invalid: "HvTextArea-invalid";
|
|
8029
8030
|
resizable: "HvTextArea-resizable";
|
|
8030
8031
|
inputResizable: "HvTextArea-inputResizable";
|
|
8031
8032
|
labelContainer: "HvTextArea-labelContainer";
|
|
@@ -8418,7 +8419,7 @@ declare const useClasses_109: (classesProp?: Partial<Record<"root" | "positionFi
|
|
|
8418
8419
|
cx: (...args: any) => string;
|
|
8419
8420
|
};
|
|
8420
8421
|
|
|
8421
|
-
declare const useClasses_11: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "description" | "root" | "listbox" | "
|
|
8422
|
+
declare const useClasses_11: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "description" | "root" | "listbox" | "error" | "invalid", string>>, addStatic?: boolean) => {
|
|
8422
8423
|
classes: {
|
|
8423
8424
|
vertical: string;
|
|
8424
8425
|
horizontal: string;
|
|
@@ -8426,8 +8427,8 @@ declare const useClasses_11: (classesProp?: Partial<Record<"vertical" | "horizon
|
|
|
8426
8427
|
description: string;
|
|
8427
8428
|
root: string;
|
|
8428
8429
|
listbox: string;
|
|
8429
|
-
invalid: string;
|
|
8430
8430
|
error: string;
|
|
8431
|
+
invalid: string;
|
|
8431
8432
|
};
|
|
8432
8433
|
css: {
|
|
8433
8434
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -8516,7 +8517,7 @@ declare const useClasses_114: (classesProp?: Partial<Record<"root" | "topGroup"
|
|
|
8516
8517
|
actionButtonContainer: string;
|
|
8517
8518
|
topRulesContainer: string;
|
|
8518
8519
|
buttonBackground: string;
|
|
8519
|
-
};
|
|
8520
|
+
};
|
|
8520
8521
|
css: {
|
|
8521
8522
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
8522
8523
|
(...args: CSSInterpolation[]): string;
|
|
@@ -8842,16 +8843,16 @@ declare const useClasses_19: (classesProp?: Partial<Record<"secondary" | "primar
|
|
|
8842
8843
|
cx: (...args: any) => string;
|
|
8843
8844
|
};
|
|
8844
8845
|
|
|
8845
|
-
declare const useClasses_2: (classesProp?: Partial<Record<"root" | "disabled" | "selected" | "
|
|
8846
|
+
declare const useClasses_2: (classesProp?: Partial<Record<"root" | "disabled" | "selected" | "focus" | "focusDisabled" | "focused" | "externalReference" | "falseFocus", string>>, addStatic?: boolean) => {
|
|
8846
8847
|
classes: {
|
|
8847
8848
|
root: string;
|
|
8848
8849
|
disabled: string;
|
|
8849
8850
|
selected: string;
|
|
8851
|
+
focus: string;
|
|
8850
8852
|
focusDisabled: string;
|
|
8851
8853
|
focused: string;
|
|
8852
8854
|
externalReference: string;
|
|
8853
8855
|
falseFocus: string;
|
|
8854
|
-
focus: string;
|
|
8855
8856
|
};
|
|
8856
8857
|
css: {
|
|
8857
8858
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -9529,7 +9530,7 @@ declare const useClasses_57: (classesProp?: Partial<Record<"container" | "label"
|
|
|
9529
9530
|
cx: (...args: any) => string;
|
|
9530
9531
|
};
|
|
9531
9532
|
|
|
9532
|
-
declare const useClasses_58: (classesProp?: Partial<Record<"label" | "description" | "root" | "inputBorderContainer" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "icon" | "
|
|
9533
|
+
declare const useClasses_58: (classesProp?: Partial<Record<"label" | "description" | "root" | "inputBorderContainer" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "icon" | "error" | "adornmentButton" | "inputRootDisabled" | "labelContainer" | "adornmentsBox" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList" | "inputExtension", string>>, addStatic?: boolean) => {
|
|
9533
9534
|
classes: {
|
|
9534
9535
|
label: string;
|
|
9535
9536
|
description: string;
|
|
@@ -9540,8 +9541,8 @@ declare const useClasses_58: (classesProp?: Partial<Record<"label" | "descriptio
|
|
|
9540
9541
|
inputRootMultiline: string;
|
|
9541
9542
|
input: string;
|
|
9542
9543
|
icon: string;
|
|
9543
|
-
adornmentButton: string;
|
|
9544
9544
|
error: string;
|
|
9545
|
+
adornmentButton: string;
|
|
9545
9546
|
inputRootDisabled: string;
|
|
9546
9547
|
labelContainer: string;
|
|
9547
9548
|
adornmentsBox: string;
|
|
@@ -9607,15 +9608,15 @@ declare const useClasses_60: (classesProp?: Partial<Record<"container" | "label"
|
|
|
9607
9608
|
cx: (...args: any) => string;
|
|
9608
9609
|
};
|
|
9609
9610
|
|
|
9610
|
-
declare const useClasses_61: (classesProp?: Partial<Record<"label" | "description" | "root" | "disabled" | "input" | "
|
|
9611
|
+
declare const useClasses_61: (classesProp?: Partial<Record<"label" | "description" | "root" | "disabled" | "input" | "error" | "invalid" | "resizable" | "inputResizable" | "labelContainer" | "baseInput" | "characterCounter", string>>, addStatic?: boolean) => {
|
|
9611
9612
|
classes: {
|
|
9612
9613
|
label: string;
|
|
9613
9614
|
description: string;
|
|
9614
9615
|
root: string;
|
|
9615
9616
|
disabled: string;
|
|
9616
9617
|
input: string;
|
|
9617
|
-
invalid: string;
|
|
9618
9618
|
error: string;
|
|
9619
|
+
invalid: string;
|
|
9619
9620
|
resizable: string;
|
|
9620
9621
|
inputResizable: string;
|
|
9621
9622
|
labelContainer: string;
|
|
@@ -9629,7 +9630,7 @@ declare const useClasses_61: (classesProp?: Partial<Record<"label" | "descriptio
|
|
|
9629
9630
|
cx: (...args: any) => string;
|
|
9630
9631
|
};
|
|
9631
9632
|
|
|
9632
|
-
declare const useClasses_62: (classesProp?: Partial<Record<"label" | "description" | "root" | "disabled" | "readOnly" | "input" | "tagsList" | "
|
|
9633
|
+
declare const useClasses_62: (classesProp?: Partial<Record<"label" | "description" | "root" | "disabled" | "readOnly" | "input" | "tagsList" | "error" | "invalid" | "resizable" | "chipRoot" | "labelContainer" | "suggestionsContainer" | "suggestionList" | "inputExtension" | "characterCounter" | "listItemGutters" | "listItemRoot" | "tagInputContainerRoot" | "tagInputRoot" | "tagSelected" | "tagInputBorderContainer" | "tagInputRootFocused" | "tagInputRootEmpty" | "singleLine", string>>, addStatic?: boolean) => {
|
|
9633
9634
|
classes: {
|
|
9634
9635
|
label: string;
|
|
9635
9636
|
description: string;
|
|
@@ -9638,8 +9639,8 @@ declare const useClasses_62: (classesProp?: Partial<Record<"label" | "descriptio
|
|
|
9638
9639
|
readOnly: string;
|
|
9639
9640
|
input: string;
|
|
9640
9641
|
tagsList: string;
|
|
9641
|
-
invalid: string;
|
|
9642
9642
|
error: string;
|
|
9643
|
+
invalid: string;
|
|
9643
9644
|
resizable: string;
|
|
9644
9645
|
chipRoot: string;
|
|
9645
9646
|
labelContainer: string;
|
|
@@ -9664,15 +9665,15 @@ declare const useClasses_62: (classesProp?: Partial<Record<"label" | "descriptio
|
|
|
9664
9665
|
cx: (...args: any) => string;
|
|
9665
9666
|
};
|
|
9666
9667
|
|
|
9667
|
-
declare const useClasses_63: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "
|
|
9668
|
+
declare const useClasses_63: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "error" | "invalid" | "selectAll", string>>, addStatic?: boolean) => {
|
|
9668
9669
|
classes: {
|
|
9669
9670
|
vertical: string;
|
|
9670
9671
|
horizontal: string;
|
|
9671
9672
|
label: string;
|
|
9672
9673
|
root: string;
|
|
9673
9674
|
group: string;
|
|
9674
|
-
invalid: string;
|
|
9675
9675
|
error: string;
|
|
9676
|
+
invalid: string;
|
|
9676
9677
|
selectAll: string;
|
|
9677
9678
|
};
|
|
9678
9679
|
css: {
|
|
@@ -9702,15 +9703,15 @@ declare const useClasses_64: (classesProp?: Partial<Record<"link" | "root" | "it
|
|
|
9702
9703
|
cx: (...args: any) => string;
|
|
9703
9704
|
};
|
|
9704
9705
|
|
|
9705
|
-
declare const useClasses_65: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "
|
|
9706
|
+
declare const useClasses_65: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "group" | "error" | "invalid", string>>, addStatic?: boolean) => {
|
|
9706
9707
|
classes: {
|
|
9707
9708
|
vertical: string;
|
|
9708
9709
|
horizontal: string;
|
|
9709
9710
|
label: string;
|
|
9710
9711
|
root: string;
|
|
9711
9712
|
group: string;
|
|
9712
|
-
invalid: string;
|
|
9713
9713
|
error: string;
|
|
9714
|
+
invalid: string;
|
|
9714
9715
|
};
|
|
9715
9716
|
css: {
|
|
9716
9717
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -10636,7 +10637,7 @@ export declare function useHvTreeItem(nodeId: string): {
|
|
|
10636
10637
|
preventSelection: (event: React_3.MouseEvent<HTMLDivElement>) => void;
|
|
10637
10638
|
};
|
|
10638
10639
|
|
|
10639
|
-
export declare const useImageLoaded: (src
|
|
10640
|
+
export declare const useImageLoaded: (src?: string, srcSet?: string) => string | boolean;
|
|
10640
10641
|
|
|
10641
10642
|
export declare function useInstance(instance: any): void;
|
|
10642
10643
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.38.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@emotion/css": "^11.11.0",
|
|
34
34
|
"@emotion/serialize": "^1.1.2",
|
|
35
35
|
"@emotion/utils": "^1.2.1",
|
|
36
|
-
"@hitachivantara/uikit-react-icons": "^5.7.
|
|
37
|
-
"@hitachivantara/uikit-react-shared": "^5.1.
|
|
38
|
-
"@hitachivantara/uikit-styles": "^5.16.
|
|
36
|
+
"@hitachivantara/uikit-react-icons": "^5.7.8",
|
|
37
|
+
"@hitachivantara/uikit-react-shared": "^5.1.20",
|
|
38
|
+
"@hitachivantara/uikit-styles": "^5.16.4",
|
|
39
39
|
"@internationalized/date": "^3.2.0",
|
|
40
40
|
"@mui/base": "^5.0.0-beta.4",
|
|
41
41
|
"@popperjs/core": "^2.11.8",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"access": "public",
|
|
65
65
|
"directory": "package"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "9a3c1e9133fd88de735dfc01248aa83abe4f7c98",
|
|
68
68
|
"main": "dist/cjs/index.cjs",
|
|
69
69
|
"exports": {
|
|
70
70
|
".": {
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
|
-
const Button = require("../Button/Button.cjs");
|
|
5
|
-
const Tooltip = require("../Tooltip/Tooltip.cjs");
|
|
6
|
-
const Typography = require("../Typography/Typography.cjs");
|
|
7
|
-
const ButtonIconTooltip = ({
|
|
8
|
-
tooltip,
|
|
9
|
-
children,
|
|
10
|
-
...buttonProps
|
|
11
|
-
}) => {
|
|
12
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Tooltip.HvTooltip, { title: /* @__PURE__ */ jsxRuntime.jsx(Typography.HvTypography, { children: tooltip }), children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(Button.HvButton, { icon: true, ...buttonProps, children }) }) });
|
|
13
|
-
};
|
|
14
|
-
const ButtonIconTooltip$1 = ButtonIconTooltip;
|
|
15
|
-
exports.default = ButtonIconTooltip$1;
|
|
16
|
-
//# sourceMappingURL=ButtonIconTooltip.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonIconTooltip.cjs","sources":["../../../../src/components/Pagination/ButtonIconTooltip.tsx"],"sourcesContent":["import { ReactNode } from \"react\";\n\nimport { HvButton, HvButtonProps } from \"@core/components/Button\";\nimport { HvTooltip } from \"@core/components/Tooltip\";\nimport { HvTypography } from \"@core/components/Typography\";\n\ninterface ButtonIconTooltipProps extends HvButtonProps {\n tooltip: ReactNode;\n children: ReactNode;\n}\n\nconst ButtonIconTooltip = ({\n tooltip,\n children,\n ...buttonProps\n}: ButtonIconTooltipProps) => {\n return (\n <HvTooltip title={<HvTypography>{tooltip}</HvTypography>}>\n <div>\n <HvButton icon {...buttonProps}>\n {children}\n </HvButton>\n </div>\n </HvTooltip>\n );\n};\nexport default ButtonIconTooltip;\n"],"names":["ButtonIconTooltip","tooltip","children","buttonProps","HvTooltip","jsx","HvTypography","HvButton"],"mappings":";;;;;;AAWA,MAAMA,oBAAoBA,CAAC;AAAA,EACzBC;AAAAA,EACAC;AAAAA,EACA,GAAGC;AACmB,MAAM;AAC5B,wCACGC,QAAAA,WAAU,EAAA,OAAQC,2BAAA,IAAAC,yBAAA,EAAcL,mBAAQ,GACvC,UAAAI,2BAAA,IAAC,OACC,EAAA,UAAAA,2BAAAA,IAACE,mBAAS,MAAI,MAAC,GAAIJ,aAChBD,SAAAA,CACH,EACF,CAAA,EACF,CAAA;AAEJ;AACA,MAAA,sBAAeF;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { HvButton } from "../Button/Button.js";
|
|
3
|
-
import { HvTooltip } from "../Tooltip/Tooltip.js";
|
|
4
|
-
import { HvTypography } from "../Typography/Typography.js";
|
|
5
|
-
const ButtonIconTooltip = ({
|
|
6
|
-
tooltip,
|
|
7
|
-
children,
|
|
8
|
-
...buttonProps
|
|
9
|
-
}) => {
|
|
10
|
-
return /* @__PURE__ */ jsx(HvTooltip, { title: /* @__PURE__ */ jsx(HvTypography, { children: tooltip }), children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(HvButton, { icon: true, ...buttonProps, children }) }) });
|
|
11
|
-
};
|
|
12
|
-
const ButtonIconTooltip$1 = ButtonIconTooltip;
|
|
13
|
-
export {
|
|
14
|
-
ButtonIconTooltip$1 as default
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=ButtonIconTooltip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonIconTooltip.js","sources":["../../../../src/components/Pagination/ButtonIconTooltip.tsx"],"sourcesContent":["import { ReactNode } from \"react\";\n\nimport { HvButton, HvButtonProps } from \"@core/components/Button\";\nimport { HvTooltip } from \"@core/components/Tooltip\";\nimport { HvTypography } from \"@core/components/Typography\";\n\ninterface ButtonIconTooltipProps extends HvButtonProps {\n tooltip: ReactNode;\n children: ReactNode;\n}\n\nconst ButtonIconTooltip = ({\n tooltip,\n children,\n ...buttonProps\n}: ButtonIconTooltipProps) => {\n return (\n <HvTooltip title={<HvTypography>{tooltip}</HvTypography>}>\n <div>\n <HvButton icon {...buttonProps}>\n {children}\n </HvButton>\n </div>\n </HvTooltip>\n );\n};\nexport default ButtonIconTooltip;\n"],"names":["ButtonIconTooltip","tooltip","children","buttonProps"],"mappings":";;;;AAWA,MAAMA,oBAAoBA,CAAC;AAAA,EACzBC;AAAAA,EACAC;AAAAA,EACA,GAAGC;AACmB,MAAM;AAC5B,6BACG,WAAU,EAAA,OAAQ,oBAAA,cAAA,EAAcF,mBAAQ,GACvC,UAAA,oBAAC,OACC,EAAA,UAAA,oBAAC,YAAS,MAAI,MAAC,GAAIE,aAChBD,SAAAA,CACH,EACF,CAAA,EACF,CAAA;AAEJ;AACA,MAAA,sBAAeF;"}
|