@epam/ai-dial-catalog 1.0.0-rc.3 → 1.0.0-rc.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.
- package/components/AppIdentity/AppIdentity.d.ts +3 -11
- package/components/AppIdentity/AppIdentity.d.ts.map +1 -1
- package/components/CardGrid/Card.d.ts.map +1 -1
- package/components/CardGrid/CardGrid.d.ts.map +1 -1
- package/components/CardGrid/CardRowRenderer.d.ts.map +1 -1
- package/components/Catalog/Catalog.d.ts.map +1 -1
- package/components/Catalog/CreateButton.d.ts +2 -2
- package/components/Catalog/CreateButton.d.ts.map +1 -1
- package/components/CredentialsBadge/CredentialsBadge.d.ts +10 -1
- package/components/CredentialsBadge/CredentialsBadge.d.ts.map +1 -1
- package/components/Details/ApiDetails.d.ts +4 -2
- package/components/Details/ApiDetails.d.ts.map +1 -1
- package/components/Details/ConfirmationView/ConfirmationFooter.d.ts +22 -0
- package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
- package/components/Details/ConfirmationView/ConfirmationView.d.ts +19 -0
- package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +1 -0
- package/components/Details/Credentials/CredentialsSection.d.ts +1 -1
- package/components/Details/Credentials/CredentialsSection.d.ts.map +1 -1
- package/components/Details/DetailsPanel.d.ts.map +1 -1
- package/components/Details/Header/Header.d.ts +7 -11
- package/components/Details/Header/Header.d.ts.map +1 -1
- package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
- package/components/Details/TabsContent/About.d.ts +2 -1
- package/components/Details/TabsContent/About.d.ts.map +1 -1
- package/components/EntityHeader/EntityHeader.d.ts +3 -3
- package/components/EntityHeader/EntityHeader.d.ts.map +1 -1
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -1
- package/components/Favorites/FavoriteCard.d.ts +2 -2
- package/components/Favorites/FavoriteCard.d.ts.map +1 -1
- package/components/Favorites/Favorites.d.ts.map +1 -1
- package/components/Filter/Filter.d.ts +33 -2
- package/components/Filter/Filter.d.ts.map +1 -1
- package/components/InfoCard/InfoCard.d.ts +15 -0
- package/components/InfoCard/InfoCard.d.ts.map +1 -0
- package/components/ListView/ListView.d.ts.map +1 -1
- package/components/ListView/Renders/NameCellRenderer.d.ts.map +1 -1
- package/components/ListView/Renders/StarCellRenderer.d.ts.map +1 -1
- package/components/StarToggleButton/StarToggleButton.d.ts +2 -0
- package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
- package/components/TableView/TableView.d.ts +19 -0
- package/components/TableView/TableView.d.ts.map +1 -1
- package/components/Toolbar/Rows/TitleRow.d.ts +3 -3
- package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
- package/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/components/TopicTag/TopicTag.d.ts +11 -0
- package/components/TopicTag/TopicTag.d.ts.map +1 -1
- package/constants/entity-colors.d.ts +0 -2
- package/constants/entity-colors.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +10 -9
- package/index.d.ts.map +1 -1
- package/index.js +24859 -22108
- package/models/app-identity-styles.d.ts +22 -0
- package/models/app-identity-styles.d.ts.map +1 -1
- package/models/card-props.d.ts +8 -10
- package/models/card-props.d.ts.map +1 -1
- package/models/catalog-item.d.ts +9 -5
- package/models/catalog-item.d.ts.map +1 -1
- package/models/catalog-props.d.ts +18 -28
- package/models/catalog-props.d.ts.map +1 -1
- package/models/catalog-styles.d.ts +2 -34
- package/models/catalog-styles.d.ts.map +1 -1
- package/models/favorites.d.ts +13 -7
- package/models/favorites.d.ts.map +1 -1
- package/models/grid-props.d.ts +4 -0
- package/models/grid-props.d.ts.map +1 -1
- package/models/item-details-props.d.ts +152 -30
- package/models/item-details-props.d.ts.map +1 -1
- package/models/list-props.d.ts +18 -2
- package/models/list-props.d.ts.map +1 -1
- package/models/toolbar-props.d.ts +14 -16
- package/models/toolbar-props.d.ts.map +1 -1
- package/package.json +4 -4
- package/types/detail-tab.d.ts +2 -1
- package/types/detail-tab.d.ts.map +1 -1
- package/types/details-confirmation.d.ts +19 -0
- package/types/details-confirmation.d.ts.map +1 -0
- package/utils/styles.d.ts.map +1 -1
- package/components/Details/Header/ConnectButton/ConnectButton.d.ts +0 -25
- package/components/Details/Header/ConnectButton/ConnectButton.d.ts.map +0 -1
- package/components/Details/Header/DeleteButton/DeleteButton.d.ts +0 -25
- package/components/Details/Header/DeleteButton/DeleteButton.d.ts.map +0 -1
- package/components/Details/Summary/Limits.d.ts +0 -18
- package/components/Details/Summary/Limits.d.ts.map +0 -1
- package/components/Details/Summary/Summary.d.ts +0 -12
- package/components/Details/Summary/Summary.d.ts.map +0 -1
- package/constants/catalog-defaults.d.ts +0 -4
- package/constants/catalog-defaults.d.ts.map +0 -1
- package/models/entity-summary.d.ts +0 -23
- package/models/entity-summary.d.ts.map +0 -1
- package/models/sort.d.ts +0 -8
- package/models/sort.d.ts.map +0 -1
- package/types/entity-tag.d.ts +0 -9
- package/types/entity-tag.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { AppIdentityStyles } from '../../models/app-identity-styles';
|
|
3
3
|
import { DeploymentSize } from '../../types/deployment-icon-size';
|
|
4
4
|
import { CatalogEntityType } from '../../types/entity-type';
|
|
5
5
|
/** Props for the shared AppIdentity block used in browse and favorite cards. */
|
|
@@ -23,16 +23,8 @@ export interface AppIdentityProps {
|
|
|
23
23
|
query?: string;
|
|
24
24
|
/** Additional classes applied to the root element. */
|
|
25
25
|
className?: string;
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
/** Typography CSS class for the entity name. Default: 'dial-body-semi-text'. */
|
|
29
|
-
nameClassName?: string;
|
|
30
|
-
/** Color overrides applied as CSS custom properties. */
|
|
31
|
-
colors?: AppIdentityColors;
|
|
32
|
-
/** CSS class for the version string. Default: 'dial-tiny-text text-secondary'. */
|
|
33
|
-
versionClassName?: string;
|
|
34
|
-
/** CSS class for the last-used line text and icon. Default: 'dial-tiny-text text-secondary'. */
|
|
35
|
-
lastUsedClassName?: string;
|
|
26
|
+
/** Grouped color and typography overrides. */
|
|
27
|
+
styles?: AppIdentityStyles;
|
|
36
28
|
/** Element rendered at the end of the last-used row (size 'lg' only). */
|
|
37
29
|
lastUsedTrailing?: ReactNode;
|
|
38
30
|
/** Additional CSS class applied to the icon wrapper div (e.g. for hover-scale animations). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppIdentity.d.ts","sourceRoot":"","sources":["../../../src/components/AppIdentity/AppIdentity.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,gFAAgF;AAChF,MAAM,WAAW,gBAAgB;IAC/B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,6FAA6F;IAC7F,IAAI,EAAE,iBAAiB,CAAC;IACxB,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8FAA8F;IAC9F,IAAI,EAAE,cAAc,CAAC;IACrB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"AppIdentity.d.ts","sourceRoot":"","sources":["../../../src/components/AppIdentity/AppIdentity.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,gFAAgF;AAChF,MAAM,WAAW,gBAAgB;IAC/B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,6FAA6F;IAC7F,IAAI,EAAE,iBAAiB,CAAC;IACxB,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8FAA8F;IAC9F,IAAI,EAAE,cAAc,CAAC;IACrB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,8FAA8F;IAC9F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,oFAAoF;AACpF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqG5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/Card.tsx"],"names":[],"mappings":"AAQA,OAAO,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/Card.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAUzD,6FAA6F;AAC7F,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAkK9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardGrid.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK7D,yFAAyF;AACzF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2GtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardRowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardRowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9D,uDAAuD;AACvD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,sFAAsF;IACtF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CardRowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardRowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9D,uDAAuD;AACvD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,sFAAsF;IACtF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAkDpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAsB/D,mHAAmH;AACnH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAsB/D,mHAAmH;AACnH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAsgBpC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
1
2
|
import { FC } from 'react';
|
|
2
|
-
import { CreateOption } from '../../models/catalog-props';
|
|
3
3
|
/** Props for the catalog Create button. */
|
|
4
4
|
export interface CreateButtonProps {
|
|
5
5
|
/** Button label. */
|
|
@@ -8,7 +8,7 @@ export interface CreateButtonProps {
|
|
|
8
8
|
* When provided, the button opens a dropdown with these options instead of
|
|
9
9
|
* calling `onClick` directly.
|
|
10
10
|
*/
|
|
11
|
-
options?:
|
|
11
|
+
options?: DropdownItem[];
|
|
12
12
|
/** Called when the button is clicked and no `options` are present. */
|
|
13
13
|
onClick?: () => void;
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateButton.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/CreateButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateButton.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/CreateButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EAEb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAU,MAAM,OAAO,CAAC;AAEnC,2CAA2C;AAC3C,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,yEAAyE;AACzE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4B9C,CAAC"}
|
|
@@ -8,8 +8,17 @@ export interface CredentialsBadgeProps {
|
|
|
8
8
|
loggedOutLabel?: string;
|
|
9
9
|
/** Additional CSS class applied for layout/spacing (e.g. margins). */
|
|
10
10
|
className?: string;
|
|
11
|
-
/** Typography
|
|
11
|
+
/** Typography class for the badge itself. Default: `'dial-caption-semi-text uppercase'`. Colors come from the module stylesheet. */
|
|
12
12
|
badgeClassName?: string;
|
|
13
|
+
/** Color overrides applied as CSS custom properties. */
|
|
14
|
+
colors?: CredentialsBadgeColors;
|
|
15
|
+
}
|
|
16
|
+
/** Color overrides for `CredentialsBadge`, applied as CSS custom properties. */
|
|
17
|
+
export interface CredentialsBadgeColors {
|
|
18
|
+
/** Badge background color. Fallback: `--bg-error`. */
|
|
19
|
+
background?: string;
|
|
20
|
+
/** Badge text color. Fallback: `--text-error`. */
|
|
21
|
+
text?: string;
|
|
13
22
|
}
|
|
14
23
|
/** Credential-status badge shown on toolset cards — only rendered when signed out. */
|
|
15
24
|
export declare const CredentialsBadge: FC<CredentialsBadgeProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialsBadge.d.ts","sourceRoot":"","sources":["../../../src/components/CredentialsBadge/CredentialsBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"CredentialsBadge.d.ts","sourceRoot":"","sources":["../../../src/components/CredentialsBadge/CredentialsBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAIpF,oCAAoC;AACpC,MAAM,WAAW,qBAAqB;IACpC,2IAA2I;IAC3I,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oIAAoI;IACpI,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wDAAwD;IACxD,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC;AAED,gFAAgF;AAChF,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,sFAAsF;AACtF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAiCtD,CAAC"}
|
|
@@ -12,7 +12,7 @@ export interface ApiDetailsProps {
|
|
|
12
12
|
snippetSectionLabel?: string;
|
|
13
13
|
/** "Model ID" row label. Default: `'Model ID'`. */
|
|
14
14
|
modelIdLabel?: string;
|
|
15
|
-
/**
|
|
15
|
+
/** Title shown in the single-endpoint code block's header (when `api.endpoints` is absent). Default: `'Endpoint'`. */
|
|
16
16
|
endpointLabel?: string;
|
|
17
17
|
/** "Request example" row label. Default: `'Request example'`. */
|
|
18
18
|
requestExampleLabel?: string;
|
|
@@ -26,9 +26,11 @@ export interface ApiDetailsProps {
|
|
|
26
26
|
valueClassName?: string;
|
|
27
27
|
/** CSS class for code block text. Defaults to `'dial-code-text'`. */
|
|
28
28
|
codeClassName?: string;
|
|
29
|
+
/** CSS class for the endpoint/language title inside a code block header. Defaults to `'dial-tiny-semi-text'` — unlike a plain code block's label, these titles keep their authored casing. */
|
|
30
|
+
codeTitleClassName?: string;
|
|
29
31
|
/** CSS class for section headings. Defaults to `'dial-caption-text'`. */
|
|
30
32
|
sectionClassName?: string;
|
|
31
33
|
}
|
|
32
|
-
/** Renders the
|
|
34
|
+
/** Renders the Connect tab: resource identity rows, a copyable single- or multi-endpoint URL (titled with the endpoint's name), and code snippets. */
|
|
33
35
|
export declare const ApiDetails: FC<ApiDetailsProps>;
|
|
34
36
|
//# sourceMappingURL=ApiDetails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Details/ApiDetails.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Details/ApiDetails.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,gCAAgC,CAAC;AAkBxC,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,GAAG,EAAE,qBAAqB,CAAC;IAC3B,yDAAyD;IACzD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,yFAAyF;IACzF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6FAA6F;IAC7F,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sHAAsH;IACtH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iEAAiE;IACjE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iEAAiE;IACjE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qEAAqE;IACrE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8LAA8L;IAC9L,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAsFD,sJAAsJ;AACtJ,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA+K1C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DetailsConfirmationVariant } from '../../../types/details-confirmation';
|
|
3
|
+
/** Props for `ConfirmationFooter`. */
|
|
4
|
+
export interface ConfirmationFooterProps {
|
|
5
|
+
/** Label of the confirming action button. */
|
|
6
|
+
confirmLabel: string;
|
|
7
|
+
/** Label of the cancel button. */
|
|
8
|
+
cancelLabel: string;
|
|
9
|
+
/** Palette of the confirm button; `Danger` also gives it a leading trash icon. Default: `DetailsConfirmationVariant.Info`. */
|
|
10
|
+
variant?: DetailsConfirmationVariant;
|
|
11
|
+
/** Whether the confirmed action is in flight. Default: `false`. */
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
/** Status text announced to assistive tech while the action is in flight. */
|
|
14
|
+
loadingStatusLabel?: string;
|
|
15
|
+
/** Called when the user confirms. */
|
|
16
|
+
onConfirm: () => void;
|
|
17
|
+
/** Called when the user cancels. */
|
|
18
|
+
onCancel: () => void;
|
|
19
|
+
}
|
|
20
|
+
/** Action row pinned to the bottom of the details panel while a confirmation step is open. */
|
|
21
|
+
export declare const ConfirmationFooter: FC<ConfirmationFooterProps>;
|
|
22
|
+
//# sourceMappingURL=ConfirmationFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/ConfirmationView/ConfirmationFooter.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,8HAA8H;IAC9H,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oCAAoC;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAgD1D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { CatalogItem } from '../../../models/catalog-item';
|
|
3
|
+
import { DetailsConfirmationVariant } from '../../../types/details-confirmation';
|
|
4
|
+
/** Props for `ConfirmationView`. */
|
|
5
|
+
export interface ConfirmationViewProps {
|
|
6
|
+
/** Item the confirmation is about, rendered as an identity card above the copy. */
|
|
7
|
+
item: CatalogItem;
|
|
8
|
+
/** Body copy explaining what confirming does. */
|
|
9
|
+
message: ReactNode;
|
|
10
|
+
/** Consequences listed as bullets under the message. An empty or omitted list renders nothing. */
|
|
11
|
+
consequences?: string[];
|
|
12
|
+
/** Palette of the identity card. Default: `DetailsConfirmationVariant.Info`. */
|
|
13
|
+
variant?: DetailsConfirmationVariant;
|
|
14
|
+
/** Typography class applied to the message and the bullet list. Defaults to `'dial-small-text'`. */
|
|
15
|
+
messageClassName?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Body of the details panel's in-place confirmation step: an item identity card, the confirmation copy, and an optional consequence list. */
|
|
18
|
+
export declare const ConfirmationView: FC<ConfirmationViewProps>;
|
|
19
|
+
//# sourceMappingURL=ConfirmationView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationView.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/ConfirmationView/ConfirmationView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAIjF,oCAAoC;AACpC,MAAM,WAAW,qBAAqB;IACpC,mFAAmF;IACnF,IAAI,EAAE,WAAW,CAAC;IAClB,iDAAiD;IACjD,OAAO,EAAE,SAAS,CAAC;IACnB,kGAAkG;IAClG,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,gFAAgF;IAChF,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,oGAAoG;IACpG,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,8IAA8I;AAC9I,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA0BtD,CAAC"}
|
|
@@ -12,7 +12,7 @@ interface CredentialsSectionProps {
|
|
|
12
12
|
level: CredentialsLevel;
|
|
13
13
|
}) => void;
|
|
14
14
|
texts?: ItemDetailsTexts;
|
|
15
|
-
/** Typography class for the signed-in/signed-out status label. Default: `'dial-small-semi-text
|
|
15
|
+
/** Typography class for the signed-in/signed-out status label. Default: `'dial-small-semi-text'`. */
|
|
16
16
|
statusLabelClassName?: string;
|
|
17
17
|
}
|
|
18
18
|
/** Inline login/logout section shown below the details panel header when the credentials action is expanded. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Credentials/CredentialsSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CredentialsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Credentials/CredentialsSection.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EACL,gBAAgB,EAIjB,MAAM,6BAA6B,CAAC;AAOrC,UAAU,uBAAuB;IAC/B,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,CACR,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KACjD,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,KAAK,IAAI,CAAC;IAC5E,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,qGAAqG;IACrG,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAiHD,gHAAgH;AAChH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAqG1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPanel.tsx"],"names":[],"mappings":"AAoBA,OAAO,
|
|
1
|
+
{"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPanel.tsx"],"names":[],"mappings":"AAoBA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAuEzE,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA+rB9C,CAAC"}
|
|
@@ -17,17 +17,13 @@ interface HeaderProps {
|
|
|
17
17
|
* (AND) with the built-in ownership/type rule.
|
|
18
18
|
*/
|
|
19
19
|
isShareVisible?: (item: CatalogItem) => boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Renders the Connect popover content anchored to the Connect button. When
|
|
22
|
-
* absent, the Connect button is never shown.
|
|
23
|
-
*/
|
|
24
|
-
connectOverlay?: (item: CatalogItem, onClose: () => void) => ReactNode;
|
|
25
|
-
/** Controls whether the "Connect" action is shown for the item. When absent, the Connect button is never shown. */
|
|
26
|
-
isConnectVisible?: (item: CatalogItem) => boolean;
|
|
27
20
|
onEdit?: (item: CatalogItem) => void;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
/** Called when "Delete" is clicked in the Manage menu. The details panel owns the confirmation step, so this only requests it. */
|
|
22
|
+
onDelete?: (item: CatalogItem) => void;
|
|
23
|
+
/** Called when the recipient-side "Remove from My List" action is clicked for an item shared with the current user. The details panel owns the confirmation step. */
|
|
24
|
+
onUnshare?: (item: CatalogItem) => void;
|
|
25
|
+
/** Called when the owner-side "Revoke access" action is clicked for an item the current user owns. The details panel owns the confirmation step. */
|
|
26
|
+
onRevokeShare?: (item: CatalogItem) => void;
|
|
31
27
|
onLogin?: (item: CatalogItem, params: {
|
|
32
28
|
level: CredentialsLevel;
|
|
33
29
|
apiKey?: string;
|
|
@@ -54,7 +50,7 @@ interface HeaderProps {
|
|
|
54
50
|
/** Called when the "Publish" button is clicked; the host swaps this panel's content to the publish view. */
|
|
55
51
|
onOpenPublish?: () => void;
|
|
56
52
|
}
|
|
57
|
-
/** Details panel header bar: entity identity (icon + name + version), action buttons (
|
|
53
|
+
/** Details panel header bar: entity identity (icon + name + version), action buttons (primary action, Share, a "Manage" menu for Edit/Publish/Delete), and inline credentials section. For Toolsets, the credentials action (Log in / Log out / manage) renders first and styled as the primary action, since Toolsets have no "Use in chat" action. */
|
|
58
54
|
export declare const Header: FC<HeaderProps>;
|
|
59
55
|
export {};
|
|
60
56
|
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/Header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/Header.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,EAAE,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,6BAA6B,CAAC;AAMrC,UAAU,WAAW;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IACxD,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IACrE;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IAChD,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACrC,kIAAkI;IAClI,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,qKAAqK;IACrK,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACxC,oJAAoJ;IACpJ,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC5C,OAAO,CAAC,EAAE,CACR,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KACjD,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,CACT,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,KAChC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,uGAAuG;IACvG,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IAClD,4GAA4G;IAC5G,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AACD,wVAAwV;AACxV,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAwQlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/ShareButton/ShareButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShareButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/ShareButton/ShareButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,qCAAqC;AACrC,UAAU,gBAAgB;IACxB,iCAAiC;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IACrE;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IAChD,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA8C5C,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ItemDetailsStyles } from '../../../models/item-details-props';
|
|
3
3
|
interface AboutTabProps {
|
|
4
|
-
|
|
4
|
+
topics?: string[];
|
|
5
|
+
/** Raw text to render (bullets/headings are parsed from it), typically `item.description`. */
|
|
5
6
|
content: string;
|
|
6
7
|
detailsStyles?: ItemDetailsStyles;
|
|
7
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"About.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/About.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"About.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/About.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AA0B5E,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,8FAA8F;IAC9F,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,gFAAgF;AAChF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA4CtC,CAAC"}
|
|
@@ -4,13 +4,13 @@ import { CatalogItem } from '../../models/catalog-item';
|
|
|
4
4
|
export interface EntityHeaderProps {
|
|
5
5
|
/** The favorite item to display. */
|
|
6
6
|
item: CatalogItem;
|
|
7
|
-
/** CSS class for the item name.
|
|
7
|
+
/** Typography CSS class for the item name. Falls back to `ItemHeader`'s own default when omitted. */
|
|
8
8
|
nameClassName?: string;
|
|
9
9
|
/** CSS class for the entity type label. Default: 'dial-caption-semi-text'. */
|
|
10
10
|
typeClassName?: string;
|
|
11
11
|
/** CSS class applied to the icon badge, e.g. to set border-radius. Default: 'rounded-[14px]'. */
|
|
12
12
|
iconBadgeClassName?: string;
|
|
13
|
-
/** CSS class for the version text.
|
|
13
|
+
/** Typography CSS class for the version text. Falls back to `ItemHeader`'s own default when omitted. */
|
|
14
14
|
versionClassName?: string;
|
|
15
15
|
/** Whether to show `item.version` next to the title. Default: true. */
|
|
16
16
|
showVersion?: boolean;
|
|
@@ -22,7 +22,7 @@ export interface EntityHeaderProps {
|
|
|
22
22
|
iconSize?: number;
|
|
23
23
|
/** Search query string; when provided, matching text in the title is highlighted. */
|
|
24
24
|
query?: string;
|
|
25
|
-
/** Content pinned to the bottom of the text column via `mt-auto`, aligning its baseline with the avatar bottom. When provided,
|
|
25
|
+
/** Content pinned to the bottom of the text column via `mt-auto`, aligning its baseline with the avatar bottom. When provided, the column stretches to fill the icon height exactly. */
|
|
26
26
|
footer?: ReactNode;
|
|
27
27
|
/** CSS class for the featured chip. */
|
|
28
28
|
featuredChipClassName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityHeader.d.ts","sourceRoot":"","sources":["../../../src/components/EntityHeader/EntityHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"EntityHeader.d.ts","sourceRoot":"","sources":["../../../src/components/EntityHeader/EntityHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAMxD,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,qGAAqG;IACrG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wGAAwG;IACxG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wLAAwL;IACxL,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uCAAuC;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,8GAA8G;AAC9G,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAqD9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityTypeLabel.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTypeLabel/EntityTypeLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"EntityTypeLabel.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTypeLabel/EntityTypeLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D,iCAAiC;AACjC,MAAM,WAAW,oBAAoB;IACnC,0EAA0E;IAC1E,IAAI,EAAE,iBAAiB,CAAC;IACxB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAcpD,CAAC"}
|
|
@@ -15,9 +15,9 @@ export interface FavoriteCardProps {
|
|
|
15
15
|
nameClassName?: string;
|
|
16
16
|
/** Color overrides applied as CSS custom properties. */
|
|
17
17
|
colors?: AppIdentityColors;
|
|
18
|
-
/** CSS class for the version string. Default: 'dial-tiny-text
|
|
18
|
+
/** Typography CSS class for the version string. Default: `'dial-tiny-text'`. */
|
|
19
19
|
versionClassName?: string;
|
|
20
|
-
/** CSS class for the last-used text. Default: 'dial-tiny-text
|
|
20
|
+
/** Typography CSS class for the last-used text. Default: `'dial-tiny-text'`. */
|
|
21
21
|
lastUsedClassName?: string;
|
|
22
22
|
/** Search query string; matching text in the name is highlighted when provided. */
|
|
23
23
|
query?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteCard.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/FavoriteCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAoD,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,
|
|
1
|
+
{"version":3,"file":"FavoriteCard.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/FavoriteCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAoD,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;IACxG,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iHAAiH;IACjH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,6IAA6I;IAC7I,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qFAAqF;IACrF,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACzC;AAED,2FAA2F;AAC3F,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6G9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Favorites.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/Favorites.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"Favorites.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/Favorites.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAqCxD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA8ZxC,CAAC"}
|
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ToolbarTypography } from '../../models/toolbar-props';
|
|
3
3
|
/** Props for Filter. */
|
|
4
|
+
/** Color overrides for `Filter`, applied as CSS custom properties. */
|
|
5
|
+
export interface FilterColors {
|
|
6
|
+
/** Trigger button background. Fallback: `#ffffff`. */
|
|
7
|
+
buttonBackground?: string;
|
|
8
|
+
/** Trigger button border color while the dropdown has focus. Fallback: `--stroke-info`. */
|
|
9
|
+
buttonBorderFocus?: string;
|
|
10
|
+
/** Trigger button border color while a filter is applied. Fallback: `--stroke-info`. */
|
|
11
|
+
buttonBorderActive?: string;
|
|
12
|
+
/** Trigger button border color while the dropdown is open. Fallback: `--stroke-info`. */
|
|
13
|
+
buttonBorderOpen?: string;
|
|
14
|
+
/** Trigger button label color. Fallback: `--text-primary`. */
|
|
15
|
+
buttonLabel?: string;
|
|
16
|
+
/** Funnel icon color in the trigger button. Fallback: `--text-secondary`. */
|
|
17
|
+
buttonFunnel?: string;
|
|
18
|
+
/** Chevron icon color in the trigger button. Fallback: `--text-tertiary`. */
|
|
19
|
+
buttonChevron?: string;
|
|
20
|
+
/** Dropdown overlay background. Fallback: `#ffffff`. */
|
|
21
|
+
overlayBackground?: string;
|
|
22
|
+
/** Row background on hover. Fallback: `--bg-layer-raised`. */
|
|
23
|
+
rowHoverBackground?: string;
|
|
24
|
+
/** Background of a checked row. Fallback: `--bg-accent-primary-alpha`. */
|
|
25
|
+
rowCheckedBackground?: string;
|
|
26
|
+
/** Row label text color. Fallback: `--text-primary`. */
|
|
27
|
+
rowLabel?: string;
|
|
28
|
+
/** Checkbox border color in its unchecked state. Fallback: `--stroke-tertiary`. */
|
|
29
|
+
checkboxBorder?: string;
|
|
30
|
+
/** Checkbox background in its unchecked state. Fallback: `#ffffff`. */
|
|
31
|
+
checkboxBackground?: string;
|
|
32
|
+
/** Section heading ("Topics") text color. Fallback: `--text-tertiary`. */
|
|
33
|
+
sectionLabel?: string;
|
|
34
|
+
}
|
|
4
35
|
export interface FilterProps {
|
|
5
36
|
/** Set of topic strings currently selected for filtering. Empty = no topic filter. */
|
|
6
37
|
checked: Set<string>;
|
|
@@ -16,8 +47,6 @@ export interface FilterProps {
|
|
|
16
47
|
myAppsLabel?: string;
|
|
17
48
|
/** Label for the Topics section heading. Default: 'Topics'. */
|
|
18
49
|
topicsLabel?: string;
|
|
19
|
-
/** @deprecated No longer applied — section style is set by the DS spec. */
|
|
20
|
-
topicsSectionClassName?: string;
|
|
21
50
|
/** Button label when nothing is filtered. Default: 'From'. */
|
|
22
51
|
defaultLabel?: string;
|
|
23
52
|
/** Label for the footer Clear button. Default: 'Clear'. */
|
|
@@ -26,6 +55,8 @@ export interface FilterProps {
|
|
|
26
55
|
applyLabel?: string;
|
|
27
56
|
/** Optional typography overrides for the filter button and section label. */
|
|
28
57
|
typography?: ToolbarTypography;
|
|
58
|
+
/** Color overrides applied as CSS custom properties. */
|
|
59
|
+
colors?: FilterColors;
|
|
29
60
|
}
|
|
30
61
|
/** Source-filter dropdown: checkbox list for topics and My Apps toggle, with buffered Clear/Apply controls. */
|
|
31
62
|
export declare const Filter: FC<FilterProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../src/components/Filter/Filter.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,wBAAwB;AACxB,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACzC,uDAAuD;IACvD,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../src/components/Filter/Filter.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,wBAAwB;AACxB,sEAAsE;AACtE,MAAM,WAAW,YAAY;IAC3B,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wFAAwF;IACxF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yFAAyF;IACzF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8DAA8D;IAC9D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACzC,uDAAuD;IACvD,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,wDAAwD;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AA0BD,+GAA+G;AAC/G,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAyTlC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CatalogItem } from '../../models/catalog-item';
|
|
3
|
+
import { DetailsConfirmationVariant } from '../../types/details-confirmation';
|
|
4
|
+
/** Props for `InfoCard`. */
|
|
5
|
+
export interface InfoCardProps {
|
|
6
|
+
/** Item whose identity the card shows. */
|
|
7
|
+
item: CatalogItem;
|
|
8
|
+
/** Palette of the card surface. Default: `DetailsConfirmationVariant.Info`. */
|
|
9
|
+
variant?: DetailsConfirmationVariant;
|
|
10
|
+
/** Size of the entity icon in pixels. Default: `40`. */
|
|
11
|
+
iconSize?: number;
|
|
12
|
+
}
|
|
13
|
+
/** Tinted card showing a catalog item's identity, used to anchor a message to the item it is about. */
|
|
14
|
+
export declare const InfoCard: FC<InfoCardProps>;
|
|
15
|
+
//# sourceMappingURL=InfoCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoCard.d.ts","sourceRoot":"","sources":["../../../src/components/InfoCard/InfoCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,4BAA4B;AAC5B,MAAM,WAAW,aAAa;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,WAAW,CAAC;IAClB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,uGAAuG;AACvG,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAetC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAqBxD,0EAA0E;AAC1E,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAqBxD,0EAA0E;AAC1E,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA4JtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NameCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/NameCellRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"NameCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/NameCellRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAK3D,2HAA2H;AAC3H,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAyCvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/StarCellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"StarCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/StarCellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAkCvD,CAAC"}
|
|
@@ -12,6 +12,8 @@ export interface StarToggleButtonProps {
|
|
|
12
12
|
ariaLabel?: string;
|
|
13
13
|
/** Additional CSS classes forwarded to the button root element. */
|
|
14
14
|
className?: string;
|
|
15
|
+
/** Color of the filled (starred) icon. Fallback: `--text-warning-icon`. */
|
|
16
|
+
starFilledColor?: string;
|
|
15
17
|
}
|
|
16
18
|
/** Ghost icon button that toggles between a filled and outline star. */
|
|
17
19
|
export declare const StarToggleButton: FC<StarToggleButtonProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarToggleButton.d.ts","sourceRoot":"","sources":["../../../src/components/StarToggleButton/StarToggleButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StarToggleButton.d.ts","sourceRoot":"","sources":["../../../src/components/StarToggleButton/StarToggleButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvC,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9C,qEAAqE;IACrE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAyBtD,CAAC"}
|
|
@@ -11,6 +11,23 @@ export interface TableViewRow {
|
|
|
11
11
|
*/
|
|
12
12
|
value: string | boolean;
|
|
13
13
|
}
|
|
14
|
+
/** Color overrides for `TableView`, applied as CSS custom properties. */
|
|
15
|
+
export interface TableViewColors {
|
|
16
|
+
/** Section heading text color. Fallback: `--text-secondary`. */
|
|
17
|
+
sectionHeading?: string;
|
|
18
|
+
/** Background color of alternating (even-indexed) rows. Fallback: `--bg-layer-sunken`. */
|
|
19
|
+
rowAlt?: string;
|
|
20
|
+
/** Row label text color. Fallback: `--text-secondary`. */
|
|
21
|
+
label?: string;
|
|
22
|
+
/** Check icon color for `true` values. Fallback: `--text-accent-secondary`. */
|
|
23
|
+
checkIcon?: string;
|
|
24
|
+
/** Text color for `true` values. Fallback: `--text-primary`. */
|
|
25
|
+
valueTrue?: string;
|
|
26
|
+
/** Text color for `false` values. Fallback: `--text-secondary`. */
|
|
27
|
+
valueFalse?: string;
|
|
28
|
+
/** Text color for string values. Fallback: `--text-primary`. */
|
|
29
|
+
valueText?: string;
|
|
30
|
+
}
|
|
14
31
|
/** Props for `TableView`. */
|
|
15
32
|
export interface TableViewProps {
|
|
16
33
|
/** Section label. Defaults to `'Section'`. */
|
|
@@ -31,6 +48,8 @@ export interface TableViewProps {
|
|
|
31
48
|
yesLabel?: string;
|
|
32
49
|
/** Label shown for `false` boolean values. Defaults to `'No'`. */
|
|
33
50
|
noLabel?: string;
|
|
51
|
+
/** Color overrides applied as CSS custom properties. */
|
|
52
|
+
colors?: TableViewColors;
|
|
34
53
|
}
|
|
35
54
|
/** Renders a labeled section with alternating-row key-value pairs; values may be strings or booleans. */
|
|
36
55
|
export declare const TableView: FC<TableViewProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../src/components/TableView/TableView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA+C3B,qCAAqC;AACrC,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,6DAA6D;IAC7D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../src/components/TableView/TableView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA+C3B,qCAAqC;AACrC,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED,yEAAyE;AACzE,MAAM,WAAW,eAAe;IAC9B,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,6DAA6D;IAC7D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,yGAAyG;AACzG,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAsExC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
1
2
|
import { FC } from 'react';
|
|
2
|
-
import {
|
|
3
|
+
import { ToolbarStyles } from '../../../models/toolbar-props';
|
|
3
4
|
import { CatalogViewMode } from '../../../types/view-mode';
|
|
4
5
|
interface TitleRowProps {
|
|
5
6
|
totalCount?: number;
|
|
@@ -13,8 +14,7 @@ interface TitleRowProps {
|
|
|
13
14
|
gridViewLabel?: string;
|
|
14
15
|
listViewLabel?: string;
|
|
15
16
|
sortKey?: string;
|
|
16
|
-
|
|
17
|
-
sortOptions?: CatalogSortOption[];
|
|
17
|
+
sortOptions?: DropdownItem[];
|
|
18
18
|
filters?: Set<string>;
|
|
19
19
|
onFiltersChange?: (filters: Set<string>) => void;
|
|
20
20
|
filterValues?: Set<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Toolbar/Rows/TitleRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TitleRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Toolbar/Rows/TitleRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,YAAY,EACb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAM3D,UAAU,aAAa;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,gBAAgB,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,yFAAyF;AACzF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAuHtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,EAAE,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,gFAAgF;AAChF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,EAAE,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,gFAAgF;AAChF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA0DpC,CAAC"}
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
/** Color overrides for `TopicTag`, applied as CSS custom properties. */
|
|
3
|
+
export interface TopicTagColors {
|
|
4
|
+
/** Tag text color. Fallback: `--text-secondary`. */
|
|
5
|
+
text?: string;
|
|
6
|
+
/** Tag border color. Fallback: `--stroke-secondary`. */
|
|
7
|
+
border?: string;
|
|
8
|
+
/** Tag background color. Fallback: `--bg-layer-sunken`. */
|
|
9
|
+
background?: string;
|
|
10
|
+
}
|
|
2
11
|
/** Props for TopicTag. */
|
|
3
12
|
export interface TopicTagProps {
|
|
4
13
|
/** Text to display inside the tag, e.g. 'Free' or 'Pay-as-you-go'. */
|
|
5
14
|
label: string;
|
|
6
15
|
/** CSS class for the tag text. Default: 'dial-tiny-text'. */
|
|
7
16
|
className?: string;
|
|
17
|
+
/** Color overrides applied as CSS custom properties. */
|
|
18
|
+
colors?: TopicTagColors;
|
|
8
19
|
}
|
|
9
20
|
/** Simple tag component for displaying item topics or pricing tiers. */
|
|
10
21
|
export declare const TopicTag: FC<TopicTagProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopicTag.d.ts","sourceRoot":"","sources":["../../../src/components/TopicTag/TopicTag.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AAGf,0BAA0B;AAC1B,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"TopicTag.d.ts","sourceRoot":"","sources":["../../../src/components/TopicTag/TopicTag.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AAGf,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0BAA0B;AAC1B,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,wEAAwE;AACxE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAiBtC,CAAC;AAEF,4BAA4B;AAC5B,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9C,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,8EAA8E;AAC9E,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAsI1C,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CatalogEntityType } from '../types/entity-type';
|
|
2
2
|
/** Hex color per entity type — used for the type label, featured card border, and drop shadow. */
|
|
3
3
|
export declare const ENTITY_TYPE_COLOR: Record<CatalogEntityType, string>;
|
|
4
|
-
/** Low-opacity (12%) rgba version of each entity type color — used for featured card glow shadow. */
|
|
5
|
-
export declare const ENTITY_TYPE_SHADOW: Record<CatalogEntityType, string>;
|
|
6
4
|
//# sourceMappingURL=entity-colors.d.ts.map
|