@hitachivantara/uikit-react-pentaho 0.4.3 → 0.4.4

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.
@@ -59,15 +59,16 @@ export declare const canvasToolbarTabsClasses: {
59
59
  root: "HvCanvasToolbarTabs-root";
60
60
  actionsContainer: "HvCanvasToolbarTabs-actionsContainer";
61
61
  tab: "HvCanvasToolbarTabs-tab";
62
- dropdownMenu: "HvCanvasToolbarTabs-dropdownMenu";
63
- closeButton: "HvCanvasToolbarTabs-closeButton";
64
62
  tabsContainer: "HvCanvasToolbarTabs-tabsContainer";
65
63
  tabsList: "HvCanvasToolbarTabs-tabsList";
66
- tabContent: "HvCanvasToolbarTabs-tabContent";
67
- tabIcon: "HvCanvasToolbarTabs-tabIcon";
68
64
  tabLabel: "HvCanvasToolbarTabs-tabLabel";
69
- activeTabLabel: "HvCanvasToolbarTabs-activeTabLabel";
65
+ tabLabelEditor: "HvCanvasToolbarTabs-tabLabelEditor";
66
+ tabContent: "HvCanvasToolbarTabs-tabContent";
67
+ tabIconContainer: "HvCanvasToolbarTabs-tabIconContainer";
68
+ closeIconContainer: "HvCanvasToolbarTabs-closeIconContainer";
70
69
  tabDivider: "HvCanvasToolbarTabs-tabDivider";
70
+ dropdownMenuContainer: "HvCanvasToolbarTabs-dropdownMenuContainer";
71
+ dropdownMenuListRoot: "HvCanvasToolbarTabs-dropdownMenuListRoot";
71
72
  };
72
73
 
73
74
  export declare const cardClasses: {
@@ -95,7 +96,6 @@ declare const DEFAULT_LABELS_2: {
95
96
  declare const DEFAULT_LABELS_3: {
96
97
  create: string;
97
98
  undefined: string;
98
- close: string;
99
99
  dropdownMenu: string;
100
100
  };
101
101
 
@@ -235,6 +235,8 @@ export declare interface HvCanvasToolbarTabsProps extends HvBaseProps<HTMLDivEle
235
235
  selectedTabId?: string;
236
236
  /** Defines the icon to be placed before the label when a new tab is created. If not defined, no icon is used. */
237
237
  icon?: React.ReactNode;
238
+ /** Defines whether or not the tabs are editable. */
239
+ allowTabEdit?: boolean;
238
240
  /** Callback triggered when a tab changes/is clicked. */
239
241
  onTabChange?: (event: React.SyntheticEvent | null, tabId: string | null) => void;
240
242
  /** Callback triggered when the tabs change: new tab added, tab removed, tab reorder, and label updated. */
@@ -364,20 +366,21 @@ declare const useClasses_5: (classesProp?: Partial<Record<"root" | "title" | "ac
364
366
  cx: (...args: any) => string;
365
367
  };
366
368
 
367
- declare const useClasses_6: (classesProp?: Partial<Record<"root" | "actionsContainer" | "tab" | "dropdownMenu" | "closeButton" | "tabsContainer" | "tabsList" | "tabContent" | "tabIcon" | "tabLabel" | "activeTabLabel" | "tabDivider", string>>, addStatic?: boolean) => {
369
+ declare const useClasses_6: (classesProp?: Partial<Record<"root" | "actionsContainer" | "tab" | "tabsContainer" | "tabsList" | "tabLabel" | "tabLabelEditor" | "tabContent" | "tabIconContainer" | "closeIconContainer" | "tabDivider" | "dropdownMenuContainer" | "dropdownMenuListRoot", string>>, addStatic?: boolean) => {
368
370
  classes: {
369
371
  root: string;
370
372
  actionsContainer: string;
371
373
  tab: string;
372
- dropdownMenu: string;
373
- closeButton: string;
374
374
  tabsContainer: string;
375
375
  tabsList: string;
376
- tabContent: string;
377
- tabIcon: string;
378
376
  tabLabel: string;
379
- activeTabLabel: string;
377
+ tabLabelEditor: string;
378
+ tabContent: string;
379
+ tabIconContainer: string;
380
+ closeIconContainer: string;
380
381
  tabDivider: string;
382
+ dropdownMenuContainer: string;
383
+ dropdownMenuListRoot: string;
381
384
  };
382
385
  css: any;
383
386
  cx: (...args: any) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-pentaho",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "UI Kit Pentaho+ React components.",
@@ -30,8 +30,9 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@emotion/css": "^11.11.0",
33
- "@hitachivantara/uikit-react-core": "^5.68.1",
34
- "@hitachivantara/uikit-react-icons": "^5.10.8",
33
+ "@hitachivantara/uikit-react-core": "^5.69.0",
34
+ "@hitachivantara/uikit-react-icons": "^5.10.9",
35
+ "@hitachivantara/uikit-react-utils": "^0.2.1",
35
36
  "@mui/base": "^5.0.0-beta.40",
36
37
  "react-resize-detector": "^8.1.0"
37
38
  },
@@ -42,9 +43,10 @@
42
43
  "access": "public",
43
44
  "directory": "package"
44
45
  },
45
- "gitHead": "e6a4e1b89e4fec6bcebf1a88fcaab0ba41c0bda7",
46
+ "gitHead": "12e14ff262d62992cf3b833a4dd4cdac07541d51",
46
47
  "exports": {
47
48
  ".": {
49
+ "types": "./dist/types/index.d.ts",
48
50
  "require": "./dist/cjs/index.cjs",
49
51
  "import": "./dist/esm/index.js"
50
52
  }