@selfdecode/sd-component-library 4.0.85 → 4.0.87
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/lib/components/forms-v2/form-v2-input/form-v2-input.d.ts +3 -1
- package/lib/components/forms-v2/form-v2-input/form-v2-number-input.d.ts +1 -9
- package/lib/components/forms-v2/form-v2-input/index.d.ts +1 -0
- package/lib/components/forms-v2/form-v2-input/interfaces.d.ts +9 -2
- package/lib/components/forms-v2/form-v2-selector/index.d.ts +1 -0
- package/lib/components/forms-v2/input-container/index.d.ts +1 -1
- package/lib/components/forms-v2/input-label/index.d.ts +1 -1
- package/lib/sd-component-library100.js +2 -2
- package/lib/sd-component-library101.js +3 -3
- package/lib/sd-component-library102.js +2 -2
- package/lib/sd-component-library117.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library120.js +1 -1
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library127.js +1 -1
- package/lib/sd-component-library129.js +1 -1
- package/lib/sd-component-library132.js +3 -3
- package/lib/sd-component-library133.js +1 -1
- package/lib/sd-component-library135.js +2 -2
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library166.js +1 -1
- package/lib/sd-component-library171.js +1 -1
- package/lib/sd-component-library199.js +57 -3
- package/lib/sd-component-library199.js.map +1 -1
- package/lib/sd-component-library200.js +3 -57
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library204.js +59 -19
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +20 -14
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +19 -5
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +3 -3
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +5 -18
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +20 -64
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +3 -21
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +1 -1
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +64 -3
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +19 -60
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +18 -23
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library216.js +128 -13
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +13 -3
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +14 -3
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +3 -129
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +3 -13
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +3 -65
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +52 -3
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +65 -3
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +3 -52
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library229.js +3 -3
- package/lib/sd-component-library23.js +2 -2
- package/lib/sd-component-library231.js +1 -1
- package/lib/sd-component-library232.js +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +1 -1
- package/lib/sd-component-library247.js +60 -26
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +41 -27
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +27 -21
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +20 -19
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +20 -2
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +2 -26
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +24 -323
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +325 -5
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +5 -75
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library262.js +27 -27
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +43 -13
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +118 -112
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +57 -105
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +75 -9
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +30 -50
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +20 -29
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +118 -44
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +104 -113
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +9 -73
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +42 -68
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library289.js +4 -4
- package/lib/sd-component-library290.js +2 -3
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +8 -3
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +328 -3
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +51 -2
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +3 -8
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +3 -328
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +3 -51
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library314.js +47 -89
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +89 -47
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library32.js +1 -1
- package/lib/sd-component-library33.js +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library5.js +1 -1
- package/lib/sd-component-library50.js +1 -1
- package/lib/sd-component-library52.js +3 -3
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library55.js +84 -57
- package/lib/sd-component-library55.js.map +1 -1
- package/lib/sd-component-library56.js.map +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library70.js +2 -2
- package/lib/sd-component-library72.js +3 -3
- package/lib/sd-component-library74.js +2 -2
- package/lib/sd-component-library75.js +3 -3
- package/lib/sd-component-library79.js +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library98.js +1 -1
- package/lib/sd-component-library99.js +2 -2
- package/package.json +1 -1
|
@@ -2,4 +2,6 @@ import React from "react";
|
|
|
2
2
|
import { InputContainerProps } from "../input-container";
|
|
3
3
|
import { FormV2InputProps as Props } from "./interfaces";
|
|
4
4
|
export declare const FormV2Input: React.FC<Props>;
|
|
5
|
-
export declare const FormV2InputWithContainer: React.FC<Props & InputContainerProps
|
|
5
|
+
export declare const FormV2InputWithContainer: React.FC<Omit<Props, "pr"> & InputContainerProps & {
|
|
6
|
+
showCheckMark?: boolean;
|
|
7
|
+
}>;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { InputContainerProps } from "../input-container";
|
|
3
|
-
import {
|
|
4
|
-
declare type Props = Omit<FormV2InputProps, "value" | "onChange" | "validateValue"> & {
|
|
5
|
-
value: number | undefined;
|
|
6
|
-
onChange: (value: number | undefined, event?: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
min?: number;
|
|
8
|
-
max?: number;
|
|
9
|
-
onlyInteger?: boolean;
|
|
10
|
-
};
|
|
3
|
+
import { FormV2NumberInputProps as Props } from "./interfaces";
|
|
11
4
|
export declare const FormV2NumberInput: React.FC<Props>;
|
|
12
5
|
export declare const FormV2NumberInputWithContainer: React.FC<Props & InputContainerProps>;
|
|
13
|
-
export {};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { ChangeEvent } from "react";
|
|
1
|
+
import React, { ChangeEvent } from "react";
|
|
2
2
|
import { InputProps } from "@rebass/forms";
|
|
3
|
-
export interface FormV2InputProps extends Pick<InputProps, "id" | "placeholder" | "display" | "inputMode" | "type" | "autoFocus" | "onFocus" | "onBlur" | "onKeyPress" | "maxLength"> {
|
|
3
|
+
export interface FormV2InputProps extends Pick<InputProps, "id" | "placeholder" | "display" | "inputMode" | "type" | "autoFocus" | "onFocus" | "onBlur" | "onKeyPress" | "maxLength" | "pr"> {
|
|
4
4
|
value: string;
|
|
5
5
|
onChange: (newValue: string, event?: ChangeEvent<HTMLInputElement>) => void;
|
|
6
6
|
validateValue?: (value: string) => boolean;
|
|
7
7
|
focusInput?: boolean;
|
|
8
8
|
}
|
|
9
|
+
export interface FormV2NumberInputProps extends Omit<FormV2InputProps, "value" | "onChange" | "validateValue"> {
|
|
10
|
+
value: number | undefined;
|
|
11
|
+
onChange: (value: number | undefined, event?: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
onlyInteger?: boolean;
|
|
15
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./input-container";
|
|
2
2
|
export * from "./interfaces";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./input-label";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library195.js";
|
|
2
|
-
import { LinearGaugeSegment as c } from "./sd-component-
|
|
3
|
-
import { LinearGaugeLabel as d } from "./sd-component-
|
|
2
|
+
import { LinearGaugeSegment as c } from "./sd-component-library250.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library251.js";
|
|
4
4
|
import { GridCenter as f } from "./sd-component-library42.js";
|
|
5
5
|
import { GridContainerV2 as h } from "./sd-component-library39.js";
|
|
6
6
|
function $(l) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library195.js";
|
|
2
|
-
import { isMatchingRange as u } from "./sd-component-
|
|
2
|
+
import { isMatchingRange as u } from "./sd-component-library252.js";
|
|
3
3
|
import { GridCenter as c } from "./sd-component-library42.js";
|
|
4
4
|
import { GridContainerV2 as f } from "./sd-component-library39.js";
|
|
5
|
-
import { LinearGaugeSegment as d } from "./sd-component-
|
|
6
|
-
import { LinearGaugeLabel as j } from "./sd-component-
|
|
5
|
+
import { LinearGaugeSegment as d } from "./sd-component-library250.js";
|
|
6
|
+
import { LinearGaugeLabel as j } from "./sd-component-library251.js";
|
|
7
7
|
const M = ({
|
|
8
8
|
gap: i = 3,
|
|
9
9
|
segmentHeight: l = 8,
|
|
@@ -3,9 +3,9 @@ import { useRef as B, useState as I, useEffect as R } from "react";
|
|
|
3
3
|
import { Box as s } from "rebass";
|
|
4
4
|
import { useBodyScrollLock as E } from "./sd-component-library3.js";
|
|
5
5
|
import { isIOS as F, isPDFFlow as T } from "./sd-component-library4.js";
|
|
6
|
-
import X from "./sd-component-
|
|
6
|
+
import X from "./sd-component-library254.js";
|
|
7
7
|
import { OutsideClickBox as P } from "./sd-component-library11.js";
|
|
8
|
-
import { ReactComponent as z } from "./sd-component-
|
|
8
|
+
import { ReactComponent as z } from "./sd-component-library255.js";
|
|
9
9
|
import { FlexCenter as A } from "./sd-component-library35.js";
|
|
10
10
|
import { Button as D } from "./sd-component-library25.js";
|
|
11
11
|
const r = 500, J = (d) => {
|
|
@@ -3,7 +3,7 @@ import u, { useState as h, useMemo as f } from "react";
|
|
|
3
3
|
import { Box as g } from "rebass";
|
|
4
4
|
import { OutsideClickBox as b } from "./sd-component-library11.js";
|
|
5
5
|
import { ReactComponent as j } from "./sd-component-library186.js";
|
|
6
|
-
import { CustomOptionBox as C } from "./sd-component-
|
|
6
|
+
import { CustomOptionBox as C } from "./sd-component-library262.js";
|
|
7
7
|
import { GridCenter as S } from "./sd-component-library42.js";
|
|
8
8
|
import { EighteenRegular as d } from "./sd-component-library141.js";
|
|
9
9
|
import { HorizontalDivider as _ } from "./sd-component-library49.js";
|
|
@@ -3,7 +3,7 @@ import { useState as x } from "react";
|
|
|
3
3
|
import { BaseLabel as f } from "./sd-component-library226.js";
|
|
4
4
|
import { OutsideClickBox as u } from "./sd-component-library11.js";
|
|
5
5
|
import { ReactComponent as h } from "./sd-component-library186.js";
|
|
6
|
-
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-
|
|
6
|
+
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-library263.js";
|
|
7
7
|
import { GridContainerV2 as g } from "./sd-component-library39.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library149.js";
|
|
9
9
|
import { FlexCenter as j } from "./sd-component-library35.js";
|
|
@@ -5,7 +5,7 @@ import { ReactComponent as x } from "./sd-component-library186.js";
|
|
|
5
5
|
import { ResponsiveTextV2 as f } from "./sd-component-library149.js";
|
|
6
6
|
import { BaseTextV2 as u } from "./sd-component-library137.js";
|
|
7
7
|
import { FlexCenter as h } from "./sd-component-library35.js";
|
|
8
|
-
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-
|
|
8
|
+
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-library263.js";
|
|
9
9
|
const k = ({
|
|
10
10
|
width: l,
|
|
11
11
|
options: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library195.js";
|
|
2
2
|
import { useMemo as S, useCallback as p } from "react";
|
|
3
|
-
import { BaseSelectorV2 as u } from "./sd-component-
|
|
3
|
+
import { BaseSelectorV2 as u } from "./sd-component-library264.js";
|
|
4
4
|
const g = ({
|
|
5
5
|
value: s,
|
|
6
6
|
onChange: r,
|
|
@@ -2,7 +2,7 @@ import { j as o } from "./sd-component-library195.js";
|
|
|
2
2
|
import { useState as x } from "react";
|
|
3
3
|
import { BaseLabel as f } from "./sd-component-library226.js";
|
|
4
4
|
import { ReactComponent as u } from "./sd-component-library186.js";
|
|
5
|
-
import { CustomScrollableOptionsBox as h } from "./sd-component-
|
|
5
|
+
import { CustomScrollableOptionsBox as h } from "./sd-component-library265.js";
|
|
6
6
|
import { GridContainerV2 as S } from "./sd-component-library39.js";
|
|
7
7
|
import { OutsideClickBox as b } from "./sd-component-library11.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library149.js";
|
|
@@ -4,7 +4,7 @@ import { Flex as i } from "rebass";
|
|
|
4
4
|
import { OutsideClickBox as d } from "./sd-component-library11.js";
|
|
5
5
|
import { BaseLabel as u } from "./sd-component-library226.js";
|
|
6
6
|
import { ReactComponent as f } from "./sd-component-library186.js";
|
|
7
|
-
import { CustomScrollableOptionsBox as h } from "./sd-component-
|
|
7
|
+
import { CustomScrollableOptionsBox as h } from "./sd-component-library266.js";
|
|
8
8
|
import { ResponsiveTextV2 as b } from "./sd-component-library149.js";
|
|
9
9
|
const w = (t) => {
|
|
10
10
|
const { leftSlot: s, label: l, value: n, width: c } = t, [e, r] = x(!1), p = () => r(!1), a = () => r((m) => !m);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library195.js";
|
|
2
2
|
import { IconButton as s } from "./sd-component-library22.js";
|
|
3
|
-
import { ReactComponent as c } from "./sd-component-
|
|
3
|
+
import { ReactComponent as c } from "./sd-component-library200.js";
|
|
4
4
|
import { EighteenBold as p } from "./sd-component-library140.js";
|
|
5
5
|
import { GridCenter as g } from "./sd-component-library42.js";
|
|
6
6
|
const C = ({
|
|
@@ -2,9 +2,9 @@ import { j as t } from "./sd-component-library195.js";
|
|
|
2
2
|
import { useState as y } from "react";
|
|
3
3
|
import { Flex as m } from "rebass";
|
|
4
4
|
import { useBoundingClientRect as x } from "./sd-component-library3.js";
|
|
5
|
-
import { ArrowButton as l } from "./sd-component-
|
|
6
|
-
import { Mask as p } from "./sd-component-
|
|
7
|
-
import { Tab as A } from "./sd-component-
|
|
5
|
+
import { ArrowButton as l } from "./sd-component-library267.js";
|
|
6
|
+
import { Mask as p } from "./sd-component-library268.js";
|
|
7
|
+
import { Tab as A } from "./sd-component-library269.js";
|
|
8
8
|
import { HorizontalDivider as E } from "./sd-component-library49.js";
|
|
9
9
|
const s = 30, e = `${s}px`, w = "30px";
|
|
10
10
|
function Q({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library195.js";
|
|
2
2
|
import { Box as w, Flex as s } from "rebass";
|
|
3
|
-
import { TabV2 as T } from "./sd-component-
|
|
3
|
+
import { TabV2 as T } from "./sd-component-library270.js";
|
|
4
4
|
import { GridContainerV2 as G } from "./sd-component-library39.js";
|
|
5
5
|
const h = 25, b = ({
|
|
6
6
|
tabs: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library195.js";
|
|
2
2
|
import { useRef as v, useState as w, useEffect as m } from "react";
|
|
3
3
|
import { Box as S } from "rebass";
|
|
4
|
-
import { ScrollableTabWrapper as C } from "./sd-component-
|
|
5
|
-
import { Tab as j } from "./sd-component-
|
|
4
|
+
import { ScrollableTabWrapper as C } from "./sd-component-library271.js";
|
|
5
|
+
import { Tab as j } from "./sd-component-library272.js";
|
|
6
6
|
import { VerticalDivider as E } from "./sd-component-library50.js";
|
|
7
7
|
import { BaseGridContainer as y } from "./sd-component-library36.js";
|
|
8
8
|
import { MaxMaxContainer as L } from "./sd-component-library41.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library195.js";
|
|
2
|
-
import { renderUpToFiveCrumbs as o, renderMoreThanFiveCrumbs as m } from "./sd-component-
|
|
2
|
+
import { renderUpToFiveCrumbs as o, renderMoreThanFiveCrumbs as m } from "./sd-component-library199.js";
|
|
3
3
|
import { GridCenter as d } from "./sd-component-library42.js";
|
|
4
4
|
const h = ({
|
|
5
5
|
textTransform: t,
|
|
@@ -4,7 +4,7 @@ import { Flex as s, Box as i } from "rebass";
|
|
|
4
4
|
import { useHover as m } from "./sd-component-library3.js";
|
|
5
5
|
import { ReactComponent as b } from "./sd-component-library186.js";
|
|
6
6
|
import { TriangularPointerIcon as u } from "./sd-component-library189.js";
|
|
7
|
-
import { ActionBox as g } from "./sd-component-
|
|
7
|
+
import { ActionBox as g } from "./sd-component-library253.js";
|
|
8
8
|
import { HorizontalDivider as n } from "./sd-component-library49.js";
|
|
9
9
|
const B = (x) => {
|
|
10
10
|
const {
|
|
@@ -2,7 +2,7 @@ import { j as o } from "./sd-component-library195.js";
|
|
|
2
2
|
import { useState as y, useRef as a } from "react";
|
|
3
3
|
import { Box as z } from "rebass";
|
|
4
4
|
import { useBreakPoints as B, useBodyScrollLock as C } from "./sd-component-library3.js";
|
|
5
|
-
import E from "./sd-component-
|
|
5
|
+
import E from "./sd-component-library254.js";
|
|
6
6
|
import { TooltipWithPointerMobile as M } from "./sd-component-library274.js";
|
|
7
7
|
import { TooltipWithPointerHorizontal as V } from "./sd-component-library275.js";
|
|
8
8
|
import { TooltipWithPointerVertical as D } from "./sd-component-library276.js";
|
|
@@ -1,6 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as t } from "./sd-component-library195.js";
|
|
2
|
+
import { Crumb as c } from "./sd-component-library16.js";
|
|
3
|
+
const l = (s, h, p) => s.map(({ title: e, dontTranslate: r, onClick: u }, o) => /* @__PURE__ */ t.jsx(
|
|
4
|
+
c,
|
|
5
|
+
{
|
|
6
|
+
variant: h,
|
|
7
|
+
crumb: { title: e, dontTranslate: r },
|
|
8
|
+
isLast: o === s.length - 1,
|
|
9
|
+
textTransform: p,
|
|
10
|
+
onClick: u
|
|
11
|
+
},
|
|
12
|
+
e + o
|
|
13
|
+
)), a = (s, h, p) => {
|
|
14
|
+
const e = [];
|
|
15
|
+
return s.slice(0, 2).forEach(({ title: r, dontTranslate: u, onClick: o }, m) => {
|
|
16
|
+
e.push(
|
|
17
|
+
/* @__PURE__ */ t.jsx(
|
|
18
|
+
c,
|
|
19
|
+
{
|
|
20
|
+
variant: h,
|
|
21
|
+
crumb: { title: r, dontTranslate: u },
|
|
22
|
+
isLast: !1,
|
|
23
|
+
textTransform: p,
|
|
24
|
+
onClick: o
|
|
25
|
+
},
|
|
26
|
+
r + m
|
|
27
|
+
)
|
|
28
|
+
);
|
|
29
|
+
}), e.push(
|
|
30
|
+
/* @__PURE__ */ t.jsx(
|
|
31
|
+
c,
|
|
32
|
+
{
|
|
33
|
+
variant: h,
|
|
34
|
+
crumb: { title: "..." },
|
|
35
|
+
isLast: !1,
|
|
36
|
+
textTransform: p
|
|
37
|
+
},
|
|
38
|
+
"..."
|
|
39
|
+
)
|
|
40
|
+
), s.slice(s.length - 2, s.length).forEach(({ title: r, onClick: u, dontTranslate: o }, m) => {
|
|
41
|
+
e.push(
|
|
42
|
+
/* @__PURE__ */ t.jsx(
|
|
43
|
+
c,
|
|
44
|
+
{
|
|
45
|
+
variant: h,
|
|
46
|
+
crumb: { title: r, dontTranslate: o },
|
|
47
|
+
isLast: m === 1,
|
|
48
|
+
textTransform: p,
|
|
49
|
+
onClick: u
|
|
50
|
+
},
|
|
51
|
+
r + m
|
|
52
|
+
)
|
|
53
|
+
);
|
|
54
|
+
}), e;
|
|
55
|
+
};
|
|
3
56
|
export {
|
|
4
|
-
|
|
57
|
+
a as renderMoreThanFiveCrumbs,
|
|
58
|
+
l as renderUpToFiveCrumbs
|
|
5
59
|
};
|
|
6
60
|
//# sourceMappingURL=sd-component-library199.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library199.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library199.js","sources":["../src/components/breadcrumbs/breadcrumb/functions.tsx"],"sourcesContent":["import React, { CSSProperties } from \"react\";\n\nimport { Crumb, CrumbType } from \"./crumb\";\n\nexport const renderUpToFiveCrumbs = (\n crumbs: CrumbType[],\n variant: string | undefined,\n textTransform: CSSProperties[\"textTransform\"]\n) => {\n return crumbs.map(({ title, dontTranslate, onClick }, index: number) => (\n <Crumb\n variant={variant}\n crumb={{ title, dontTranslate }}\n isLast={index === crumbs.length - 1}\n key={title + index}\n textTransform={textTransform}\n onClick={onClick}\n />\n ));\n};\n\nexport const renderMoreThanFiveCrumbs = (\n crumbs: CrumbType[],\n variant: string | undefined,\n textTransform: CSSProperties[\"textTransform\"]\n) => {\n const elements: JSX.Element[] = [];\n\n crumbs\n .slice(0, 2)\n .forEach(({ title, dontTranslate, onClick }, index: number): void => {\n elements.push(\n <Crumb\n variant={variant}\n crumb={{ title, dontTranslate }}\n isLast={false}\n key={title + index}\n textTransform={textTransform}\n onClick={onClick}\n />\n );\n });\n elements.push(\n <Crumb\n variant={variant}\n crumb={{ title: \"...\" }}\n isLast={false}\n textTransform={textTransform}\n key=\"...\"\n />\n );\n\n crumbs\n .slice(crumbs.length - 2, crumbs.length)\n .forEach(({ title, onClick, dontTranslate }, index: number): void => {\n elements.push(\n <Crumb\n variant={variant}\n crumb={{ title, dontTranslate }}\n isLast={index === 1}\n key={title + index}\n textTransform={textTransform}\n onClick={onClick}\n />\n );\n });\n return elements;\n};\n"],"names":["renderUpToFiveCrumbs","crumbs","variant","textTransform","title","dontTranslate","onClick","index","jsx","Crumb","renderMoreThanFiveCrumbs","elements"],"mappings":";;AAIO,MAAMA,IAAuB,CAClCC,GACAC,GACAC,MAEOF,EAAO,IAAI,CAAC,EAAE,OAAAG,GAAO,eAAAC,GAAe,SAAAC,EAAA,GAAWC,MACpDC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAAAP;AAAA,IACA,OAAO,EAAE,OAAAE,GAAO,eAAAC,EAAc;AAAA,IAC9B,QAAQE,MAAUN,EAAO,SAAS;AAAA,IAElC,eAAAE;AAAA,IACA,SAAAG;AAAA,EAAA;AAAA,EAFKF,IAAQG;AAAA,CAIhB,GAGUG,IAA2B,CACtCT,GACAC,GACAC,MACG;AACH,QAAMQ,IAA0B,CAAA;AAG7B,SAAAV,EAAA,MAAM,GAAG,CAAC,EACV,QAAQ,CAAC,EAAE,OAAAG,GAAO,eAAAC,GAAe,SAAAC,EAAQ,GAAGC,MAAwB;AAC1D,IAAAI,EAAA;AAAA,MACPH,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,SAAAP;AAAA,UACA,OAAO,EAAE,OAAAE,GAAO,eAAAC,EAAc;AAAA,UAC9B,QAAQ;AAAA,UAER,eAAAF;AAAA,UACA,SAAAG;AAAA,QAAA;AAAA,QAFKF,IAAQG;AAAA,MAGf;AAAA,IAAA;AAAA,EACF,CACD,GACMI,EAAA;AAAA,IACPH,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,SAAAP;AAAA,QACA,OAAO,EAAE,OAAO,MAAM;AAAA,QACtB,QAAQ;AAAA,QACR,eAAAC;AAAA,MAAA;AAAA,MACI;AAAA,IACN;AAAA,EAAA,GAGFF,EACG,MAAMA,EAAO,SAAS,GAAGA,EAAO,MAAM,EACtC,QAAQ,CAAC,EAAE,OAAAG,GAAO,SAAAE,GAAS,eAAAD,EAAA,GAAiBE,MAAwB;AAC1D,IAAAI,EAAA;AAAA,MACPH,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,SAAAP;AAAA,UACA,OAAO,EAAE,OAAAE,GAAO,eAAAC,EAAc;AAAA,UAC9B,QAAQE,MAAU;AAAA,UAElB,eAAAJ;AAAA,UACA,SAAAG;AAAA,QAAA;AAAA,QAFKF,IAAQG;AAAA,MAGf;AAAA,IAAA;AAAA,EACF,CACD,GACII;AACT;"}
|
|
@@ -1,60 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const l = (s, h, p) => s.map(({ title: e, dontTranslate: r, onClick: u }, o) => /* @__PURE__ */ t.jsx(
|
|
4
|
-
c,
|
|
5
|
-
{
|
|
6
|
-
variant: h,
|
|
7
|
-
crumb: { title: e, dontTranslate: r },
|
|
8
|
-
isLast: o === s.length - 1,
|
|
9
|
-
textTransform: p,
|
|
10
|
-
onClick: u
|
|
11
|
-
},
|
|
12
|
-
e + o
|
|
13
|
-
)), a = (s, h, p) => {
|
|
14
|
-
const e = [];
|
|
15
|
-
return s.slice(0, 2).forEach(({ title: r, dontTranslate: u, onClick: o }, m) => {
|
|
16
|
-
e.push(
|
|
17
|
-
/* @__PURE__ */ t.jsx(
|
|
18
|
-
c,
|
|
19
|
-
{
|
|
20
|
-
variant: h,
|
|
21
|
-
crumb: { title: r, dontTranslate: u },
|
|
22
|
-
isLast: !1,
|
|
23
|
-
textTransform: p,
|
|
24
|
-
onClick: o
|
|
25
|
-
},
|
|
26
|
-
r + m
|
|
27
|
-
)
|
|
28
|
-
);
|
|
29
|
-
}), e.push(
|
|
30
|
-
/* @__PURE__ */ t.jsx(
|
|
31
|
-
c,
|
|
32
|
-
{
|
|
33
|
-
variant: h,
|
|
34
|
-
crumb: { title: "..." },
|
|
35
|
-
isLast: !1,
|
|
36
|
-
textTransform: p
|
|
37
|
-
},
|
|
38
|
-
"..."
|
|
39
|
-
)
|
|
40
|
-
), s.slice(s.length - 2, s.length).forEach(({ title: r, onClick: u, dontTranslate: o }, m) => {
|
|
41
|
-
e.push(
|
|
42
|
-
/* @__PURE__ */ t.jsx(
|
|
43
|
-
c,
|
|
44
|
-
{
|
|
45
|
-
variant: h,
|
|
46
|
-
crumb: { title: r, dontTranslate: o },
|
|
47
|
-
isLast: m === 1,
|
|
48
|
-
textTransform: p,
|
|
49
|
-
onClick: u
|
|
50
|
-
},
|
|
51
|
-
r + m
|
|
52
|
-
)
|
|
53
|
-
);
|
|
54
|
-
}), e;
|
|
55
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const e = (a) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 9.984, height: 6.021, viewBox: "0 0 9.984 6.021", ...a }, /* @__PURE__ */ t.createElement("path", { id: "dropdown_arrow_up", d: "M1262.106,88.295l4.662-4.218a.336.336,0,0,1,.459,0l4.662,4.218a.266.266,0,0,1,0,.416l-.5,1.205a.327.327,0,0,1-.23.091.331.331,0,0,1-.23-.091L1267,86.359l-3.93,3.557a.338.338,0,0,1-.46,0l-.5-1.205a.265.265,0,0,1,0-.416Z", transform: "translate(-1262.005 -83.986)" }));
|
|
56
3
|
export {
|
|
57
|
-
|
|
58
|
-
l as renderUpToFiveCrumbs
|
|
4
|
+
e as ReactComponent
|
|
59
5
|
};
|
|
60
6
|
//# sourceMappingURL=sd-component-library200.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library200.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library200.js","sources":["../src/components/accordions/base-accordion/assets/dropdown_arrow_up.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5Ljk4NCIgaGVpZ2h0PSI2LjAyMSIgdmlld0JveD0iMCAwIDkuOTg0IDYuMDIxIj4NCiAgPHBhdGggaWQ9ImRyb3Bkb3duX2Fycm93X3VwIiBkPSJNMTI2Mi4xMDYsODguMjk1bDQuNjYyLTQuMjE4YS4zMzYuMzM2LDAsMCwxLC40NTksMGw0LjY2Miw0LjIxOGEuMjY2LjI2NiwwLDAsMSwwLC40MTZsLS41LDEuMjA1YS4zMjcuMzI3LDAsMCwxLS4yMy4wOTEuMzMxLjMzMSwwLDAsMS0uMjMtLjA5MUwxMjY3LDg2LjM1OWwtMy45MywzLjU1N2EuMzM4LjMzOCwwLDAsMS0uNDYsMGwtLjUtMS4yMDVhLjI2NS4yNjUsMCwwLDEsMC0uNDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEyNjIuMDA1IC04My45ODYpIi8+DQo8L3N2Zz4NCg==\""],"names":["SvgDropdownArrowUp","props","React"],"mappings":";AACK,MAACA,IAAqB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,OAAO,QAAQ,OAAO,SAAS,mBAAmB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,IAAI,qBAAqB,GAAG,8NAA8N,WAAW,+BAA8B,CAAE,CAAC;"}
|
|
@@ -1,28 +1,68 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { Box as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library195.js";
|
|
2
|
+
import { Box as n } from "rebass";
|
|
3
|
+
import { useHover as S } from "./sd-component-library3.js";
|
|
4
|
+
import { isTouchScreen as j } from "./sd-component-library4.js";
|
|
5
|
+
import { FlexItemsCenter as v, FlexCenter as z } from "./sd-component-library35.js";
|
|
6
|
+
const g = "10px", e = "20px", B = "5px", R = ({
|
|
7
|
+
disabled: o,
|
|
8
|
+
containerSx: x,
|
|
9
|
+
showHoverCheckbox: c,
|
|
10
|
+
bg: s,
|
|
11
|
+
showBGColorWhenIdle: l,
|
|
12
|
+
disabledColor: p = "cl_grey",
|
|
13
|
+
color: h = "cl_blue",
|
|
14
|
+
children: d,
|
|
15
|
+
showInnerBox: m,
|
|
16
|
+
onClick: u,
|
|
17
|
+
borderRadius: C = "3px",
|
|
18
|
+
borderWidth: a = "2px",
|
|
19
|
+
innerBoxSx: f
|
|
20
|
+
}) => {
|
|
21
|
+
const { isHover: b, hoverCallbacks: k } = S(), t = b || !c || j(), i = o ? p : h;
|
|
22
|
+
return /* @__PURE__ */ r.jsxs(
|
|
23
|
+
v,
|
|
8
24
|
{
|
|
25
|
+
onClick: o ? void 0 : u,
|
|
9
26
|
sx: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
stroke: i || "none",
|
|
14
|
-
animation: "rotation 2s infinite linear",
|
|
15
|
-
"@keyframes rotation ": {
|
|
16
|
-
from: { transform: "rotate(0deg)" },
|
|
17
|
-
to: { transform: "rotate(359deg)" }
|
|
18
|
-
}
|
|
27
|
+
cursor: o ? "default" : "pointer",
|
|
28
|
+
gap: "10px",
|
|
29
|
+
...x
|
|
19
30
|
},
|
|
20
|
-
|
|
21
|
-
children:
|
|
31
|
+
...k,
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ r.jsx(n, { size: e, sx: { flexShrink: 0 }, children: /* @__PURE__ */ r.jsx(
|
|
34
|
+
z,
|
|
35
|
+
{
|
|
36
|
+
width: t ? e : B,
|
|
37
|
+
height: e,
|
|
38
|
+
bg: l && t ? "" : s,
|
|
39
|
+
sx: {
|
|
40
|
+
flexShrink: 0,
|
|
41
|
+
borderRadius: C,
|
|
42
|
+
borderWidth: a,
|
|
43
|
+
borderColor: i,
|
|
44
|
+
borderStyle: "solid",
|
|
45
|
+
transition: "width 0.1s ease-in"
|
|
46
|
+
},
|
|
47
|
+
children: m && /* @__PURE__ */ r.jsx(
|
|
48
|
+
n,
|
|
49
|
+
{
|
|
50
|
+
sx: {
|
|
51
|
+
border: `calc(${g} / 2) solid`,
|
|
52
|
+
borderColor: i,
|
|
53
|
+
borderRadius: "2px",
|
|
54
|
+
...f
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
}
|
|
59
|
+
) }),
|
|
60
|
+
d
|
|
61
|
+
]
|
|
22
62
|
}
|
|
23
63
|
);
|
|
24
64
|
};
|
|
25
65
|
export {
|
|
26
|
-
|
|
66
|
+
R as CheckboxV2Container
|
|
27
67
|
};
|
|
28
68
|
//# sourceMappingURL=sd-component-library204.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library204.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library204.js","sources":["../src/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/checkbox-v2-container.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { useHover } from \"../../../../../core/custom-hooks\";\nimport { isTouchScreen } from \"../../../../../core/functions\";\nimport { FlexCenter, FlexItemsCenter } from \"../../../../containers\";\nimport { CheckboxV2ContainerProps as Props } from \"./interfaces\";\n\nconst innerBoxSize = \"10px\";\nconst outerBoxSize = \"20px\";\n\nconst shrankSize = \"5px\";\n\nexport const CheckboxV2Container: React.FC<Props> = ({\n disabled,\n containerSx,\n showHoverCheckbox,\n bg,\n showBGColorWhenIdle,\n disabledColor = \"cl_grey\",\n color = \"cl_blue\",\n children,\n showInnerBox,\n onClick,\n borderRadius = \"3px\",\n borderWidth = \"2px\",\n innerBoxSx,\n}) => {\n const { isHover, hoverCallbacks } = useHover();\n const isCheckboxExtended = isHover || !showHoverCheckbox || isTouchScreen();\n const currentColor = disabled ? disabledColor : color;\n\n return (\n <FlexItemsCenter\n onClick={disabled ? undefined : onClick}\n sx={{\n cursor: disabled ? \"default\" : \"pointer\",\n gap: \"10px\",\n ...containerSx,\n }}\n {...hoverCallbacks}\n >\n <Box size={outerBoxSize} sx={{ flexShrink: 0 }}>\n <FlexCenter\n width={isCheckboxExtended ? outerBoxSize : shrankSize}\n height={outerBoxSize}\n bg={showBGColorWhenIdle ? (isCheckboxExtended ? \"\" : bg) : bg}\n sx={{\n flexShrink: 0,\n borderRadius,\n borderWidth,\n borderColor: currentColor,\n borderStyle: \"solid\",\n transition: \"width 0.1s ease-in\",\n }}\n >\n {showInnerBox && (\n <Box\n sx={{\n border: `calc(${innerBoxSize} / 2) solid`,\n borderColor: currentColor,\n borderRadius: \"2px\",\n ...innerBoxSx,\n }}\n />\n )}\n </FlexCenter>\n </Box>\n\n {children}\n </FlexItemsCenter>\n );\n};\n"],"names":["innerBoxSize","outerBoxSize","shrankSize","CheckboxV2Container","disabled","containerSx","showHoverCheckbox","bg","showBGColorWhenIdle","disabledColor","color","children","showInnerBox","onClick","borderRadius","borderWidth","innerBoxSx","isHover","hoverCallbacks","useHover","isCheckboxExtended","isTouchScreen","currentColor","jsxs","FlexItemsCenter","jsx","Box","FlexCenter"],"mappings":";;;;;AASA,MAAMA,IAAe,QACfC,IAAe,QAEfC,IAAa,OAENC,IAAuC,CAAC;AAAA,EACnD,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,IAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,aAAAC,IAAc;AAAA,EACd,YAAAC;AACF,MAAM;AACJ,QAAM,EAAE,SAAAC,GAAS,gBAAAC,EAAe,IAAIC,EAAS,GACvCC,IAAqBH,KAAW,CAACX,KAAqBe,EAAc,GACpEC,IAAelB,IAAWK,IAAgBC;AAG9C,SAAAa,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAASpB,IAAW,SAAYS;AAAA,MAChC,IAAI;AAAA,QACF,QAAQT,IAAW,YAAY;AAAA,QAC/B,KAAK;AAAA,QACL,GAAGC;AAAA,MACL;AAAA,MACC,GAAGa;AAAA,MAEJ,UAAA;AAAA,QAAAO,gBAAAA,MAACC,KAAI,MAAMzB,GAAc,IAAI,EAAE,YAAY,KACzC,UAAAwB,gBAAAA,EAAA;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,OAAOP,IAAqBnB,IAAeC;AAAA,YAC3C,QAAQD;AAAA,YACR,IAAIO,KAAuBY,IAAqB,KAAWb;AAAA,YAC3D,IAAI;AAAA,cACF,YAAY;AAAA,cACZ,cAAAO;AAAA,cACA,aAAAC;AAAA,cACA,aAAaO;AAAA,cACb,aAAa;AAAA,cACb,YAAY;AAAA,YACd;AAAA,YAEC,UACCV,KAAAa,gBAAAA,EAAA;AAAA,cAACC;AAAA,cAAA;AAAA,gBACC,IAAI;AAAA,kBACF,QAAQ,QAAQ1B,CAAY;AAAA,kBAC5B,aAAasB;AAAA,kBACb,cAAc;AAAA,kBACd,GAAGN;AAAA,gBACL;AAAA,cAAA;AAAA,YACF;AAAA,UAAA;AAAA,QAAA,GAGN;AAAA,QAECL;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,22 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
1
|
+
import { j as o } from "./sd-component-library195.js";
|
|
2
|
+
import { Box as m } from "rebass";
|
|
3
|
+
import { ReactComponent as p } from "./sd-component-library180.js";
|
|
3
4
|
const l = (t) => {
|
|
4
|
-
const {
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
|
|
5
|
+
const { width: n, height: r, fill: e, stroke: i, icon: s } = t, a = s || p;
|
|
6
|
+
return /* @__PURE__ */ o.jsx(
|
|
7
|
+
m,
|
|
7
8
|
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
sx: {
|
|
10
|
+
width: n || 25,
|
|
11
|
+
height: r || 25,
|
|
12
|
+
fill: e || "purple",
|
|
13
|
+
stroke: i || "none",
|
|
14
|
+
animation: "rotation 2s infinite linear",
|
|
15
|
+
"@keyframes rotation ": {
|
|
16
|
+
from: { transform: "rotate(0deg)" },
|
|
17
|
+
to: { transform: "rotate(359deg)" }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"data-test": "loading-spinner",
|
|
21
|
+
children: /* @__PURE__ */ o.jsx(a, {})
|
|
16
22
|
}
|
|
17
23
|
);
|
|
18
24
|
};
|
|
19
25
|
export {
|
|
20
|
-
l as
|
|
26
|
+
l as LoadingSpinner
|
|
21
27
|
};
|
|
22
28
|
//# sourceMappingURL=sd-component-library205.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library205.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library205.js","sources":["../src/components/animations/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { RescanIcon } from \"../../icons\";\nimport { LoadingSpinnerProps as Props } from \"./interfaces\";\n\nexport const LoadingSpinner: React.FC<Props> = (props) => {\n const { width, height, fill, stroke, icon } = props;\n\n const IconComponent = icon || RescanIcon;\n\n return (\n <Box\n sx={{\n width: width || 25,\n height: height || 25,\n fill: fill || \"purple\",\n stroke: stroke || \"none\",\n animation: \"rotation 2s infinite linear\",\n\n \"@keyframes rotation \": {\n from: { transform: \"rotate(0deg)\" },\n to: { transform: \"rotate(359deg)\" },\n },\n }}\n data-test=\"loading-spinner\"\n >\n <IconComponent />\n </Box>\n );\n};\n"],"names":["LoadingSpinner","props","width","height","fill","stroke","icon","IconComponent","RescanIcon","jsx","Box"],"mappings":";;;AAOa,MAAAA,IAAkC,CAACC,MAAU;AACxD,QAAM,EAAE,OAAAC,GAAO,QAAAC,GAAQ,MAAAC,GAAM,QAAAC,GAAQ,MAAAC,EAAS,IAAAL,GAExCM,IAAgBD,KAAQE;AAG5B,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,OAAOR,KAAS;AAAA,QAChB,QAAQC,KAAU;AAAA,QAClB,MAAMC,KAAQ;AAAA,QACd,QAAQC,KAAU;AAAA,QAClB,WAAW;AAAA,QAEX,wBAAwB;AAAA,UACtB,MAAM,EAAE,WAAW,eAAe;AAAA,UAClC,IAAI,EAAE,WAAW,iBAAiB;AAAA,QACpC;AAAA,MACF;AAAA,MACA,aAAU;AAAA,MAEV,gCAACE,GAAc,EAAA;AAAA,IAAA;AAAA,EAAA;AAGrB;"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { j as a } from "./sd-component-library195.js";
|
|
2
|
+
import { Button as i } from "./sd-component-library25.js";
|
|
3
|
+
const l = (t) => {
|
|
4
|
+
const { variant: n, bg: o = "transparent", children: r } = t;
|
|
5
|
+
return /* @__PURE__ */ a.jsx(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
"data-testid": "logo-button",
|
|
9
|
+
...t,
|
|
10
|
+
link: "/",
|
|
11
|
+
isInternal: !1,
|
|
12
|
+
padding: "0px",
|
|
13
|
+
bg: o,
|
|
14
|
+
variant: `_logos.${n}`,
|
|
15
|
+
children: r
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
5
19
|
export {
|
|
6
|
-
l as
|
|
20
|
+
l as LogoButton
|
|
7
21
|
};
|
|
8
22
|
//# sourceMappingURL=sd-component-library206.js.map
|