@apolitical/component-library 2.3.0-beta.1 → 2.3.0-beta.3
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/index.d.ts +1 -1
- package/index.js +16 -16
- package/index.mjs +17 -13
- package/package.json +1 -1
- package/style.css +1 -1
package/index.mjs
CHANGED
|
@@ -2662,18 +2662,7 @@ const Ln = {
|
|
|
2662
2662
|
carousel: ["cards", "controls"],
|
|
2663
2663
|
"carousel-with-title": ["title", "cards", "controls"],
|
|
2664
2664
|
answers: ["text", "text", "text"],
|
|
2665
|
-
"
|
|
2666
|
-
"question",
|
|
2667
|
-
"subtitle",
|
|
2668
|
-
"form",
|
|
2669
|
-
"answers",
|
|
2670
|
-
"answers",
|
|
2671
|
-
"answers",
|
|
2672
|
-
"answers",
|
|
2673
|
-
"answers"
|
|
2674
|
-
],
|
|
2675
|
-
"general-website-page": [
|
|
2676
|
-
"banner",
|
|
2665
|
+
"text-page": [
|
|
2677
2666
|
"title",
|
|
2678
2667
|
"text",
|
|
2679
2668
|
"text",
|
|
@@ -2690,6 +2679,17 @@ const Ln = {
|
|
|
2690
2679
|
"text",
|
|
2691
2680
|
"text"
|
|
2692
2681
|
],
|
|
2682
|
+
"form-with-answers": [
|
|
2683
|
+
"question",
|
|
2684
|
+
"subtitle",
|
|
2685
|
+
"form",
|
|
2686
|
+
"answers",
|
|
2687
|
+
"answers",
|
|
2688
|
+
"answers",
|
|
2689
|
+
"answers",
|
|
2690
|
+
"answers"
|
|
2691
|
+
],
|
|
2692
|
+
"general-website-page": ["banner", "text-page"],
|
|
2693
2693
|
"overview-page": [
|
|
2694
2694
|
"header",
|
|
2695
2695
|
"sidebar",
|
|
@@ -2698,7 +2698,10 @@ const Ln = {
|
|
|
2698
2698
|
"cards-section",
|
|
2699
2699
|
"cards-section",
|
|
2700
2700
|
"footer"
|
|
2701
|
-
]
|
|
2701
|
+
],
|
|
2702
|
+
"course-navigation": ["button", "button"],
|
|
2703
|
+
"course-lesson-page": ["breadcrumb", "course-navigation", "text-page"],
|
|
2704
|
+
"course-lesson-quiz": ["text-page", "quiz-box"]
|
|
2702
2705
|
}, va = (t, e) => t in Ln ? /* @__PURE__ */ a.jsx("div", { className: t, children: Ln[t].map((n, r) => va(n, r)) }, e) : /* @__PURE__ */ a.jsx(Te, { className: t }, e), ba = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ a.jsx("div", { className: S("loading-state", t), ...e, children: Ln[t].map((n, r) => va(n, r)) }), ya = (t) => {
|
|
2703
2706
|
const e = t && t.toUpperCase().split(" ");
|
|
2704
2707
|
return Array.isArray(e) && e.length > 1 && e[0] !== "" ? e[1] === "" ? e[0][0] : e[0][0] + e[e.length - 1][0] : t ? t.substr(0, 1) : "";
|
|
@@ -11430,6 +11433,7 @@ export {
|
|
|
11430
11433
|
Ts as UserProvider,
|
|
11431
11434
|
be as VisuallyHidden,
|
|
11432
11435
|
Vo as addAriaProps,
|
|
11436
|
+
ua as basicReducer,
|
|
11433
11437
|
Li as camelCaseToDashCase,
|
|
11434
11438
|
Yn as checkIntlPathExists,
|
|
11435
11439
|
Ui as generateCssIcon,
|