@hitachivantara/uikit-react-core 5.97.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/StatusIcon/StatusIcon.cjs +45 -0
- package/dist/cjs/StatusIcon/StatusIcon.styles.cjs +57 -0
- 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/index.cjs +4 -0
- package/dist/cjs/providers/Provider.cjs +1 -4
- package/dist/cjs/themes/ds3.cjs +23 -0
- package/dist/cjs/themes/ds5.cjs +31 -0
- package/dist/cjs/themes/pentahoPlus.cjs +52 -24
- package/dist/cjs/utils/Callout.cjs +10 -5
- 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/StatusIcon/StatusIcon.js +46 -0
- package/dist/esm/StatusIcon/StatusIcon.styles.js +57 -0
- 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/index.js +63 -59
- package/dist/esm/providers/Provider.js +2 -5
- package/dist/esm/themes/ds3.js +23 -0
- package/dist/esm/themes/ds5.js +31 -0
- package/dist/esm/themes/pentahoPlus.js +52 -24
- package/dist/esm/utils/Callout.js +10 -5
- package/dist/types/index.d.ts +159 -114
- 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
|
@@ -51,29 +51,23 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
51
51
|
{
|
|
52
52
|
backgroundColor: theme.mix(`${color}Dimmed`, 0.5, "dimmer"),
|
|
53
53
|
"--icolor": theme.colors[color],
|
|
54
|
-
"--outline": theme.colors[`${color}Border`],
|
|
55
|
-
"--bg": theme.colors[`${color}Subtle`],
|
|
56
54
|
"--title": theme.colors[`${color}Deep`]
|
|
57
55
|
}
|
|
58
56
|
])
|
|
59
57
|
),
|
|
60
58
|
message: {
|
|
61
59
|
"&&": {
|
|
62
|
-
color: theme.colors.
|
|
60
|
+
color: theme.colors.text
|
|
63
61
|
}
|
|
64
62
|
},
|
|
65
63
|
messageIcon: {
|
|
66
|
-
alignSelf: "start"
|
|
67
|
-
borderRadius: theme.radii.round,
|
|
68
|
-
color: "var(--icolor)",
|
|
69
|
-
outline: `1px solid var(--outline)`,
|
|
70
|
-
backgroundColor: "var(--bg)"
|
|
64
|
+
alignSelf: "start"
|
|
71
65
|
},
|
|
72
66
|
messageTitle: {
|
|
73
67
|
color: "var(--title)"
|
|
74
68
|
},
|
|
75
69
|
actionClose: {
|
|
76
|
-
color: theme.colors.
|
|
70
|
+
color: theme.colors.text
|
|
77
71
|
}
|
|
78
72
|
}
|
|
79
73
|
},
|
|
@@ -97,7 +91,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
97
91
|
},
|
|
98
92
|
checked: {
|
|
99
93
|
"--bg-color": theme.colors.primary,
|
|
100
|
-
color: theme.colors.
|
|
94
|
+
color: theme.colors.bgContainer
|
|
101
95
|
}
|
|
102
96
|
}
|
|
103
97
|
},
|
|
@@ -154,6 +148,14 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
154
148
|
}
|
|
155
149
|
}
|
|
156
150
|
},
|
|
151
|
+
HvSection: {
|
|
152
|
+
classes: {
|
|
153
|
+
content: {
|
|
154
|
+
backgroundColor: theme.colors.bgPage
|
|
155
|
+
// = bgContainerSecondary
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
157
159
|
HvSelect: {
|
|
158
160
|
classes: {
|
|
159
161
|
root: {
|
|
@@ -289,7 +291,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
289
291
|
sm: { fontSize: 20, padding: 2 },
|
|
290
292
|
md: { fontSize: 26, padding: 3 },
|
|
291
293
|
lg: { fontSize: 36, padding: 6 },
|
|
292
|
-
xl: { fontSize: 48, padding:
|
|
294
|
+
xl: { fontSize: 48, padding: 5 }
|
|
293
295
|
}
|
|
294
296
|
},
|
|
295
297
|
HvInlineEditor: {
|
|
@@ -297,7 +299,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
297
299
|
button: {
|
|
298
300
|
borderRadius: 2,
|
|
299
301
|
"&:focus": {
|
|
300
|
-
borderColor: theme.colors.
|
|
302
|
+
borderColor: theme.colors.text
|
|
301
303
|
}
|
|
302
304
|
},
|
|
303
305
|
inputRoot: {
|
|
@@ -441,6 +443,25 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
441
443
|
}
|
|
442
444
|
}
|
|
443
445
|
},
|
|
446
|
+
HvDialog: {
|
|
447
|
+
classes: {
|
|
448
|
+
paper: {
|
|
449
|
+
borderRadius: theme.radii.large
|
|
450
|
+
},
|
|
451
|
+
statusBar: {
|
|
452
|
+
border: "none",
|
|
453
|
+
borderTopLeftRadius: theme.radii.large,
|
|
454
|
+
borderTopRightRadius: theme.radii.large
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
HvDialogActions: {
|
|
459
|
+
classes: {
|
|
460
|
+
root: {
|
|
461
|
+
borderTop: "none"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
},
|
|
444
465
|
HvDropdownButton: {
|
|
445
466
|
classes: {
|
|
446
467
|
disabled: {
|
|
@@ -464,7 +485,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
464
485
|
HvHeader: {
|
|
465
486
|
classes: {
|
|
466
487
|
root: {
|
|
467
|
-
borderBottom: `1px solid ${theme.colors.
|
|
488
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`,
|
|
468
489
|
boxShadow: "none"
|
|
469
490
|
}
|
|
470
491
|
}
|
|
@@ -472,7 +493,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
472
493
|
HvHeaderBrand: {
|
|
473
494
|
classes: {
|
|
474
495
|
separator: {
|
|
475
|
-
backgroundColor: theme.colors.
|
|
496
|
+
backgroundColor: theme.colors.border,
|
|
476
497
|
margin: theme.spacing(0, "md"),
|
|
477
498
|
height: 32
|
|
478
499
|
}
|
|
@@ -482,16 +503,16 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
482
503
|
classes: {
|
|
483
504
|
active: {
|
|
484
505
|
boxShadow: "none",
|
|
485
|
-
borderBottom: `1px solid ${theme.colors.
|
|
506
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`
|
|
486
507
|
},
|
|
487
508
|
list: {
|
|
488
509
|
"& li:hover > .HvHeader-MenuBar-hidden": {
|
|
489
510
|
boxShadow: "none",
|
|
490
|
-
borderBottom: `1px solid ${theme.colors.
|
|
511
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`
|
|
491
512
|
},
|
|
492
513
|
"& li:focus-within > .HvHeader-MenuBar-hidden": {
|
|
493
514
|
boxShadow: "none",
|
|
494
|
-
borderBottom: `1px solid ${theme.colors.
|
|
515
|
+
borderBottom: `1px solid ${theme.colors.borderSubtle}`
|
|
495
516
|
}
|
|
496
517
|
}
|
|
497
518
|
}
|
|
@@ -500,7 +521,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
500
521
|
classes: {
|
|
501
522
|
root: {
|
|
502
523
|
width: 280,
|
|
503
|
-
color: theme.colors.
|
|
524
|
+
color: theme.colors.textLight,
|
|
504
525
|
backgroundColor: slate[900],
|
|
505
526
|
borderRight: `1px solid ${slate[500]}`,
|
|
506
527
|
"& > :not(nav:first-of-type)": {
|
|
@@ -616,12 +637,14 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
616
637
|
},
|
|
617
638
|
selectable: {
|
|
618
639
|
":hover": {
|
|
619
|
-
outlineColor: theme.colors.
|
|
620
|
-
backgroundColor: theme.colors.
|
|
640
|
+
outlineColor: theme.colors.primarySubtle,
|
|
641
|
+
backgroundColor: theme.colors.bgHover
|
|
621
642
|
}
|
|
622
643
|
},
|
|
623
644
|
selected: {
|
|
624
|
-
|
|
645
|
+
"&,&:hover,&:focus": {
|
|
646
|
+
outlineColor: theme.colors.primary
|
|
647
|
+
}
|
|
625
648
|
},
|
|
626
649
|
semanticBar: {
|
|
627
650
|
"--bar-height": "2px",
|
|
@@ -633,8 +656,13 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
633
656
|
classes: {
|
|
634
657
|
root: {
|
|
635
658
|
flexDirection: "row-reverse",
|
|
636
|
-
padding: theme.spacing("xs", "sm")
|
|
637
|
-
|
|
659
|
+
padding: theme.spacing("xs", "sm")
|
|
660
|
+
},
|
|
661
|
+
subheader: {
|
|
662
|
+
color: theme.colors.textSubtle
|
|
663
|
+
},
|
|
664
|
+
action: {
|
|
665
|
+
alignSelf: "center"
|
|
638
666
|
}
|
|
639
667
|
}
|
|
640
668
|
},
|
|
@@ -649,7 +677,7 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
649
677
|
}
|
|
650
678
|
},
|
|
651
679
|
HvFooter: {
|
|
652
|
-
name: "Pentaho
|
|
680
|
+
name: "Pentaho"
|
|
653
681
|
},
|
|
654
682
|
HvTabs: {
|
|
655
683
|
classes: {
|
|
@@ -7,6 +7,7 @@ import { HvIcon } from "../icons.js";
|
|
|
7
7
|
import { iconVariant } from "./iconVariant.js";
|
|
8
8
|
import { HvActionsGeneric } from "../ActionsGeneric/ActionsGeneric.js";
|
|
9
9
|
import { HvButton } from "../Button/Button.js";
|
|
10
|
+
import { HvStatusIcon } from "../StatusIcon/StatusIcon.js";
|
|
10
11
|
const { useClasses } = createClasses("HvCallout", {
|
|
11
12
|
root: {
|
|
12
13
|
position: "relative",
|
|
@@ -44,10 +45,7 @@ const { useClasses } = createClasses("HvCallout", {
|
|
|
44
45
|
overflow: "hidden",
|
|
45
46
|
wordBreak: "break-word"
|
|
46
47
|
},
|
|
47
|
-
messageIcon: {
|
|
48
|
-
lineHeight: 0,
|
|
49
|
-
flexShrink: 0
|
|
50
|
-
},
|
|
48
|
+
messageIcon: {},
|
|
51
49
|
messageTitle: {
|
|
52
50
|
display: "block",
|
|
53
51
|
fontWeight: theme.fontWeights.semibold
|
|
@@ -113,7 +111,14 @@ const HvCallout = forwardRef(function HvCallout2(props, ref) {
|
|
|
113
111
|
action: classes.action
|
|
114
112
|
},
|
|
115
113
|
message: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
116
|
-
icon && /* @__PURE__ */ jsx(
|
|
114
|
+
icon && /* @__PURE__ */ jsx(
|
|
115
|
+
HvStatusIcon,
|
|
116
|
+
{
|
|
117
|
+
className: classes.messageIcon,
|
|
118
|
+
variant: variant === "default" ? "info" : variant,
|
|
119
|
+
customIcon
|
|
120
|
+
}
|
|
121
|
+
),
|
|
117
122
|
/* @__PURE__ */ jsxs("div", { className: classes.messageContent, children: [
|
|
118
123
|
title && /* @__PURE__ */ jsx("b", { className: classes.messageTitle, children: title }),
|
|
119
124
|
children
|