@apify/ui-library 1.161.4 → 1.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/code/one_line_code/one_line_code.d.ts +3 -1
- package/dist/components/code/one_line_code/one_line_code.d.ts.map +1 -1
- package/dist/components/code/one_line_code/one_line_code.js +9 -4
- package/dist/files_hash_at_build.txt +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/code/one_line_code/one_line_code.d.ts +3 -1
- package/dist/src/components/code/one_line_code/one_line_code.d.ts.map +1 -1
- package/dist/src/components/code/one_line_code/one_line_code.js +4 -2
- package/dist/src/components/code/one_line_code/one_line_code.js.map +1 -1
- package/dist/src/utils/copy_to_clipboard.d.ts +1 -1
- package/dist/src/utils/copy_to_clipboard.d.ts.map +1 -1
- package/dist/test_ids.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/copy_to_clipboard.d.ts +1 -1
- package/dist/utils/copy_to_clipboard.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/code/one_line_code/one_line_code.tsx +18 -8
- package/src/utils/copy_to_clipboard.ts +1 -1
|
@@ -23,9 +23,11 @@ export type OneLineCodeProps = Omit<BoxProps, 'children'> & {
|
|
|
23
23
|
fullWidth?: boolean;
|
|
24
24
|
secretPlaceholder?: string;
|
|
25
25
|
secret?: string;
|
|
26
|
+
hideSecretButton?: boolean;
|
|
27
|
+
isCopyLoading?: boolean;
|
|
26
28
|
disabled?: boolean;
|
|
27
29
|
hideCopyButton?: boolean;
|
|
28
30
|
trackingBundle?: OneLineCodeTrackingBundle;
|
|
29
31
|
};
|
|
30
|
-
export declare function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder, secret, disabled, hideCopyButton, trackingBundle, ...rest }: OneLineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder, secret, hideSecretButton, isCopyLoading, disabled, hideCopyButton, trackingBundle, ...rest }: OneLineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
//# sourceMappingURL=one_line_code.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one_line_code.d.ts","sourceRoot":"","sources":["../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"one_line_code.d.ts","sourceRoot":"","sources":["../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAQ7D,eAAO,MAAM,qBAAqB;;;;;;CAMjC,CAAC;AAgHF,MAAM,MAAM,wBAAwB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,GAAG,QAAQ,EAAE,wBAAwB,CAAC,CAAC,CAAC;AAEhH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,yBAAyB,CAAC;CAC9C,CAAC;AAEF,wBAAgB,WAAW,CAAC,EACxB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,iBAAyB,EACzB,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,QAAQ,EACR,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACV,EAAE,gBAAgB,2CA4ElB"}
|
|
@@ -4,6 +4,7 @@ import { ActionButton, CopyButton } from "../action_button.js";
|
|
|
4
4
|
import { PrismSyntaxHighlighter } from "../prism_highlighter.js";
|
|
5
5
|
import { SyntaxHighlighterBaseStylesWrapper } from "../code_block/code_block.styled.js";
|
|
6
6
|
import { getBashLinePrefixes } from "../code_block/utils.js";
|
|
7
|
+
import { InlineSpinner } from "../../spinner/spinner.js";
|
|
7
8
|
import { oneLineCodeTestIds } from "./one_line_code.test_ids.js";
|
|
8
9
|
import styled, { css } from "styled-components";
|
|
9
10
|
import { useMemo, useState } from "react";
|
|
@@ -111,7 +112,7 @@ var OneLineCodeWrapper = styled(SyntaxHighlighterBaseStylesWrapper)`
|
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
`;
|
|
114
|
-
function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder = "***", secret, disabled, hideCopyButton, trackingBundle, ...rest }) {
|
|
115
|
+
function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder = "***", secret, hideSecretButton, isCopyLoading, disabled, hideCopyButton, trackingBundle, ...rest }) {
|
|
115
116
|
const hasSecret = secret !== void 0;
|
|
116
117
|
const [showSecret, setShowSecret] = useState(false);
|
|
117
118
|
const codeWithSecret = useMemo(() => {
|
|
@@ -151,18 +152,22 @@ function OneLineCode({ children, language, size, httpMethod, actionButtonLabel,
|
|
|
151
152
|
}), /* @__PURE__ */ jsxs("div", {
|
|
152
153
|
className: oneLineCodeClassNames.buttons,
|
|
153
154
|
children: [
|
|
154
|
-
hasSecret && /* @__PURE__ */ jsx(ActionButton, {
|
|
155
|
+
hasSecret && !hideSecretButton && /* @__PURE__ */ jsx(ActionButton, {
|
|
155
156
|
onClick: () => setShowSecret((prev) => !prev),
|
|
156
157
|
trackingId: trackingBundle?.secret?.trackingId,
|
|
157
158
|
trackingData: trackingBundle?.secret?.trackingData,
|
|
158
159
|
"data-test": oneLineCodeTestIds.TOGGLE_VISIBILITY_BUTTON,
|
|
159
160
|
children: showSecret ? /* @__PURE__ */ jsx(EyeOffIcon, { size: "16" }) : /* @__PURE__ */ jsx(EyeIcon, { size: "16" })
|
|
160
161
|
}),
|
|
161
|
-
!hideCopyButton && /* @__PURE__ */ jsx(
|
|
162
|
+
!hideCopyButton && (isCopyLoading ? /* @__PURE__ */ jsx(ActionButton, {
|
|
163
|
+
disabled: true,
|
|
164
|
+
"aria-label": "Loading",
|
|
165
|
+
children: /* @__PURE__ */ jsx(InlineSpinner, { size: theme.space.space16 })
|
|
166
|
+
}) : /* @__PURE__ */ jsx(CopyButton, {
|
|
162
167
|
code: codeWithSecret,
|
|
163
168
|
trackingId: trackingBundle?.copy?.trackingId,
|
|
164
169
|
trackingData: trackingBundle?.copy?.trackingData
|
|
165
|
-
}),
|
|
170
|
+
})),
|
|
166
171
|
!!onActionButtonClick && /* @__PURE__ */ jsx(ActionButton, {
|
|
167
172
|
onClick: onActionButtonClick,
|
|
168
173
|
trackingId: trackingBundle?.action?.trackingId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
765f08bbbb16b248f4189de9300f4bc1e46e6939
|
package/dist/index.js
CHANGED
|
@@ -56,6 +56,7 @@ import { useResizeObserverSsr } from "./utils/resize_observer.js";
|
|
|
56
56
|
import { CodeHighlighterLineBashPrefix, CodeHighlighterLinePrefix, PrismSyntaxHighlighter } from "./components/code/prism_highlighter.js";
|
|
57
57
|
import { CodeBlock } from "./components/code/code_block/code_block.js";
|
|
58
58
|
import { CODE_BLOCK_TAB_CATALOG, CODE_BLOCK_WITH_TABS_CLASSNAMES, CodeBlockWithTabs } from "./components/code/code_block/code_block_with_tabs.js";
|
|
59
|
+
import { BlockSpinner, InlineSpinner, Spinner, spinnerClassNames } from "./components/spinner/spinner.js";
|
|
59
60
|
import { OneLineCode, oneLineCodeClassNames } from "./components/code/one_line_code/one_line_code.js";
|
|
60
61
|
import { InlineCode, inlineCodeStyles } from "./components/code/inline_code/inline_code.js";
|
|
61
62
|
import { TableOfContents, useShowTableOfContents } from "./components/readme_renderer/table_of_contents.js";
|
|
@@ -75,7 +76,6 @@ import { Rating, RatingStats, SingleStarRating } from "./components/rating/ratin
|
|
|
75
76
|
import { TAG_SIZES, TAG_VARIANTS, Tag } from "./components/tag/tag.js";
|
|
76
77
|
import { TAB_CLASSNAMES, Tab } from "./components/tabs/tab.js";
|
|
77
78
|
import { Tabs } from "./components/tabs/tabs.js";
|
|
78
|
-
import { BlockSpinner, InlineSpinner, Spinner, spinnerClassNames } from "./components/spinner/spinner.js";
|
|
79
79
|
import { ICON_BUTTON_VARIANTS, IconButton } from "./components/icon_button/icon_button.js";
|
|
80
80
|
import { StoreActorHeader } from "./components/store/store_actor_header.js";
|
|
81
81
|
import { RadioButtonPrimitive } from "./components/radio_button/radio_button.js";
|
|
@@ -23,9 +23,11 @@ export type OneLineCodeProps = Omit<BoxProps, 'children'> & {
|
|
|
23
23
|
fullWidth?: boolean;
|
|
24
24
|
secretPlaceholder?: string;
|
|
25
25
|
secret?: string;
|
|
26
|
+
hideSecretButton?: boolean;
|
|
27
|
+
isCopyLoading?: boolean;
|
|
26
28
|
disabled?: boolean;
|
|
27
29
|
hideCopyButton?: boolean;
|
|
28
30
|
trackingBundle?: OneLineCodeTrackingBundle;
|
|
29
31
|
};
|
|
30
|
-
export declare function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder, secret, disabled, hideCopyButton, trackingBundle, ...rest }: OneLineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder, secret, hideSecretButton, isCopyLoading, disabled, hideCopyButton, trackingBundle, ...rest }: OneLineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
//# sourceMappingURL=one_line_code.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one_line_code.d.ts","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"one_line_code.d.ts","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAQ7D,eAAO,MAAM,qBAAqB;;;;;;CAMjC,CAAC;AAgHF,MAAM,MAAM,wBAAwB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,GAAG,QAAQ,EAAE,wBAAwB,CAAC,CAAC,CAAC;AAEhH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,yBAAyB,CAAC;CAC9C,CAAC;AAEF,wBAAgB,WAAW,CAAC,EACxB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,iBAAyB,EACzB,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,QAAQ,EACR,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACV,EAAE,gBAAgB,2CA4ElB"}
|
|
@@ -3,6 +3,7 @@ import { useMemo, useState } from 'react';
|
|
|
3
3
|
import styled, { css } from 'styled-components';
|
|
4
4
|
import { EyeIcon, EyeOffIcon } from '@apify/ui-icons';
|
|
5
5
|
import { theme } from '../../../design_system/theme';
|
|
6
|
+
import { InlineSpinner } from '../../spinner';
|
|
6
7
|
import { Text } from '../../text';
|
|
7
8
|
import { ActionButton, CopyButton } from '../action_button';
|
|
8
9
|
import { SyntaxHighlighterBaseStylesWrapper } from '../code_block/code_block.styled';
|
|
@@ -112,7 +113,7 @@ const OneLineCodeWrapper = styled(SyntaxHighlighterBaseStylesWrapper) `
|
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
`;
|
|
115
|
-
export function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder = '***', secret, disabled, hideCopyButton, trackingBundle, ...rest }) {
|
|
116
|
+
export function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder = '***', secret, hideSecretButton, isCopyLoading, disabled, hideCopyButton, trackingBundle, ...rest }) {
|
|
116
117
|
const hasSecret = secret !== undefined;
|
|
117
118
|
const [showSecret, setShowSecret] = useState(false);
|
|
118
119
|
const codeWithSecret = useMemo(() => {
|
|
@@ -123,6 +124,7 @@ export function OneLineCode({ children, language, size, httpMethod, actionButton
|
|
|
123
124
|
const code = showSecret ? codeWithSecret : children;
|
|
124
125
|
const showBashPrefixes = language === 'bash';
|
|
125
126
|
const linePrefixes = useMemo(() => (showBashPrefixes ? getBashLinePrefixes(code, [1], true) : {}), [showBashPrefixes, code]);
|
|
126
|
-
return (_jsxs(OneLineCodeWrapper, { "$httpMethod": httpMethod, "$fullWidth": fullWidth, "$showBashPrefixes": showBashPrefixes, "$disabled": disabled, ...rest, children: [_jsxs("div", { className: oneLineCodeClassNames.gradientWrapper, children: [_jsxs("div", { className: oneLineCodeClassNames.scrollableWrapper, children: [httpMethod && (_jsx(Text, { className: oneLineCodeClassNames.methodChip, as: "div", children: httpMethod })), _jsx(PrismSyntaxHighlighter, { language: language, size: size, linePrefixes: linePrefixes, code: code, isSingleLine: true })] }), _jsx("div", { className: oneLineCodeClassNames.gradient })] }), _jsxs("div", { className: oneLineCodeClassNames.buttons, children: [hasSecret && (_jsx(ActionButton, { onClick: () => setShowSecret((prev) => !prev), trackingId: trackingBundle?.secret?.trackingId, trackingData: trackingBundle?.secret?.trackingData, "data-test": oneLineCodeTestIds.TOGGLE_VISIBILITY_BUTTON, children: showSecret ? _jsx(EyeOffIcon, { size: "16" }) : _jsx(EyeIcon, { size: "16" }) })), !hideCopyButton &&
|
|
127
|
+
return (_jsxs(OneLineCodeWrapper, { "$httpMethod": httpMethod, "$fullWidth": fullWidth, "$showBashPrefixes": showBashPrefixes, "$disabled": disabled, ...rest, children: [_jsxs("div", { className: oneLineCodeClassNames.gradientWrapper, children: [_jsxs("div", { className: oneLineCodeClassNames.scrollableWrapper, children: [httpMethod && (_jsx(Text, { className: oneLineCodeClassNames.methodChip, as: "div", children: httpMethod })), _jsx(PrismSyntaxHighlighter, { language: language, size: size, linePrefixes: linePrefixes, code: code, isSingleLine: true })] }), _jsx("div", { className: oneLineCodeClassNames.gradient })] }), _jsxs("div", { className: oneLineCodeClassNames.buttons, children: [hasSecret && !hideSecretButton && (_jsx(ActionButton, { onClick: () => setShowSecret((prev) => !prev), trackingId: trackingBundle?.secret?.trackingId, trackingData: trackingBundle?.secret?.trackingData, "data-test": oneLineCodeTestIds.TOGGLE_VISIBILITY_BUTTON, children: showSecret ? _jsx(EyeOffIcon, { size: "16" }) : _jsx(EyeIcon, { size: "16" }) })), !hideCopyButton &&
|
|
128
|
+
(isCopyLoading ? (_jsx(ActionButton, { disabled: true, "aria-label": "Loading", children: _jsx(InlineSpinner, { size: theme.space.space16 }) })) : (_jsx(CopyButton, { code: codeWithSecret, trackingId: trackingBundle?.copy?.trackingId, trackingData: trackingBundle?.copy?.trackingData }))), !!onActionButtonClick && (_jsx(ActionButton, { onClick: onActionButtonClick, trackingId: trackingBundle?.action?.trackingId, trackingData: trackingBundle?.action?.trackingData, children: actionButtonLabel }))] })] }));
|
|
127
129
|
}
|
|
128
130
|
//# sourceMappingURL=one_line_code.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one_line_code.js","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAItD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,eAAe,EAAE,6BAA6B;IAC9C,iBAAiB,EAAE,+BAA+B;IAClD,UAAU,EAAE,wBAAwB;IACpC,QAAQ,EAAE,sBAAsB;IAChC,OAAO,EAAE,qBAAqB;CACjC,CAAC;AAIF,MAAM,uBAAuB,GAAkC;IAC3D,GAAG,EAAE,SAAS;IACd,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS;CACrB,CAAC;AAEF,SAAS,aAAa,CAAC,UAAsB;IACzC,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;IAChE,OAAO,GAAG,CAAA;4BACc,MAAM,CAAC,cAAc;iBACh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C/B,KAAC,YAAY,IACT,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAC7C,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAC9C,YAAY,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,eACvC,kBAAkB,CAAC,wBAAwB,YAErD,UAAU,CAAC,CAAC,CAAC,KAAC,UAAU,IAAC,IAAI,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,GACnD,CAClB,EACA,CAAC,cAAc;wBACZ,CAAC,aAAa,CAAC,CAAC,CAAC,CACb,KAAC,YAAY,IAAC,QAAQ,sBAAY,SAAS,YACvC,KAAC,aAAa,IAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,GAAI,GACjC,CAClB,CAAC,CAAC,CAAC,CACA,KAAC,UAAU,IACP,IAAI,EAAE,cAAc,EACpB,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,UAAU,EAC5C,YAAY,EAAE,cAAc,EAAE,IAAI,EAAE,YAAY,GAClD,CACL,CAAC,EACL,CAAC,CAAC,mBAAmB,IAAI,CACtB,KAAC,YAAY,IACT,OAAO,EAAE,mBAAmB,EAC5B,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAC9C,YAAY,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,YAEjD,iBAAiB,GACP,CAClB,IACC,IACW,CACxB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy_to_clipboard.d.ts","sourceRoot":"","sources":["../../../src/utils/copy_to_clipboard.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"copy_to_clipboard.d.ts","sourceRoot":"","sources":["../../../src/utils/copy_to_clipboard.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1D;AAED,wBAAgB,kBAAkB,CAAC,SAAS,SAAO,GAAG,kBAAkB,CAyBvE"}
|
package/dist/test_ids.js
CHANGED
|
@@ -3,13 +3,13 @@ import { splitButtonMainActionTestId, splitButtonTriggerTestId } from "./compone
|
|
|
3
3
|
import { actionButtonTestIds } from "./components/code/action_button.test_ids.js";
|
|
4
4
|
import { prismHighlighterTestIds } from "./components/code/prism_highlighter.test_ids.js";
|
|
5
5
|
import { codeBlockTabTestId, codeBlockTestIds } from "./components/code/code_block/code_block.test_ids.js";
|
|
6
|
+
import { spinnerTestIds } from "./components/spinner/spinner.test_ids.js";
|
|
6
7
|
import { oneLineCodeTestIds } from "./components/code/one_line_code/one_line_code.test_ids.js";
|
|
7
8
|
import { cardTestIds } from "./components/card/card.test_ids.js";
|
|
8
9
|
import { paginationTestIds } from "./components/pagination/pagination.test_ids.js";
|
|
9
10
|
import { actorTemplateCardTestId } from "./components/actor_template_card/actor_template_card.test_ids.js";
|
|
10
11
|
import { tabTestIds } from "./components/tabs/tab.test_ids.js";
|
|
11
12
|
import { tabsTestIds } from "./components/tabs/tabs.test_ids.js";
|
|
12
|
-
import { spinnerTestIds } from "./components/spinner/spinner.test_ids.js";
|
|
13
13
|
import { storeActorHeaderTestIds } from "./components/store/store_actor_header.test_ids.js";
|
|
14
14
|
import { collapsibleCardTestIds } from "./components/collapsible_card/collapsible_card.test_ids.js";
|
|
15
15
|
import { selectClearTestId, selectControlTestId, selectMultiValueLabelTestId } from "./components/select/select.test_ids.js";
|