@uniformdev/design-system 18.27.0 → 18.27.1-alpha.23
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/dist/esm/index.js +124 -129
- package/dist/index.d.ts +4 -3
- package/dist/index.js +25 -29
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -306,6 +306,20 @@ var buttonSecondaryInvert = css`
|
|
|
306
306
|
|
|
307
307
|
${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
|
|
308
308
|
`;
|
|
309
|
+
var buttonPrimaryInvert = css`
|
|
310
|
+
background: var(--white);
|
|
311
|
+
color: var(--brand-secondary-1);
|
|
312
|
+
box-shadow: 0 0 0 1px var(--brand-secondary-1);
|
|
313
|
+
transition: box-shadow var(--duration-fast) var(--timing-ease-out);
|
|
314
|
+
gap: var(--spacing-sm);
|
|
315
|
+
|
|
316
|
+
&:disabled {
|
|
317
|
+
color: var(--gray-300);
|
|
318
|
+
box-shadow: 0 0 0 1px var(--gray-300);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
|
|
322
|
+
`;
|
|
309
323
|
var buttonUnimportant = css`
|
|
310
324
|
background: var(--brand-secondary-2);
|
|
311
325
|
color: var(--brand-secondary-1);
|
|
@@ -424,15 +438,11 @@ var inputSelect = css2`
|
|
|
424
438
|
background-size: 1rem;
|
|
425
439
|
padding-right: var(--spacing-xl);
|
|
426
440
|
`;
|
|
427
|
-
var
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
var inputSearchCloseIcon = css2`
|
|
433
|
-
color: var(--brand-primary-2);
|
|
434
|
-
height: 1.5rem;
|
|
435
|
-
width: 1.5rem;
|
|
441
|
+
var inputSearchCloseBtn = css2`
|
|
442
|
+
background: none;
|
|
443
|
+
border: none;
|
|
444
|
+
padding: 0;
|
|
445
|
+
pointer-events: all;
|
|
436
446
|
`;
|
|
437
447
|
var inputToggleLabel = css2`
|
|
438
448
|
align-items: flex-start;
|
|
@@ -10395,6 +10405,7 @@ var Button = React5.forwardRef(
|
|
|
10395
10405
|
({ buttonType = "primary", size = "md", children, ...props }, ref) => {
|
|
10396
10406
|
const buttonTheme = {
|
|
10397
10407
|
primary: buttonPrimary,
|
|
10408
|
+
primaryInvert: buttonPrimaryInvert,
|
|
10398
10409
|
secondary: buttonSecondary,
|
|
10399
10410
|
secondaryInvert: buttonSecondaryInvert,
|
|
10400
10411
|
ghost: buttonGhost,
|
|
@@ -12124,7 +12135,7 @@ var InputInlineSelect = ({
|
|
|
12124
12135
|
};
|
|
12125
12136
|
|
|
12126
12137
|
// src/components/Input/InputKeywordSearch.tsx
|
|
12127
|
-
import { jsx as jsx42
|
|
12138
|
+
import { jsx as jsx42 } from "@emotion/react/jsx-runtime";
|
|
12128
12139
|
var InputKeywordSearch = ({
|
|
12129
12140
|
onSearchTextChanged,
|
|
12130
12141
|
disabled = false,
|
|
@@ -12151,24 +12162,7 @@ var InputKeywordSearch = ({
|
|
|
12151
12162
|
placeholder,
|
|
12152
12163
|
showLabel: false,
|
|
12153
12164
|
value,
|
|
12154
|
-
icon: value ? /* @__PURE__ */ jsx42("button", {
|
|
12155
|
-
"svg",
|
|
12156
|
-
{
|
|
12157
|
-
width: "26",
|
|
12158
|
-
height: "24",
|
|
12159
|
-
viewBox: "0 0 26 24",
|
|
12160
|
-
fill: "currentColor",
|
|
12161
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12162
|
-
css: inputSearchIcon,
|
|
12163
|
-
children: [
|
|
12164
|
-
/* @__PURE__ */ jsxs25("g", { clipPath: "url(#clip0)", children: [
|
|
12165
|
-
/* @__PURE__ */ jsx42("path", { d: "M11.539 0C5.48429 0 0.558105 4.74145 0.558105 10.5691C0.558105 16.3971 5.48429 21.1382 11.539 21.1382C17.594 21.1382 22.5199 16.3971 22.5199 10.5691C22.5199 4.74145 17.594 0 11.539 0ZM11.539 19.187C6.60198 19.187 2.58535 15.321 2.58535 10.5691C2.58535 5.81728 6.60198 1.95122 11.539 1.95122C16.476 1.95122 20.4926 5.81723 20.4926 10.5691C20.4926 15.321 16.476 19.187 11.539 19.187Z" }),
|
|
12166
|
-
/* @__PURE__ */ jsx42("path", { d: "M25.196 22.3344L19.3846 16.7409C18.9886 16.3598 18.3473 16.3598 17.9513 16.7409C17.5553 17.1217 17.5553 17.7397 17.9513 18.1205L23.7627 23.714C23.9607 23.9045 24.2199 23.9998 24.4794 23.9998C24.7385 23.9998 24.998 23.9045 25.196 23.714C25.592 23.3332 25.592 22.7153 25.196 22.3344Z" })
|
|
12167
|
-
] }),
|
|
12168
|
-
/* @__PURE__ */ jsx42("defs", { children: /* @__PURE__ */ jsx42("clipPath", { id: "clip0", children: /* @__PURE__ */ jsx42("rect", { width: "24.9351", height: "24", fill: "white", transform: "translate(0.558105)" }) }) })
|
|
12169
|
-
]
|
|
12170
|
-
}
|
|
12171
|
-
),
|
|
12165
|
+
icon: value ? /* @__PURE__ */ jsx42("button", { css: inputSearchCloseBtn, onClick: onClear, children: /* @__PURE__ */ jsx42(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx42(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
|
|
12172
12166
|
onChange: handleSearchTextChanged,
|
|
12173
12167
|
onKeyPress: preventSubmitOnField,
|
|
12174
12168
|
disabled,
|
|
@@ -12179,7 +12173,7 @@ var InputKeywordSearch = ({
|
|
|
12179
12173
|
};
|
|
12180
12174
|
|
|
12181
12175
|
// src/components/Input/InputSelect.tsx
|
|
12182
|
-
import { Fragment as Fragment5, jsx as jsx43, jsxs as
|
|
12176
|
+
import { Fragment as Fragment5, jsx as jsx43, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
|
|
12183
12177
|
var InputSelect = ({
|
|
12184
12178
|
label,
|
|
12185
12179
|
defaultOption,
|
|
@@ -12195,13 +12189,13 @@ var InputSelect = ({
|
|
|
12195
12189
|
classNameLabel,
|
|
12196
12190
|
...props
|
|
12197
12191
|
}) => {
|
|
12198
|
-
return /* @__PURE__ */
|
|
12192
|
+
return /* @__PURE__ */ jsxs25(
|
|
12199
12193
|
"div",
|
|
12200
12194
|
{
|
|
12201
12195
|
css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
|
|
12202
12196
|
className: typeof classNameContainer === "string" ? classNameContainer : "",
|
|
12203
12197
|
children: [
|
|
12204
|
-
showLabel ? /* @__PURE__ */ jsx43(Fragment5, { children: /* @__PURE__ */
|
|
12198
|
+
showLabel ? /* @__PURE__ */ jsx43(Fragment5, { children: /* @__PURE__ */ jsxs25(
|
|
12205
12199
|
Label,
|
|
12206
12200
|
{
|
|
12207
12201
|
htmlFor: props.id,
|
|
@@ -12213,7 +12207,7 @@ var InputSelect = ({
|
|
|
12213
12207
|
]
|
|
12214
12208
|
}
|
|
12215
12209
|
) }) : null,
|
|
12216
|
-
/* @__PURE__ */
|
|
12210
|
+
/* @__PURE__ */ jsxs25(
|
|
12217
12211
|
"select",
|
|
12218
12212
|
{
|
|
12219
12213
|
title: label,
|
|
@@ -12242,7 +12236,7 @@ var InputSelect = ({
|
|
|
12242
12236
|
};
|
|
12243
12237
|
|
|
12244
12238
|
// src/components/Input/InputToggle.tsx
|
|
12245
|
-
import { jsx as jsx44, jsxs as
|
|
12239
|
+
import { jsx as jsx44, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
|
|
12246
12240
|
var InputToggle = ({
|
|
12247
12241
|
label,
|
|
12248
12242
|
type,
|
|
@@ -12256,10 +12250,10 @@ var InputToggle = ({
|
|
|
12256
12250
|
fontWeight = "medium",
|
|
12257
12251
|
...props
|
|
12258
12252
|
}) => {
|
|
12259
|
-
return /* @__PURE__ */
|
|
12253
|
+
return /* @__PURE__ */ jsxs26(Label, { css: [inputToggleLabel, disabled ? inputDisabled : void 0], "data-test-id": testId, children: [
|
|
12260
12254
|
/* @__PURE__ */ jsx44("input", { type, css: toggleInput, checked, name, disabled, ...props }),
|
|
12261
12255
|
/* @__PURE__ */ jsx44("span", { css: inlineLabel(fontWeight), dangerouslySetInnerHTML: { __html: label } }),
|
|
12262
|
-
caption || errorMessage ? /* @__PURE__ */
|
|
12256
|
+
caption || errorMessage ? /* @__PURE__ */ jsxs26("span", { css: inputToggleMessageContainer, children: [
|
|
12263
12257
|
caption ? /* @__PURE__ */ jsx44(Caption, { children: caption }) : null,
|
|
12264
12258
|
errorMessage ? /* @__PURE__ */ jsx44(ErrorMessage, { message: errorMessage }) : null,
|
|
12265
12259
|
warningMessage && !errorMessage ? /* @__PURE__ */ jsx44(WarningMessage, { message: warningMessage }) : null
|
|
@@ -12274,7 +12268,7 @@ var Legend = ({ children }) => {
|
|
|
12274
12268
|
};
|
|
12275
12269
|
|
|
12276
12270
|
// src/components/Input/Textarea.tsx
|
|
12277
|
-
import { Fragment as Fragment6, jsx as jsx46, jsxs as
|
|
12271
|
+
import { Fragment as Fragment6, jsx as jsx46, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
|
|
12278
12272
|
var Textarea = ({
|
|
12279
12273
|
label,
|
|
12280
12274
|
icon,
|
|
@@ -12285,9 +12279,9 @@ var Textarea = ({
|
|
|
12285
12279
|
warningMessage,
|
|
12286
12280
|
...props
|
|
12287
12281
|
}) => {
|
|
12288
|
-
return /* @__PURE__ */
|
|
12282
|
+
return /* @__PURE__ */ jsxs27(Fragment6, { children: [
|
|
12289
12283
|
showLabel ? /* @__PURE__ */ jsx46("label", { htmlFor: id, css: [labelText], children: label }) : null,
|
|
12290
|
-
/* @__PURE__ */
|
|
12284
|
+
/* @__PURE__ */ jsxs27("div", { css: [inputContainer], children: [
|
|
12291
12285
|
/* @__PURE__ */ jsx46(
|
|
12292
12286
|
"textarea",
|
|
12293
12287
|
{
|
|
@@ -12445,7 +12439,7 @@ var LimitsBarTextColor = (statusColor) => css38`
|
|
|
12445
12439
|
`;
|
|
12446
12440
|
|
|
12447
12441
|
// src/components/LimitsBar/LimitsBar.tsx
|
|
12448
|
-
import { jsx as jsx50, jsxs as
|
|
12442
|
+
import { jsx as jsx50, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
|
|
12449
12443
|
var LimitsBar = ({ current, max, label }) => {
|
|
12450
12444
|
const maxPercentage = 100;
|
|
12451
12445
|
const progressBarValue = Math.ceil(current / max * maxPercentage);
|
|
@@ -12456,10 +12450,10 @@ var LimitsBar = ({ current, max, label }) => {
|
|
|
12456
12450
|
danger: "var(--brand-secondary-5)"
|
|
12457
12451
|
};
|
|
12458
12452
|
const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
|
|
12459
|
-
return /* @__PURE__ */
|
|
12460
|
-
/* @__PURE__ */
|
|
12453
|
+
return /* @__PURE__ */ jsxs28("div", { css: LimitsBarContainer, children: [
|
|
12454
|
+
/* @__PURE__ */ jsxs28("div", { css: LimitsBarLabelContainer, children: [
|
|
12461
12455
|
/* @__PURE__ */ jsx50("span", { css: LimitsBarLabel, children: label }),
|
|
12462
|
-
/* @__PURE__ */
|
|
12456
|
+
/* @__PURE__ */ jsxs28("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
|
|
12463
12457
|
current,
|
|
12464
12458
|
" of ",
|
|
12465
12459
|
max
|
|
@@ -12500,9 +12494,9 @@ var LinkListContainer = css39`
|
|
|
12500
12494
|
`;
|
|
12501
12495
|
|
|
12502
12496
|
// src/components/LinkList/LinkList.tsx
|
|
12503
|
-
import { jsx as jsx51, jsxs as
|
|
12497
|
+
import { jsx as jsx51, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
|
|
12504
12498
|
var LinkList = ({ title, children, ...props }) => {
|
|
12505
|
-
return /* @__PURE__ */
|
|
12499
|
+
return /* @__PURE__ */ jsxs29("div", { css: LinkListContainer, ...props, children: [
|
|
12506
12500
|
/* @__PURE__ */ jsx51(Heading, { level: 3, children: title }),
|
|
12507
12501
|
children
|
|
12508
12502
|
] });
|
|
@@ -12534,9 +12528,9 @@ var ScrollableListInner = css40`
|
|
|
12534
12528
|
`;
|
|
12535
12529
|
|
|
12536
12530
|
// src/components/List/ScrollableList.tsx
|
|
12537
|
-
import { jsx as jsx52, jsxs as
|
|
12531
|
+
import { jsx as jsx52, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
|
|
12538
12532
|
var ScrollableList = ({ label, children, ...props }) => {
|
|
12539
|
-
return /* @__PURE__ */
|
|
12533
|
+
return /* @__PURE__ */ jsxs30("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
|
|
12540
12534
|
label ? /* @__PURE__ */ jsx52(
|
|
12541
12535
|
"span",
|
|
12542
12536
|
{
|
|
@@ -12611,7 +12605,7 @@ var ScrollableListIcon = css42`
|
|
|
12611
12605
|
`;
|
|
12612
12606
|
|
|
12613
12607
|
// src/components/List/ScrollableListInputItem.tsx
|
|
12614
|
-
import { jsx as jsx53, jsxs as
|
|
12608
|
+
import { jsx as jsx53, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
|
|
12615
12609
|
var ScrollableListInputItem = ({
|
|
12616
12610
|
label,
|
|
12617
12611
|
icon,
|
|
@@ -12619,8 +12613,8 @@ var ScrollableListInputItem = ({
|
|
|
12619
12613
|
children,
|
|
12620
12614
|
labelTestId
|
|
12621
12615
|
}) => {
|
|
12622
|
-
return /* @__PURE__ */ jsx53("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */
|
|
12623
|
-
/* @__PURE__ */
|
|
12616
|
+
return /* @__PURE__ */ jsx53("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs31("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
|
|
12617
|
+
/* @__PURE__ */ jsxs31("span", { css: ScrollableListInputText, children: [
|
|
12624
12618
|
icon,
|
|
12625
12619
|
label
|
|
12626
12620
|
] }),
|
|
@@ -12631,9 +12625,9 @@ var ScrollableListInputItem = ({
|
|
|
12631
12625
|
|
|
12632
12626
|
// src/components/List/ScrollableListItem.tsx
|
|
12633
12627
|
import { css as css43 } from "@emotion/react";
|
|
12634
|
-
import { jsx as jsx54, jsxs as
|
|
12628
|
+
import { jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
|
|
12635
12629
|
var ScrollableListItem = ({ buttonText, active, ...props }) => {
|
|
12636
|
-
return /* @__PURE__ */ jsx54("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */
|
|
12630
|
+
return /* @__PURE__ */ jsx54("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs32("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
|
|
12637
12631
|
/* @__PURE__ */ jsx54("span", { children: buttonText }),
|
|
12638
12632
|
/* @__PURE__ */ jsx54(
|
|
12639
12633
|
"svg",
|
|
@@ -12711,9 +12705,9 @@ var loadingDot = css44`
|
|
|
12711
12705
|
`;
|
|
12712
12706
|
|
|
12713
12707
|
// src/components/LoadingIndicator/LoadingIndicator.tsx
|
|
12714
|
-
import { jsx as jsx55, jsxs as
|
|
12715
|
-
var LoadingIndicator = () => {
|
|
12716
|
-
return /* @__PURE__ */
|
|
12708
|
+
import { jsx as jsx55, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
|
|
12709
|
+
var LoadingIndicator = ({ ...props }) => {
|
|
12710
|
+
return /* @__PURE__ */ jsxs33("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
|
|
12717
12711
|
/* @__PURE__ */ jsx55("span", { css: loadingDot }),
|
|
12718
12712
|
/* @__PURE__ */ jsx55("span", { css: loadingDot }),
|
|
12719
12713
|
/* @__PURE__ */ jsx55("span", { css: loadingDot })
|
|
@@ -12756,7 +12750,7 @@ var loadingOverlayMessage = css45`
|
|
|
12756
12750
|
`;
|
|
12757
12751
|
|
|
12758
12752
|
// src/components/LoadingOverlay/LoadingOverlay.tsx
|
|
12759
|
-
import { jsx as jsx56, jsxs as
|
|
12753
|
+
import { jsx as jsx56, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
|
|
12760
12754
|
var LoadingOverlay = ({
|
|
12761
12755
|
isActive,
|
|
12762
12756
|
statusMessage,
|
|
@@ -12782,7 +12776,7 @@ var LoadingOverlay = ({
|
|
|
12782
12776
|
(_f = lottieRef.current) == null ? void 0 : _f.stop();
|
|
12783
12777
|
}
|
|
12784
12778
|
}, [isPaused]);
|
|
12785
|
-
return /* @__PURE__ */
|
|
12779
|
+
return /* @__PURE__ */ jsxs34(
|
|
12786
12780
|
"div",
|
|
12787
12781
|
{
|
|
12788
12782
|
role: "alert",
|
|
@@ -12790,7 +12784,7 @@ var LoadingOverlay = ({
|
|
|
12790
12784
|
"aria-hidden": !isActive,
|
|
12791
12785
|
children: [
|
|
12792
12786
|
/* @__PURE__ */ jsx56("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
|
|
12793
|
-
/* @__PURE__ */ jsx56("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */
|
|
12787
|
+
/* @__PURE__ */ jsx56("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs34("div", { css: loadingOverlayBody, children: [
|
|
12794
12788
|
/* @__PURE__ */ jsx56(
|
|
12795
12789
|
AnimationFile,
|
|
12796
12790
|
{
|
|
@@ -12825,7 +12819,7 @@ var LoadingIcon = ({ height, width, ...props }) => {
|
|
|
12825
12819
|
stroke: "currentColor",
|
|
12826
12820
|
...props,
|
|
12827
12821
|
"data-test-id": "loading-icon",
|
|
12828
|
-
children: /* @__PURE__ */ jsx56("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */
|
|
12822
|
+
children: /* @__PURE__ */ jsx56("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs34("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
|
|
12829
12823
|
/* @__PURE__ */ jsx56("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
|
|
12830
12824
|
/* @__PURE__ */ jsx56("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx56(
|
|
12831
12825
|
"animateTransform",
|
|
@@ -12977,7 +12971,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css46`
|
|
|
12977
12971
|
`;
|
|
12978
12972
|
|
|
12979
12973
|
// src/components/Tiles/CreateTeamIntegrationTile.tsx
|
|
12980
|
-
import { jsx as jsx57, jsxs as
|
|
12974
|
+
import { jsx as jsx57, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
|
|
12981
12975
|
var CreateTeamIntegrationTile = ({
|
|
12982
12976
|
title = "Create a custom integration for your team",
|
|
12983
12977
|
buttonText = "Add Integration",
|
|
@@ -12985,9 +12979,9 @@ var CreateTeamIntegrationTile = ({
|
|
|
12985
12979
|
asDeepLink = false,
|
|
12986
12980
|
...props
|
|
12987
12981
|
}) => {
|
|
12988
|
-
return /* @__PURE__ */
|
|
12982
|
+
return /* @__PURE__ */ jsxs35("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
|
|
12989
12983
|
/* @__PURE__ */ jsx57("span", { css: IntegrationTileTitle, title, children: title }),
|
|
12990
|
-
/* @__PURE__ */
|
|
12984
|
+
/* @__PURE__ */ jsxs35(
|
|
12991
12985
|
Button,
|
|
12992
12986
|
{
|
|
12993
12987
|
buttonType: "tertiary",
|
|
@@ -13026,9 +13020,9 @@ var CreateTeamIntegrationTile = ({
|
|
|
13026
13020
|
|
|
13027
13021
|
// src/components/Tiles/IntegrationBadges.tsx
|
|
13028
13022
|
import { CgCheck as CgCheck2, CgLock, CgSandClock } from "react-icons/cg";
|
|
13029
|
-
import { jsx as jsx58, jsxs as
|
|
13023
|
+
import { jsx as jsx58, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
|
|
13030
13024
|
var IntegrationedAddedBadge = ({ text = "Added" }) => {
|
|
13031
|
-
return /* @__PURE__ */
|
|
13025
|
+
return /* @__PURE__ */ jsxs36("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
|
|
13032
13026
|
/* @__PURE__ */ jsx58(Icon, { icon: CgCheck2, iconColor: "currentColor" }),
|
|
13033
13027
|
text
|
|
13034
13028
|
] });
|
|
@@ -13037,13 +13031,13 @@ var IntegrationCustomBadge = ({ text = "Custom" }) => {
|
|
|
13037
13031
|
return /* @__PURE__ */ jsx58("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
|
|
13038
13032
|
};
|
|
13039
13033
|
var IntegrationPremiumBadge = ({ text = "Premium" }) => {
|
|
13040
|
-
return /* @__PURE__ */
|
|
13034
|
+
return /* @__PURE__ */ jsxs36("span", { css: IntegrationCustomBadgeText("blue"), children: [
|
|
13041
13035
|
/* @__PURE__ */ jsx58(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
|
|
13042
13036
|
text
|
|
13043
13037
|
] });
|
|
13044
13038
|
};
|
|
13045
13039
|
var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
|
|
13046
|
-
return /* @__PURE__ */
|
|
13040
|
+
return /* @__PURE__ */ jsxs36("span", { css: IntegrationCustomBadgeText("blue"), children: [
|
|
13047
13041
|
/* @__PURE__ */ jsx58(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
|
|
13048
13042
|
text
|
|
13049
13043
|
] });
|
|
@@ -13064,7 +13058,7 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
|
|
|
13064
13058
|
};
|
|
13065
13059
|
|
|
13066
13060
|
// src/components/Tiles/EditTeamIntegrationTile.tsx
|
|
13067
|
-
import { jsx as jsx60, jsxs as
|
|
13061
|
+
import { jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
|
|
13068
13062
|
var EditTeamIntegrationTile = ({
|
|
13069
13063
|
id,
|
|
13070
13064
|
icon,
|
|
@@ -13073,7 +13067,7 @@ var EditTeamIntegrationTile = ({
|
|
|
13073
13067
|
isPublic,
|
|
13074
13068
|
canEdit = false
|
|
13075
13069
|
}) => {
|
|
13076
|
-
return /* @__PURE__ */
|
|
13070
|
+
return /* @__PURE__ */ jsxs37(
|
|
13077
13071
|
"div",
|
|
13078
13072
|
{
|
|
13079
13073
|
css: IntegrationTileContainer,
|
|
@@ -13104,7 +13098,7 @@ var EditTeamIntegrationTile = ({
|
|
|
13104
13098
|
import { css as css48 } from "@emotion/react";
|
|
13105
13099
|
import { useEffect as useEffect7, useState as useState6 } from "react";
|
|
13106
13100
|
import { CgHeart } from "react-icons/cg";
|
|
13107
|
-
import { jsx as jsx61, jsxs as
|
|
13101
|
+
import { jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
|
|
13108
13102
|
var IntegrationComingSoon = ({
|
|
13109
13103
|
name,
|
|
13110
13104
|
icon,
|
|
@@ -13126,7 +13120,7 @@ var IntegrationComingSoon = ({
|
|
|
13126
13120
|
};
|
|
13127
13121
|
}
|
|
13128
13122
|
}, [upVote, setUpVote, timing]);
|
|
13129
|
-
return /* @__PURE__ */
|
|
13123
|
+
return /* @__PURE__ */ jsxs38(
|
|
13130
13124
|
"div",
|
|
13131
13125
|
{
|
|
13132
13126
|
css: IntegrationTileContainer,
|
|
@@ -13136,7 +13130,7 @@ var IntegrationComingSoon = ({
|
|
|
13136
13130
|
/* @__PURE__ */ jsx61(IntegrationComingSoonBadge, {}),
|
|
13137
13131
|
/* @__PURE__ */ jsx61(ResolveIcon, { icon, name }),
|
|
13138
13132
|
/* @__PURE__ */ jsx61("span", { css: IntegrationTileName, title: name, children: name }),
|
|
13139
|
-
/* @__PURE__ */
|
|
13133
|
+
/* @__PURE__ */ jsxs38(
|
|
13140
13134
|
Button,
|
|
13141
13135
|
{
|
|
13142
13136
|
buttonType: "unimportant",
|
|
@@ -13157,7 +13151,7 @@ var IntegrationComingSoon = ({
|
|
|
13157
13151
|
children: "(I want this)"
|
|
13158
13152
|
}
|
|
13159
13153
|
),
|
|
13160
|
-
/* @__PURE__ */
|
|
13154
|
+
/* @__PURE__ */ jsxs38("span", { "aria-hidden": !upVote, children: [
|
|
13161
13155
|
/* @__PURE__ */ jsx61(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
|
|
13162
13156
|
"Thanks!"
|
|
13163
13157
|
] })
|
|
@@ -13214,10 +13208,10 @@ var IntegrationLoadingFrame = css49`
|
|
|
13214
13208
|
`;
|
|
13215
13209
|
|
|
13216
13210
|
// src/components/Tiles/IntegrationLoadingTile.tsx
|
|
13217
|
-
import { Fragment as Fragment7, jsx as jsx62, jsxs as
|
|
13211
|
+
import { Fragment as Fragment7, jsx as jsx62, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
|
|
13218
13212
|
var IntegrationLoadingTile = ({ count = 1 }) => {
|
|
13219
13213
|
const componentCount = Array.from(Array(count).keys());
|
|
13220
|
-
return /* @__PURE__ */ jsx62(Fragment7, { children: componentCount.map((i) => /* @__PURE__ */
|
|
13214
|
+
return /* @__PURE__ */ jsx62(Fragment7, { children: componentCount.map((i) => /* @__PURE__ */ jsxs39("div", { css: IntegrationLoadingTileContainer, children: [
|
|
13221
13215
|
/* @__PURE__ */ jsx62("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
|
|
13222
13216
|
/* @__PURE__ */ jsx62("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
|
|
13223
13217
|
] }, i)) });
|
|
@@ -13239,11 +13233,11 @@ var IntegrationModalImage = css50`
|
|
|
13239
13233
|
`;
|
|
13240
13234
|
|
|
13241
13235
|
// src/components/Tiles/IntegrationModalIcon.tsx
|
|
13242
|
-
import { jsx as jsx63, jsxs as
|
|
13236
|
+
import { jsx as jsx63, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
|
|
13243
13237
|
var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
|
|
13244
13238
|
const CompIcon = icon && typeof icon !== "string" ? icon : null;
|
|
13245
|
-
return /* @__PURE__ */
|
|
13246
|
-
/* @__PURE__ */
|
|
13239
|
+
return /* @__PURE__ */ jsxs40("div", { css: IntegrationModalIconContainer, children: [
|
|
13240
|
+
/* @__PURE__ */ jsxs40("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
|
|
13247
13241
|
/* @__PURE__ */ jsx63(
|
|
13248
13242
|
"path",
|
|
13249
13243
|
{
|
|
@@ -13253,7 +13247,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
|
|
|
13253
13247
|
strokeWidth: "2"
|
|
13254
13248
|
}
|
|
13255
13249
|
),
|
|
13256
|
-
/* @__PURE__ */ jsx63("defs", { children: /* @__PURE__ */
|
|
13250
|
+
/* @__PURE__ */ jsx63("defs", { children: /* @__PURE__ */ jsxs40("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
|
|
13257
13251
|
/* @__PURE__ */ jsx63("stop", { stopColor: "#1768B2" }),
|
|
13258
13252
|
/* @__PURE__ */ jsx63("stop", { offset: "1", stopColor: "#B3EFE4" })
|
|
13259
13253
|
] }) })
|
|
@@ -13272,7 +13266,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
|
|
|
13272
13266
|
};
|
|
13273
13267
|
|
|
13274
13268
|
// src/components/Tiles/IntegrationTile.tsx
|
|
13275
|
-
import { jsx as jsx64, jsxs as
|
|
13269
|
+
import { jsx as jsx64, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
|
|
13276
13270
|
var IntegrationTile = ({
|
|
13277
13271
|
id,
|
|
13278
13272
|
icon,
|
|
@@ -13284,7 +13278,7 @@ var IntegrationTile = ({
|
|
|
13284
13278
|
authorIcon,
|
|
13285
13279
|
...btnProps
|
|
13286
13280
|
}) => {
|
|
13287
|
-
return /* @__PURE__ */
|
|
13281
|
+
return /* @__PURE__ */ jsxs41(
|
|
13288
13282
|
"button",
|
|
13289
13283
|
{
|
|
13290
13284
|
type: "button",
|
|
@@ -13355,9 +13349,9 @@ var IntegrationModalHeaderContentWrapper = css52`
|
|
|
13355
13349
|
`;
|
|
13356
13350
|
|
|
13357
13351
|
// src/components/Modal/IntegrationModalHeader.tsx
|
|
13358
|
-
import { Fragment as Fragment8, jsx as jsx66, jsxs as
|
|
13352
|
+
import { Fragment as Fragment8, jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
|
|
13359
13353
|
var HexModalBackground = ({ ...props }) => {
|
|
13360
|
-
return /* @__PURE__ */
|
|
13354
|
+
return /* @__PURE__ */ jsxs42(
|
|
13361
13355
|
"svg",
|
|
13362
13356
|
{
|
|
13363
13357
|
width: "236",
|
|
@@ -13376,7 +13370,7 @@ var HexModalBackground = ({ ...props }) => {
|
|
|
13376
13370
|
fill: "url(#paint0_linear_196_2737)"
|
|
13377
13371
|
}
|
|
13378
13372
|
),
|
|
13379
|
-
/* @__PURE__ */ jsx66("defs", { children: /* @__PURE__ */
|
|
13373
|
+
/* @__PURE__ */ jsx66("defs", { children: /* @__PURE__ */ jsxs42(
|
|
13380
13374
|
"linearGradient",
|
|
13381
13375
|
{
|
|
13382
13376
|
id: "paint0_linear_196_2737",
|
|
@@ -13396,12 +13390,12 @@ var HexModalBackground = ({ ...props }) => {
|
|
|
13396
13390
|
);
|
|
13397
13391
|
};
|
|
13398
13392
|
var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
|
|
13399
|
-
return /* @__PURE__ */
|
|
13393
|
+
return /* @__PURE__ */ jsxs42(Fragment8, { children: [
|
|
13400
13394
|
/* @__PURE__ */ jsx66(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
|
|
13401
|
-
/* @__PURE__ */ jsx66("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */
|
|
13395
|
+
/* @__PURE__ */ jsx66("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs42("div", { css: IntegrationModalHeaderTitleGroup, children: [
|
|
13402
13396
|
icon ? /* @__PURE__ */ jsx66(IntegrationModalIcon, { icon, name: name || "" }) : null,
|
|
13403
13397
|
/* @__PURE__ */ jsx66(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
|
|
13404
|
-
menu2 ? /* @__PURE__ */
|
|
13398
|
+
menu2 ? /* @__PURE__ */ jsxs42("div", { css: IntegrationModalHeaderMenuPlacement, children: [
|
|
13405
13399
|
menu2,
|
|
13406
13400
|
" "
|
|
13407
13401
|
] }) : null
|
|
@@ -13436,12 +13430,12 @@ var TooltipArrowStyles = css53`
|
|
|
13436
13430
|
`;
|
|
13437
13431
|
|
|
13438
13432
|
// src/components/Tooltip/Tooltip.tsx
|
|
13439
|
-
import { Fragment as Fragment9, jsx as jsx67, jsxs as
|
|
13433
|
+
import { Fragment as Fragment9, jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
|
|
13440
13434
|
function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
|
|
13441
13435
|
const tooltip = useTooltipState({ placement });
|
|
13442
|
-
return /* @__PURE__ */
|
|
13436
|
+
return /* @__PURE__ */ jsxs43(Fragment9, { children: [
|
|
13443
13437
|
/* @__PURE__ */ jsx67(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React15.cloneElement(children, referenceProps) }),
|
|
13444
|
-
!title ? null : /* @__PURE__ */
|
|
13438
|
+
!title ? null : /* @__PURE__ */ jsxs43(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
|
|
13445
13439
|
/* @__PURE__ */ jsx67(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
|
|
13446
13440
|
title
|
|
13447
13441
|
] })
|
|
@@ -13473,7 +13467,7 @@ var inputIconBtn = css54`
|
|
|
13473
13467
|
`;
|
|
13474
13468
|
|
|
13475
13469
|
// src/components/ParameterInputs/ConnectToDataElementButton.tsx
|
|
13476
|
-
import { jsx as jsx68, jsxs as
|
|
13470
|
+
import { jsx as jsx68, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
|
|
13477
13471
|
var ConnectToDataElementButton = ({
|
|
13478
13472
|
icon,
|
|
13479
13473
|
iconColor,
|
|
@@ -13483,7 +13477,7 @@ var ConnectToDataElementButton = ({
|
|
|
13483
13477
|
...props
|
|
13484
13478
|
}) => {
|
|
13485
13479
|
const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
|
|
13486
|
-
return /* @__PURE__ */ jsx68(Tooltip, { title, children: /* @__PURE__ */
|
|
13480
|
+
return /* @__PURE__ */ jsx68(Tooltip, { title, children: /* @__PURE__ */ jsxs44(
|
|
13487
13481
|
"button",
|
|
13488
13482
|
{
|
|
13489
13483
|
css: inputIconBtn,
|
|
@@ -13781,7 +13775,7 @@ var linkParameterIcon = css55`
|
|
|
13781
13775
|
`;
|
|
13782
13776
|
|
|
13783
13777
|
// src/components/ParameterInputs/ParameterDataResource.tsx
|
|
13784
|
-
import { jsx as jsx69, jsxs as
|
|
13778
|
+
import { jsx as jsx69, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
|
|
13785
13779
|
function ParameterDataResource({
|
|
13786
13780
|
label,
|
|
13787
13781
|
labelLeadingIcon,
|
|
@@ -13791,12 +13785,12 @@ function ParameterDataResource({
|
|
|
13791
13785
|
disabled,
|
|
13792
13786
|
children
|
|
13793
13787
|
}) {
|
|
13794
|
-
return /* @__PURE__ */
|
|
13795
|
-
/* @__PURE__ */
|
|
13788
|
+
return /* @__PURE__ */ jsxs45("div", { "data-testid": "parameter-data-connect-button", children: [
|
|
13789
|
+
/* @__PURE__ */ jsxs45("span", { css: labelText2, children: [
|
|
13796
13790
|
labelLeadingIcon ? labelLeadingIcon : null,
|
|
13797
13791
|
label
|
|
13798
13792
|
] }),
|
|
13799
|
-
/* @__PURE__ */
|
|
13793
|
+
/* @__PURE__ */ jsxs45(
|
|
13800
13794
|
"button",
|
|
13801
13795
|
{
|
|
13802
13796
|
type: "button",
|
|
@@ -13836,10 +13830,10 @@ var ParameterDrawerHeaderTitle = css56`
|
|
|
13836
13830
|
`;
|
|
13837
13831
|
|
|
13838
13832
|
// src/components/ParameterInputs/ParameterDrawerHeader.tsx
|
|
13839
|
-
import { jsx as jsx70, jsxs as
|
|
13833
|
+
import { jsx as jsx70, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
|
|
13840
13834
|
var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
|
|
13841
|
-
return /* @__PURE__ */
|
|
13842
|
-
/* @__PURE__ */
|
|
13835
|
+
return /* @__PURE__ */ jsxs46("div", { css: ParameterDrawerHeaderContainer, children: [
|
|
13836
|
+
/* @__PURE__ */ jsxs46("header", { css: ParameterDrawerHeaderTitleGroup, children: [
|
|
13843
13837
|
iconBeforeTitle,
|
|
13844
13838
|
/* @__PURE__ */ jsx70(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
|
|
13845
13839
|
] }),
|
|
@@ -13871,10 +13865,10 @@ var fieldsetLegend2 = css57`
|
|
|
13871
13865
|
`;
|
|
13872
13866
|
|
|
13873
13867
|
// src/components/ParameterInputs/ParameterGroup.tsx
|
|
13874
|
-
import { jsx as jsx71, jsxs as
|
|
13868
|
+
import { jsx as jsx71, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
|
|
13875
13869
|
var ParameterGroup = forwardRef7(
|
|
13876
13870
|
({ legend, isDisabled, children, ...props }, ref) => {
|
|
13877
|
-
return /* @__PURE__ */
|
|
13871
|
+
return /* @__PURE__ */ jsxs47("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
|
|
13878
13872
|
/* @__PURE__ */ jsx71("legend", { css: fieldsetLegend2, children: legend }),
|
|
13879
13873
|
children
|
|
13880
13874
|
] });
|
|
@@ -13947,7 +13941,7 @@ var overrideMarker = css58`
|
|
|
13947
13941
|
`;
|
|
13948
13942
|
|
|
13949
13943
|
// src/components/ParameterInputs/ParameterShell.tsx
|
|
13950
|
-
import { jsx as jsx74, jsxs as
|
|
13944
|
+
import { jsx as jsx74, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
|
|
13951
13945
|
var extractParameterProps = (props) => {
|
|
13952
13946
|
const {
|
|
13953
13947
|
id,
|
|
@@ -14003,16 +13997,16 @@ var ParameterShell = ({
|
|
|
14003
13997
|
const [manualErrorMessage, setManualErrorMessage] = useState7(void 0);
|
|
14004
13998
|
const setErrorMessage = (message) => setManualErrorMessage(message);
|
|
14005
13999
|
const errorMessaging = errorMessage || manualErrorMessage;
|
|
14006
|
-
return /* @__PURE__ */
|
|
14007
|
-
hiddenLabel || title ? null : /* @__PURE__ */
|
|
14000
|
+
return /* @__PURE__ */ jsxs48("div", { css: inputContainer2, ...props, children: [
|
|
14001
|
+
hiddenLabel || title ? null : /* @__PURE__ */ jsxs48(ParameterLabel, { id, css: labelText2, children: [
|
|
14008
14002
|
labelLeadingIcon ? labelLeadingIcon : null,
|
|
14009
14003
|
label
|
|
14010
14004
|
] }),
|
|
14011
|
-
!title ? null : /* @__PURE__ */
|
|
14005
|
+
!title ? null : /* @__PURE__ */ jsxs48(ParameterLabel, { id, asSpan: true, children: [
|
|
14012
14006
|
labelLeadingIcon ? labelLeadingIcon : null,
|
|
14013
14007
|
title
|
|
14014
14008
|
] }),
|
|
14015
|
-
/* @__PURE__ */
|
|
14009
|
+
/* @__PURE__ */ jsxs48("div", { css: inputWrapper, children: [
|
|
14016
14010
|
menuItems ? /* @__PURE__ */ jsx74(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
|
|
14017
14011
|
/* @__PURE__ */ jsx74(
|
|
14018
14012
|
ParameterShellContext.Provider,
|
|
@@ -14024,7 +14018,7 @@ var ParameterShell = ({
|
|
|
14024
14018
|
errorMessage: errorMessaging,
|
|
14025
14019
|
onManuallySetErrorMessage: (message) => setErrorMessage(message)
|
|
14026
14020
|
},
|
|
14027
|
-
children: /* @__PURE__ */
|
|
14021
|
+
children: /* @__PURE__ */ jsxs48(ParameterShellPlaceholder, { children: [
|
|
14028
14022
|
children,
|
|
14029
14023
|
hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx74(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
|
|
14030
14024
|
] })
|
|
@@ -14041,13 +14035,13 @@ var ParameterShellPlaceholder = ({ children }) => {
|
|
|
14041
14035
|
var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx74(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx74("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx74("span", { hidden: true, children: "reset overridden value to default" }) }) });
|
|
14042
14036
|
|
|
14043
14037
|
// src/components/ParameterInputs/ParameterImage.tsx
|
|
14044
|
-
import { Fragment as Fragment10, jsx as jsx75, jsxs as
|
|
14038
|
+
import { Fragment as Fragment10, jsx as jsx75, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
|
|
14045
14039
|
var ParameterImage = forwardRef9((props, ref) => {
|
|
14046
14040
|
const { shellProps, innerProps } = extractParameterProps(props);
|
|
14047
14041
|
return /* @__PURE__ */ jsx75(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx75(ParameterImageInner, { ref, ...innerProps }) });
|
|
14048
14042
|
});
|
|
14049
14043
|
var BrokenImage = ({ ...props }) => {
|
|
14050
|
-
return /* @__PURE__ */
|
|
14044
|
+
return /* @__PURE__ */ jsxs49(
|
|
14051
14045
|
"svg",
|
|
14052
14046
|
{
|
|
14053
14047
|
width: "214",
|
|
@@ -14060,7 +14054,7 @@ var BrokenImage = ({ ...props }) => {
|
|
|
14060
14054
|
children: [
|
|
14061
14055
|
/* @__PURE__ */ jsx75("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
|
|
14062
14056
|
/* @__PURE__ */ jsx75("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
|
|
14063
|
-
/* @__PURE__ */
|
|
14057
|
+
/* @__PURE__ */ jsxs49("defs", { children: [
|
|
14064
14058
|
/* @__PURE__ */ jsx75("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx75("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
|
|
14065
14059
|
/* @__PURE__ */ jsx75(
|
|
14066
14060
|
"image",
|
|
@@ -14114,7 +14108,7 @@ var ParameterImageInner = forwardRef9(
|
|
|
14114
14108
|
useEffect8(() => {
|
|
14115
14109
|
updateImageSrc();
|
|
14116
14110
|
}, [value]);
|
|
14117
|
-
return /* @__PURE__ */
|
|
14111
|
+
return /* @__PURE__ */ jsxs49(Fragment10, { children: [
|
|
14118
14112
|
/* @__PURE__ */ jsx75(
|
|
14119
14113
|
"input",
|
|
14120
14114
|
{
|
|
@@ -14127,7 +14121,7 @@ var ParameterImageInner = forwardRef9(
|
|
|
14127
14121
|
...props
|
|
14128
14122
|
}
|
|
14129
14123
|
),
|
|
14130
|
-
/* @__PURE__ */
|
|
14124
|
+
/* @__PURE__ */ jsxs49("div", { css: imageWrapper, children: [
|
|
14131
14125
|
deferredValue && !errorMessage ? /* @__PURE__ */ jsx75(
|
|
14132
14126
|
"img",
|
|
14133
14127
|
{
|
|
@@ -14172,7 +14166,7 @@ var ParameterInputInner = forwardRef10(
|
|
|
14172
14166
|
|
|
14173
14167
|
// src/components/ParameterInputs/ParameterLink.tsx
|
|
14174
14168
|
import { forwardRef as forwardRef11 } from "react";
|
|
14175
|
-
import { jsx as jsx77, jsxs as
|
|
14169
|
+
import { jsx as jsx77, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
|
|
14176
14170
|
var ParameterLink = forwardRef11(
|
|
14177
14171
|
({ buttonText = "Select project map node", disabled, onConnectLink, externalLink, ...props }, ref) => {
|
|
14178
14172
|
const { shellProps, innerProps } = extractParameterProps(props);
|
|
@@ -14199,7 +14193,7 @@ var ParameterLink = forwardRef11(
|
|
|
14199
14193
|
var ParameterLinkInner = forwardRef11(
|
|
14200
14194
|
({ externalLink, onConnectLink, disabled, ...props }, ref) => {
|
|
14201
14195
|
const { id, label, hiddenLabel } = useParameterShell();
|
|
14202
|
-
return /* @__PURE__ */
|
|
14196
|
+
return /* @__PURE__ */ jsxs50("div", { css: inputWrapper, children: [
|
|
14203
14197
|
/* @__PURE__ */ jsx77(
|
|
14204
14198
|
"input",
|
|
14205
14199
|
{
|
|
@@ -14239,7 +14233,7 @@ var ParameterLinkInner = forwardRef11(
|
|
|
14239
14233
|
);
|
|
14240
14234
|
|
|
14241
14235
|
// src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
|
|
14242
|
-
import { Fragment as Fragment11, jsx as jsx78, jsxs as
|
|
14236
|
+
import { Fragment as Fragment11, jsx as jsx78, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
|
|
14243
14237
|
var ParameterNameAndPublicIdInput = ({
|
|
14244
14238
|
id,
|
|
14245
14239
|
onBlur,
|
|
@@ -14265,7 +14259,7 @@ var ParameterNameAndPublicIdInput = ({
|
|
|
14265
14259
|
navigator.clipboard.writeText(values[publicIdFieldName]);
|
|
14266
14260
|
};
|
|
14267
14261
|
autoFocus == null ? void 0 : autoFocus();
|
|
14268
|
-
return /* @__PURE__ */
|
|
14262
|
+
return /* @__PURE__ */ jsxs51(Fragment11, { children: [
|
|
14269
14263
|
/* @__PURE__ */ jsx78(
|
|
14270
14264
|
ParameterInput,
|
|
14271
14265
|
{
|
|
@@ -14317,7 +14311,7 @@ var ParameterNameAndPublicIdInput = ({
|
|
|
14317
14311
|
|
|
14318
14312
|
// src/components/ParameterInputs/ParameterRichText.tsx
|
|
14319
14313
|
import { forwardRef as forwardRef12 } from "react";
|
|
14320
|
-
import { Fragment as Fragment12, jsx as jsx79, jsxs as
|
|
14314
|
+
import { Fragment as Fragment12, jsx as jsx79, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
|
|
14321
14315
|
var ParameterRichText = forwardRef12(
|
|
14322
14316
|
({
|
|
14323
14317
|
label,
|
|
@@ -14331,7 +14325,7 @@ var ParameterRichText = forwardRef12(
|
|
|
14331
14325
|
menuItems,
|
|
14332
14326
|
...props
|
|
14333
14327
|
}, ref) => {
|
|
14334
|
-
return /* @__PURE__ */
|
|
14328
|
+
return /* @__PURE__ */ jsxs52(
|
|
14335
14329
|
ParameterShell,
|
|
14336
14330
|
{
|
|
14337
14331
|
"data-test-id": "parameter-input",
|
|
@@ -14367,7 +14361,7 @@ var ParameterRichTextInner = forwardRef12(({ ...props }, ref) => {
|
|
|
14367
14361
|
|
|
14368
14362
|
// src/components/ParameterInputs/ParameterSelect.tsx
|
|
14369
14363
|
import { forwardRef as forwardRef13 } from "react";
|
|
14370
|
-
import { jsx as jsx80, jsxs as
|
|
14364
|
+
import { jsx as jsx80, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
|
|
14371
14365
|
var ParameterSelect = forwardRef13(
|
|
14372
14366
|
({ defaultOption, options, ...props }, ref) => {
|
|
14373
14367
|
const { shellProps, innerProps } = extractParameterProps(props);
|
|
@@ -14377,7 +14371,7 @@ var ParameterSelect = forwardRef13(
|
|
|
14377
14371
|
var ParameterSelectInner = forwardRef13(
|
|
14378
14372
|
({ defaultOption, options, ...props }, ref) => {
|
|
14379
14373
|
const { id, label, hiddenLabel } = useParameterShell();
|
|
14380
|
-
return /* @__PURE__ */
|
|
14374
|
+
return /* @__PURE__ */ jsxs53(
|
|
14381
14375
|
"select",
|
|
14382
14376
|
{
|
|
14383
14377
|
css: [input2, selectInput],
|
|
@@ -14420,7 +14414,7 @@ var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
|
|
|
14420
14414
|
|
|
14421
14415
|
// src/components/ParameterInputs/ParameterToggle.tsx
|
|
14422
14416
|
import { forwardRef as forwardRef15 } from "react";
|
|
14423
|
-
import { jsx as jsx82, jsxs as
|
|
14417
|
+
import { jsx as jsx82, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
|
|
14424
14418
|
var ParameterToggle = forwardRef15((props, ref) => {
|
|
14425
14419
|
const { shellProps, innerProps } = extractParameterProps(props);
|
|
14426
14420
|
return /* @__PURE__ */ jsx82(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx82(ParameterToggleInner, { ref, ...innerProps }) });
|
|
@@ -14428,7 +14422,7 @@ var ParameterToggle = forwardRef15((props, ref) => {
|
|
|
14428
14422
|
var ParameterToggleInner = forwardRef15(
|
|
14429
14423
|
({ ...props }, ref) => {
|
|
14430
14424
|
const { id, label } = useParameterShell();
|
|
14431
|
-
return /* @__PURE__ */
|
|
14425
|
+
return /* @__PURE__ */ jsxs54("label", { css: inputToggleLabel2, children: [
|
|
14432
14426
|
/* @__PURE__ */ jsx82("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
|
|
14433
14427
|
/* @__PURE__ */ jsx82("span", { css: inlineLabel2, children: label })
|
|
14434
14428
|
] });
|
|
@@ -14463,7 +14457,7 @@ var Popover = css59`
|
|
|
14463
14457
|
`;
|
|
14464
14458
|
|
|
14465
14459
|
// src/components/Popover/Popover.tsx
|
|
14466
|
-
import { Fragment as Fragment13, jsx as jsx83, jsxs as
|
|
14460
|
+
import { Fragment as Fragment13, jsx as jsx83, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
|
|
14467
14461
|
var Popover2 = ({
|
|
14468
14462
|
iconColor = "green",
|
|
14469
14463
|
buttonText,
|
|
@@ -14472,8 +14466,8 @@ var Popover2 = ({
|
|
|
14472
14466
|
children
|
|
14473
14467
|
}) => {
|
|
14474
14468
|
const popover = usePopoverState({ placement });
|
|
14475
|
-
return /* @__PURE__ */
|
|
14476
|
-
/* @__PURE__ */
|
|
14469
|
+
return /* @__PURE__ */ jsxs55(Fragment13, { children: [
|
|
14470
|
+
/* @__PURE__ */ jsxs55(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
|
|
14477
14471
|
/* @__PURE__ */ jsx83(Icon, { icon: "info", iconColor, size: "1rem" }),
|
|
14478
14472
|
/* @__PURE__ */ jsx83("span", { hidden: true, children: buttonText })
|
|
14479
14473
|
] }),
|
|
@@ -14501,7 +14495,7 @@ var progressListItemStyles = css60`
|
|
|
14501
14495
|
`;
|
|
14502
14496
|
|
|
14503
14497
|
// src/components/ProgressList/ProgressList.tsx
|
|
14504
|
-
import { jsx as jsx84, jsxs as
|
|
14498
|
+
import { jsx as jsx84, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
|
|
14505
14499
|
var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
|
|
14506
14500
|
const itemsWithStatus = useMemo2(() => {
|
|
14507
14501
|
const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
|
|
@@ -14574,9 +14568,9 @@ var ProgressListItem = ({
|
|
|
14574
14568
|
};
|
|
14575
14569
|
return colorPerStatus[status];
|
|
14576
14570
|
}, [status, error, errorLevel]);
|
|
14577
|
-
return /* @__PURE__ */
|
|
14571
|
+
return /* @__PURE__ */ jsxs56("li", { css: [progressListItemStyles, statusStyles], children: [
|
|
14578
14572
|
/* @__PURE__ */ jsx84(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx84("div", { children: /* @__PURE__ */ jsx84(Icon2, { size: 20 }) }) }),
|
|
14579
|
-
/* @__PURE__ */
|
|
14573
|
+
/* @__PURE__ */ jsxs56("div", { children: [
|
|
14580
14574
|
children,
|
|
14581
14575
|
/* @__PURE__ */ jsx84("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
|
|
14582
14576
|
] })
|
|
@@ -14711,15 +14705,15 @@ var SwitchText = css63`
|
|
|
14711
14705
|
`;
|
|
14712
14706
|
|
|
14713
14707
|
// src/components/Switch/Switch.tsx
|
|
14714
|
-
import { Fragment as Fragment14, jsx as jsx86, jsxs as
|
|
14708
|
+
import { Fragment as Fragment14, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
|
|
14715
14709
|
var Switch = React17.forwardRef(
|
|
14716
14710
|
({ label, infoText, toggleText, children, ...inputProps }, ref) => {
|
|
14717
14711
|
let additionalText = infoText;
|
|
14718
14712
|
if (infoText && toggleText) {
|
|
14719
14713
|
additionalText = inputProps.checked ? toggleText : infoText;
|
|
14720
14714
|
}
|
|
14721
|
-
return /* @__PURE__ */
|
|
14722
|
-
/* @__PURE__ */
|
|
14715
|
+
return /* @__PURE__ */ jsxs57(Fragment14, { children: [
|
|
14716
|
+
/* @__PURE__ */ jsxs57("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
|
|
14723
14717
|
/* @__PURE__ */ jsx86("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
|
|
14724
14718
|
/* @__PURE__ */ jsx86("span", { css: SwitchInputLabel, children: label })
|
|
14725
14719
|
] }),
|
|
@@ -15081,6 +15075,7 @@ export {
|
|
|
15081
15075
|
buttonGhost,
|
|
15082
15076
|
buttonGhostDestructive,
|
|
15083
15077
|
buttonPrimary,
|
|
15078
|
+
buttonPrimaryInvert,
|
|
15084
15079
|
buttonRippleEffect,
|
|
15085
15080
|
buttonSecondary,
|
|
15086
15081
|
buttonSecondaryInvert,
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ declare const buttonRippleEffect: (props: {
|
|
|
67
67
|
declare const buttonPrimary: _emotion_react.SerializedStyles;
|
|
68
68
|
declare const buttonSecondary: _emotion_react.SerializedStyles;
|
|
69
69
|
declare const buttonSecondaryInvert: _emotion_react.SerializedStyles;
|
|
70
|
+
declare const buttonPrimaryInvert: _emotion_react.SerializedStyles;
|
|
70
71
|
declare const buttonUnimportant: _emotion_react.SerializedStyles;
|
|
71
72
|
declare const buttonGhost: _emotion_react.SerializedStyles;
|
|
72
73
|
declare const buttonGhostDestructive: _emotion_react.SerializedStyles;
|
|
@@ -20184,7 +20185,7 @@ declare const UniformBadge: ({ theme, ...props }: React__default.SVGAttributes<S
|
|
|
20184
20185
|
declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20185
20186
|
|
|
20186
20187
|
/** Button themes that are available to use with our brand */
|
|
20187
|
-
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'tertiary' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'secondaryInvert';
|
|
20188
|
+
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'tertiary' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert';
|
|
20188
20189
|
/** Button sizes that are available to use with our brand */
|
|
20189
20190
|
type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20190
20191
|
type ButtonProps = ButtonProps$1 & {
|
|
@@ -20925,7 +20926,7 @@ declare const ScrollableListItem: ({ buttonText, active, ...props }: ScrollableL
|
|
|
20925
20926
|
* Loading Indicator
|
|
20926
20927
|
* @example <LoadingIndicator />
|
|
20927
20928
|
*/
|
|
20928
|
-
declare const LoadingIndicator: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20929
|
+
declare const LoadingIndicator: ({ ...props }: HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20929
20930
|
|
|
20930
20931
|
interface LoadingOverlayProps {
|
|
20931
20932
|
/** sets whether to display the loading overlay components */
|
|
@@ -21786,4 +21787,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
21786
21787
|
};
|
|
21787
21788
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21788
21789
|
|
|
21789
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, ScrollableItemProps, ScrollableList, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, Tooltip, TooltipProps, UniformBadge, UniformLogo, UniformLogoProps, UseShortcutOptions, VerticalRhythm, VerticalRhythmProps, WarningMessage, WarningMessageProps, breakpoints, button, buttonGhost, buttonGhostDestructive, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, growSubtle, input, inputError, inputSelect, isMacLike, labelText, loader as loaderAnimationData, macifyShortcut, mq, ripple, scrollbarStyles, skeletonLoading, spinner as spinnerAnimationData, supports, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawerRenderer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut };
|
|
21790
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, ScrollableItemProps, ScrollableList, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, Tooltip, TooltipProps, UniformBadge, UniformLogo, UniformLogoProps, UseShortcutOptions, VerticalRhythm, VerticalRhythmProps, WarningMessage, WarningMessageProps, breakpoints, button, buttonGhost, buttonGhostDestructive, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, growSubtle, input, inputError, inputSelect, isMacLike, labelText, loader as loaderAnimationData, macifyShortcut, mq, ripple, scrollbarStyles, skeletonLoading, spinner as spinnerAnimationData, supports, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawerRenderer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut };
|
package/dist/index.js
CHANGED
|
@@ -146,6 +146,7 @@ __export(src_exports, {
|
|
|
146
146
|
buttonGhost: () => buttonGhost,
|
|
147
147
|
buttonGhostDestructive: () => buttonGhostDestructive,
|
|
148
148
|
buttonPrimary: () => buttonPrimary,
|
|
149
|
+
buttonPrimaryInvert: () => buttonPrimaryInvert,
|
|
149
150
|
buttonRippleEffect: () => buttonRippleEffect,
|
|
150
151
|
buttonSecondary: () => buttonSecondary,
|
|
151
152
|
buttonSecondaryInvert: () => buttonSecondaryInvert,
|
|
@@ -493,6 +494,20 @@ var buttonSecondaryInvert = import_react3.css`
|
|
|
493
494
|
|
|
494
495
|
${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
|
|
495
496
|
`;
|
|
497
|
+
var buttonPrimaryInvert = import_react3.css`
|
|
498
|
+
background: var(--white);
|
|
499
|
+
color: var(--brand-secondary-1);
|
|
500
|
+
box-shadow: 0 0 0 1px var(--brand-secondary-1);
|
|
501
|
+
transition: box-shadow var(--duration-fast) var(--timing-ease-out);
|
|
502
|
+
gap: var(--spacing-sm);
|
|
503
|
+
|
|
504
|
+
&:disabled {
|
|
505
|
+
color: var(--gray-300);
|
|
506
|
+
box-shadow: 0 0 0 1px var(--gray-300);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
|
|
510
|
+
`;
|
|
496
511
|
var buttonUnimportant = import_react3.css`
|
|
497
512
|
background: var(--brand-secondary-2);
|
|
498
513
|
color: var(--brand-secondary-1);
|
|
@@ -611,15 +626,11 @@ var inputSelect = import_react4.css`
|
|
|
611
626
|
background-size: 1rem;
|
|
612
627
|
padding-right: var(--spacing-xl);
|
|
613
628
|
`;
|
|
614
|
-
var
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
var inputSearchCloseIcon = import_react4.css`
|
|
620
|
-
color: var(--brand-primary-2);
|
|
621
|
-
height: 1.5rem;
|
|
622
|
-
width: 1.5rem;
|
|
629
|
+
var inputSearchCloseBtn = import_react4.css`
|
|
630
|
+
background: none;
|
|
631
|
+
border: none;
|
|
632
|
+
padding: 0;
|
|
633
|
+
pointer-events: all;
|
|
623
634
|
`;
|
|
624
635
|
var inputToggleLabel = import_react4.css`
|
|
625
636
|
align-items: flex-start;
|
|
@@ -10582,6 +10593,7 @@ var Button = React5.forwardRef(
|
|
|
10582
10593
|
({ buttonType = "primary", size = "md", children, ...props }, ref) => {
|
|
10583
10594
|
const buttonTheme = {
|
|
10584
10595
|
primary: buttonPrimary,
|
|
10596
|
+
primaryInvert: buttonPrimaryInvert,
|
|
10585
10597
|
secondary: buttonSecondary,
|
|
10586
10598
|
secondaryInvert: buttonSecondaryInvert,
|
|
10587
10599
|
ghost: buttonGhost,
|
|
@@ -12334,24 +12346,7 @@ var InputKeywordSearch = ({
|
|
|
12334
12346
|
placeholder,
|
|
12335
12347
|
showLabel: false,
|
|
12336
12348
|
value,
|
|
12337
|
-
icon: value ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("button", {
|
|
12338
|
-
"svg",
|
|
12339
|
-
{
|
|
12340
|
-
width: "26",
|
|
12341
|
-
height: "24",
|
|
12342
|
-
viewBox: "0 0 26 24",
|
|
12343
|
-
fill: "currentColor",
|
|
12344
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12345
|
-
css: inputSearchIcon,
|
|
12346
|
-
children: [
|
|
12347
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("g", { clipPath: "url(#clip0)", children: [
|
|
12348
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M11.539 0C5.48429 0 0.558105 4.74145 0.558105 10.5691C0.558105 16.3971 5.48429 21.1382 11.539 21.1382C17.594 21.1382 22.5199 16.3971 22.5199 10.5691C22.5199 4.74145 17.594 0 11.539 0ZM11.539 19.187C6.60198 19.187 2.58535 15.321 2.58535 10.5691C2.58535 5.81728 6.60198 1.95122 11.539 1.95122C16.476 1.95122 20.4926 5.81723 20.4926 10.5691C20.4926 15.321 16.476 19.187 11.539 19.187Z" }),
|
|
12349
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M25.196 22.3344L19.3846 16.7409C18.9886 16.3598 18.3473 16.3598 17.9513 16.7409C17.5553 17.1217 17.5553 17.7397 17.9513 18.1205L23.7627 23.714C23.9607 23.9045 24.2199 23.9998 24.4794 23.9998C24.7385 23.9998 24.998 23.9045 25.196 23.714C25.592 23.3332 25.592 22.7153 25.196 22.3344Z" })
|
|
12350
|
-
] }),
|
|
12351
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("clipPath", { id: "clip0", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { width: "24.9351", height: "24", fill: "white", transform: "translate(0.558105)" }) }) })
|
|
12352
|
-
]
|
|
12353
|
-
}
|
|
12354
|
-
),
|
|
12349
|
+
icon: value ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("button", { css: inputSearchCloseBtn, onClick: onClear, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
|
|
12355
12350
|
onChange: handleSearchTextChanged,
|
|
12356
12351
|
onKeyPress: preventSubmitOnField,
|
|
12357
12352
|
disabled,
|
|
@@ -12895,8 +12890,8 @@ var loadingDot = import_react58.css`
|
|
|
12895
12890
|
|
|
12896
12891
|
// src/components/LoadingIndicator/LoadingIndicator.tsx
|
|
12897
12892
|
var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
|
|
12898
|
-
var LoadingIndicator = () => {
|
|
12899
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", {
|
|
12893
|
+
var LoadingIndicator = ({ ...props }) => {
|
|
12894
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
|
|
12900
12895
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { css: loadingDot }),
|
|
12901
12896
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { css: loadingDot }),
|
|
12902
12897
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { css: loadingDot })
|
|
@@ -15251,6 +15246,7 @@ var StatusBullet = ({
|
|
|
15251
15246
|
buttonGhost,
|
|
15252
15247
|
buttonGhostDestructive,
|
|
15253
15248
|
buttonPrimary,
|
|
15249
|
+
buttonPrimaryInvert,
|
|
15254
15250
|
buttonRippleEffect,
|
|
15255
15251
|
buttonSecondary,
|
|
15256
15252
|
buttonSecondaryInvert,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "18.27.
|
|
3
|
+
"version": "18.27.1-alpha.23+ed7d9bfa0",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "ed7d9bfa014db103691c2d2030b1549770a48d6b"
|
|
58
58
|
}
|