@selfdecode/sd-component-library 4.0.89 → 4.0.90
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/sd-component-library100.js +2 -2
- package/lib/sd-component-library101.js +3 -3
- package/lib/sd-component-library104.js +2 -2
- package/lib/sd-component-library106.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-library195.js +3 -3
- package/lib/sd-component-library199.js +3 -2
- package/lib/sd-component-library199.js.map +1 -1
- package/lib/sd-component-library200.js +57 -30
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library201.js +24 -598
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +19 -3
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +5 -25
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +5 -57
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +61 -15
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +2 -5
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +30 -5
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +595 -61
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library210.js +19 -62
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +3 -23
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +3 -40
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +62 -19
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +23 -3
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +40 -3
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library227.js +3 -26
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library23.js +2 -2
- package/lib/sd-component-library230.js +3 -3
- package/lib/sd-component-library232.js +1 -1
- package/lib/sd-component-library233.js +1 -1
- package/lib/sd-component-library234.js +2 -2
- package/lib/sd-component-library236.js +1 -1
- package/lib/sd-component-library237.js +1 -1
- package/lib/sd-component-library238.js +64 -3
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +43 -21
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +11 -107
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +21 -47
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +108 -23
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +43 -49
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +22 -46
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +51 -73
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +46 -62
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +73 -41
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +40 -12
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +27 -41
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +21 -27
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +19 -20
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +2 -20
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +26 -2
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library256.js +25 -21
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library258.js +24 -22
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library260.js +21 -25
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +22 -24
- package/lib/sd-component-library261.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 +111 -39
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +27 -27
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +13 -43
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +112 -118
- 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-library282.js +10 -70
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +69 -101
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library284.js +91 -95
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +106 -10
- package/lib/sd-component-library285.js.map +1 -1
- package/lib/sd-component-library291.js +3 -3
- package/lib/sd-component-library292.js +4 -4
- package/lib/sd-component-library293.js +1 -1
- package/lib/sd-component-library294.js +3 -2
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +3 -77
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +3 -93
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +2 -53
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +76 -8
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +92 -4
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +48 -48
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +9 -3
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +5 -3
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +53 -3
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library314.js +91 -33
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +51 -25
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +33 -91
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +25 -51
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library32.js +1 -1
- package/lib/sd-component-library321.js +1 -1
- package/lib/sd-component-library33.js +1 -1
- package/lib/sd-component-library5.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-library58.js +18 -17
- package/lib/sd-component-library58.js.map +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library62.js +3 -3
- package/lib/sd-component-library63.js +1 -1
- package/lib/sd-component-library64.js +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library92.js +3 -3
- package/lib/sd-component-library94.js +5 -5
- package/lib/sd-component-library98.js +2 -2
- package/lib/sd-component-library99.js +3 -3
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library195.js";
|
|
2
2
|
import { useDependantState as j } from "./sd-component-library3.js";
|
|
3
|
-
import { SquareButton as g } from "./sd-component-
|
|
3
|
+
import { SquareButton as g } from "./sd-component-library256.js";
|
|
4
4
|
import { ReactComponent as P } from "./sd-component-library257.js";
|
|
5
|
-
import { CurrentPage as h } from "./sd-component-
|
|
5
|
+
import { CurrentPage as h } from "./sd-component-library258.js";
|
|
6
6
|
import { ReactComponent as S } from "./sd-component-library259.js";
|
|
7
7
|
import { GridCenter as R } from "./sd-component-library42.js";
|
|
8
8
|
function x(m, t, o, n) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library195.js";
|
|
2
|
-
import { PaginationBarButton as i } from "./sd-component-
|
|
2
|
+
import { PaginationBarButton as i } from "./sd-component-library260.js";
|
|
3
3
|
import { ReactComponent as h } from "./sd-component-library257.js";
|
|
4
|
-
import { PaginationBarCurrentPage as u } from "./sd-component-
|
|
4
|
+
import { PaginationBarCurrentPage as u } from "./sd-component-library261.js";
|
|
5
5
|
import { ReactComponent as f } from "./sd-component-library259.js";
|
|
6
6
|
import { GridContainerV2 as s } from "./sd-component-library39.js";
|
|
7
7
|
import { ResponsiveTextV2 as j } from "./sd-component-library149.js";
|
|
@@ -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-library199.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-library268.js";
|
|
6
|
+
import { Mask as p } from "./sd-component-library269.js";
|
|
7
|
+
import { Tab as A } from "./sd-component-library270.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-library267.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-library200.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 {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __module as e } from "./sd-component-
|
|
2
|
-
import { __require as r } from "./sd-component-
|
|
3
|
-
import { __require as o } from "./sd-component-
|
|
1
|
+
import { __module as e } from "./sd-component-library206.js";
|
|
2
|
+
import { __require as r } from "./sd-component-library207.js";
|
|
3
|
+
import { __require as o } from "./sd-component-library208.js";
|
|
4
4
|
process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
|
|
5
5
|
var m = e.exports;
|
|
6
6
|
export {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
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)" }));
|
|
2
3
|
export {
|
|
3
|
-
e as
|
|
4
|
+
e as ReactComponent
|
|
4
5
|
};
|
|
5
6
|
//# sourceMappingURL=sd-component-library199.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library199.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"sd-component-library199.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,33 +1,60 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
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
|
+
};
|
|
30
56
|
export {
|
|
31
|
-
|
|
57
|
+
a as renderMoreThanFiveCrumbs,
|
|
58
|
+
l as renderUpToFiveCrumbs
|
|
32
59
|
};
|
|
33
60
|
//# sourceMappingURL=sd-component-library200.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library200.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library200.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;"}
|