@epam/ai-dial-publish-panel 1.2.0-dev.28 → 1.2.0-dev.284
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/PublishHistoryList/PublishHistoryList.d.ts +8 -0
- package/components/PublishHistoryList/PublishHistoryList.d.ts.map +1 -1
- package/components/PublishPanel/PublishPanel.d.ts +25 -22
- package/components/PublishPanel/PublishPanel.d.ts.map +1 -1
- package/components/PublishPanel/StandalonePublishPanel.d.ts +2 -8
- package/components/PublishPanel/StandalonePublishPanel.d.ts.map +1 -1
- package/constants/public-class-names.d.ts +5 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/index.css +2 -2
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +648 -12233
- package/models/publish.d.ts +7 -0
- package/models/publish.d.ts.map +1 -1
- package/package.json +4 -4
- package/utils/use-publish-flow.d.ts +20 -3
- package/utils/use-publish-flow.d.ts.map +1 -1
- package/utils/focus.d.ts +0 -3
- package/utils/focus.d.ts.map +0 -1
|
@@ -17,6 +17,8 @@ export interface PublishHistoryListProps {
|
|
|
17
17
|
versionPrefix?: string;
|
|
18
18
|
/** Label for the badge on the entry matching `currentVersion`. Default: `'Current'`. */
|
|
19
19
|
currentBadgeLabel?: string;
|
|
20
|
+
/** Label marking an entry whose `publishCredentials` is `true`. Default: `'Shared credentials'`. */
|
|
21
|
+
sharedCredentialsLabel?: string;
|
|
20
22
|
/** Message shown when `entries` is empty. Default: `'Not published to this folder yet — this will be the first version here.'`. */
|
|
21
23
|
emptyStateLabel?: string;
|
|
22
24
|
/** Message shown while history is loading. Default: `'Loading history…'`. */
|
|
@@ -40,6 +42,12 @@ export interface PublishHistoryListColors {
|
|
|
40
42
|
currentBadgeBackground?: string;
|
|
41
43
|
/** Text color of the "Current" badge. Fallback: `--text-accent`. */
|
|
42
44
|
currentBadgeText?: string;
|
|
45
|
+
/** Border color of the shared-credentials marker. Fallback: `--stroke-tertiary`. */
|
|
46
|
+
sharedCredentialsBadgeBorder?: string;
|
|
47
|
+
/** Background color of the shared-credentials marker. Fallback: `--bg-layer-sunken`. */
|
|
48
|
+
sharedCredentialsBadgeBackground?: string;
|
|
49
|
+
/** Text color of the shared-credentials marker. Fallback: `--text-secondary`. */
|
|
50
|
+
sharedCredentialsBadgeText?: string;
|
|
43
51
|
/** Text color of each entry's version line. Fallback: `--text-primary`. */
|
|
44
52
|
versionText?: string;
|
|
45
53
|
/** Text color of each entry's publish date. Fallback: `--text-secondary`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishHistoryList/PublishHistoryList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,sIAAsI;IACtI,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB;IACvB,MAAM,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,iHAAiH;AACjH,MAAM,WAAW,wBAAwB;IACvC,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sFAAsF;IACtF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,oIAAoI;AACpI,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"PublishHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishHistoryList/PublishHistoryList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,sIAAsI;IACtI,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oGAAoG;IACpG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB;IACvB,MAAM,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,iHAAiH;AACjH,MAAM,WAAW,wBAAwB;IACvC,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sFAAsF;IACtF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,wFAAwF;IACxF,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,iFAAiF;IACjF,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,oIAAoI;AACpI,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAoG1D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { PublicationRule, PublishFolderNode,
|
|
2
|
+
import { PublicationRule, PublishFolderNode, PublishResourceSummary } from '../../models/publish';
|
|
3
3
|
import { PublishPanelStyles } from '../../models/publish-panel-styles';
|
|
4
4
|
import { PublishAccessRulesLabels } from '../PublishAccessRules/PublishAccessRules';
|
|
5
5
|
/** Text overrides for all user-visible strings in {@link PublishPanel}. */
|
|
@@ -16,8 +16,10 @@ export interface PublishPanelLabels {
|
|
|
16
16
|
authorPlaceholder?: string;
|
|
17
17
|
/** Helper text below the display-author field. Default explains the value is shown as the publication's author. */
|
|
18
18
|
authorHint?: string;
|
|
19
|
-
/** Label
|
|
20
|
-
|
|
19
|
+
/** Label for the credentials opt-in. Default: `'Publish with my credentials'`. */
|
|
20
|
+
credentialsLabel?: string;
|
|
21
|
+
/** Caption below the credentials opt-in, stating what ticking it does. Default explains members will use the resource without authorising and that the credential itself is never shown to them. */
|
|
22
|
+
credentialsHint?: string;
|
|
21
23
|
/** Warning callout body shown when the folder already has this version; `{version}` and `{folder}` are replaced, with the folder name rendered bold. */
|
|
22
24
|
replaceWarning?: string;
|
|
23
25
|
/** Error callout body shown when the user lacks write access; `{folder}` is replaced, with the folder name rendered bold. */
|
|
@@ -38,10 +40,6 @@ export interface PublishPanelLabels {
|
|
|
38
40
|
createFolderInvalidNameError?: string;
|
|
39
41
|
/** Inline error shown while creating a folder whose name duplicates a sibling. */
|
|
40
42
|
createFolderDuplicateNameError?: string;
|
|
41
|
-
/** Message shown while publish history is loading. */
|
|
42
|
-
historyLoadingLabel?: string;
|
|
43
|
-
/** Message shown when publish history failed to load. */
|
|
44
|
-
historyErrorLabel?: string;
|
|
45
43
|
/** Label used for the bucket root as a destination and as `{folder}` in callouts when it is selected. Default: `'Organization'`. */
|
|
46
44
|
rootFolderLabel?: string;
|
|
47
45
|
/** Version tag text in the entity-header summary row; `{version}` is replaced. Default: `'Version {version} · current'`. */
|
|
@@ -52,26 +50,18 @@ export interface PublishPanelLabels {
|
|
|
52
50
|
/** Props for {@link PublishPanel}. */
|
|
53
51
|
export interface PublishPanelProps {
|
|
54
52
|
/**
|
|
55
|
-
* Display metadata for the summary row and for
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* A `type` renders the entity-header row; otherwise the row is title-only,
|
|
59
|
-
* unless `renderSummary` replaces it.
|
|
53
|
+
* Display metadata for the summary row and for the replace-warning
|
|
54
|
+
* callout's version substitution. A `type` renders the entity-header row;
|
|
55
|
+
* otherwise the row is title-only, unless `renderSummary` replaces it.
|
|
60
56
|
*/
|
|
61
57
|
resource?: PublishResourceSummary;
|
|
62
58
|
/**
|
|
63
59
|
* Renders a custom summary row in place of the default title-only row built
|
|
64
60
|
* from `resource.title`. Ignored when `resource.type` is set. Pass
|
|
65
|
-
* `resource` alongside this so version
|
|
66
|
-
*
|
|
61
|
+
* `resource` alongside this so the callout's version substitution keeps
|
|
62
|
+
* working.
|
|
67
63
|
*/
|
|
68
64
|
renderSummary?: () => ReactNode;
|
|
69
|
-
/** Previously published entries for this item. */
|
|
70
|
-
history: PublishHistoryEntry[];
|
|
71
|
-
/** Whether `history` is currently being fetched. Default: `false`. */
|
|
72
|
-
isHistoryLoading?: boolean;
|
|
73
|
-
/** Whether the most recent history fetch failed. Default: `false`. */
|
|
74
|
-
hasHistoryError?: boolean;
|
|
75
65
|
/** Destination folders available for selection. */
|
|
76
66
|
folderItems: PublishFolderNode[];
|
|
77
67
|
/**
|
|
@@ -119,6 +109,19 @@ export interface PublishPanelProps {
|
|
|
119
109
|
author: string;
|
|
120
110
|
/** Called with the next author value on every edit. */
|
|
121
111
|
onAuthorChange: (author: string) => void;
|
|
112
|
+
/**
|
|
113
|
+
* Whether the publication should carry the publisher's own credentials.
|
|
114
|
+
* Only rendered when `onPublishCredentialsChange` is supplied. Default:
|
|
115
|
+
* `false`.
|
|
116
|
+
*/
|
|
117
|
+
publishCredentials?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Called with the next value when the credentials opt-in is toggled.
|
|
120
|
+
* Supplying it is what renders the control at all — a host with no use for
|
|
121
|
+
* it gets exactly the panel it had before. The panel holds no state of its
|
|
122
|
+
* own for the value.
|
|
123
|
+
*/
|
|
124
|
+
onPublishCredentialsChange?: (value: boolean) => void;
|
|
122
125
|
/** Current access rules, combined with AND. */
|
|
123
126
|
rules: PublicationRule[];
|
|
124
127
|
/** Called with the full next rules array on add, remove, or clear. */
|
|
@@ -133,11 +136,11 @@ export interface PublishPanelProps {
|
|
|
133
136
|
labels?: PublishPanelLabels;
|
|
134
137
|
/** Typography class for the default summary title (unused when `renderSummary` or `resource.type` is passed). Default: `'dial-body-semi-text'`. */
|
|
135
138
|
summaryTitleClassName?: string;
|
|
136
|
-
/** Typography class for the "Publish to folder"
|
|
139
|
+
/** Typography class for the "Publish to folder" section heading. Default: `'dial-body-semi-text'`. */
|
|
137
140
|
headingClassName?: string;
|
|
138
141
|
/** Style overrides. */
|
|
139
142
|
styles?: PublishPanelStyles;
|
|
140
143
|
}
|
|
141
|
-
/** Scrollable body of the Publish flow: entity summary, destination folder picker with callout, and
|
|
144
|
+
/** Scrollable body of the Publish flow: entity summary, destination folder picker with callout, author, credentials and access rules. */
|
|
142
145
|
export declare const PublishPanel: FC<PublishPanelProps>;
|
|
143
146
|
//# sourceMappingURL=PublishPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishPanel.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,EAAE,EAAE,SAAS,EAA4B,MAAM,OAAO,CAAC;AAEhE,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAEL,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;AAOlD,2EAA2E;AAC3E,MAAM,WAAW,kBAAkB;IACjC,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,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;IACzB,6EAA6E;IAC7E,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mDAAmD;IACnD,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,mJAAmJ;IACnJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sGAAsG;IACtG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uBAAuB;IACvB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B;AAED,yIAAyI;AACzI,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6P9C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode, RefObject } from 'react';
|
|
2
|
-
import { PublicationRule, PublishFolderNode,
|
|
2
|
+
import { PublicationRule, PublishFolderNode, PublishResourceSummary } from '../../models/publish';
|
|
3
3
|
import { PublishPanelStyles } from '../../models/publish-panel-styles';
|
|
4
4
|
import { PublishFooterLabels } from './PublishFooter';
|
|
5
5
|
import { PublishPanelLabels } from './PublishPanel';
|
|
@@ -27,12 +27,6 @@ export interface StandalonePublishPanelProps {
|
|
|
27
27
|
* See `PublishPanel`'s `renderSummary` prop.
|
|
28
28
|
*/
|
|
29
29
|
renderSummary?: () => ReactNode;
|
|
30
|
-
/** Previously published entries for this item. */
|
|
31
|
-
history: PublishHistoryEntry[];
|
|
32
|
-
/** Whether `history` is currently being fetched. Default: `false`. */
|
|
33
|
-
isHistoryLoading?: boolean;
|
|
34
|
-
/** Whether the most recent history fetch failed. Default: `false`. */
|
|
35
|
-
hasHistoryError?: boolean;
|
|
36
30
|
/** Destination folders available for selection. */
|
|
37
31
|
folderItems: PublishFolderNode[];
|
|
38
32
|
/** Currently selected destination folder path. `undefined` means nothing selected; `[]` means the bucket root. */
|
|
@@ -111,6 +105,6 @@ export interface StandalonePublishPanelColors {
|
|
|
111
105
|
/** Header title text color. Fallback: `--text-primary`. */
|
|
112
106
|
titleText?: string;
|
|
113
107
|
}
|
|
114
|
-
/** Standalone end-edge slide-in panel for the Publish flow: full-screen backdrop, entity summary, folder picker,
|
|
108
|
+
/** Standalone end-edge slide-in panel for the Publish flow: full-screen backdrop, entity summary, folder picker, and pinned footer. */
|
|
115
109
|
export declare const StandalonePublishPanel: FC<StandalonePublishPanelProps>;
|
|
116
110
|
//# sourceMappingURL=StandalonePublishPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandalonePublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/StandalonePublishPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"StandalonePublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/StandalonePublishPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAC;AAC/E,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAiB,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAgB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGlE,uJAAuJ;AACvJ,MAAM,WAAW,4BAA4B;IAC3C,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,gDAAgD;AAChD,MAAM,WAAW,2BAA2B;IAC1C,gFAAgF;IAChF,MAAM,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,SAAS,CAA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0G;IAC1G,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mEAAmE;IACnE,cAAc,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/C,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,yCAAyC;IACzC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,0CAA0C;IAC1C,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,4CAA4C;IAC5C,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,2CAA2C;IAC3C,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uBAAuB;IACvB,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,qHAAqH;AACrH,MAAM,WAAW,4BAA4B;IAC3C,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,uIAAuI;AACvI,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAoMlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB;IAC9B,8DAA8D;;CAEtD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
._dialog_jqcm2_5{background:var(--pare-mobile-bg,var(--bg-layer-sunken,#eef1f7))}@media (width>=1280px){._dialog_jqcm2_5{background:var(--pare-bg,var(--bg-layer-base,#f5f7fa))}}._error_jqcm2_14{color:var(--pare-error-text,var(--text-error,#ae2f2f))}._selectField_jqcm2_28.dial-kit-input{border-color:var(--pare-select-border,var(--stroke-tertiary,#e0e6f0))!important}@media (hover:hover){._selectField_jqcm2_28.dial-kit-input:hover:not(:focus-within){border-color:var(--pare-select-border-hover,var(--stroke-secondary,#d1dbea))!important}}._selectField_jqcm2_28.dial-kit-input:focus-within{border-color:var(--pare-select-border-focus,var(--stroke-accent,#1d4ed8))!important}._selectFieldOpen_jqcm2_40.dial-kit-input{border-color:var(--pare-select-border-open,var(--stroke-accent,#1d4ed8))!important}._ruleRow_nx0en_1{background:var(--par-rule-bg,var(--bg-layer-base,#f5f7fa))}._heading_nx0en_5{color:var(--par-heading-text,var(--text-primary,#161b2d))}._hint_nx0en_9{color:var(--par-hint-text,var(--text-primary,#161b2d))}._loading_nx0en_13{color:var(--par-loading-text,var(--text-primary,#161b2d))}._ruleText_nx0en_17{color:var(--par-rule-text,var(--text-primary,#161b2d))}.
|
|
2
|
-
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.
|
|
1
|
+
._dialog_jqcm2_5{background:var(--pare-mobile-bg,var(--bg-layer-sunken,#eef1f7))}@media (width>=1280px){._dialog_jqcm2_5{background:var(--pare-bg,var(--bg-layer-base,#f5f7fa))}}._error_jqcm2_14{color:var(--pare-error-text,var(--text-error,#ae2f2f))}._selectField_jqcm2_28.dial-kit-input{border-color:var(--pare-select-border,var(--stroke-tertiary,#e0e6f0))!important}@media (hover:hover){._selectField_jqcm2_28.dial-kit-input:hover:not(:focus-within){border-color:var(--pare-select-border-hover,var(--stroke-secondary,#d1dbea))!important}}._selectField_jqcm2_28.dial-kit-input:focus-within{border-color:var(--pare-select-border-focus,var(--stroke-accent,#1d4ed8))!important}._selectFieldOpen_jqcm2_40.dial-kit-input{border-color:var(--pare-select-border-open,var(--stroke-accent,#1d4ed8))!important}._ruleRow_nx0en_1{background:var(--par-rule-bg,var(--bg-layer-base,#f5f7fa))}._heading_nx0en_5{color:var(--par-heading-text,var(--text-primary,#161b2d))}._hint_nx0en_9{color:var(--par-hint-text,var(--text-primary,#161b2d))}._loading_nx0en_13{color:var(--par-loading-text,var(--text-primary,#161b2d))}._ruleText_nx0en_17{color:var(--par-rule-text,var(--text-primary,#161b2d))}._currentBadge_d0adf_1{border-color:var(--phl-badge-border,var(--stroke-tertiary,#e0e6f0))!important;background:var(--phl-badge-bg,var(--bg-control-accent-alpha,#2764d90f))!important;color:var(--phl-badge-text,var(--text-accent,#1d4ed8))!important}._sharedCredentialsBadge_d0adf_7{border-color:var(--phl-shared-creds-border,var(--stroke-tertiary,#e0e6f0))!important;background:var(--phl-shared-creds-bg,var(--bg-layer-sunken,#eef1f7))!important;color:var(--phl-shared-creds-text,var(--text-secondary,#57647a))!important}._version_d0adf_13{color:var(--phl-version-text,var(--text-primary,#161b2d))}._date_d0adf_17{color:var(--phl-date-text,var(--text-secondary,#57647a))}._emptyState_d0adf_21{color:var(--phl-empty-text,var(--text-secondary,#57647a))}._stripedRow_d0adf_25{background:var(--phl-striped-bg,var(--bg-layer-sunken,#eef1f7))}._divider_1gs31_1{background:var(--pft-divider,var(--stroke-tertiary,#e0e6f0))}._tree_1gs31_17 .dial-kit-input{height:20px;padding-block:0;padding-inline:7px}._summaryTitle_tf20a_1{color:var(--pp-summary-title-text,var(--text-primary,#161b2d))}._sectionHeading_tf20a_5{color:var(--pp-heading-text,var(--text-primary,#161b2d))}._footer_dks1v_1{border-color:var(--pf-border,var(--stroke-tertiary,#e0e6f0))}._backdrop_16jmd_6._backdrop_16jmd_6{background:var(--spp-backdrop-bg,var(--bg-backdrop,#161b2d4d))}._panel_16jmd_10._panel_16jmd_10{background:var(--spp-panel-bg,var(--bg-layer-raised,#fcfcfc));border-inline-start-color:var(--spp-panel-border,var(--stroke-secondary,#d1dbea))}._divider_16jmd_15._divider_16jmd_15{border-block-end:1px solid var(--spp-divider-border,var(--stroke-tertiary,#e0e6f0))}._content_16jmd_19{scrollbar-width:thin;scrollbar-color:var(--spp-scrollbar-thumb,var(--stroke-secondary,#d1dbea)) transparent}._title_16jmd_24._title_16jmd_24{color:var(--spp-title-text,var(--text-primary,#161b2d))}
|
|
2
|
+
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.z-\[60\]{z-index:60}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.block{display:block}.inline{display:inline}.flex{display:flex}.h-px{height:1px}.min-h-0{min-height:0}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-t{border-top-width:1px}.p-4{padding:1rem}.p-\[22px\]{padding:22px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-\[22px\]{padding-left:22px;padding-right:22px}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\[11px\]{padding-bottom:11px;padding-top:11px}.text-center{text-align:center}.font-semibold{font-weight:600}.opacity-60{opacity:.6}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width:1280px){.desktop\:static{position:static}.desktop\:z-auto{z-index:auto}.desktop\:mt-2{margin-top:.5rem}.desktop\:flex-none{flex:none}.desktop\:overflow-visible{overflow:visible}.desktop\:rounded-lg{border-radius:.5rem}.desktop\:p-3{padding:.75rem}}.rtl\:flex-row-reverse:where([dir=rtl],[dir=rtl] *){flex-direction:row-reverse}.rtl\:justify-start:where([dir=rtl],[dir=rtl] *){justify-content:flex-start}
|
package/index.d.ts
CHANGED
|
@@ -22,4 +22,5 @@ export { PublishFooter } from './components/PublishPanel/PublishFooter';
|
|
|
22
22
|
export type { PublishFooterColors, PublishFooterProps, PublishFooterLabels, } from './components/PublishPanel/PublishFooter';
|
|
23
23
|
export { StandalonePublishPanel } from './components/PublishPanel/StandalonePublishPanel';
|
|
24
24
|
export type { StandalonePublishPanelColors, StandalonePublishPanelProps, StandalonePublishPanelLabels, } from './components/PublishPanel/StandalonePublishPanel';
|
|
25
|
+
export { PUBLISH_PANEL_CLASS } from './constants/public-class-names';
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,YAAY,EACV,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EAC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