@digital-ai/dot-components 4.26.1 → 4.28.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/index.esm.js +1679 -366
- package/package.json +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardCreateBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPatchBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardPutBody.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/models/DashboardView.d.ts +1 -1
- package/src/lib/components/analytics/metadata-api/openapi/services/DashboardsService.d.ts +2 -2
- package/src/lib/components/color-picker/ColorPicker.d.ts +15 -0
- package/src/lib/components/color-picker/ColorPicker.styles.d.ts +6 -0
- package/src/lib/components/color-picker/index.d.ts +4 -0
- package/src/lib/components/index.d.ts +2 -0
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export type DashboardCreateBody = {
|
|
|
6
6
|
/**
|
|
7
7
|
* App types that can be targeted by the dashboard.
|
|
8
8
|
*/
|
|
9
|
-
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
|
|
9
|
+
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
|
|
10
10
|
/**
|
|
11
11
|
* Description of the dashboard.
|
|
12
12
|
*/
|
|
@@ -22,7 +22,7 @@ export type DashboardPatchBody = {
|
|
|
22
22
|
/**
|
|
23
23
|
* App types that can be targeted by the dashboard.
|
|
24
24
|
*/
|
|
25
|
-
target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'> | null;
|
|
25
|
+
target_apps?: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'> | null;
|
|
26
26
|
/**
|
|
27
27
|
* Thumbnail representing dashboard. Base64 encoded SVG.
|
|
28
28
|
*/
|
|
@@ -22,7 +22,7 @@ export type DashboardPutBody = {
|
|
|
22
22
|
/**
|
|
23
23
|
* App types that can be targeted by the dashboard.
|
|
24
24
|
*/
|
|
25
|
-
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
|
|
25
|
+
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
|
|
26
26
|
/**
|
|
27
27
|
* Thumbnail representing dashboard. Base64 encoded SVG.
|
|
28
28
|
*/
|
|
@@ -18,7 +18,7 @@ export type DashboardView = {
|
|
|
18
18
|
/**
|
|
19
19
|
* App types that can be targeted by the dashboard.
|
|
20
20
|
*/
|
|
21
|
-
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY'>;
|
|
21
|
+
target_apps: Array<'AGILITY' | 'RELEASE' | 'DEPLOY' | 'CONTINUOUSTEST' | 'TEAMFORGE' | 'CHANGERISKPREDICTION' | 'APPLICATIONSECURITY' | 'SERVICEMGMTPROCESSOPTIMIZATION'>;
|
|
22
22
|
/**
|
|
23
23
|
* Description of the dashboard.
|
|
24
24
|
*/
|
|
@@ -29,7 +29,7 @@ export declare class DashboardsService {
|
|
|
29
29
|
* @param isOotbDashboard Boolean match on Dashboard OOTB status.
|
|
30
30
|
* @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
|
|
31
31
|
* @param name String match on Dashboard name.
|
|
32
|
-
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or
|
|
32
|
+
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
|
|
33
33
|
* @param viewModified Return dashboards with modified changes if they exist for this user.
|
|
34
34
|
* @returns DashboardViewPagedResponse OK
|
|
35
35
|
* @returns Error Default error response
|
|
@@ -184,7 +184,7 @@ export declare class DashboardsService {
|
|
|
184
184
|
* * **Filterable field names**: author_fullname, bi_type, categories, created_dt, description, is_ootb_dashboard, lifecycle_state, name, updated_by_fullname, updated_dt
|
|
185
185
|
* * **Searchable field names**: author_fullname, categories, description, name
|
|
186
186
|
*
|
|
187
|
-
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', or '
|
|
187
|
+
* @param targetApp String match on the Dashboard target application - 'AGILITY', 'CONTINUOUSTEST', 'DEPLOY', 'RELEASE', 'TEAMFORGE', 'CHANGERISKPREDICTION', 'APPLICATIONSECURITY', or 'SERVICEMGMTPROCESSOPTIMIZATION'.
|
|
188
188
|
* @param biType String match on Dashboard bi type - 'MICROSTRATEGY'.
|
|
189
189
|
* @param isOotbDashboard Boolean match on Dashboard OOTB status.
|
|
190
190
|
* @param lifecycleState String match on Dashboard lifecycle state - 'DRAFT' or 'PUBLISHED'.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ColorResult, HsvaColor } from '@uiw/color-convert';
|
|
2
|
+
import { SwatchPresetColor } from '@uiw/react-color-swatch';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
4
|
+
import { CommonProps } from '../CommonProps';
|
|
5
|
+
export interface ColorPickerProps extends CommonProps {
|
|
6
|
+
color?: string | HsvaColor;
|
|
7
|
+
hideAlpha?: boolean;
|
|
8
|
+
hideRGB?: boolean;
|
|
9
|
+
hideShadow?: boolean;
|
|
10
|
+
onChange?: (newShade: ColorResult) => void;
|
|
11
|
+
presetColors?: SwatchPresetColor[];
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
width?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare const DotColorPicker: ({ ariaLabel, ariaRole, className, color, "data-pendoid": dataPendoId, "data-testid": dataTestId, hideAlpha, hideRGB, hideShadow, onChange, presetColors, style, width, }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const rootClassName = "dot-color-picker";
|
|
2
|
+
interface StyledProps {
|
|
3
|
+
$hideShadow?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledColorPicker: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@uiw/react-color-sketch").SketchProps & import("react").RefAttributes<HTMLDivElement>>, any, StyledProps, never>;
|
|
6
|
+
export {};
|
|
@@ -55,6 +55,7 @@ export type { DashboardHeaderProps } from './analytics/dashboard-header/Dashboar
|
|
|
55
55
|
export type { ChipTooltipProps, ChipProps, ChipSize } from './chip/Chip';
|
|
56
56
|
export type { SearchProps } from './search';
|
|
57
57
|
export type { ToggleSwitchProps, ToggleSwitchValue, ToggleSwitchOption, ToggleSwitchSingleValue, } from './toggle-switch';
|
|
58
|
+
export type { ColorPickerProps, ColorResult, HsvaColor, SwatchPresetColor, } from './color-picker';
|
|
58
59
|
export { DotAccordion } from './accordion/Accordion';
|
|
59
60
|
export { DotActionToolbar } from './action-toolbar/ActionToolbar';
|
|
60
61
|
export { DotAlertBanner } from './alert-banner/AlertBanner';
|
|
@@ -142,4 +143,5 @@ export { CreateUUID } from './createUUID';
|
|
|
142
143
|
export { BoardStatusProvider, ColumnStatusProvider, DotBoard, DotBoardColumn, DotBoardColumnActionBar, DotBoardColumnCollapse, DotBoardColumnExpand, DotBoardColumnHeader, DotBoardColumnItems, DotBoardColumnSummary, useBoardStatus, useColumnStatus, } from './board';
|
|
143
144
|
export { DotSearch } from './search';
|
|
144
145
|
export { DotToggleSwitch } from './toggle-switch';
|
|
146
|
+
export { DotColorPicker } from './color-picker';
|
|
145
147
|
export { useKeyPress } from '../hooks/useKeyPress';
|