@stokr/components-library 4.0.0 → 4.0.3
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/AdminDashboard/Table/Table.styles.js +6 -2
- package/dist/components/BackButton/BackButton.js +10 -14
- package/dist/components/BackButton/BackButton.styles.js +7 -4
- package/dist/components/ChartLegend/ChartLegend.styles.js +4 -2
- package/dist/components/Checkbox/Checkbox.js +5 -1
- package/dist/components/Checkbox/Checkbox.styles.js +12 -27
- package/dist/components/Checklist/ChecklistCard.js +6 -6
- package/dist/components/Checklist/ChecklistCard.styles.js +0 -39
- package/dist/components/Chips/Chip.js +14 -1
- package/dist/components/Chips/Chip.styles.js +4 -3
- package/dist/components/CryptoAddress/CryptoAddress.styles.js +15 -94
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +7 -10
- package/dist/components/FAQ/FAQ.styles.js +6 -2
- package/dist/components/Icon/Icon.style.js +5 -26
- package/dist/components/InfoBox/InfoBox.js +4 -2
- package/dist/components/InfoIcon/InfoIcon.js +24 -28
- package/dist/components/InfoIcon/InfoIcon.styles.d.ts +1 -1
- package/dist/components/InfoIcon/InfoIcon.styles.js +4 -3
- package/dist/components/Input/InputPassword.js +2 -1
- package/dist/components/Input/Select.js +0 -2
- package/dist/components/Input/Select.styles.js +5 -2
- package/dist/components/MaterialIcon/MaterialIcon.d.ts +8 -10
- package/dist/components/MaterialIcon/MaterialIcon.js +14 -12
- package/dist/components/MaterialIcon/MaterialIcon.styles.d.ts +8 -3
- package/dist/components/MaterialIcon/MaterialIcon.styles.js +8 -2
- package/dist/components/MaterialIcon/glyph.d.ts +5 -0
- package/dist/components/MaterialIcon/glyph.js +8 -0
- package/dist/components/MaterialIcon/iconConfig.d.ts +24 -3
- package/dist/components/MaterialIcon/iconConfig.js +7 -7
- package/dist/components/MaterialIcon/requiredIcons.d.ts +5 -0
- package/dist/components/MaterialIcon/requiredIcons.js +21 -0
- package/dist/components/Modal/Modal.js +27 -31
- package/dist/components/Modal/Modal.styles.d.ts +3 -3
- package/dist/components/Modal/Modal.styles.js +31 -51
- package/dist/components/Modal/PaymentModal.js +10 -3
- package/dist/components/Modal/SideModal.js +45 -49
- package/dist/components/Pagination/Pagination.js +3 -3
- package/dist/components/Payment/TimerComponent.js +4 -3
- package/dist/components/Process/Process.styles.js +13 -18
- package/dist/components/ProfileBox/ProfileBox.styles.js +8 -8
- package/dist/components/Section/Section.d.ts +3 -3
- package/dist/components/Section/Section.js +8 -5
- package/dist/components/StatusTag/StatusTag.js +2 -2
- package/dist/components/StokrLoader/StokrLoader.d.ts +2 -1
- package/dist/components/StokrLoader/StokrLoader.js +1 -1
- package/dist/components/TaxResidenceCard/TaxResidenceCard.js +0 -2
- package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +4 -2
- package/dist/components/TextLink/TextLink.styles.js +11 -20
- package/dist/components/Timeline/TimelineStep.js +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +5 -5
- package/dist/styles/rwd.d.ts +7 -2
- package/dist/styles/rwd.js +7 -2
- package/dist/utils/copyToClipboard.d.ts +13 -3
- package/dist/utils/copyToClipboard.js +3 -3
- package/package.json +2 -1
- package/dist/static/images/copy_icon.svg +0 -4
- package/dist/static/images/copy_icon.svg.js +0 -5
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { Link } from "react-router-dom";
|
|
3
3
|
import theme from "../../styles/theme.js";
|
|
4
|
+
import { withGlyph, glyph } from "../MaterialIcon/glyph.js";
|
|
5
|
+
const withArrow = (props) => ({
|
|
6
|
+
children: withGlyph(glyph("chevron_right", false, 16), props.children)
|
|
7
|
+
});
|
|
4
8
|
const styles = css`
|
|
5
9
|
background: #fff;
|
|
6
10
|
border: none;
|
|
@@ -16,26 +20,13 @@ const styles = css`
|
|
|
16
20
|
padding-right: 6px;
|
|
17
21
|
transition: padding 0.2s;
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
content: '\\f3d1';
|
|
21
|
-
font-family: 'Ionicons';
|
|
22
|
-
speak: none;
|
|
23
|
-
font-style: normal;
|
|
24
|
-
font-weight: normal;
|
|
25
|
-
font-variant: normal;
|
|
26
|
-
text-transform: none;
|
|
27
|
-
text-rendering: auto;
|
|
28
|
-
-webkit-font-smoothing: antialiased;
|
|
29
|
-
-moz-osx-font-smoothing: grayscale;
|
|
30
|
-
font-size: 12px;
|
|
31
|
-
line-height: 8px;
|
|
32
|
-
display: block;
|
|
33
|
-
width: 8px;
|
|
34
|
-
height: 8px;
|
|
23
|
+
> [data-icon] {
|
|
35
24
|
position: absolute;
|
|
36
25
|
top: 50%;
|
|
37
|
-
left:
|
|
38
|
-
|
|
26
|
+
left: -4px;
|
|
27
|
+
width: 16px;
|
|
28
|
+
height: 16px;
|
|
29
|
+
margin-top: -8px;
|
|
39
30
|
color: ${() => theme.cWarning};
|
|
40
31
|
transform: ${(props) => props.reverse ? "rotate(180deg)" : "none"};
|
|
41
32
|
}
|
|
@@ -52,12 +43,12 @@ const styles = css`
|
|
|
52
43
|
`;
|
|
53
44
|
const TextLink = styled(Link).withConfig({
|
|
54
45
|
shouldForwardProp: (props) => !["reverse", "disabled"].includes(props)
|
|
55
|
-
})`
|
|
46
|
+
}).attrs(withArrow)`
|
|
56
47
|
${styles}
|
|
57
48
|
`;
|
|
58
49
|
const TextButton = styled.button.withConfig({
|
|
59
50
|
shouldForwardProp: (props) => !["reverse", "disabled"].includes(props)
|
|
60
|
-
})`
|
|
51
|
+
}).attrs(withArrow)`
|
|
61
52
|
${styles}
|
|
62
53
|
`;
|
|
63
54
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
3
|
+
import { MaterialIcon } from "../MaterialIcon/MaterialIcon.js";
|
|
4
4
|
import { InfoIcon } from "../InfoIcon/InfoIcon.js";
|
|
5
5
|
import { TimelineStepWrapper, IconContainer, StepIcon, ConnectingLine, StepContent, StepDate, StepHeader, StepTitle, StepCaption } from "./Timeline.styles.js";
|
|
6
6
|
import SvgCrossIcon from "../../static/images/cross-icon.svg.js";
|
|
@@ -28,7 +28,7 @@ const TimelineStep = ({
|
|
|
28
28
|
case "completed":
|
|
29
29
|
return /* @__PURE__ */ jsx(SvgCheckIcon, { width: 12, height: 12 });
|
|
30
30
|
case "pending":
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
31
|
+
return /* @__PURE__ */ jsx("span", { style: { display: "inline-flex", marginLeft: 1 }, children: /* @__PURE__ */ jsx(MaterialIcon, { name: "search_activity", size: 12 }) });
|
|
32
32
|
case "failed":
|
|
33
33
|
case "cancelled":
|
|
34
34
|
return /* @__PURE__ */ jsx(SvgCrossIcon, { width: 8, height: 8 });
|
package/dist/index.d.ts
CHANGED
|
@@ -51,8 +51,9 @@ export type { SkeletonProps, SkeletonLinesProps, SkeletonStatusProps } from './c
|
|
|
51
51
|
export { Collapsible } from './components/Collapsible/Collapsible'
|
|
52
52
|
export { MaterialIcon, SvgIcon, ICON_SIZES } from './components/MaterialIcon/MaterialIcon'
|
|
53
53
|
export type { MaterialIconProps, SvgIconProps, IconSize } from './components/MaterialIcon/MaterialIcon'
|
|
54
|
-
export {
|
|
55
|
-
export
|
|
54
|
+
export { registerMaterialIcons } from './components/MaterialIcon/iconConfig'
|
|
55
|
+
export { requiredMaterialIcons } from './components/MaterialIcon/requiredIcons'
|
|
56
|
+
export type { MaterialIconName, MaterialIconRegistry } from './components/MaterialIcon/iconConfig'
|
|
56
57
|
export type { CollapsibleProps } from './components/Collapsible/Collapsible'
|
|
57
58
|
export { Section } from './components/Section/Section'
|
|
58
59
|
export type { SectionProps } from './components/Section/Section'
|
|
@@ -85,7 +86,7 @@ export {
|
|
|
85
86
|
useCopyToClipboard,
|
|
86
87
|
CopyToClipBoardTooltip,
|
|
87
88
|
} from './utils/copyToClipboard'
|
|
88
|
-
export type { WithCopyToClipboardOptions } from './utils/copyToClipboard'
|
|
89
|
+
export type { WithCopyToClipboardOptions, CopyToClipboardProps } from './utils/copyToClipboard'
|
|
89
90
|
export {
|
|
90
91
|
useMobileView,
|
|
91
92
|
useContainerSize,
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,8 @@ import { SideModalBody, SideModalFooter, SideModalHeader } from "./components/Mo
|
|
|
46
46
|
import { Skeleton, SkeletonLines, SkeletonStatus } from "./components/Skeleton/Skeleton.js";
|
|
47
47
|
import { Collapsible } from "./components/Collapsible/Collapsible.js";
|
|
48
48
|
import { ICON_SIZES, MaterialIcon, SvgIcon } from "./components/MaterialIcon/MaterialIcon.js";
|
|
49
|
-
import {
|
|
49
|
+
import { registerMaterialIcons } from "./components/MaterialIcon/iconConfig.js";
|
|
50
|
+
import { requiredMaterialIcons } from "./components/MaterialIcon/requiredIcons.js";
|
|
50
51
|
import { Section } from "./components/Section/Section.js";
|
|
51
52
|
import { CardTabs, TabPanel } from "./components/CardTabs/CardTabs.js";
|
|
52
53
|
import { TabCard, TabCardBody, TabHighlightBase, tabColorTransition } from "./components/CardTabs/CardTabs.styles.js";
|
|
@@ -92,7 +93,7 @@ import { AnimatedSpan, LoadingDots, StokrLoader, StokrLoaderBox, loaderGif } fro
|
|
|
92
93
|
import { InfoBox } from "./components/InfoBox/InfoBox.js";
|
|
93
94
|
import { IdentityCountryRow, IdentityResidencyItem, IdentitySectionHeader } from "./components/IdentityInfo/IdentityInfo.js";
|
|
94
95
|
import { Inner, Outer, ThumbH, ThumbV, TrackH, TrackV } from "./components/ComponentScroll/ComponentScroll.styles.js";
|
|
95
|
-
import { CopyToClipBoardTooltip, useCopyToClipboard, withCopyToClipboard } from "./utils/copyToClipboard.js";
|
|
96
|
+
import { CopyToClipBoardTooltip, CopyToClipboard, useCopyToClipboard, withCopyToClipboard } from "./utils/copyToClipboard.js";
|
|
96
97
|
import { cooldownHOC, useComponentVisible, useContainerSize, useCooldown, useMobileView, usePrevious } from "./utils/customHooks.js";
|
|
97
98
|
import { fixDecimals, formatDisplayNumber } from "./utils/fix-decimals.js";
|
|
98
99
|
import { CURRENCY_CONFIG, formatAmountForDisplay, formatCurrencyValue, getCurrencyConfig, getCurrencyIcon, getCurrencySymbol, getProjectCurrencySign } from "./utils/formatCurrencyValue.js";
|
|
@@ -125,7 +126,6 @@ import { ArrowSimple } from "./components/icons/ArrowSimple.js";
|
|
|
125
126
|
import { BackButtonIcon, StyledBackButton, StyledBackButtonExternal, StyledWindowBackButton } from "./components/BackButton/BackButton.styles.js";
|
|
126
127
|
import { Breakdown } from "./components/breakdown/Breakdown.js";
|
|
127
128
|
import { default as default9 } from "./components/SvgIcons/CapsLockSvg.js";
|
|
128
|
-
import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
129
129
|
import { FaqContent, FaqDropdownIcon, FaqItem, FaqItems, FaqText, FaqTitle } from "./components/FAQ/FAQ.styles.js";
|
|
130
130
|
import * as Flags from "country-flag-icons/react/3x2";
|
|
131
131
|
import { FormContainer, FormError, FormField, FormInfo } from "./components/Form/Form.styles.js";
|
|
@@ -397,7 +397,6 @@ export {
|
|
|
397
397
|
getCurrencyConfig,
|
|
398
398
|
getCurrencyIcon,
|
|
399
399
|
getCurrencySymbol,
|
|
400
|
-
getMaterialIconsBaseUrl,
|
|
401
400
|
getMedia,
|
|
402
401
|
getPasswordCriteria,
|
|
403
402
|
getPasswordEntropy,
|
|
@@ -423,6 +422,8 @@ export {
|
|
|
423
422
|
projectTokenUnit,
|
|
424
423
|
projectUnit,
|
|
425
424
|
radius,
|
|
425
|
+
registerMaterialIcons,
|
|
426
|
+
requiredMaterialIcons,
|
|
426
427
|
resolveCopy,
|
|
427
428
|
roundTo,
|
|
428
429
|
default5 as rwd,
|
|
@@ -431,7 +432,6 @@ export {
|
|
|
431
432
|
saveAs,
|
|
432
433
|
scrollToElement,
|
|
433
434
|
setCopySource,
|
|
434
|
-
setMaterialIconsBaseUrl,
|
|
435
435
|
default2 as shortenAddress,
|
|
436
436
|
showProgress,
|
|
437
437
|
showSuccess,
|
package/dist/styles/rwd.d.ts
CHANGED
|
@@ -6,15 +6,17 @@ export declare const sizes: {
|
|
|
6
6
|
readonly MLarge: "992px";
|
|
7
7
|
readonly Large: "1024px";
|
|
8
8
|
readonly XLarge: "1440px";
|
|
9
|
+
/** Max width of the public pages. */
|
|
10
|
+
readonly Wide: "1920px";
|
|
9
11
|
readonly XXLarge: "2560px";
|
|
10
12
|
};
|
|
11
13
|
export type Breakpoint = keyof typeof sizes;
|
|
12
14
|
/** `css` tagged template that wraps its rules in a media query: rwd.MLarge`display: none;` */
|
|
13
15
|
type MediaTemplate = <P extends object = any>(first: TemplateStringsArray | CSSObject, ...interpolations: Interpolation<P>[]) => RuleSet<P>;
|
|
14
16
|
/** Rules from the breakpoint up (min-width). */
|
|
15
|
-
export declare const rwd: Record<"Small" | "Mobile" | "Medium" | "MLarge" | "Large" | "XLarge" | "XXLarge", MediaTemplate>;
|
|
17
|
+
export declare const rwd: Record<"Small" | "Mobile" | "Medium" | "MLarge" | "Large" | "XLarge" | "Wide" | "XXLarge", MediaTemplate>;
|
|
16
18
|
/** Rules up to the breakpoint (max-width). */
|
|
17
|
-
export declare const rwdMax: Record<"Small" | "Mobile" | "Medium" | "MLarge" | "Large" | "XLarge" | "XXLarge", MediaTemplate>;
|
|
19
|
+
export declare const rwdMax: Record<"Small" | "Mobile" | "Medium" | "MLarge" | "Large" | "XLarge" | "Wide" | "XXLarge", MediaTemplate>;
|
|
18
20
|
/** Media query string for `matchMedia`, e.g. `(min-width: 992px)`. */
|
|
19
21
|
export declare const getMedia: (breakpoint: Breakpoint) => string;
|
|
20
22
|
/** Media query strings, for `matchMedia` / `useMediaQuery`. */
|
|
@@ -24,6 +26,7 @@ export declare const mediaQuery: {
|
|
|
24
26
|
/** Below this (992px) is the mobile layout. */
|
|
25
27
|
readonly desktopUp: string;
|
|
26
28
|
readonly desktopXlUp: string;
|
|
29
|
+
readonly wideUp: string;
|
|
27
30
|
};
|
|
28
31
|
/** `@media` rules for styled-components. `belowX` is the exact complement of `xUp`. */
|
|
29
32
|
export declare const media: {
|
|
@@ -31,10 +34,12 @@ export declare const media: {
|
|
|
31
34
|
readonly tabletUp: `@media ${string}`;
|
|
32
35
|
readonly desktopUp: `@media ${string}`;
|
|
33
36
|
readonly desktopXlUp: `@media ${string}`;
|
|
37
|
+
readonly wideUp: `@media ${string}`;
|
|
34
38
|
readonly belowMobile: `@media not all and ${string}`;
|
|
35
39
|
readonly belowTablet: `@media not all and ${string}`;
|
|
36
40
|
readonly belowDesktop: `@media not all and ${string}`;
|
|
37
41
|
readonly belowDesktopXl: `@media not all and ${string}`;
|
|
42
|
+
readonly belowWide: `@media not all and ${string}`;
|
|
38
43
|
};
|
|
39
44
|
interface DisplayOnBreakpointProps {
|
|
40
45
|
breakpoint: Breakpoint;
|
package/dist/styles/rwd.js
CHANGED
|
@@ -6,6 +6,8 @@ const sizes = {
|
|
|
6
6
|
MLarge: "992px",
|
|
7
7
|
Large: "1024px",
|
|
8
8
|
XLarge: "1440px",
|
|
9
|
+
/** Max width of the public pages. */
|
|
10
|
+
Wide: "1920px",
|
|
9
11
|
XXLarge: "2560px"
|
|
10
12
|
};
|
|
11
13
|
const sizeNames = Object.keys(sizes);
|
|
@@ -27,17 +29,20 @@ const mediaQuery = {
|
|
|
27
29
|
tabletUp: getMedia("Medium"),
|
|
28
30
|
/** Below this (992px) is the mobile layout. */
|
|
29
31
|
desktopUp: getMedia("MLarge"),
|
|
30
|
-
desktopXlUp: getMedia("XLarge")
|
|
32
|
+
desktopXlUp: getMedia("XLarge"),
|
|
33
|
+
wideUp: getMedia("Wide")
|
|
31
34
|
};
|
|
32
35
|
const media = {
|
|
33
36
|
mobileUp: `@media ${mediaQuery.mobileUp}`,
|
|
34
37
|
tabletUp: `@media ${mediaQuery.tabletUp}`,
|
|
35
38
|
desktopUp: `@media ${mediaQuery.desktopUp}`,
|
|
36
39
|
desktopXlUp: `@media ${mediaQuery.desktopXlUp}`,
|
|
40
|
+
wideUp: `@media ${mediaQuery.wideUp}`,
|
|
37
41
|
belowMobile: `@media not all and ${mediaQuery.mobileUp}`,
|
|
38
42
|
belowTablet: `@media not all and ${mediaQuery.tabletUp}`,
|
|
39
43
|
belowDesktop: `@media not all and ${mediaQuery.desktopUp}`,
|
|
40
|
-
belowDesktopXl: `@media not all and ${mediaQuery.desktopXlUp}
|
|
44
|
+
belowDesktopXl: `@media not all and ${mediaQuery.desktopXlUp}`,
|
|
45
|
+
belowWide: `@media not all and ${mediaQuery.wideUp}`
|
|
41
46
|
};
|
|
42
47
|
const DisplayOnBreakpoint = styled.div.withConfig({
|
|
43
48
|
shouldForwardProp: (prop) => !["fullscreen", "down", "up", "breakpoint"].includes(prop)
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
1
|
+
import { ComponentType, ReactElement } from 'react';
|
|
3
2
|
import { copyTextToClipboard } from './copy-text-to-clipboard';
|
|
4
3
|
import { CopyToClipboardTooltip } from '../components/CopyToClipboardTooltip/CopyToClipboardTooltip';
|
|
5
4
|
export { copyTextToClipboard };
|
|
5
|
+
export interface CopyToClipboardProps {
|
|
6
|
+
text: string;
|
|
7
|
+
onCopy?: (text: string, result: boolean) => void;
|
|
8
|
+
options?: {
|
|
9
|
+
debug?: boolean;
|
|
10
|
+
message?: string;
|
|
11
|
+
format?: string;
|
|
12
|
+
};
|
|
13
|
+
children: ReactElement;
|
|
14
|
+
}
|
|
15
|
+
/** `react-copy-to-clipboard`'s component, typed here so apps don't need that package's types. */
|
|
16
|
+
export declare const CopyToClipboard: ComponentType<CopyToClipboardProps>;
|
|
6
17
|
export type WithCopyToClipboardOptions = {
|
|
7
18
|
/** Prop holding the text to copy. Default 'text'. */
|
|
8
19
|
textProp?: string;
|
|
@@ -24,4 +35,3 @@ export declare const useCopyToClipboard: (text?: string) => {
|
|
|
24
35
|
*/
|
|
25
36
|
export declare const CopyToClipBoardTooltip: ({ value, buttonStyle, onCopy, children, copiedLabel, idleLabel, resetAfter, }: import('..').CopyToClipboardTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
37
|
export { CopyToClipboardTooltip };
|
|
27
|
-
export { CopyToClipboard };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
4
|
-
import { CopyToClipboard as CopyToClipboard2 } from "react-copy-to-clipboard";
|
|
3
|
+
import { CopyToClipboard as CopyToClipboard$1 } from "react-copy-to-clipboard";
|
|
5
4
|
import { copyTextToClipboard } from "./copy-text-to-clipboard.js";
|
|
6
5
|
import { CopyToClipboardTooltip } from "../components/CopyToClipboardTooltip/CopyToClipboardTooltip.js";
|
|
6
|
+
const CopyToClipboard = CopyToClipboard$1;
|
|
7
7
|
const withCopyToClipboard = (WrappedComponent, options = {}) => {
|
|
8
8
|
const { textProp = "text", onCopyProp = "onCopy", onErrorProp = "onError" } = options;
|
|
9
9
|
return function CopyToClipboardWrapper(props) {
|
|
@@ -40,7 +40,7 @@ const useCopyToClipboard = (text) => {
|
|
|
40
40
|
const CopyToClipBoardTooltip = CopyToClipboardTooltip;
|
|
41
41
|
export {
|
|
42
42
|
CopyToClipBoardTooltip,
|
|
43
|
-
|
|
43
|
+
CopyToClipboard,
|
|
44
44
|
CopyToClipboardTooltip,
|
|
45
45
|
copyTextToClipboard,
|
|
46
46
|
useCopyToClipboard,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stokr/components-library",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "STOKR - Components Library",
|
|
5
5
|
"author": "Bilal Hodzic <bilal@stokr.io>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"@chromatic-com/storybook": "^5.3.1",
|
|
84
84
|
"@eslint-react/eslint-plugin": "^1.53.1",
|
|
85
85
|
"@eslint/js": "^9.39.2",
|
|
86
|
+
"@material-symbols/svg-400": "0.48.0",
|
|
86
87
|
"@storybook/addon-docs": "^10.6.0",
|
|
87
88
|
"@storybook/addon-links": "^10.6.0",
|
|
88
89
|
"@storybook/builder-vite": "^10.6.0",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6.21053 7H3C2.44772 7 2 7.44772 2 8V17C2 17.5523 2.44772 18 3 18H11C11.5523 18 12 17.5523 12 17V15.6087" stroke="black" stroke-width="2"/>
|
|
3
|
-
<path d="M7 13V3C7 1.89543 7.89543 1 9 1H13.3636L17 5V13C17 14.1046 16.1046 15 15 15H9C7.89543 15 7 14.1046 7 13Z" fill="black"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
const SvgCopyIcon = (props) => /* @__PURE__ */ React.createElement("svg", { width: 19, height: 20, viewBox: "0 0 19 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M6.21053 7H3C2.44772 7 2 7.44772 2 8V17C2 17.5523 2.44772 18 3 18H11C11.5523 18 12 17.5523 12 17V15.6087", stroke: "black", strokeWidth: 2 }), /* @__PURE__ */ React.createElement("path", { d: "M7 13V3C7 1.89543 7.89543 1 9 1H13.3636L17 5V13C17 14.1046 16.1046 15 15 15H9C7.89543 15 7 14.1046 7 13Z", fill: "black" }));
|
|
3
|
-
export {
|
|
4
|
-
SvgCopyIcon as default
|
|
5
|
-
};
|