@phillips/seldon 1.137.0 → 1.138.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/assets/formatted/Account.d.ts +9 -0
- package/dist/assets/formatted/Account.js +36 -0
- package/dist/assets/formatted/AccountActive.d.ts +9 -0
- package/dist/assets/formatted/AccountActive.js +37 -0
- package/dist/assets/formatted/Add.d.ts +9 -0
- package/dist/assets/formatted/Add.js +29 -0
- package/dist/assets/formatted/AppleAppStoreBadge.d.ts +1 -1
- package/dist/assets/formatted/AppleAppStoreBadge.js +8 -8
- package/dist/assets/formatted/ArrowDown.d.ts +9 -0
- package/dist/assets/formatted/ArrowDown.js +29 -0
- package/dist/assets/formatted/ArrowLeft.d.ts +9 -0
- package/dist/assets/formatted/ArrowLeft.js +29 -0
- package/dist/assets/formatted/ArrowRight.d.ts +9 -0
- package/dist/assets/formatted/ArrowRight.js +29 -0
- package/dist/assets/formatted/ArrowUp.d.ts +9 -0
- package/dist/assets/formatted/ArrowUp.js +29 -0
- package/dist/assets/formatted/Bag.d.ts +9 -0
- package/dist/assets/formatted/Bag.js +37 -0
- package/dist/assets/formatted/Calendar.d.ts +1 -1
- package/dist/assets/formatted/Calendar.js +24 -16
- package/dist/assets/formatted/ChevronDown.d.ts +1 -1
- package/dist/assets/formatted/ChevronDown.js +9 -9
- package/dist/assets/formatted/ChevronLeft.d.ts +9 -0
- package/dist/assets/formatted/{ChevronNext.js → ChevronLeft.js} +6 -6
- package/dist/assets/formatted/ChevronRight.d.ts +1 -1
- package/dist/assets/formatted/ChevronRight.js +12 -12
- package/dist/assets/formatted/ChevronUp.d.ts +9 -0
- package/dist/assets/formatted/ChevronUp.js +37 -0
- package/dist/assets/formatted/Close (x).d.ts +9 -0
- package/dist/assets/formatted/CloseX.d.ts +9 -0
- package/dist/assets/formatted/CloseX.js +29 -0
- package/dist/assets/formatted/ConditionReport.d.ts +9 -0
- package/dist/assets/formatted/ConditionReport.js +37 -0
- package/dist/assets/formatted/Delete.d.ts +9 -0
- package/dist/assets/formatted/Delete.js +38 -0
- package/dist/assets/formatted/Download.d.ts +9 -0
- package/dist/assets/formatted/Download.js +30 -0
- package/dist/assets/formatted/Edit.d.ts +9 -0
- package/dist/assets/formatted/Edit.js +38 -0
- package/dist/assets/formatted/Email.d.ts +9 -0
- package/dist/assets/formatted/Email.js +37 -0
- package/dist/assets/formatted/Error.d.ts +9 -0
- package/dist/assets/formatted/Error.js +38 -0
- package/dist/assets/formatted/ExternalLink.d.ts +9 -0
- package/dist/assets/formatted/ExternalLink.js +30 -0
- package/dist/assets/formatted/Facebook.d.ts +9 -0
- package/dist/assets/formatted/Facebook.js +35 -0
- package/dist/assets/formatted/Favorite.d.ts +1 -1
- package/dist/assets/formatted/Favorite.js +18 -21
- package/dist/assets/formatted/FavoriteActive.d.ts +9 -0
- package/dist/assets/formatted/FavoriteActive.js +44 -0
- package/dist/assets/formatted/Filters.d.ts +9 -0
- package/dist/assets/formatted/Filters.js +37 -0
- package/dist/assets/formatted/Fullscreen.d.ts +9 -0
- package/dist/assets/formatted/Fullscreen.js +37 -0
- package/dist/assets/formatted/FullscreenExit.d.ts +9 -0
- package/dist/assets/formatted/FullscreenExit.js +29 -0
- package/dist/assets/formatted/Gavel.d.ts +9 -0
- package/dist/assets/formatted/Gavel.js +37 -0
- package/dist/assets/formatted/GavelActive.d.ts +9 -0
- package/dist/assets/formatted/GavelActive.js +37 -0
- package/dist/assets/formatted/Grid.d.ts +9 -0
- package/dist/assets/formatted/Grid.js +29 -0
- package/dist/assets/formatted/Hide.d.ts +9 -0
- package/dist/assets/formatted/Hide.js +44 -0
- package/dist/assets/formatted/Home.d.ts +9 -0
- package/dist/assets/formatted/Home.js +36 -0
- package/dist/assets/formatted/HomeActive.d.ts +9 -0
- package/dist/assets/formatted/HomeActive.js +39 -0
- package/dist/assets/formatted/Icon.d.ts +9 -0
- package/dist/assets/formatted/Icon.js +35 -0
- package/dist/assets/formatted/IconGreenCircle.d.ts +1 -1
- package/dist/assets/formatted/IconRedCircle.d.ts +1 -1
- package/dist/assets/formatted/Instagram.d.ts +1 -1
- package/dist/assets/formatted/Instagram.js +23 -38
- package/dist/assets/formatted/LinkedIn.d.ts +9 -0
- package/dist/assets/formatted/LinkedIn.js +35 -0
- package/dist/assets/formatted/List.d.ts +9 -0
- package/dist/assets/formatted/List.js +38 -0
- package/dist/assets/formatted/Lock.d.ts +1 -1
- package/dist/assets/formatted/Lock.js +13 -19
- package/dist/assets/formatted/MagnificentSeven.d.ts +1 -1
- package/dist/assets/formatted/Menu.d.ts +1 -1
- package/dist/assets/formatted/Mute.d.ts +9 -0
- package/dist/assets/formatted/Mute.js +51 -0
- package/dist/assets/formatted/Pause.d.ts +9 -0
- package/dist/assets/formatted/Pause.js +35 -0
- package/dist/assets/formatted/PhillipsAppIcon.d.ts +1 -1
- package/dist/assets/formatted/PhillipsLogo.d.ts +1 -1
- package/dist/assets/formatted/Play.d.ts +9 -0
- package/dist/assets/formatted/Play.js +35 -0
- package/dist/assets/formatted/Red.d.ts +9 -0
- package/dist/assets/formatted/Red.js +44 -0
- package/dist/assets/formatted/Refresh.d.ts +9 -0
- package/dist/assets/formatted/Refresh.js +35 -0
- package/dist/assets/formatted/Search.d.ts +1 -1
- package/dist/assets/formatted/Search.js +6 -6
- package/dist/assets/formatted/Sell.d.ts +9 -0
- package/dist/assets/formatted/Sell.js +38 -0
- package/dist/assets/formatted/SellActive.d.ts +9 -0
- package/dist/assets/formatted/SellActive.js +39 -0
- package/dist/assets/formatted/Share.d.ts +1 -1
- package/dist/assets/formatted/Share.js +15 -27
- package/dist/assets/formatted/Subtract.d.ts +9 -0
- package/dist/assets/formatted/Subtract.js +29 -0
- package/dist/assets/formatted/Success.d.ts +9 -0
- package/dist/assets/formatted/Success.js +29 -0
- package/dist/assets/formatted/Tooltip.d.ts +9 -0
- package/dist/assets/formatted/Tooltip.js +38 -0
- package/dist/assets/formatted/TwitterX.d.ts +9 -0
- package/dist/assets/formatted/TwitterX.js +35 -0
- package/dist/assets/formatted/Upload.d.ts +9 -0
- package/dist/assets/formatted/Upload.js +30 -0
- package/dist/assets/formatted/View.d.ts +9 -0
- package/dist/assets/formatted/View.js +37 -0
- package/dist/assets/formatted/VolumeMaximum.d.ts +9 -0
- package/dist/assets/formatted/VolumeMaximum.js +37 -0
- package/dist/assets/formatted/VolumeMid.d.ts +9 -0
- package/dist/assets/formatted/VolumeMid.js +44 -0
- package/dist/assets/formatted/VolumeMinimum.d.ts +9 -0
- package/dist/assets/formatted/VolumeMinimum.js +37 -0
- package/dist/assets/formatted/WeChat.d.ts +9 -0
- package/dist/assets/formatted/WeChat.js +35 -0
- package/dist/assets/formatted/index.d.ts +49 -20
- package/dist/assets/formatted/index.js +128 -70
- package/dist/components/Accordion/AccordionItem.js +36 -36
- package/dist/components/Breadcrumb/Breadcrumb.js +10 -10
- package/dist/components/Breadcrumb/BreadcrumbItem.js +21 -21
- package/dist/components/Carousel/CarouselArrows.js +11 -11
- package/dist/components/ContentPeek/ContentPeek.js +25 -25
- package/dist/components/Divider/Divider.js +17 -8
- package/dist/components/Drawer/Drawer.js +6 -6
- package/dist/components/Dropdown/Dropdown.js +8 -6
- package/dist/components/Filter/Filter.js +16 -16
- package/dist/components/Filter/FilterHeader.js +11 -11
- package/dist/components/Icon/Icon.d.ts +3 -2
- package/dist/components/Icon/Icon.js +9 -9
- package/dist/components/Modal/Modal.js +13 -13
- package/dist/components/Search/SearchButton.js +1 -1
- package/dist/components/Tags/Tags.js +29 -29
- package/dist/patterns/UserManagement/UserManagement.js +13 -29
- package/dist/scss/components/Breadcrumb/_breadcrumb.scss +4 -5
- package/dist/scss/components/Drawer/_drawer.scss +4 -0
- package/dist/scss/components/Filter/_filter.scss +0 -4
- package/dist/scss/components/IconButton/_iconButton.scss +9 -5
- package/dist/scss/components/Tags/_tags.scss +9 -13
- package/dist/scss/patterns/ObjectTile/_objectTile.scss +0 -3
- package/dist/scss/patterns/Social/_social.scss +6 -17
- package/dist/scss/site-furniture/Footer/_footer.scss +0 -5
- package/dist/site-furniture/Footer/Footer.js +5 -5
- package/package.json +1 -1
- package/dist/assets/formatted/AccountCircle.d.ts +0 -9
- package/dist/assets/formatted/AccountCircle.js +0 -40
- package/dist/assets/formatted/ArrowPrev.d.ts +0 -9
- package/dist/assets/formatted/ArrowPrev.js +0 -37
- package/dist/assets/formatted/CalendarAlt.d.ts +0 -9
- package/dist/assets/formatted/CalendarAlt.js +0 -44
- package/dist/assets/formatted/CarouselArrowNext.d.ts +0 -9
- package/dist/assets/formatted/CarouselArrowNext.js +0 -29
- package/dist/assets/formatted/CarouselArrowPrev.d.ts +0 -9
- package/dist/assets/formatted/CarouselArrowPrev.js +0 -29
- package/dist/assets/formatted/Checkmark.d.ts +0 -9
- package/dist/assets/formatted/Checkmark.js +0 -37
- package/dist/assets/formatted/ChevronNext.d.ts +0 -9
- package/dist/assets/formatted/Close.d.ts +0 -9
- package/dist/assets/formatted/Close.js +0 -46
- package/dist/assets/formatted/FavoriteOutline.d.ts +0 -9
- package/dist/assets/formatted/FavoriteOutline.js +0 -38
- package/dist/assets/formatted/IconFooterFacebook.d.ts +0 -9
- package/dist/assets/formatted/IconFooterFacebook.js +0 -35
- package/dist/assets/formatted/IconFooterInstagram.d.ts +0 -9
- package/dist/assets/formatted/IconFooterInstagram.js +0 -31
- package/dist/assets/formatted/IconFooterLinkedin.d.ts +0 -9
- package/dist/assets/formatted/IconFooterLinkedin.js +0 -35
- package/dist/assets/formatted/IconFooterRed.d.ts +0 -9
- package/dist/assets/formatted/IconFooterRed.js +0 -42
- package/dist/assets/formatted/IconFooterWechat.d.ts +0 -9
- package/dist/assets/formatted/IconFooterWechat.js +0 -37
- package/dist/assets/formatted/Minus.d.ts +0 -9
- package/dist/assets/formatted/Minus.js +0 -46
- package/dist/assets/formatted/Plus.d.ts +0 -9
- package/dist/assets/formatted/Plus.js +0 -46
- package/dist/assets/formatted/React.d.ts +0 -9
- package/dist/assets/formatted/React.js +0 -36
- package/dist/assets/formatted/Spotify.d.ts +0 -9
- package/dist/assets/formatted/Spotify.js +0 -35
- package/dist/assets/formatted/Wechat.d.ts +0 -9
- package/dist/assets/formatted/Wechat.js +0 -42
- package/dist/assets/formatted/Youtube.d.ts +0 -9
- package/dist/assets/formatted/Youtube.js +0 -36
|
@@ -1,72 +1,130 @@
|
|
|
1
|
-
import { default as r } from "./
|
|
2
|
-
import { default as a } from "./
|
|
3
|
-
import { default as l } from "./
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as x } from "./
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as g } from "./
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as _ } from "./
|
|
27
|
-
import { default as ee } from "./
|
|
28
|
-
import { default as re } from "./
|
|
29
|
-
import { default as ae } from "./
|
|
30
|
-
import { default as le } from "./
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as xe } from "./
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
1
|
+
import { default as r } from "./AccountActive.js";
|
|
2
|
+
import { default as a } from "./Account.js";
|
|
3
|
+
import { default as l } from "./Add.js";
|
|
4
|
+
import { default as u } from "./AppleAppStoreBadge.js";
|
|
5
|
+
import { default as s } from "./ArrowDown.js";
|
|
6
|
+
import { default as x } from "./ArrowLeft.js";
|
|
7
|
+
import { default as n } from "./ArrowRight.js";
|
|
8
|
+
import { default as A } from "./ArrowUp.js";
|
|
9
|
+
import { default as h } from "./Bag.js";
|
|
10
|
+
import { default as w } from "./Calendar.js";
|
|
11
|
+
import { default as g } from "./ChevronDown.js";
|
|
12
|
+
import { default as F } from "./ChevronLeft.js";
|
|
13
|
+
import { default as M } from "./ChevronRight.js";
|
|
14
|
+
import { default as E } from "./ChevronUp.js";
|
|
15
|
+
import { default as D } from "./CloseX.js";
|
|
16
|
+
import { default as P } from "./ConditionReport.js";
|
|
17
|
+
import { default as H } from "./Delete.js";
|
|
18
|
+
import { default as b } from "./Download.js";
|
|
19
|
+
import { default as T } from "./Edit.js";
|
|
20
|
+
import { default as y } from "./Email.js";
|
|
21
|
+
import { default as j } from "./Error.js";
|
|
22
|
+
import { default as z } from "./ExternalLink.js";
|
|
23
|
+
import { default as K } from "./Facebook.js";
|
|
24
|
+
import { default as O } from "./FavoriteActive.js";
|
|
25
|
+
import { default as Y } from "./Favorite.js";
|
|
26
|
+
import { default as _ } from "./Filters.js";
|
|
27
|
+
import { default as ee } from "./Fullscreen.js";
|
|
28
|
+
import { default as re } from "./FullscreenExit.js";
|
|
29
|
+
import { default as ae } from "./GavelActive.js";
|
|
30
|
+
import { default as le } from "./Gavel.js";
|
|
31
|
+
import { default as ue } from "./Grid.js";
|
|
32
|
+
import { default as se } from "./Hide.js";
|
|
33
|
+
import { default as xe } from "./HomeActive.js";
|
|
34
|
+
import { default as ne } from "./Home.js";
|
|
35
|
+
import { default as Ae } from "./IconGreenCircle.js";
|
|
36
|
+
import { default as he } from "./IconRedCircle.js";
|
|
37
|
+
import { default as we } from "./Icon.js";
|
|
38
|
+
import { default as ge } from "./Instagram.js";
|
|
39
|
+
import { default as Fe } from "./LinkedIn.js";
|
|
40
|
+
import { default as Me } from "./List.js";
|
|
41
|
+
import { default as Ee } from "./Lock.js";
|
|
42
|
+
import { default as De } from "./MagnificentSeven.js";
|
|
43
|
+
import { default as Pe } from "./Menu.js";
|
|
44
|
+
import { default as He } from "./Mute.js";
|
|
45
|
+
import { default as be } from "./Pause.js";
|
|
46
|
+
import { default as Te } from "./PhillipsAppIcon.js";
|
|
47
|
+
import { default as ye } from "./PhillipsLogo.js";
|
|
48
|
+
import { default as je } from "./Play.js";
|
|
49
|
+
import { default as ze } from "./Red.js";
|
|
50
|
+
import { default as Ke } from "./Refresh.js";
|
|
51
|
+
import { default as Oe } from "./Search.js";
|
|
52
|
+
import { default as Ye } from "./SellActive.js";
|
|
53
|
+
import { default as _e } from "./Sell.js";
|
|
54
|
+
import { default as eo } from "./Share.js";
|
|
55
|
+
import { default as ro } from "./Subtract.js";
|
|
56
|
+
import { default as ao } from "./Success.js";
|
|
57
|
+
import { default as lo } from "./Tooltip.js";
|
|
58
|
+
import { default as po } from "./TwitterX.js";
|
|
59
|
+
import { default as mo } from "./Upload.js";
|
|
60
|
+
import { default as io } from "./View.js";
|
|
61
|
+
import { default as co } from "./VolumeMaximum.js";
|
|
62
|
+
import { default as vo } from "./VolumeMid.js";
|
|
63
|
+
import { default as Co } from "./VolumeMinimum.js";
|
|
64
|
+
import { default as So } from "./WeChat.js";
|
|
36
65
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
l as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
x as
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
g as
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
_ as
|
|
63
|
-
ee as
|
|
64
|
-
re as
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
a as Account,
|
|
67
|
+
r as AccountActive,
|
|
68
|
+
l as Add,
|
|
69
|
+
u as AppleAppStoreBadge,
|
|
70
|
+
s as ArrowDown,
|
|
71
|
+
x as ArrowLeft,
|
|
72
|
+
n as ArrowRight,
|
|
73
|
+
A as ArrowUp,
|
|
74
|
+
h as Bag,
|
|
75
|
+
w as Calendar,
|
|
76
|
+
g as ChevronDown,
|
|
77
|
+
F as ChevronLeft,
|
|
78
|
+
M as ChevronRight,
|
|
79
|
+
E as ChevronUp,
|
|
80
|
+
D as CloseX,
|
|
81
|
+
P as ConditionReport,
|
|
82
|
+
H as Delete,
|
|
83
|
+
b as Download,
|
|
84
|
+
T as Edit,
|
|
85
|
+
y as Email,
|
|
86
|
+
j as Error,
|
|
87
|
+
z as ExternalLink,
|
|
88
|
+
K as Facebook,
|
|
89
|
+
Y as Favorite,
|
|
90
|
+
O as FavoriteActive,
|
|
91
|
+
_ as Filters,
|
|
92
|
+
ee as Fullscreen,
|
|
93
|
+
re as FullscreenExit,
|
|
94
|
+
le as Gavel,
|
|
95
|
+
ae as GavelActive,
|
|
96
|
+
ue as Grid,
|
|
97
|
+
se as Hide,
|
|
98
|
+
ne as Home,
|
|
99
|
+
xe as HomeActive,
|
|
100
|
+
we as Icon,
|
|
101
|
+
Ae as IconGreenCircle,
|
|
102
|
+
he as IconRedCircle,
|
|
103
|
+
ge as Instagram,
|
|
104
|
+
Fe as LinkedIn,
|
|
105
|
+
Me as List,
|
|
106
|
+
Ee as Lock,
|
|
107
|
+
De as MagnificentSeven,
|
|
108
|
+
Pe as Menu,
|
|
109
|
+
He as Mute,
|
|
110
|
+
be as Pause,
|
|
111
|
+
Te as PhillipsAppIcon,
|
|
112
|
+
ye as PhillipsLogo,
|
|
113
|
+
je as Play,
|
|
114
|
+
ze as Red,
|
|
115
|
+
Ke as Refresh,
|
|
116
|
+
Oe as Search,
|
|
117
|
+
_e as Sell,
|
|
118
|
+
Ye as SellActive,
|
|
119
|
+
eo as Share,
|
|
120
|
+
ro as Subtract,
|
|
121
|
+
ao as Success,
|
|
122
|
+
lo as Tooltip,
|
|
123
|
+
po as TwitterX,
|
|
124
|
+
mo as Upload,
|
|
125
|
+
io as View,
|
|
126
|
+
co as VolumeMaximum,
|
|
127
|
+
vo as VolumeMid,
|
|
128
|
+
Co as VolumeMinimum,
|
|
129
|
+
So as WeChat
|
|
72
130
|
};
|
|
@@ -6,77 +6,77 @@ import I from "../Icon/Icon.js";
|
|
|
6
6
|
import { getCommonProps as T } from "../../utils/index.js";
|
|
7
7
|
import { AccordionItemVariant as v } from "./types.js";
|
|
8
8
|
import { getIconClasses as _ } from "./utils.js";
|
|
9
|
-
const
|
|
9
|
+
const b = ({
|
|
10
10
|
children: n,
|
|
11
11
|
className: c,
|
|
12
12
|
baseClassName: t,
|
|
13
|
-
disable:
|
|
13
|
+
disable: i,
|
|
14
14
|
isLargeVariation: e,
|
|
15
|
-
id:
|
|
16
|
-
onOpen:
|
|
15
|
+
id: r,
|
|
16
|
+
onOpen: s,
|
|
17
17
|
onClose: l
|
|
18
18
|
}) => {
|
|
19
|
-
const a = N(null),
|
|
19
|
+
const a = N(null), d = i, u = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
20
20
|
I,
|
|
21
21
|
{
|
|
22
22
|
icon: "Lock",
|
|
23
23
|
height: 24,
|
|
24
24
|
width: 24,
|
|
25
25
|
className: _(t, e, "lock"),
|
|
26
|
-
"data-testid": `${
|
|
26
|
+
"data-testid": `${r}-lockedIcon`,
|
|
27
27
|
"aria-hidden": !0
|
|
28
28
|
}
|
|
29
29
|
) }), p = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
30
30
|
I,
|
|
31
31
|
{
|
|
32
|
-
icon: "
|
|
32
|
+
icon: "Add",
|
|
33
33
|
height: 24,
|
|
34
34
|
width: 24,
|
|
35
35
|
className: _(t, e, "plus"),
|
|
36
|
-
"data-testid": `${
|
|
36
|
+
"data-testid": `${r}-plusIcon`,
|
|
37
37
|
"aria-hidden": !0
|
|
38
38
|
}
|
|
39
39
|
) }), f = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
40
40
|
I,
|
|
41
41
|
{
|
|
42
|
-
icon: "
|
|
42
|
+
icon: "Subtract",
|
|
43
43
|
height: 24,
|
|
44
44
|
width: 24,
|
|
45
45
|
className: _(t, e, "minus"),
|
|
46
|
-
"data-testid": `${
|
|
46
|
+
"data-testid": `${r}-minusIcon`,
|
|
47
47
|
"aria-hidden": !0
|
|
48
48
|
}
|
|
49
49
|
) }), g = R(() => {
|
|
50
|
-
a.current?.getAttribute("data-state") === "closed" ?
|
|
51
|
-
}, [
|
|
50
|
+
a.current?.getAttribute("data-state") === "closed" ? s?.() : l?.();
|
|
51
|
+
}, [s, l]);
|
|
52
52
|
return /* @__PURE__ */ o(
|
|
53
53
|
x,
|
|
54
54
|
{
|
|
55
|
-
"data-disabled":
|
|
55
|
+
"data-disabled": i,
|
|
56
56
|
asChild: !0,
|
|
57
57
|
className: h(
|
|
58
58
|
t,
|
|
59
59
|
{ [`${t}--large`]: e },
|
|
60
|
-
{ [`${t}--hoverable`]: !
|
|
60
|
+
{ [`${t}--hoverable`]: !i },
|
|
61
61
|
c
|
|
62
62
|
),
|
|
63
63
|
ref: a,
|
|
64
64
|
onClick: g,
|
|
65
|
-
children: /* @__PURE__ */ A("div", { "data-testid": `${
|
|
65
|
+
children: /* @__PURE__ */ A("div", { "data-testid": `${r}-trigger`, children: [
|
|
66
66
|
/* @__PURE__ */ o("div", { className: h(`${t}__text`, { [`${t}__text--lg`]: e }), children: n }),
|
|
67
|
-
|
|
68
|
-
!
|
|
69
|
-
!
|
|
67
|
+
d && u,
|
|
68
|
+
!d && p,
|
|
69
|
+
!d && f
|
|
70
70
|
] })
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
|
-
},
|
|
73
|
+
}, j = ({
|
|
74
74
|
children: n,
|
|
75
75
|
baseClassName: c,
|
|
76
76
|
disable: t,
|
|
77
|
-
hasTransition:
|
|
77
|
+
hasTransition: i,
|
|
78
78
|
isLargeVariation: e,
|
|
79
|
-
className:
|
|
79
|
+
className: r
|
|
80
80
|
}) => t && n ? /* @__PURE__ */ o("div", { className: `${c}__content--locked`, children: n }) : /* @__PURE__ */ o(
|
|
81
81
|
w,
|
|
82
82
|
{
|
|
@@ -84,23 +84,23 @@ const j = ({
|
|
|
84
84
|
className: h(
|
|
85
85
|
`${c}__content`,
|
|
86
86
|
{ [`${c}__content--lg`]: e },
|
|
87
|
-
{ [`${c}--transition`]:
|
|
88
|
-
|
|
87
|
+
{ [`${c}--transition`]: i },
|
|
88
|
+
r
|
|
89
89
|
),
|
|
90
90
|
children: n
|
|
91
91
|
}
|
|
92
|
-
),
|
|
92
|
+
), y = C(
|
|
93
93
|
({
|
|
94
94
|
isLocked: n = !1,
|
|
95
95
|
variant: c = v.sm,
|
|
96
96
|
id: t,
|
|
97
|
-
label:
|
|
97
|
+
label: i,
|
|
98
98
|
isLastItem: e,
|
|
99
|
-
hasTransition:
|
|
100
|
-
children:
|
|
99
|
+
hasTransition: r = !1,
|
|
100
|
+
children: s,
|
|
101
101
|
className: l,
|
|
102
102
|
transitionTimeInMs: a = 250,
|
|
103
|
-
onOpen:
|
|
103
|
+
onOpen: d,
|
|
104
104
|
onClose: u,
|
|
105
105
|
...p
|
|
106
106
|
}, f) => {
|
|
@@ -118,25 +118,25 @@ const j = ({
|
|
|
118
118
|
...p,
|
|
119
119
|
children: [
|
|
120
120
|
/* @__PURE__ */ o(
|
|
121
|
-
|
|
121
|
+
b,
|
|
122
122
|
{
|
|
123
123
|
disable: n,
|
|
124
124
|
isLargeVariation: $,
|
|
125
125
|
id: t,
|
|
126
126
|
baseClassName: `${m}-label`,
|
|
127
|
-
onOpen:
|
|
127
|
+
onOpen: d,
|
|
128
128
|
onClose: u,
|
|
129
|
-
children:
|
|
129
|
+
children: i
|
|
130
130
|
}
|
|
131
131
|
),
|
|
132
132
|
/* @__PURE__ */ o(
|
|
133
|
-
|
|
133
|
+
j,
|
|
134
134
|
{
|
|
135
135
|
disable: n,
|
|
136
|
-
hasTransition:
|
|
136
|
+
hasTransition: r,
|
|
137
137
|
isLargeVariation: $,
|
|
138
138
|
baseClassName: m,
|
|
139
|
-
children: /* @__PURE__ */ o("div", { className: "radix-accordion-content", children:
|
|
139
|
+
children: /* @__PURE__ */ o("div", { className: "radix-accordion-content", children: s })
|
|
140
140
|
}
|
|
141
141
|
)
|
|
142
142
|
]
|
|
@@ -144,7 +144,7 @@ const j = ({
|
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
);
|
|
147
|
-
|
|
147
|
+
y.displayName = "AccordionItem";
|
|
148
148
|
export {
|
|
149
|
-
|
|
149
|
+
y as default
|
|
150
150
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { getCommonProps as
|
|
3
|
-
import
|
|
1
|
+
import { jsxs as f, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { getCommonProps as h, px as m } from "../../utils/index.js";
|
|
3
|
+
import u from "../../node_modules/classnames/index.js";
|
|
4
4
|
import p from "./BreadcrumbItem.js";
|
|
5
5
|
import { SSRMediaQuery as c } from "../../providers/SeldonProvider/utils.js";
|
|
6
6
|
import x from "../Icon/Icon.js";
|
|
@@ -11,25 +11,25 @@ const M = ({
|
|
|
11
11
|
linkElement: n = "a",
|
|
12
12
|
...e
|
|
13
13
|
}) => {
|
|
14
|
-
const { className:
|
|
15
|
-
return /* @__PURE__ */
|
|
14
|
+
const { className: t, ...d } = h(e, "Breadcrumb"), { id: b } = e;
|
|
15
|
+
return /* @__PURE__ */ f("nav", { "aria-label": "Breadcrumb", className: u(t, s), ...d, ...e, children: [
|
|
16
16
|
/* @__PURE__ */ r(c.Media, { lessThan: "md", children: /* @__PURE__ */ r(
|
|
17
17
|
n,
|
|
18
18
|
{
|
|
19
19
|
href: a[1].href ? a[1].href : "/",
|
|
20
|
-
className: `${
|
|
20
|
+
className: `${m}-icon-button ${m}-icon-button--primary ${t}__back-button`,
|
|
21
21
|
"data-testid": `${b}-back-button`,
|
|
22
|
-
children: /* @__PURE__ */ r(x, { icon: "
|
|
22
|
+
children: /* @__PURE__ */ r(x, { icon: "ArrowLeft" })
|
|
23
23
|
}
|
|
24
24
|
) }),
|
|
25
|
-
/* @__PURE__ */ r(c.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ r("ol", { children: a.map((o,
|
|
25
|
+
/* @__PURE__ */ r(c.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ r("ol", { children: a.map((o, l) => /* @__PURE__ */ r(
|
|
26
26
|
p,
|
|
27
27
|
{
|
|
28
28
|
href: o.href,
|
|
29
29
|
label: o.label,
|
|
30
30
|
element: n,
|
|
31
|
-
isCurrent: a.length - 1 ===
|
|
32
|
-
isTruncateText: i ===
|
|
31
|
+
isCurrent: a.length - 1 === l,
|
|
32
|
+
isTruncateText: i === l
|
|
33
33
|
},
|
|
34
34
|
o.label
|
|
35
35
|
)) }) })
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { getCommonProps as
|
|
3
|
-
import
|
|
1
|
+
import { jsxs as p, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { getCommonProps as d } from "../../utils/index.js";
|
|
3
|
+
import o from "../../node_modules/classnames/index.js";
|
|
4
4
|
import u from "../Icon/Icon.js";
|
|
5
5
|
const b = ({
|
|
6
|
-
className:
|
|
6
|
+
className: c,
|
|
7
7
|
href: s,
|
|
8
|
-
label:
|
|
9
|
-
isCurrent:
|
|
10
|
-
isTruncateText:
|
|
11
|
-
element:
|
|
8
|
+
label: a,
|
|
9
|
+
isCurrent: e = !1,
|
|
10
|
+
isTruncateText: t = !1,
|
|
11
|
+
element: n = "a",
|
|
12
12
|
...l
|
|
13
13
|
}) => {
|
|
14
|
-
const { className:
|
|
15
|
-
return /* @__PURE__ */
|
|
14
|
+
const { className: r, ...i } = d(l, "Breadcrumb"), f = e ? "page" : !1, h = e ? "" : s;
|
|
15
|
+
return /* @__PURE__ */ p(
|
|
16
16
|
"li",
|
|
17
17
|
{
|
|
18
|
-
"aria-label":
|
|
19
|
-
className:
|
|
18
|
+
"aria-label": a,
|
|
19
|
+
className: o(`${r}__item`, { [`${r}--truncate`]: t }),
|
|
20
20
|
children: [
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
e ? /* @__PURE__ */ m("span", { className: o(r, c, { [`${r}--current`]: e }), children: a }) : /* @__PURE__ */ m(
|
|
22
|
+
n,
|
|
23
23
|
{
|
|
24
|
-
"aria-current":
|
|
25
|
-
className:
|
|
26
|
-
[`${
|
|
24
|
+
"aria-current": f,
|
|
25
|
+
className: o(r, c, {
|
|
26
|
+
[`${r}--current`]: e
|
|
27
27
|
}),
|
|
28
|
-
href:
|
|
29
|
-
...
|
|
30
|
-
children:
|
|
28
|
+
href: h,
|
|
29
|
+
...i,
|
|
30
|
+
children: a
|
|
31
31
|
}
|
|
32
32
|
),
|
|
33
|
-
|
|
33
|
+
e ? null : /* @__PURE__ */ m(u, { icon: "ChevronRight", height: "1.5rem", width: "1.5rem" })
|
|
34
34
|
]
|
|
35
35
|
}
|
|
36
36
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import u from "../../node_modules/classnames/index.js";
|
|
3
3
|
import { forwardRef as p, useCallback as t } from "react";
|
|
4
|
-
import { getCommonProps as
|
|
5
|
-
import { useCarousel as
|
|
4
|
+
import { getCommonProps as C } from "../../utils/index.js";
|
|
5
|
+
import { useCarousel as f } from "./utils.js";
|
|
6
6
|
import a from "../Icon/Icon.js";
|
|
7
|
-
const
|
|
8
|
-
const { className: e, ...
|
|
7
|
+
const h = p(({ className: n, ...s }, i) => {
|
|
8
|
+
const { className: e, ...c } = C(s, "CarouselArrows"), { api: r } = f(), l = t(() => {
|
|
9
9
|
r && r.scrollPrev(!0);
|
|
10
10
|
}, [r]), m = t(() => {
|
|
11
11
|
r && r.scrollNext(!0);
|
|
@@ -13,19 +13,19 @@ const f = p(({ className: i, ...s }, n) => {
|
|
|
13
13
|
return /* @__PURE__ */ d(
|
|
14
14
|
"div",
|
|
15
15
|
{
|
|
16
|
-
ref:
|
|
16
|
+
ref: i,
|
|
17
17
|
"aria-roledescription": "carousel-arrow-navigation",
|
|
18
|
-
className: u(`${e}`,
|
|
18
|
+
className: u(`${e}`, n),
|
|
19
19
|
...s,
|
|
20
|
-
...
|
|
20
|
+
...c,
|
|
21
21
|
children: [
|
|
22
|
-
/* @__PURE__ */ o("button", { "data-testid": "prev-arrow", className: `${e}-prev-btn`, onClick: () =>
|
|
23
|
-
/* @__PURE__ */ o("button", { "data-testid": "next-arrow", className: `${e}-next-btn`, onClick: () => m(), children: /* @__PURE__ */ o("div", { className: `${e}-next-btn__icon`, children: /* @__PURE__ */ o(a, { icon: "
|
|
22
|
+
/* @__PURE__ */ o("button", { "data-testid": "prev-arrow", className: `${e}-prev-btn`, onClick: () => l(), children: /* @__PURE__ */ o("div", { className: `${e}-prev-btn__icon`, children: /* @__PURE__ */ o(a, { icon: "ChevronLeft", height: "2rem" }) }) }),
|
|
23
|
+
/* @__PURE__ */ o("button", { "data-testid": "next-arrow", className: `${e}-next-btn`, onClick: () => m(), children: /* @__PURE__ */ o("div", { className: `${e}-next-btn__icon`, children: /* @__PURE__ */ o(a, { icon: "ChevronRight", height: "2rem" }) }) })
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
27
|
});
|
|
28
|
-
|
|
28
|
+
h.displayName = "CarouselArrows";
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
h as default
|
|
31
31
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsxs as f, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as w, useState as u, useRef as
|
|
2
|
+
import { forwardRef as w, useState as u, useRef as H, useEffect as h, useCallback as M } from "react";
|
|
3
3
|
import g from "../../node_modules/classnames/index.js";
|
|
4
4
|
import { getCommonProps as O } from "../../utils/index.js";
|
|
5
|
-
import
|
|
6
|
-
import { ButtonVariants as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
5
|
+
import S from "../Button/Button.js";
|
|
6
|
+
import { ButtonVariants as T } from "../Button/types.js";
|
|
7
|
+
import j from "../Collapsible/Collapsible.js";
|
|
8
|
+
import A from "../Collapsible/CollapsibleContent.js";
|
|
9
|
+
import B from "../Collapsible/CollapsibleTrigger.js";
|
|
10
10
|
import { HeightUnits as l } from "./utils.js";
|
|
11
11
|
import { DEFAULT_REM_SIZE as x } from "../../utils/constants.js";
|
|
12
12
|
import C from "../Icon/Icon.js";
|
|
13
|
-
const
|
|
13
|
+
const L = w(
|
|
14
14
|
({
|
|
15
15
|
className: v,
|
|
16
16
|
children: y,
|
|
17
|
-
contentExpandText:
|
|
18
|
-
contentCollapseText:
|
|
19
|
-
maxHeight:
|
|
17
|
+
contentExpandText: N = "Read More",
|
|
18
|
+
contentCollapseText: P = "Read Less",
|
|
19
|
+
maxHeight: i = 480,
|
|
20
20
|
minHeightThreshold: m,
|
|
21
|
-
heightUnits:
|
|
22
|
-
...
|
|
21
|
+
heightUnits: d = l.px,
|
|
22
|
+
...c
|
|
23
23
|
}, $) => {
|
|
24
|
-
const { className: e, ...E } = O(
|
|
24
|
+
const { className: e, ...E } = O(c, "ContentPeek"), [t, R] = u(!1), [p, b] = u(!1), a = H(null), n = d === l.rem ? i * x : i, k = m ? m * x : null, o = d === l.rem ? k : m;
|
|
25
25
|
h(() => {
|
|
26
26
|
if (a.current) {
|
|
27
27
|
const s = o ?? n;
|
|
@@ -31,31 +31,31 @@ const _ = w(
|
|
|
31
31
|
const s = o && o >= n ? o : n;
|
|
32
32
|
a.current?.style.setProperty("--content-peek-max-height", `${s}${l.px}`);
|
|
33
33
|
}, [n, o]);
|
|
34
|
-
const I =
|
|
34
|
+
const I = M(() => {
|
|
35
35
|
R((s) => !s);
|
|
36
36
|
}, []);
|
|
37
37
|
return /* @__PURE__ */ f(
|
|
38
|
-
|
|
38
|
+
j,
|
|
39
39
|
{
|
|
40
|
-
id:
|
|
40
|
+
id: c?.id,
|
|
41
41
|
open: t,
|
|
42
42
|
onOpenChange: I,
|
|
43
43
|
className: g(e, v),
|
|
44
44
|
ref: $,
|
|
45
45
|
...E,
|
|
46
|
-
...
|
|
46
|
+
...c,
|
|
47
47
|
children: [
|
|
48
|
-
/* @__PURE__ */ r(
|
|
49
|
-
|
|
48
|
+
/* @__PURE__ */ r(A, { className: `${e}-content`, ref: a, forceMount: !0, children: y }),
|
|
49
|
+
p ? /* @__PURE__ */ r(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
52
|
className: g(`${e}-overlay`, {
|
|
53
53
|
[`${e}-overlay--expanded`]: t,
|
|
54
|
-
[`${e}-overlay--gradient`]:
|
|
54
|
+
[`${e}-overlay--gradient`]: p && !t
|
|
55
55
|
}),
|
|
56
|
-
children: /* @__PURE__ */ r("div", { className: `${e}-overlay-trigger-wrapper`, children: /* @__PURE__ */ r(
|
|
57
|
-
t ? /* @__PURE__ */ r(C, { icon: "
|
|
58
|
-
t ?
|
|
56
|
+
children: /* @__PURE__ */ r("div", { className: `${e}-overlay-trigger-wrapper`, children: /* @__PURE__ */ r(B, { asChild: !0, className: `${e}-overlay-trigger`, children: /* @__PURE__ */ f(S, { variant: T.secondary, children: [
|
|
57
|
+
t ? /* @__PURE__ */ r(C, { icon: "Subtract" }) : /* @__PURE__ */ r(C, { icon: "Add" }),
|
|
58
|
+
t ? P : N
|
|
59
59
|
] }) }) })
|
|
60
60
|
}
|
|
61
61
|
) : null
|
|
@@ -64,7 +64,7 @@ const _ = w(
|
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
|
-
|
|
67
|
+
L.displayName = "ContentPeek";
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
L as default
|
|
70
70
|
};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { getCommonProps as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ i(
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { getCommonProps as d } from "../../utils/index.js";
|
|
4
|
+
import n from "../../node_modules/classnames/index.js";
|
|
5
|
+
const l = t(({ className: m, element: r, ...e }, s) => {
|
|
6
|
+
const o = r || "div", { className: a } = d(e, "Divider");
|
|
7
|
+
return /* @__PURE__ */ i(
|
|
8
|
+
o,
|
|
9
|
+
{
|
|
10
|
+
className: n(a, m),
|
|
11
|
+
...e,
|
|
12
|
+
"data-testid": `divider-${e.id}`,
|
|
13
|
+
ref: s,
|
|
14
|
+
children: /* @__PURE__ */ i("hr", { className: `${a}-line` })
|
|
15
|
+
}
|
|
16
|
+
);
|
|
8
17
|
});
|
|
9
|
-
|
|
18
|
+
l.displayName = "Divider";
|
|
10
19
|
export {
|
|
11
|
-
|
|
20
|
+
l as default
|
|
12
21
|
};
|