@scrippsproduct/networks-ui-library 1.0.23 → 1.1.0-alpha.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/{Form.module-DbpB9u1l.mjs → Form.module-Cd8qH2rj.mjs} +1 -1
- package/dist/{ResultsTable.module-nTlGw9Lh.mjs → ResultsTable.module-B7M9y7hd.mjs} +1 -5
- package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/{add-FrnMPwwO.mjs → add-UWUc_nrO.mjs} +2 -2
- package/dist/{addMonths-BDf46gmB.mjs → addMonths-FatsTLmU.mjs} +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DatePicker.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/EqualSizeFlexRow.css +1 -1
- package/dist/assets/EqualSizeGrid.css +1 -1
- package/dist/assets/FeaturedList.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/Form.css +1 -1
- package/dist/assets/GridList.css +1 -1
- package/dist/assets/IONShowHero.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/{chevron-left-DmvQntvu.mjs → chevron-left-DRvpaLmK.mjs} +1 -1
- package/dist/{chevron-right-CaAz6ISN.mjs → chevron-right-C8yCnmfx.mjs} +1 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
- package/dist/components/BasicGridModule/BasicGridModule.js +25 -25
- package/dist/components/Carousel/Carousel.js +8 -8
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +1 -1
- package/dist/components/ChannelSearch/ChannelSearch.js +12 -12
- package/dist/components/Concat/Concat.js +1 -1
- package/dist/components/CtaBlock/CtaBlock.js +2 -2
- package/dist/components/CustomDataList/CustomDataList.js +44 -47
- package/dist/components/CustomSelect/CustomSelect.js +5 -5
- package/dist/components/DateNavigation/DateNavigation.js +7 -8
- package/dist/components/DatePicker/DatePicker.js +2527 -2452
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +1 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +27 -29
- package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
- package/dist/components/FeaturedList/FeaturedList.js +7 -7
- package/dist/components/Figure/Figure.js +1 -1
- package/dist/components/FindUs/FindUs.js +6 -6
- package/dist/components/GenericList/GenericList.js +1 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +6 -6
- package/dist/components/ImageCard/ImageCard.js +6 -6
- package/dist/components/ImageCard/ImageCardCore.js +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +15 -16
- package/dist/components/InlineNavigation/InlineNavigation.js +6 -7
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InstructionsList/InstructionsList.js +1 -1
- package/dist/components/Loading/Loading.js +5 -8
- package/dist/components/ModalContainer/ModalContainer.js +41 -44
- package/dist/components/Overlay/Overlay.js +17 -20
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
- package/dist/components/ProgramAirdate/ProgramAirdate.js +9 -9
- package/dist/components/PromotionBlock/PromotionBlock.js +15 -17
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +8 -8
- package/dist/components/ResultsTable/ResultsTable.js +7 -7
- package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
- package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
- package/dist/components/ScheduleList/ScheduleList.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +10 -10
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +8 -8
- package/dist/components/SectionedContent/SectionedContent.js +13 -16
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +24 -25
- package/dist/components/SocialLinks/SocialLinks.js +3 -3
- package/dist/components/SocialShareBlock/SocialShareBlock.js +8 -8
- package/dist/components/StringList/StringList.js +1 -1
- package/dist/components/TabContent/TabContent.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/UpcomingList/UpcomingList.js +8 -8
- package/dist/containers/NowPlayingContainer.js +10 -10
- package/dist/{facebook-osmzgL7R.mjs → facebook-HCcA1M1m.mjs} +1 -1
- package/dist/{format-plq8pBNY.mjs → format-YhWt2D8M.mjs} +78 -12
- package/dist/hooks/useGetSchedule.js +3 -3
- package/dist/hooks/useGetUpcoming.js +2 -2
- package/dist/{index-C8O1hjfH.mjs → index-0wieGV50.mjs} +0 -1
- package/dist/{index-DC7FmJPK.mjs → index-C-kn9Zhn.mjs} +7134 -7069
- package/dist/{index-CZzwT3Oj.mjs → index-DC2JJV3a.mjs} +246 -241
- package/dist/index-VjANCDXC.mjs +1873 -0
- package/dist/{sub-CkNH5u-l.mjs → sub-CoUmnfhv.mjs} +2 -2
- package/dist/{subMonths-nbU1oDhB.mjs → subMonths-BtMU5A9u.mjs} +1 -1
- package/dist/{triangle-D0AHL9lB.mjs → triangle-PcCcGXjr.mjs} +1 -1
- package/dist/utils/analytics.js +434 -423
- package/dist/utils/date-helpers.js +4 -4
- package/dist/utils/getFeaturedList.js +3 -3
- package/dist/utils/getOnNowProgram.js +3 -3
- package/dist/utils/getUpcomingPrograms.js +2 -2
- package/dist/{x-D8_C2o-U.mjs → x-C-QzJ-qD.mjs} +1 -1
- package/package.json +22 -24
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
- package/dist/index-B0ARwqly.mjs +0 -1818
- /package/dist/{networks-ui.d.ts → secl-ui.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as l } from "react";
|
|
3
|
+
import { Concat as n } from "../Concat/Concat.js";
|
|
3
4
|
import { ImageCard as s } from "../ImageCard/ImageCard.js";
|
|
4
5
|
import { AdjustableTwoColumnGrid as i } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
|
|
5
|
-
import { Concat as n } from "../Concat/Concat.js";
|
|
6
6
|
import { SectionedContent as c } from "../SectionedContent/SectionedContent.js";
|
|
7
7
|
function h(a) {
|
|
8
8
|
const t = a != null && a.castMember ? a.castMember : { ...a };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a, Fragment as I } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as C, useState as R, useEffect as x } from "react";
|
|
3
|
-
import { Input as V } from "../Input/Input.js";
|
|
4
|
-
import { CustomDataList as j } from "../CustomDataList/CustomDataList.js";
|
|
5
|
-
import { ActionButton as z } from "../ActionButton/ActionButton.js";
|
|
6
|
-
import { ResultsTable as A } from "../ResultsTable/ResultsTable.js";
|
|
7
|
-
import { AdBlock as K } from "../AdBlock/AdBlock.js";
|
|
8
3
|
import { statesForCustomList as T } from "../../data-resources/FakeDataResource.js";
|
|
9
|
-
import { publish as
|
|
4
|
+
import { publish as V } from "../../utils/events.js";
|
|
10
5
|
import { classes as n } from "../../utils/helpers.js";
|
|
6
|
+
import { Input as j } from "../Input/Input.js";
|
|
7
|
+
import { CustomDataList as z } from "../CustomDataList/CustomDataList.js";
|
|
8
|
+
import { ActionButton as A } from "../ActionButton/ActionButton.js";
|
|
9
|
+
import { ResultsTable as K } from "../ResultsTable/ResultsTable.js";
|
|
10
|
+
import { AdBlock as F } from "../AdBlock/AdBlock.js";
|
|
11
11
|
import '../../assets/ChannelSearch.css';const r = {
|
|
12
12
|
"channel-search": "_channel-search_11pkr_6",
|
|
13
13
|
"channel-search__inputs": "_channel-search__inputs_11pkr_19",
|
|
@@ -67,7 +67,7 @@ function J({
|
|
|
67
67
|
} else
|
|
68
68
|
d(await h()), b(!1);
|
|
69
69
|
setTimeout(() => {
|
|
70
|
-
|
|
70
|
+
V("scripps:action:completed");
|
|
71
71
|
}, 250);
|
|
72
72
|
}, B = [
|
|
73
73
|
{
|
|
@@ -110,11 +110,11 @@ function J({
|
|
|
110
110
|
" Channel Search:"
|
|
111
111
|
] }),
|
|
112
112
|
/* @__PURE__ */ o("span", { className: n([r["channel-search__inputs"], "channel-search__inputs"]), children: [
|
|
113
|
-
u && /* @__PURE__ */ a(
|
|
113
|
+
u && /* @__PURE__ */ a(j, { name: "zipcode", placeholder: "Enter ZIP Code", showValidation: !1 }),
|
|
114
114
|
u && _ && "or",
|
|
115
|
-
_ && /* @__PURE__ */ a(
|
|
115
|
+
_ && /* @__PURE__ */ a(z, { name: "state", options: T, placeholder: "Select Your State", showValidation: !1 })
|
|
116
116
|
] }),
|
|
117
|
-
/* @__PURE__ */ a(
|
|
117
|
+
/* @__PURE__ */ a(A, { label: "Submit", type: "submit", onClick: N, classname: n(["channel-search__submit-btn", r["channel-search__submit-btn"]]) })
|
|
118
118
|
]
|
|
119
119
|
}
|
|
120
120
|
),
|
|
@@ -132,7 +132,7 @@ function J({
|
|
|
132
132
|
}
|
|
133
133
|
),
|
|
134
134
|
/* @__PURE__ */ a(
|
|
135
|
-
|
|
135
|
+
K,
|
|
136
136
|
{
|
|
137
137
|
columns: B,
|
|
138
138
|
results: g,
|
|
@@ -142,7 +142,7 @@ function J({
|
|
|
142
142
|
)
|
|
143
143
|
] }),
|
|
144
144
|
!m && /* @__PURE__ */ a("div", { className: n([r["ad-wrapper"], "ad-wrapper"]), children: /* @__PURE__ */ a(
|
|
145
|
-
|
|
145
|
+
F,
|
|
146
146
|
{
|
|
147
147
|
ad: {
|
|
148
148
|
header: "Fall in love with subscription-free TV.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, Fragment as n } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { p as e } from "../../index-
|
|
3
|
+
import { p as e } from "../../index-VjANCDXC.mjs";
|
|
4
4
|
function c({ list: t }) {
|
|
5
5
|
return /* @__PURE__ */ a(n, { children: t.map((r) => /* @__PURE__ */ a(o.Fragment, { children: typeof r == "string" && r !== "" ? e(r) : r }, `react-frag-${Math.round(Math.random() * 1e7)}`)) });
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as f, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { p as s } from "../../index-
|
|
3
|
+
import { p as s } from "../../index-VjANCDXC.mjs";
|
|
4
|
+
import { classes as b } from "../../utils/helpers.js";
|
|
4
5
|
import { GradientButton as h } from "../GradientButton/GradientButton.js";
|
|
5
6
|
import { Button as u } from "../Button/Button.js";
|
|
6
|
-
import { classes as b } from "../../utils/helpers.js";
|
|
7
7
|
import '../../assets/CtaBlock.css';const c = {
|
|
8
8
|
"cta-block__title-img": "_cta-block__title-img_1ia8j_5"
|
|
9
9
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import R, { forwardRef as le, useState as b, useRef as T, useEffect as ne } from "react";
|
|
3
|
-
import { CreateChoiceList as ue } from "../CreateChoiceList/CreateChoiceList.js";
|
|
4
3
|
import { classes as w } from "../../utils/helpers.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { CreateChoiceList as ue } from "../CreateChoiceList/CreateChoiceList.js";
|
|
5
|
+
import { s as v, C as de, A as _e } from "../../Form.module-Cd8qH2rj.mjs";
|
|
6
|
+
import { X as fe } from "../../x-C-QzJ-qD.mjs";
|
|
7
|
+
import { P as E } from "../../index-DC2JJV3a.mjs";
|
|
8
|
+
import { T as he } from "../../triangle-PcCcGXjr.mjs";
|
|
9
9
|
import '../../assets/CustomDataList.css';function I() {
|
|
10
10
|
return I = Object.assign || function(c) {
|
|
11
11
|
for (var l = 1; l < arguments.length; l++) {
|
|
@@ -16,7 +16,7 @@ import '../../assets/CustomDataList.css';function I() {
|
|
|
16
16
|
return c;
|
|
17
17
|
}, I.apply(this, arguments);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function me(c, l) {
|
|
20
20
|
if (c == null) return {};
|
|
21
21
|
var d = pe(c, l), o, _;
|
|
22
22
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -34,7 +34,7 @@ function pe(c, l) {
|
|
|
34
34
|
return d;
|
|
35
35
|
}
|
|
36
36
|
var z = le(function(c, l) {
|
|
37
|
-
var d = c.color, o = d === void 0 ? "currentColor" : d, _ = c.size, n = _ === void 0 ? 24 : _, x =
|
|
37
|
+
var d = c.color, o = d === void 0 ? "currentColor" : d, _ = c.size, n = _ === void 0 ? 24 : _, x = me(c, ["color", "size"]);
|
|
38
38
|
return /* @__PURE__ */ R.createElement("svg", I({
|
|
39
39
|
ref: l,
|
|
40
40
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -76,9 +76,6 @@ const u = {
|
|
|
76
76
|
"custom-data-list__filter-wrap": "_custom-data-list__filter-wrap_6b9v2_133",
|
|
77
77
|
"custom-data-list__filter": "_custom-data-list__filter_6b9v2_133",
|
|
78
78
|
"custom-data-list__filter-icon": "_custom-data-list__filter-icon_6b9v2_150",
|
|
79
|
-
"custom-data-list__item--selected": "_custom-data-list__item--selected_6b9v2_157",
|
|
80
|
-
"custom-select__item--selected": "_custom-select__item--selected_6b9v2_166",
|
|
81
|
-
"custom-data-list__item--highlighted": "_custom-data-list__item--highlighted_6b9v2_170",
|
|
82
79
|
"custom-data-list__select--touched": "_custom-data-list__select--touched_6b9v2_174"
|
|
83
80
|
};
|
|
84
81
|
function Se({
|
|
@@ -92,7 +89,7 @@ function Se({
|
|
|
92
89
|
...Q
|
|
93
90
|
}) {
|
|
94
91
|
var X, G, J;
|
|
95
|
-
const [Y, Z] = b(`${
|
|
92
|
+
const [Y, Z] = b(`${v["form-field__input"]}`), M = T(), y = T(), L = T(), [V, W] = b(""), [F, ee] = b("clean"), [O, q] = b([]), [C, k] = b([]), [$, K] = b([]), [A, te] = b(null), [N, H] = b("hidden"), f = T(-1), se = `input-width--${_}`, ie = ["Enter", "Escape", "ArrowDown", "ArrowUp"], U = (e) => {
|
|
96
93
|
let i = [];
|
|
97
94
|
const t = (s) => {
|
|
98
95
|
for (const r of s)
|
|
@@ -124,37 +121,37 @@ function Se({
|
|
|
124
121
|
y.current.checkValidity() ? W("") : W(y.current.validationMessage);
|
|
125
122
|
}, 100);
|
|
126
123
|
}, S = (e) => {
|
|
127
|
-
e == null || e.stopPropagation(), ee("touched"), Z(`${
|
|
124
|
+
e == null || e.stopPropagation(), ee("touched"), Z(`${v["form-field__input"]} ${v["input--touched"]}`), N === "hidden" ? (H("visible"), M.current.focus()) : (H("hidden"), ce());
|
|
128
125
|
}, oe = (e) => {
|
|
129
|
-
const t = O.filter((
|
|
126
|
+
const t = O.filter((m) => m.id !== e);
|
|
130
127
|
q([...t]);
|
|
131
128
|
let s = C;
|
|
132
|
-
const r = (
|
|
133
|
-
for (const P of
|
|
134
|
-
if (P.id ===
|
|
129
|
+
const r = (m, h) => {
|
|
130
|
+
for (const P of m) {
|
|
131
|
+
if (P.id === h) {
|
|
135
132
|
P.status = "active";
|
|
136
133
|
break;
|
|
137
134
|
}
|
|
138
|
-
P.subcategories.length && r(P.subcategories,
|
|
135
|
+
P.subcategories.length && r(P.subcategories, h);
|
|
139
136
|
}
|
|
140
|
-
return
|
|
141
|
-
},
|
|
142
|
-
k([...
|
|
137
|
+
return m;
|
|
138
|
+
}, g = r(s, e);
|
|
139
|
+
k([...g]), document.querySelector(`select[name="${c}"] > option[value="${e}"]`).selected = !1;
|
|
143
140
|
}, re = (e) => {
|
|
144
141
|
if (e.stopPropagation(), e.keyCode === 40 || e.keyCode === 38)
|
|
145
142
|
D(e);
|
|
146
143
|
else {
|
|
147
|
-
|
|
148
|
-
const i = e.currentTarget.value, t = C, s = (
|
|
149
|
-
for (const
|
|
150
|
-
!
|
|
151
|
-
return
|
|
152
|
-
}, r = (
|
|
153
|
-
for (const
|
|
154
|
-
|
|
155
|
-
return
|
|
156
|
-
},
|
|
157
|
-
k([...
|
|
144
|
+
f.current = -1;
|
|
145
|
+
const i = e.currentTarget.value, t = C, s = (m) => {
|
|
146
|
+
for (const h of m)
|
|
147
|
+
!h.label.toLowerCase().includes(i.toLowerCase()) && h.status !== "selected" && (h.status = "filtered"), h.subcategories.length && s(h.subcategories);
|
|
148
|
+
return m;
|
|
149
|
+
}, r = (m) => {
|
|
150
|
+
for (const h of m)
|
|
151
|
+
h.status === "filtered" && (h.status = "active"), h.subcategories.length && r(h.subcategories);
|
|
152
|
+
return m;
|
|
153
|
+
}, g = i === "" ? r(t) : s(t);
|
|
154
|
+
k([...g]), K([...U(g)]);
|
|
158
155
|
}
|
|
159
156
|
}, ae = (e) => {
|
|
160
157
|
const i = structuredClone(C), t = j(i, e);
|
|
@@ -162,24 +159,24 @@ function Se({
|
|
|
162
159
|
}, D = (e) => {
|
|
163
160
|
e.stopPropagation(), e.preventDefault();
|
|
164
161
|
const i = e.key, t = C, s = (r) => {
|
|
165
|
-
const
|
|
166
|
-
k([...
|
|
162
|
+
const g = $[r].id, m = j(t, g, "highlighted");
|
|
163
|
+
k([...m]);
|
|
167
164
|
};
|
|
168
165
|
if (i === "ArrowDown" && N === "visible")
|
|
169
|
-
|
|
166
|
+
f.current < $.length - 1 ? (s(f.current + 1), f.current++) : (s(0), f.current = 0);
|
|
170
167
|
else if (i === "ArrowUp" && N === "visible")
|
|
171
|
-
|
|
168
|
+
f.current > 0 ? (s(f.current - 1), f.current--) : (s($.length - 1), f.current = $.length - 1);
|
|
172
169
|
else if (i === "Enter")
|
|
173
|
-
if (N === "visible" &&
|
|
174
|
-
const r = $[
|
|
175
|
-
k([...
|
|
170
|
+
if (N === "visible" && f !== -1) {
|
|
171
|
+
const r = $[f.current].id, g = j(t, r);
|
|
172
|
+
k([...g]), S(), document.querySelector(`select[name="${c}"] > option[value="${r}"]`).selected = !0;
|
|
176
173
|
} else
|
|
177
174
|
S();
|
|
178
175
|
else if (i === "Escape" && N === "visible")
|
|
179
|
-
S(),
|
|
176
|
+
S(), f.current = -1;
|
|
180
177
|
else
|
|
181
178
|
return !1;
|
|
182
|
-
30 *
|
|
179
|
+
30 * f.current > 160 ? L.current.scrollTo(0, 30 * f.current) : L.current.scrollTo(0, 0);
|
|
183
180
|
};
|
|
184
181
|
return ne(() => {
|
|
185
182
|
let e = l.map((t) => ({
|
|
@@ -194,13 +191,13 @@ function Se({
|
|
|
194
191
|
}
|
|
195
192
|
const i = e.filter((t) => t.parent_id === null);
|
|
196
193
|
K(U(i)), k(i);
|
|
197
|
-
}, [l]), /* @__PURE__ */ p("label", { htmlFor: c, className: w([
|
|
194
|
+
}, [l]), /* @__PURE__ */ p("label", { htmlFor: c, className: w([v["form-field"], v[se]]), children: [
|
|
198
195
|
x && /* @__PURE__ */ p(
|
|
199
196
|
"i",
|
|
200
197
|
{
|
|
201
198
|
className: w([
|
|
202
|
-
|
|
203
|
-
(X = y.current) != null && X.validity.valid ? "" :
|
|
199
|
+
v["form-field__icon"],
|
|
200
|
+
(X = y.current) != null && X.validity.valid ? "" : v["form-field__icon--invalid"]
|
|
204
201
|
]),
|
|
205
202
|
style: d === "" ? { top: "0.4em" } : {},
|
|
206
203
|
children: [
|
|
@@ -209,7 +206,7 @@ function Se({
|
|
|
209
206
|
]
|
|
210
207
|
}
|
|
211
208
|
),
|
|
212
|
-
/* @__PURE__ */ a("span", { className:
|
|
209
|
+
/* @__PURE__ */ a("span", { className: v["form-field__label"], children: d }),
|
|
213
210
|
/* @__PURE__ */ p(
|
|
214
211
|
"select",
|
|
215
212
|
{
|
|
@@ -240,7 +237,7 @@ function Se({
|
|
|
240
237
|
onClick: (i) => {
|
|
241
238
|
i.stopPropagation(), oe(e.id);
|
|
242
239
|
},
|
|
243
|
-
children: /* @__PURE__ */ a(
|
|
240
|
+
children: /* @__PURE__ */ a(fe, { width: 16, height: 16 })
|
|
244
241
|
}
|
|
245
242
|
)
|
|
246
243
|
] }, `selection-${e.id}`)),
|
|
@@ -274,9 +271,9 @@ function Se({
|
|
|
274
271
|
] }),
|
|
275
272
|
/* @__PURE__ */ a("div", { className: u["custom-data-list__choices"], ref: L, onKeyDown: D, children: C.length !== 0 && /* @__PURE__ */ a(ue, { list: C, handleOnClick: ae }) })
|
|
276
273
|
] }),
|
|
277
|
-
/* @__PURE__ */ a("i", { className: u["custom-data-list__icon"], children: /* @__PURE__ */ a(
|
|
274
|
+
/* @__PURE__ */ a("i", { className: u["custom-data-list__icon"], children: /* @__PURE__ */ a(he, {}) })
|
|
278
275
|
] }),
|
|
279
|
-
V !== "" && x && /* @__PURE__ */ a("div", { className:
|
|
276
|
+
V !== "" && x && /* @__PURE__ */ a("div", { className: v["form-field__error-message"], children: V })
|
|
280
277
|
] });
|
|
281
278
|
}
|
|
282
279
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as b, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import F, { forwardRef as le, useState as y, useRef as E } from "react";
|
|
3
|
-
import { s as a, C as oe } from "../../ChoicesItem-CGIr6Qga.mjs";
|
|
4
3
|
import { publish as X } from "../../utils/events.js";
|
|
5
4
|
import { classes as f } from "../../utils/helpers.js";
|
|
6
|
-
import { s as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { s as a, C as oe } from "../../ChoicesItem-CGIr6Qga.mjs";
|
|
6
|
+
import { s as v, C as ie, A as ne } from "../../Form.module-Cd8qH2rj.mjs";
|
|
7
|
+
import { X as ae } from "../../x-C-QzJ-qD.mjs";
|
|
8
|
+
import { T as ue } from "../../triangle-PcCcGXjr.mjs";
|
|
9
|
+
import { P as j } from "../../index-DC2JJV3a.mjs";
|
|
10
10
|
function I() {
|
|
11
11
|
return I = Object.assign || function(t) {
|
|
12
12
|
for (var u = 1; u < arguments.length; u++) {
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import D, { useState as _, useRef as h, useEffect as f } from "react";
|
|
3
|
-
import { f as y } from "../../format-
|
|
3
|
+
import { f as y } from "../../format-YhWt2D8M.mjs";
|
|
4
4
|
import { classes as W } from "../../utils/helpers.js";
|
|
5
|
-
import { C as L } from "../../chevron-left-
|
|
6
|
-
import { C as E } from "../../chevron-right-
|
|
7
|
-
import '../../assets/DateNavigation.css';const
|
|
5
|
+
import { C as L } from "../../chevron-left-DRvpaLmK.mjs";
|
|
6
|
+
import { C as E } from "../../chevron-right-C8yCnmfx.mjs";
|
|
7
|
+
import '../../assets/DateNavigation.css';const e = {
|
|
8
8
|
"date-navigation__list": "_date-navigation__list_18gb9_5",
|
|
9
|
-
slidein: I,
|
|
10
9
|
"date-navigation__control": "_date-navigation__control_18gb9_42",
|
|
11
10
|
"date-navigation__control--previous": "_date-navigation__control--previous_18gb9_69",
|
|
12
11
|
"date-navigation__control--next": "_date-navigation__control--next_18gb9_74",
|
|
13
12
|
"date-navigation__day": "_date-navigation__day_18gb9_94",
|
|
14
13
|
"date-navigation__month-day-break": "_date-navigation__month-day-break_18gb9_100"
|
|
15
14
|
};
|
|
16
|
-
function
|
|
15
|
+
function $({ weeks: a = [[], []], handleDateChanged: s = () => !0 }) {
|
|
17
16
|
const [i, b] = _(0), [p, k] = _(a[0]), [x, u] = _(a[0][0]), [N, v] = _("entering"), o = h(null), r = h(0), g = (t) => {
|
|
18
17
|
b(t), v(() => t ? "exiting" : "entering");
|
|
19
18
|
}, C = (t) => {
|
|
@@ -111,6 +110,6 @@ function P({ weeks: a = [[], []], handleDateChanged: s = () => !0 }) {
|
|
|
111
110
|
] });
|
|
112
111
|
}
|
|
113
112
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
$ as DateNavigation,
|
|
114
|
+
$ as default
|
|
116
115
|
};
|