@lanaco/lnc-react-ui 4.0.112 → 4.0.113
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/Accordion.cjs +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +3 -3
- package/dist/BlogCardsSponsoredSection.cjs +25 -14
- package/dist/BlogCardsSponsoredSection.js +58 -47
- package/dist/BlogListSection.cjs +37 -9
- package/dist/BlogListSection.js +127 -70
- package/dist/BlogsSectionDetailed.cjs +7 -2
- package/dist/BlogsSectionDetailed.js +6 -1
- package/dist/BlogsSectionSimpleCentered.cjs +3 -2
- package/dist/BlogsSectionSimpleCentered.js +1 -0
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/BrandHitsSection.cjs +11 -11
- package/dist/BrandHitsSection.js +40 -38
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/ContactSection.cjs +303 -0
- package/dist/ContactSection.js +1614 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +1 -1
- package/dist/{CustomStyles-DtKDPOdk.cjs → CustomStyles-D3JePSNK.cjs} +1 -1
- package/dist/{CustomStyles-Dd8IsVV6.js → CustomStyles-DpKzWczC.js} +2 -2
- package/dist/DailyMotion-CUHIuSln.js +136 -0
- package/dist/DailyMotion-D46sLmkS.cjs +1 -0
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +496 -552
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +5 -5
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +4 -4
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/Facebook-R53Rry9l.cjs +1 -0
- package/dist/Facebook-aEQQxj-r.js +121 -0
- package/dist/FaqSection.cjs +219 -0
- package/dist/FaqSection.js +481 -0
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FilePlayer-9FdL9kM0.js +202 -0
- package/dist/FilePlayer-D9up8eWZ.cjs +1 -0
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +1 -1
- package/dist/HelpBannerSection.cjs +62 -0
- package/dist/HelpBannerSection.js +81 -0
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kaltura-C170sgeD.cjs +1 -0
- package/dist/Kaltura-Dziqci9-.js +121 -0
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +5 -5
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/{KanbanCard-CXRQQu4S.cjs → KanbanCard-CP60mpJO.cjs} +1 -1
- package/dist/{KanbanCard-CIscpYlR.js → KanbanCard-Crf-cTxA.js} +2 -2
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +2 -2
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Mixcloud-Cfn28kqf.js +113 -0
- package/dist/Mixcloud-Towpm_ct.cjs +1 -0
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +2 -2
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +3 -3
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +3 -3
- package/dist/Mux-D0MPDKkM.js +165 -0
- package/dist/Mux-yqNOmuss.cjs +1 -0
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/Notification.cjs +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +2 -2
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +2 -2
- package/dist/PopoverDescription.cjs +1 -1
- package/dist/PopoverDescription.js +1 -1
- package/dist/PopoverHeading.cjs +1 -1
- package/dist/PopoverHeading.js +1 -1
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +2 -2
- package/dist/Preview-B8HyPnfR.cjs +1 -0
- package/dist/Preview-CO6WSP5f.js +127 -0
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +1 -1
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +3 -3
- package/dist/SearchSection-BUD-hnQA.cjs +161 -0
- package/dist/SearchSection-xe0nvARV.js +1214 -0
- package/dist/SearchSection.cjs +1 -0
- package/dist/SearchSection.js +9 -0
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SoundCloud-D85Da68L.js +123 -0
- package/dist/SoundCloud-YZlcPffr.cjs +1 -0
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/StatsSection.cjs +117 -0
- package/dist/StatsSection.js +154 -0
- package/dist/Streamable-CJQf8evZ.cjs +1 -0
- package/dist/Streamable-Zj4FOeBP.js +115 -0
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +3 -3
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +2 -2
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/Twitch-Ba2O5gTX.cjs +1 -0
- package/dist/Twitch-DC97YrR8.js +117 -0
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/Vidyard-BdNB5Wka.cjs +1 -0
- package/dist/Vidyard-D9vYqvNv.js +113 -0
- package/dist/Vimeo-23LnW4uS.js +146 -0
- package/dist/Vimeo-DatJiKS5.cjs +1 -0
- package/dist/Wistia-D--UDN6c.cjs +1 -0
- package/dist/Wistia-d2TQ3m-s.js +124 -0
- package/dist/YouTube-BEkcZxN7.cjs +1 -0
- package/dist/YouTube-x5-hc3s6.js +176 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
- package/dist/{emotion-react.browser.esm-1R69UXoj.cjs → emotion-react.browser.esm-Cvnp-zmB.cjs} +1 -1
- package/dist/{emotion-react.browser.esm-C6iWxXPG.js → emotion-react.browser.esm-DUVZ5oEL.js} +1 -1
- package/dist/{floating-ui.react.esm-h3qa3pb9.js → floating-ui.react.esm-CfpRzwmn.js} +1 -1
- package/dist/{floating-ui.react.esm-Bb1ww976.cjs → floating-ui.react.esm-CiYofNnh.cjs} +1 -1
- package/dist/{hoist-non-react-statics.cjs-Dr-ytKVG.cjs → hoist-non-react-statics.cjs-DGqlkKoS.cjs} +1 -1
- package/dist/{hoist-non-react-statics.cjs-CAHiRNzQ.js → hoist-non-react-statics.cjs-NQME298B.js} +1 -1
- package/dist/{index-EeoArxOx.cjs → index-41nUb2kP.cjs} +1 -1
- package/dist/{index-BlxaTV-D.js → index-6RFrSPs_.js} +1 -1
- package/dist/{index-64mXPFBC.js → index-B1vKwsDE.js} +1 -1
- package/dist/{index-Bq3leL2e.js → index-BXrmgzsU.js} +1 -1
- package/dist/{index-gY9e_8LL.cjs → index-BZnmT78f.cjs} +1 -1
- package/dist/{index-CQLF61YV.js → index-BgRyIsRu.js} +1 -1
- package/dist/{index-BPVoEhTF.cjs → index-BpbMKBf_.cjs} +1 -1
- package/dist/index-CDGmG-qk.cjs +1 -0
- package/dist/{index-S5Cd7WrG.js → index-CblbdqjE.js} +1 -1
- package/dist/{index-DaiUAQVF.cjs → index-Cp66dWMi.cjs} +1 -1
- package/dist/{index-DAOBjHnD.cjs → index-DA7SIHV1.cjs} +1 -1
- package/dist/{index-C1DkD2ug.cjs → index-DCFJmN23.cjs} +1 -1
- package/dist/{index-CkWvbrVT.js → index-Dt62UGku.js} +1 -1
- package/dist/index-wlx30R-h.js +62 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +60 -50
- package/dist/{react-toastify.esm--2awuizG.js → react-toastify.esm-BLQznunb.js} +1 -1
- package/dist/{react-toastify.esm-Dq1k28O7.cjs → react-toastify.esm-BoMuFZcq.cjs} +1 -1
- package/dist/{styled-components.browser.esm-CMTEDJ_5.cjs → styled-components.browser.esm-CvykQBGY.cjs} +1 -1
- package/dist/{styled-components.browser.esm-C9FYANiy.js → styled-components.browser.esm-D-n22PJk.js} +1 -1
- package/dist/usePopover.cjs +1 -1
- package/dist/usePopover.js +1 -1
- package/package.json +8 -2
- package/vite.config.js +14 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("react");require("./index-BpbMKBf_.cjs");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-BUD-hnQA.cjs");module.exports=e.SearchSection;
|
package/dist/Separator.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),l=require("react"),r=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),l=require("react"),r=require("./index-BpbMKBf_.cjs"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./utils-CZynEOC_.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),d=m.styled.div`
|
|
2
2
|
height: 1px;
|
|
3
3
|
background-color: ${e=>u.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
|
|
4
4
|
margin-left: -0.25rem;
|
package/dist/Separator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
|
-
import { P as e } from "./index-
|
|
3
|
+
import { P as e } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { b as n } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
package/dist/Sidebar.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),a=require("react"),i=require("./index-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),a=require("react"),i=require("./index-BpbMKBf_.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./Icon.cjs"),y=require("./utils-CZynEOC_.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=l.styled.aside`
|
|
2
2
|
direction: ${e=>e.placement=="right"?"rtl":"ltr"};
|
|
3
3
|
position: relative;
|
|
4
4
|
&& {
|
package/dist/Sidebar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as g, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, useState as x, useEffect as C } from "react";
|
|
3
|
-
import { P as o } from "./index-
|
|
3
|
+
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import y from "./Icon.js";
|
|
6
6
|
import { u as $ } from "./utils-BbgAIA9N.js";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { u as b, p as v } from "./SearchSection-xe0nvARV.js";
|
|
4
|
+
function O(t, e) {
|
|
5
|
+
for (var r = 0; r < e.length; r++) {
|
|
6
|
+
const s = e[r];
|
|
7
|
+
if (typeof s != "string" && !Array.isArray(s)) {
|
|
8
|
+
for (const o in s)
|
|
9
|
+
if (o !== "default" && !(o in t)) {
|
|
10
|
+
const n = Object.getOwnPropertyDescriptor(s, o);
|
|
11
|
+
n && Object.defineProperty(t, o, n.get ? n : {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: () => s[o]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
19
|
+
}
|
|
20
|
+
var S = Object.create, l = Object.defineProperty, w = Object.getOwnPropertyDescriptor, j = Object.getOwnPropertyNames, C = Object.getPrototypeOf, D = Object.prototype.hasOwnProperty, E = (t, e, r) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, L = (t, e) => {
|
|
21
|
+
for (var r in e)
|
|
22
|
+
l(t, r, { get: e[r], enumerable: !0 });
|
|
23
|
+
}, c = (t, e, r, s) => {
|
|
24
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
25
|
+
for (let o of j(e))
|
|
26
|
+
!D.call(t, o) && o !== r && l(t, o, { get: () => e[o], enumerable: !(s = w(e, o)) || s.enumerable });
|
|
27
|
+
return t;
|
|
28
|
+
}, R = (t, e, r) => (r = t != null ? S(C(t)) : {}, c(
|
|
29
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
+
!t || !t.__esModule ? l(r, "default", { value: t, enumerable: !0 }) : r,
|
|
34
|
+
t
|
|
35
|
+
)), M = (t) => c(l({}, "__esModule", { value: !0 }), t), i = (t, e, r) => (E(t, typeof e != "symbol" ? e + "" : e, r), r), h = {};
|
|
36
|
+
L(h, {
|
|
37
|
+
default: () => u
|
|
38
|
+
});
|
|
39
|
+
var f = M(h), p = R(g), d = b, T = v;
|
|
40
|
+
const N = "https://w.soundcloud.com/player/api.js", A = "SC";
|
|
41
|
+
class u extends p.Component {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments), i(this, "callPlayer", d.callPlayer), i(this, "duration", null), i(this, "currentTime", null), i(this, "fractionLoaded", null), i(this, "mute", () => {
|
|
44
|
+
this.setVolume(0);
|
|
45
|
+
}), i(this, "unmute", () => {
|
|
46
|
+
this.props.volume !== null && this.setVolume(this.props.volume);
|
|
47
|
+
}), i(this, "ref", (e) => {
|
|
48
|
+
this.iframe = e;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
componentDidMount() {
|
|
52
|
+
this.props.onMount && this.props.onMount(this);
|
|
53
|
+
}
|
|
54
|
+
load(e, r) {
|
|
55
|
+
(0, d.getSDK)(N, A).then((s) => {
|
|
56
|
+
if (!this.iframe)
|
|
57
|
+
return;
|
|
58
|
+
const { PLAY: o, PLAY_PROGRESS: n, PAUSE: _, FINISH: m, ERROR: y } = s.Widget.Events;
|
|
59
|
+
r || (this.player = s.Widget(this.iframe), this.player.bind(o, this.props.onPlay), this.player.bind(_, () => {
|
|
60
|
+
this.duration - this.currentTime < 0.05 || this.props.onPause();
|
|
61
|
+
}), this.player.bind(n, (a) => {
|
|
62
|
+
this.currentTime = a.currentPosition / 1e3, this.fractionLoaded = a.loadedProgress;
|
|
63
|
+
}), this.player.bind(m, () => this.props.onEnded()), this.player.bind(y, (a) => this.props.onError(a))), this.player.load(e, {
|
|
64
|
+
...this.props.config.options,
|
|
65
|
+
callback: () => {
|
|
66
|
+
this.player.getDuration((a) => {
|
|
67
|
+
this.duration = a / 1e3, this.props.onReady();
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
play() {
|
|
74
|
+
this.callPlayer("play");
|
|
75
|
+
}
|
|
76
|
+
pause() {
|
|
77
|
+
this.callPlayer("pause");
|
|
78
|
+
}
|
|
79
|
+
stop() {
|
|
80
|
+
}
|
|
81
|
+
seekTo(e, r = !0) {
|
|
82
|
+
this.callPlayer("seekTo", e * 1e3), r || this.pause();
|
|
83
|
+
}
|
|
84
|
+
setVolume(e) {
|
|
85
|
+
this.callPlayer("setVolume", e * 100);
|
|
86
|
+
}
|
|
87
|
+
getDuration() {
|
|
88
|
+
return this.duration;
|
|
89
|
+
}
|
|
90
|
+
getCurrentTime() {
|
|
91
|
+
return this.currentTime;
|
|
92
|
+
}
|
|
93
|
+
getSecondsLoaded() {
|
|
94
|
+
return this.fractionLoaded * this.duration;
|
|
95
|
+
}
|
|
96
|
+
render() {
|
|
97
|
+
const { display: e } = this.props, r = {
|
|
98
|
+
width: "100%",
|
|
99
|
+
height: "100%",
|
|
100
|
+
display: e
|
|
101
|
+
};
|
|
102
|
+
return /* @__PURE__ */ p.default.createElement(
|
|
103
|
+
"iframe",
|
|
104
|
+
{
|
|
105
|
+
ref: this.ref,
|
|
106
|
+
src: `https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,
|
|
107
|
+
style: r,
|
|
108
|
+
frameBorder: 0,
|
|
109
|
+
allow: "autoplay"
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
i(u, "displayName", "SoundCloud");
|
|
115
|
+
i(u, "canPlay", T.canPlay.soundcloud);
|
|
116
|
+
i(u, "loopOnEnded", !0);
|
|
117
|
+
const x = /* @__PURE__ */ P(f), K = /* @__PURE__ */ O({
|
|
118
|
+
__proto__: null,
|
|
119
|
+
default: x
|
|
120
|
+
}, [f]);
|
|
121
|
+
export {
|
|
122
|
+
K as S
|
|
123
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-BUD-hnQA.cjs");function v(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const a=Object.getOwnPropertyDescriptor(s,o);a&&Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,l=Object.defineProperty,S=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,w=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of j(e))!C.call(t,o)&&o!==r&&l(t,o,{get:()=>e[o],enumerable:!(s=S(e,o))||s.enumerable});return t},L=(t,e,r)=>(r=t!=null?O(w(t)):{},h(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>h(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),f={};E(f,{default:()=>u});var _=R(f),p=L(b),c=d.utils,M=d.patterns;const T="https://w.soundcloud.com/player/api.js",N="SC";class u extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"fractionLoaded",null),n(this,"mute",()=>{this.setVolume(0)}),n(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){(0,c.getSDK)(T,N).then(s=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:a,PAUSE:y,FINISH:m,ERROR:P}=s.Widget.Events;r||(this.player=s.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(y,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(a,i=>{this.currentTime=i.currentPosition/1e3,this.fractionLoaded=i.loadedProgress}),this.player.bind(m,()=>this.props.onEnded()),this.player.bind(P,i=>this.props.onError(i))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(i=>{this.duration=i/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seekTo",e*1e3),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return p.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}n(u,"displayName","SoundCloud");n(u,"canPlay",M.canPlay.soundcloud);n(u,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(_),x=v({__proto__:null,default:A},[_]);exports.SoundCloud=x;
|
package/dist/Spinner.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),s=require("./index-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),s=require("./index-BpbMKBf_.cjs"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),u=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),t=require("./utils-CZynEOC_.cjs"),g=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),p={small:"0.6rem",medium:"0.7rem",large:"0.8rem"},b=(e,r)=>{if(e==="small")return`
|
|
2
2
|
width: ${r.sizes.small};
|
|
3
3
|
height: ${r.sizes.small};
|
|
4
4
|
`;if(e==="medium")return`
|
package/dist/Spinner.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { P as i } from "./index-
|
|
2
|
+
import { P as i } from "./index-CblbdqjE.js";
|
|
3
3
|
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { k as p } from "./emotion-react.browser.esm-
|
|
4
|
+
import { k as p } from "./emotion-react.browser.esm-DUVZ5oEL.js";
|
|
5
5
|
import { c as g, b as n } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as h } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const u = {
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("react"),n=require("./index-BpbMKBf_.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),m=require("./utils-CZynEOC_.cjs"),g=o.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 1.5rem;
|
|
6
|
+
|
|
7
|
+
& .section__card {
|
|
8
|
+
display: flex;
|
|
9
|
+
padding: 2rem 1.25rem;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 0.75rem;
|
|
13
|
+
border-radius: 0.75rem;
|
|
14
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
15
|
+
background: var(--white, #fff);
|
|
16
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
17
|
+
max-width: 14.625rem;
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
& .section__image {
|
|
21
|
+
max-width: 3.5rem;
|
|
22
|
+
max-height: 3.5rem;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: auto;
|
|
25
|
+
aspect-ratio: 1 / 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& .section__title {
|
|
29
|
+
color: var(--gray-900, #0c1520);
|
|
30
|
+
text-align: center;
|
|
31
|
+
font-size: 1.375rem;
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
line-height: 1.75rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& .section__description {
|
|
38
|
+
color: var(--gray-600, #5a6573);
|
|
39
|
+
text-align: center;
|
|
40
|
+
font-size: 0.75rem;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
line-height: 1rem;
|
|
44
|
+
letter-spacing: 0.025rem;
|
|
45
|
+
${m.truncateTextInRows(2)}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
50
|
+
display: grid;
|
|
51
|
+
grid-template-columns: repeat(2, 1fr);
|
|
52
|
+
gap: 0.75rem;
|
|
53
|
+
|
|
54
|
+
& .section__card {
|
|
55
|
+
padding: 1rem;
|
|
56
|
+
|
|
57
|
+
& .section__image {
|
|
58
|
+
max-width: 2.5rem;
|
|
59
|
+
max-height: 2.5rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& .section__title {
|
|
63
|
+
font-size: 1rem;
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 1.5rem;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`,c=s.forwardRef(({items:i=[]})=>t.jsx(g,{children:i==null?void 0:i.map((e,r)=>t.jsxs("div",{className:"section__card",children:[t.jsx("div",{children:t.jsx("img",{src:e==null?void 0:e.image,alt:`Stats Card ${r+1}`,className:"section__image"})}),t.jsxs("div",{children:[t.jsx("div",{className:"section__title",children:e==null?void 0:e.title}),t.jsx("div",{className:"section__description",children:e==null?void 0:e.description})]})]},`stats-section-item__${r+1}`))}));c.propTypes={items:n.PropTypes.array};const h=o.styled.div`
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 2rem;
|
|
76
|
+
|
|
77
|
+
& .section__heading {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 0.5rem;
|
|
82
|
+
|
|
83
|
+
& .section__title {
|
|
84
|
+
color: var(--gray-900, #0c1520);
|
|
85
|
+
font-size: 1.5rem;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
font-weight: 600;
|
|
88
|
+
line-height: 2rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
& .section__description {
|
|
92
|
+
color: var(--gray-500, #7a8594);
|
|
93
|
+
font-size: 1rem;
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
line-height: 1.5rem;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
101
|
+
text-align: center;
|
|
102
|
+
|
|
103
|
+
& .section__heading {
|
|
104
|
+
& .section__title {
|
|
105
|
+
font-size: 1rem;
|
|
106
|
+
font-weight: 500;
|
|
107
|
+
line-height: 1.5rem;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
& .section__description {
|
|
111
|
+
font-size: 0.875rem;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
line-height: 1.25rem;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
`,l=s.forwardRef(({title:i,description:e,items:r=[]},d)=>t.jsxs(h,{ref:d,children:[t.jsxs("div",{className:"section__heading",children:[i&&t.jsx("div",{className:"section__title",children:i}),e&&t.jsx("div",{className:"section__description",children:e})]}),t.jsx(c,{items:r})]}));l.propTypes={title:n.PropTypes.string,description:n.PropTypes.string,items:n.PropTypes.array};module.exports=l;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { P as n } from "./index-CblbdqjE.js";
|
|
4
|
+
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { M as c } from "./consts-BuFChS64.js";
|
|
6
|
+
import { p as m } from "./utils-BbgAIA9N.js";
|
|
7
|
+
const g = s.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 1.5rem;
|
|
12
|
+
|
|
13
|
+
& .section__card {
|
|
14
|
+
display: flex;
|
|
15
|
+
padding: 2rem 1.25rem;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 0.75rem;
|
|
19
|
+
border-radius: 0.75rem;
|
|
20
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
21
|
+
background: var(--white, #fff);
|
|
22
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
23
|
+
max-width: 14.625rem;
|
|
24
|
+
width: 100%;
|
|
25
|
+
|
|
26
|
+
& .section__image {
|
|
27
|
+
max-width: 3.5rem;
|
|
28
|
+
max-height: 3.5rem;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: auto;
|
|
31
|
+
aspect-ratio: 1 / 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& .section__title {
|
|
35
|
+
color: var(--gray-900, #0c1520);
|
|
36
|
+
text-align: center;
|
|
37
|
+
font-size: 1.375rem;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
line-height: 1.75rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
& .section__description {
|
|
44
|
+
color: var(--gray-600, #5a6573);
|
|
45
|
+
text-align: center;
|
|
46
|
+
font-size: 0.75rem;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
line-height: 1rem;
|
|
50
|
+
letter-spacing: 0.025rem;
|
|
51
|
+
${m(2)}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media (max-width: ${c + "px"}) {
|
|
56
|
+
display: grid;
|
|
57
|
+
grid-template-columns: repeat(2, 1fr);
|
|
58
|
+
gap: 0.75rem;
|
|
59
|
+
|
|
60
|
+
& .section__card {
|
|
61
|
+
padding: 1rem;
|
|
62
|
+
|
|
63
|
+
& .section__image {
|
|
64
|
+
max-width: 2.5rem;
|
|
65
|
+
max-height: 2.5rem;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& .section__title {
|
|
69
|
+
font-size: 1rem;
|
|
70
|
+
font-style: normal;
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
line-height: 1.5rem;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`, l = a(({ items: i = [] }) => /* @__PURE__ */ t(g, { children: i == null ? void 0 : i.map((e, r) => /* @__PURE__ */ o("div", { className: "section__card", children: [
|
|
77
|
+
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
78
|
+
"img",
|
|
79
|
+
{
|
|
80
|
+
src: e == null ? void 0 : e.image,
|
|
81
|
+
alt: `Stats Card ${r + 1}`,
|
|
82
|
+
className: "section__image"
|
|
83
|
+
}
|
|
84
|
+
) }),
|
|
85
|
+
/* @__PURE__ */ o("div", { children: [
|
|
86
|
+
/* @__PURE__ */ t("div", { className: "section__title", children: e == null ? void 0 : e.title }),
|
|
87
|
+
/* @__PURE__ */ t("div", { className: "section__description", children: e == null ? void 0 : e.description })
|
|
88
|
+
] })
|
|
89
|
+
] }, `stats-section-item__${r + 1}`)) }));
|
|
90
|
+
l.propTypes = {
|
|
91
|
+
items: n.array
|
|
92
|
+
};
|
|
93
|
+
const h = s.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
align-items: center;
|
|
98
|
+
gap: 2rem;
|
|
99
|
+
|
|
100
|
+
& .section__heading {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: 0.5rem;
|
|
105
|
+
|
|
106
|
+
& .section__title {
|
|
107
|
+
color: var(--gray-900, #0c1520);
|
|
108
|
+
font-size: 1.5rem;
|
|
109
|
+
font-style: normal;
|
|
110
|
+
font-weight: 600;
|
|
111
|
+
line-height: 2rem;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
& .section__description {
|
|
115
|
+
color: var(--gray-500, #7a8594);
|
|
116
|
+
font-size: 1rem;
|
|
117
|
+
font-style: normal;
|
|
118
|
+
font-weight: 500;
|
|
119
|
+
line-height: 1.5rem;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@media (max-width: ${c + "px"}) {
|
|
124
|
+
text-align: center;
|
|
125
|
+
|
|
126
|
+
& .section__heading {
|
|
127
|
+
& .section__title {
|
|
128
|
+
font-size: 1rem;
|
|
129
|
+
font-weight: 500;
|
|
130
|
+
line-height: 1.5rem;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
& .section__description {
|
|
134
|
+
font-size: 0.875rem;
|
|
135
|
+
font-weight: 400;
|
|
136
|
+
line-height: 1.25rem;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
`, p = a(({ title: i, description: e, items: r = [] }, d) => /* @__PURE__ */ o(h, { ref: d, children: [
|
|
141
|
+
/* @__PURE__ */ o("div", { className: "section__heading", children: [
|
|
142
|
+
i && /* @__PURE__ */ t("div", { className: "section__title", children: i }),
|
|
143
|
+
e && /* @__PURE__ */ t("div", { className: "section__description", children: e })
|
|
144
|
+
] }),
|
|
145
|
+
/* @__PURE__ */ t(l, { items: r })
|
|
146
|
+
] }));
|
|
147
|
+
p.propTypes = {
|
|
148
|
+
title: n.string,
|
|
149
|
+
description: n.string,
|
|
150
|
+
items: n.array
|
|
151
|
+
};
|
|
152
|
+
export {
|
|
153
|
+
p as default
|
|
154
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-BUD-hnQA.cjs");function b(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in t)){const l=Object.getOwnPropertyDescriptor(s,a);l&&Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,O=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,j=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,L=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of v(e))!S.call(t,a)&&a!==r&&n(t,a,{get:()=>e[a],enumerable:!(s=g(e,a))||s.enumerable});return t},w=(t,e,r)=>(r=t!=null?P(O(t)):{},h(!t||!t.__esModule?n(r,"default",{value:t,enumerable:!0}):r,t)),M=t=>h(n({},"__esModule",{value:!0}),t),o=(t,e,r)=>(j(t,typeof e!="symbol"?e+"":e,r),r),y={};L(y,{default:()=>i});var d=M(y),p=w(f),u=c.utils,m=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",T="playerjs";class i extends p.Component{constructor(){super(...arguments),o(this,"callPlayer",u.callPlayer),o(this,"duration",null),o(this,"currentTime",null),o(this,"secondsLoaded",null),o(this,"mute",()=>{this.callPlayer("mute")}),o(this,"unmute",()=>{this.callPlayer("unmute")}),o(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,u.getSDK)(D,T).then(r=>{this.iframe&&(this.player=new r.Player(this.iframe),this.player.setLoop(this.props.loop),this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seeked",this.props.onSeek),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({duration:s,seconds:a})=>{this.duration=s,this.currentTime=a}),this.player.on("buffered",({percent:s})=>{this.duration&&(this.secondsLoaded=this.duration*s)}),this.props.muted&&this.player.mute())},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("setCurrentTime",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e=this.props.url.match(m.MATCH_URL_STREAMABLE)[1],r={width:"100%",height:"100%"};return p.default.createElement("iframe",{ref:this.ref,src:`https://streamable.com/o/${e}`,frameBorder:"0",scrolling:"no",style:r,allow:"encrypted-media; autoplay; fullscreen;"})}}o(i,"displayName","Streamable");o(i,"canPlay",m.canPlay.streamable);const E=_.getDefaultExportFromCjs(d),A=b({__proto__:null,default:E},[d]);exports.Streamable=A;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { g as m } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
|
+
import f from "react";
|
|
3
|
+
import { u as _, p as b } from "./SearchSection-xe0nvARV.js";
|
|
4
|
+
function P(t, e) {
|
|
5
|
+
for (var r = 0; r < e.length; r++) {
|
|
6
|
+
const s = e[r];
|
|
7
|
+
if (typeof s != "string" && !Array.isArray(s)) {
|
|
8
|
+
for (const a in s)
|
|
9
|
+
if (a !== "default" && !(a in t)) {
|
|
10
|
+
const i = Object.getOwnPropertyDescriptor(s, a);
|
|
11
|
+
i && Object.defineProperty(t, a, i.get ? i : {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: () => s[a]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
19
|
+
}
|
|
20
|
+
var g = Object.create, l = Object.defineProperty, v = Object.getOwnPropertyDescriptor, O = Object.getOwnPropertyNames, S = Object.getPrototypeOf, j = Object.prototype.hasOwnProperty, L = (t, e, r) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, w = (t, e) => {
|
|
21
|
+
for (var r in e)
|
|
22
|
+
l(t, r, { get: e[r], enumerable: !0 });
|
|
23
|
+
}, c = (t, e, r, s) => {
|
|
24
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
25
|
+
for (let a of O(e))
|
|
26
|
+
!j.call(t, a) && a !== r && l(t, a, { get: () => e[a], enumerable: !(s = v(e, a)) || s.enumerable });
|
|
27
|
+
return t;
|
|
28
|
+
}, M = (t, e, r) => (r = t != null ? g(S(t)) : {}, c(
|
|
29
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
+
!t || !t.__esModule ? l(r, "default", { value: t, enumerable: !0 }) : r,
|
|
34
|
+
t
|
|
35
|
+
)), D = (t) => c(l({}, "__esModule", { value: !0 }), t), o = (t, e, r) => (L(t, typeof e != "symbol" ? e + "" : e, r), r), h = {};
|
|
36
|
+
w(h, {
|
|
37
|
+
default: () => n
|
|
38
|
+
});
|
|
39
|
+
var d = D(h), p = M(f), u = _, y = b;
|
|
40
|
+
const T = "https://cdn.embed.ly/player-0.1.0.min.js", E = "playerjs";
|
|
41
|
+
class n extends p.Component {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments), o(this, "callPlayer", u.callPlayer), o(this, "duration", null), o(this, "currentTime", null), o(this, "secondsLoaded", null), o(this, "mute", () => {
|
|
44
|
+
this.callPlayer("mute");
|
|
45
|
+
}), o(this, "unmute", () => {
|
|
46
|
+
this.callPlayer("unmute");
|
|
47
|
+
}), o(this, "ref", (e) => {
|
|
48
|
+
this.iframe = e;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
componentDidMount() {
|
|
52
|
+
this.props.onMount && this.props.onMount(this);
|
|
53
|
+
}
|
|
54
|
+
load(e) {
|
|
55
|
+
(0, u.getSDK)(T, E).then((r) => {
|
|
56
|
+
this.iframe && (this.player = new r.Player(this.iframe), this.player.setLoop(this.props.loop), this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seeked", this.props.onSeek), this.player.on("ended", this.props.onEnded), this.player.on("error", this.props.onError), this.player.on("timeupdate", ({ duration: s, seconds: a }) => {
|
|
57
|
+
this.duration = s, this.currentTime = a;
|
|
58
|
+
}), this.player.on("buffered", ({ percent: s }) => {
|
|
59
|
+
this.duration && (this.secondsLoaded = this.duration * s);
|
|
60
|
+
}), this.props.muted && this.player.mute());
|
|
61
|
+
}, this.props.onError);
|
|
62
|
+
}
|
|
63
|
+
play() {
|
|
64
|
+
this.callPlayer("play");
|
|
65
|
+
}
|
|
66
|
+
pause() {
|
|
67
|
+
this.callPlayer("pause");
|
|
68
|
+
}
|
|
69
|
+
stop() {
|
|
70
|
+
}
|
|
71
|
+
seekTo(e, r = !0) {
|
|
72
|
+
this.callPlayer("setCurrentTime", e), r || this.pause();
|
|
73
|
+
}
|
|
74
|
+
setVolume(e) {
|
|
75
|
+
this.callPlayer("setVolume", e * 100);
|
|
76
|
+
}
|
|
77
|
+
setLoop(e) {
|
|
78
|
+
this.callPlayer("setLoop", e);
|
|
79
|
+
}
|
|
80
|
+
getDuration() {
|
|
81
|
+
return this.duration;
|
|
82
|
+
}
|
|
83
|
+
getCurrentTime() {
|
|
84
|
+
return this.currentTime;
|
|
85
|
+
}
|
|
86
|
+
getSecondsLoaded() {
|
|
87
|
+
return this.secondsLoaded;
|
|
88
|
+
}
|
|
89
|
+
render() {
|
|
90
|
+
const e = this.props.url.match(y.MATCH_URL_STREAMABLE)[1], r = {
|
|
91
|
+
width: "100%",
|
|
92
|
+
height: "100%"
|
|
93
|
+
};
|
|
94
|
+
return /* @__PURE__ */ p.default.createElement(
|
|
95
|
+
"iframe",
|
|
96
|
+
{
|
|
97
|
+
ref: this.ref,
|
|
98
|
+
src: `https://streamable.com/o/${e}`,
|
|
99
|
+
frameBorder: "0",
|
|
100
|
+
scrolling: "no",
|
|
101
|
+
style: r,
|
|
102
|
+
allow: "encrypted-media; autoplay; fullscreen;"
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
o(n, "displayName", "Streamable");
|
|
108
|
+
o(n, "canPlay", y.canPlay.streamable);
|
|
109
|
+
const A = /* @__PURE__ */ m(d), R = /* @__PURE__ */ P({
|
|
110
|
+
__proto__: null,
|
|
111
|
+
default: A
|
|
112
|
+
}, [d]);
|
|
113
|
+
export {
|
|
114
|
+
R as S
|
|
115
|
+
};
|
package/dist/Surface.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const x=require("react/jsx-runtime"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./index-
|
|
1
|
+
"use strict";const x=require("react/jsx-runtime"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./index-BpbMKBf_.cjs"),s=require("./utils-CZynEOC_.cjs"),c=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=p.styled.div`
|
|
2
2
|
padding: ${e=>e.padding};
|
|
3
3
|
box-shadow: ${e=>s.getBoxShadowValue(e.theme,e.boxShadow)};
|
|
4
4
|
border-radius: ${e=>s.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
|
package/dist/Surface.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
|
-
import { P as r } from "./index-
|
|
3
|
+
import { P as r } from "./index-CblbdqjE.js";
|
|
4
4
|
import { j as u, a as f } from "./utils-BbgAIA9N.js";
|
|
5
5
|
import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const g = x.div`
|
package/dist/SwipeableDrawer.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),u=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),u=require("react"),t=require("./index-BpbMKBf_.cjs"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./utils-CZynEOC_.cjs"),V=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),X=(e,o,n,c,a)=>{if(e==="right"||e==="left"||o&&n)return"height: 100%;";if(!(o&&a===!0))return o?"height: "+c+";":"height: 0;"},Y=(e,o,n,c,a)=>{if(e==="top"||e==="bottom"||o&&n)return"width: 100%;";if(!(o&&a===!0))return o?"width: "+c+";":"width: 0;"},A=v.styled.div`
|
|
2
2
|
touch-action: none;
|
|
3
3
|
overflow: auto;
|
|
4
4
|
max-height: ${e=>e.isOpen||e.unsetHeight===!1?"100dvh":0};
|
package/dist/SwipeableDrawer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as g, Fragment as Y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as V, useRef as q, useState as A, useImperativeHandle as B, useEffect as G } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
3
|
+
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { b as $, c as J } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
package/dist/TabItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const z=require("react/jsx-runtime"),m=require("react"),r=require("./index-
|
|
1
|
+
"use strict";const z=require("react/jsx-runtime"),m=require("react"),r=require("./index-BpbMKBf_.cjs"),E=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CZynEOC_.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=require("./useUpdateEffect-BtMgpgIV.cjs"),_=e=>e=="small"?"3.125rem":e=="medium"?"3.375rem":"3.625rem",D=E.styled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
|
|
4
4
|
min-width: 5.25rem;
|
package/dist/TabItem.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as j } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as D, useState as H } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
3
|
+
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { h as A, c as F, b as i, a as o } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|