quirk-ui 0.1.74 → 0.1.77
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/AccordionItem.css.d.ts +13 -0
- package/dist/CategoryFilters.css.d.ts +31 -0
- package/dist/FormField-CtUZKmKE.cjs +1 -0
- package/dist/FormField-J7D8joVl.js +233 -0
- package/dist/FormField.css +1 -0
- package/dist/FormField.css.d.ts +27 -0
- package/dist/HeroSubComponents.css.d.ts +30 -0
- package/dist/NavLink.css.d.ts +72 -0
- package/dist/core/components/Badge/index.cjs +1 -1
- package/dist/core/components/Badge/index.mjs +1 -1
- package/dist/core/components/Box/index.cjs +1 -1
- package/dist/core/components/Box/index.mjs +1 -1
- package/dist/core/components/Breadcrumbs/index.cjs +1 -1
- package/dist/core/components/Breadcrumbs/index.mjs +1 -1
- package/dist/core/components/Card/index.cjs +1 -1
- package/dist/core/components/Card/index.mjs +1 -1
- package/dist/core/components/Container/index.cjs +1 -1
- package/dist/core/components/Container/index.mjs +1 -1
- package/dist/core/components/Divider/index.cjs +1 -1
- package/dist/core/components/Divider/index.mjs +1 -1
- package/dist/core/components/Drawer/index.cjs +1 -1
- package/dist/core/components/Drawer/index.mjs +1 -1
- package/dist/core/components/Fieldset/index.cjs +1 -1
- package/dist/core/components/Fieldset/index.mjs +1 -1
- package/dist/core/components/FloatingActionButton/index.cjs +1 -1
- package/dist/core/components/FloatingActionButton/index.mjs +1 -1
- package/dist/core/components/Footer/index.cjs +1 -1
- package/dist/core/components/Footer/index.mjs +1 -1
- package/dist/core/components/Form/index.cjs +1 -1
- package/dist/core/components/Form/index.mjs +1 -1
- package/dist/core/components/Input/index.cjs +1 -1
- package/dist/core/components/Input/index.mjs +25 -31
- package/dist/core/components/Label/index.cjs +1 -1
- package/dist/core/components/Label/index.mjs +1 -1
- package/dist/core/components/List/index.cjs +1 -1
- package/dist/core/components/List/index.mjs +1 -1
- package/dist/core/components/Modal/index.cjs +1 -1
- package/dist/core/components/Modal/index.mjs +1 -1
- package/dist/core/components/NotificationContainer/index.cjs +1 -1
- package/dist/core/components/NotificationContainer/index.mjs +1 -1
- package/dist/core/components/ProgressBar/index.cjs +1 -1
- package/dist/core/components/ProgressBar/index.mjs +1 -1
- package/dist/core/components/Radio/index.cjs +1 -1
- package/dist/core/components/Radio/index.mjs +1 -1
- package/dist/core/components/Range/index.cjs +1 -1
- package/dist/core/components/Range/index.mjs +1 -1
- package/dist/core/components/Skeleton/index.cjs +1 -1
- package/dist/core/components/Skeleton/index.mjs +1 -1
- package/dist/core/components/Spacer/index.cjs +1 -1
- package/dist/core/components/Spacer/index.mjs +1 -1
- package/dist/core/components/Spinner/index.cjs +1 -1
- package/dist/core/components/Spinner/index.mjs +1 -1
- package/dist/core/components/Stack/index.cjs +1 -1
- package/dist/core/components/Stack/index.mjs +1 -1
- package/dist/core/components/Switch/index.cjs +1 -1
- package/dist/core/components/Switch/index.mjs +1 -1
- package/dist/core/components/Textarea/index.cjs +1 -1
- package/dist/core/components/Textarea/index.mjs +1 -1
- package/dist/index.css.d.ts +1 -0
- package/dist/index10.css.d.ts +7 -0
- package/dist/index11.css.d.ts +26 -0
- package/dist/index12.css.d.ts +24 -0
- package/dist/index13.css.d.ts +33 -0
- package/dist/index14.css.d.ts +10 -0
- package/dist/index15.css.d.ts +18 -0
- package/dist/index16.css.d.ts +38 -0
- package/dist/index17.css.d.ts +16 -0
- package/dist/index18.css.d.ts +14 -0
- package/dist/index19.css.d.ts +17 -0
- package/dist/index2.css.d.ts +9 -0
- package/dist/index20.css.d.ts +13 -0
- package/dist/index21.css.d.ts +25 -0
- package/dist/index22.css.d.ts +5 -0
- package/dist/index23.css.d.ts +19 -0
- package/dist/index24.css.d.ts +21 -0
- package/dist/index25.css.d.ts +16 -0
- package/dist/index26.css.d.ts +10 -0
- package/dist/index27.css.d.ts +18 -0
- package/dist/index28.css.d.ts +16 -0
- package/dist/index29.css.d.ts +10 -0
- package/dist/index3.css.d.ts +12 -0
- package/dist/index30.css.d.ts +19 -0
- package/dist/index31.css.d.ts +15 -0
- package/dist/index32.css.d.ts +22 -0
- package/dist/index33.css.d.ts +15 -0
- package/dist/index34.css +1 -1
- package/dist/index34.css.d.ts +14 -0
- package/dist/index35.css +1 -1
- package/dist/index35.css.d.ts +23 -0
- package/dist/index36.css +1 -1
- package/dist/index36.css.d.ts +14 -0
- package/dist/index37.css +1 -1
- package/dist/index37.css.d.ts +18 -0
- package/dist/index38.css +1 -1
- package/dist/index38.css.d.ts +21 -0
- package/dist/index39.css +1 -1
- package/dist/index39.css.d.ts +20 -0
- package/dist/index4.css.d.ts +10 -0
- package/dist/index40.css +1 -1
- package/dist/index40.css.d.ts +17 -0
- package/dist/index41.css +1 -1
- package/dist/index41.css.d.ts +14 -0
- package/dist/index42.css +1 -1
- package/dist/index42.css.d.ts +22 -0
- package/dist/index43.css +1 -1
- package/dist/index43.css.d.ts +35 -0
- package/dist/index44.css +1 -1
- package/dist/index44.css.d.ts +13 -0
- package/dist/index45.css +1 -1
- package/dist/index45.css.d.ts +23 -0
- package/dist/index46.css +1 -1
- package/dist/index46.css.d.ts +12 -0
- package/dist/index47.css +1 -1
- package/dist/index47.css.d.ts +19 -0
- package/dist/index48.css +1 -1
- package/dist/index48.css.d.ts +20 -0
- package/dist/index49.css +1 -1
- package/dist/index49.css.d.ts +20 -0
- package/dist/index5.css.d.ts +22 -0
- package/dist/index50.css +1 -1
- package/dist/index50.css.d.ts +27 -0
- package/dist/index51.css +1 -1
- package/dist/index51.css.d.ts +17 -0
- package/dist/index52.css +1 -1
- package/dist/index52.css.d.ts +11 -0
- package/dist/index53.css +1 -1
- package/dist/index53.css.d.ts +12 -0
- package/dist/index54.css +1 -1
- package/dist/index54.css.d.ts +14 -0
- package/dist/index55.css +1 -1
- package/dist/index55.css.d.ts +20 -0
- package/dist/index56.css +1 -1
- package/dist/index56.css.d.ts +25 -0
- package/dist/index57.css +1 -1
- package/dist/index57.css.d.ts +13 -0
- package/dist/index58.css.d.ts +12 -0
- package/dist/index59.css.d.ts +20 -0
- package/dist/index6.css.d.ts +19 -0
- package/dist/index60.css.d.ts +20 -0
- package/dist/index61.css.d.ts +18 -0
- package/dist/index62.css.d.ts +22 -0
- package/dist/index63.css.d.ts +28 -0
- package/dist/index64.css.d.ts +26 -0
- package/dist/index65.css.d.ts +19 -0
- package/dist/index7.css.d.ts +40 -0
- package/dist/index8.css.d.ts +32 -0
- package/dist/index9.css.d.ts +9 -0
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +18 -0
- package/dist/main.mjs +55 -53
- package/dist/next/blocks/FormBlock/FormField.cjs +1 -0
- package/dist/next/blocks/FormBlock/FormField.mjs +13 -0
- package/dist/next/blocks/FormBlock/index.cjs +1 -0
- package/dist/next/blocks/FormBlock/index.mjs +199 -0
- package/dist/next/blocks/FormBlock/validate.cjs +1 -0
- package/dist/next/blocks/FormBlock/validate.mjs +76 -0
- package/dist/next.cjs +1 -1
- package/dist/next.d.ts +18 -0
- package/dist/next.mjs +45 -43
- package/dist/styles.css.d.ts +1 -0
- package/dist/tokens.css.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "_accordionContent_14hw7_64": string;
|
|
3
|
+
readonly "_accordionHeader_14hw7_15": string;
|
|
4
|
+
readonly "_accordionItem_14hw7_7": string;
|
|
5
|
+
readonly "_accordion_14hw7_1": string;
|
|
6
|
+
readonly "_active_14hw7_30": string;
|
|
7
|
+
readonly "_closed_14hw7_51": string;
|
|
8
|
+
readonly "_icon_14hw7_44": string;
|
|
9
|
+
readonly "_open_14hw7_50": string;
|
|
10
|
+
readonly "_rotate_14hw7_80": string;
|
|
11
|
+
};
|
|
12
|
+
export = styles;
|
|
13
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "_applyFilters_1vg9o_218": string;
|
|
3
|
+
readonly "_buttonIsLoading_1vg9o_307": string;
|
|
4
|
+
readonly "_clearSearch_1vg9o_106": string;
|
|
5
|
+
readonly "_container_1vg9o_9": string;
|
|
6
|
+
readonly "_cta_1vg9o_25": string;
|
|
7
|
+
readonly "_documentList_1vg9o_1": string;
|
|
8
|
+
readonly "_eyebrow_1vg9o_30": string;
|
|
9
|
+
readonly "_filterHeader_1vg9o_178": string;
|
|
10
|
+
readonly "_filterList_1vg9o_203": string;
|
|
11
|
+
readonly "_filterToggle_1vg9o_163": string;
|
|
12
|
+
readonly "_heading_1vg9o_20": string;
|
|
13
|
+
readonly "_hide_1vg9o_256": string;
|
|
14
|
+
readonly "_listContainer_1vg9o_34": string;
|
|
15
|
+
readonly "_listFilters_1vg9o_210": string;
|
|
16
|
+
readonly "_listHeaderFilters_1vg9o_125": string;
|
|
17
|
+
readonly "_listHeader_1vg9o_66": string;
|
|
18
|
+
readonly "_listResults_1vg9o_136": string;
|
|
19
|
+
readonly "_listSearch_1vg9o_79": string;
|
|
20
|
+
readonly "_listSort_1vg9o_140": string;
|
|
21
|
+
readonly "_listWrapper_1vg9o_45": string;
|
|
22
|
+
readonly "_list_1vg9o_34": string;
|
|
23
|
+
readonly "_loadMore_1vg9o_199": string;
|
|
24
|
+
readonly "_rotate_1vg9o_1": string;
|
|
25
|
+
readonly "_show_1vg9o_247": string;
|
|
26
|
+
readonly "_text_1vg9o_25": string;
|
|
27
|
+
readonly "_title_1vg9o_25": string;
|
|
28
|
+
readonly "_wrapper_1vg9o_266": string;
|
|
29
|
+
};
|
|
30
|
+
export = styles;
|
|
31
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./FormField.css');const a=require("react/jsx-runtime"),q=require("./core/components/Input/index.cjs"),T=require("./core/components/Textarea/index.cjs"),h=require("./core/components/Select/index.cjs"),_=require("./core/components/Checkbox/index.cjs"),k=require("./core/components/Radio/index.cjs"),p=require("./core/components/Fieldset/index.cjs"),W=require("./core/components/DatePicker/index.cjs"),F=require("./core/components/Range/index.cjs"),j="_formBlock_cu3uh_1",C="_container_cu3uh_7",w="_formInner_cu3uh_20",L="_maxWidthSm_cu3uh_24",y="_maxWidthMd_cu3uh_27",S="_maxWidthLg_cu3uh_30",B="_maxWidthFull_cu3uh_33",$="_heading_cu3uh_39",H="_eyebrow_cu3uh_45",G="_title_cu3uh_49",I="_progress_cu3uh_55",M="_progressHeader_cu3uh_61",D="_stepLabel_cu3uh_67",O="_stepCount_cu3uh_73",P="_stepDescription_cu3uh_78",R="_fields_cu3uh_86",V="_fieldFull_cu3uh_93",f="_fieldHalf_cu3uh_97",N="_fieldThird_cu3uh_105",z="_actions_cu3uh_115",A="_submitButton_cu3uh_122",E="_success_cu3uh_128",J="_errorBanner_cu3uh_141",i={formBlock:j,container:C,formInner:w,maxWidthSm:L,maxWidthMd:y,maxWidthLg:S,maxWidthFull:B,heading:$,eyebrow:H,title:G,progress:I,progressHeader:M,stepLabel:D,stepCount:O,stepDescription:P,fields:R,fieldFull:V,fieldHalf:f,fieldThird:N,actions:z,submitButton:A,success:E,errorBanner:J};function l(e){return(e??[]).map(n=>({label:n.label,value:n.value.current,disabled:n.disabled}))}function m(e){return(e??[]).map(n=>({label:n.label,options:n.options.map(s=>({label:s.label,value:s.value.current,disabled:s.disabled}))}))}function K({field:e,value:n,error:s,onChange:c}){const r=e.name.current,x={full:i.fieldFull,half:i.fieldHalf,third:i.fieldThird}[e.width??"full"],o={id:r,name:r,label:e.label,required:e.required,disabled:e.disabled,helperText:e.helperText,error:s},d=()=>{switch(e.fieldType){case"text":case"email":case"phone":case"number":case"url":return a.jsx(q.Input,{...o,type:e.fieldType==="phone"?"tel":e.fieldType,placeholder:e.placeholder,value:n??"",minLength:e.minLength,maxLength:e.maxLength,fullWidth:!0,onChange:t=>c(r,t.target.value)});case"textarea":return a.jsx(T.Textarea,{...o,placeholder:e.placeholder,value:n??"",rows:e.rows??4,maxLength:e.maxLength,showCharCount:e.showCharCount,fullWidth:!0,onChange:t=>c(r,t.target.value)});case"select":{const t=e.useOptionGroups?m(e.optionGroups):l(e.options);return a.jsx(h.Select,{...o,placeholder:e.placeholder,options:t,value:n??"",fullWidth:!0,onChange:u=>c(r,u.target.value)})}case"multiselect":{const t=e.useOptionGroups?m(e.optionGroups):l(e.options);return a.jsx(h.Select,{...o,multiple:!0,options:t,value:n??[],showSelectedCount:!0,onChange:u=>c(r,u)})}case"checkbox":return a.jsx(_.Checkbox,{id:o.id,name:o.name,label:e.label,required:e.required,disabled:e.disabled,helperText:s??e.helperText,error:!!s,checked:n??!1,onChange:t=>c(r,t.target.checked)});case"checkboxGroup":{const t=n??[];return a.jsx(p.Fieldset,{legend:e.label,error:!!s,helperText:s,children:l(e.options).map(u=>a.jsx(_.Checkbox,{id:`${r}-${u.value}`,name:`${r}[]`,label:u.label,checked:t.includes(u.value),disabled:u.disabled||e.disabled,onChange:b=>{const g=b.target.checked?[...t,u.value]:t.filter(v=>v!==u.value);c(r,g)}},u.value))})}case"radio":return a.jsx(p.Fieldset,{legend:e.label,error:!!s,helperText:s,children:l(e.options).map(t=>a.jsx(k.Radio,{id:`${r}-${t.value}`,name:r,value:t.value,label:t.label,checked:n===t.value,disabled:t.disabled||e.disabled,required:e.required,onChange:()=>c(r,t.value)},t.value))});case"date":return a.jsx(W.DatePicker,{id:o.id,name:o.name,label:e.label,required:e.required,disabled:e.disabled,helperText:s??e.helperText,error:!!s,value:n??null,onChange:t=>c(r,t)});case"range":return a.jsx(F.Range,{...o,value:n??e.rangeMin??0,min:e.rangeMin??0,max:e.rangeMax??100,step:e.rangeStep??1,valuePrefix:e.rangeValuePrefix,valueSuffix:e.rangeValueSuffix,showValue:!0,onChange:t=>c(r,t)});case"hidden":return a.jsx("input",{type:"hidden",name:r,value:n??e.hiddenValue??""});default:return null}};return e.fieldType==="hidden"?d():a.jsx("div",{className:`${x}`,children:d()})}exports.FormField=K;exports.styles=i;
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { Input as T } from "./core/components/Input/index.mjs";
|
|
3
|
+
import { Textarea as W } from "./core/components/Textarea/index.mjs";
|
|
4
|
+
import { Select as d } from "./core/components/Select/index.mjs";
|
|
5
|
+
import { Checkbox as m } from "./core/components/Checkbox/index.mjs";
|
|
6
|
+
import { Radio as f } from "./core/components/Radio/index.mjs";
|
|
7
|
+
import { Fieldset as p } from "./core/components/Fieldset/index.mjs";
|
|
8
|
+
import { DatePicker as k } from "./core/components/DatePicker/index.mjs";
|
|
9
|
+
import { Range as w } from "./core/components/Range/index.mjs";
|
|
10
|
+
import './FormField.css';const L = "_formBlock_cu3uh_1", C = "_container_cu3uh_7", F = "_formInner_cu3uh_20", y = "_maxWidthSm_cu3uh_24", B = "_maxWidthMd_cu3uh_27", q = "_maxWidthLg_cu3uh_30", S = "_maxWidthFull_cu3uh_33", H = "_heading_cu3uh_39", G = "_eyebrow_cu3uh_45", M = "_title_cu3uh_49", $ = "_progress_cu3uh_55", I = "_progressHeader_cu3uh_61", D = "_stepLabel_cu3uh_67", O = "_stepCount_cu3uh_73", V = "_stepDescription_cu3uh_78", P = "_fields_cu3uh_86", R = "_fieldFull_cu3uh_93", j = "_fieldHalf_cu3uh_97", N = "_fieldThird_cu3uh_105", z = "_actions_cu3uh_115", A = "_submitButton_cu3uh_122", E = "_success_cu3uh_128", J = "_errorBanner_cu3uh_141", i = {
|
|
11
|
+
formBlock: L,
|
|
12
|
+
container: C,
|
|
13
|
+
formInner: F,
|
|
14
|
+
maxWidthSm: y,
|
|
15
|
+
maxWidthMd: B,
|
|
16
|
+
maxWidthLg: q,
|
|
17
|
+
maxWidthFull: S,
|
|
18
|
+
heading: H,
|
|
19
|
+
eyebrow: G,
|
|
20
|
+
title: M,
|
|
21
|
+
progress: $,
|
|
22
|
+
progressHeader: I,
|
|
23
|
+
stepLabel: D,
|
|
24
|
+
stepCount: O,
|
|
25
|
+
stepDescription: V,
|
|
26
|
+
fields: P,
|
|
27
|
+
fieldFull: R,
|
|
28
|
+
fieldHalf: j,
|
|
29
|
+
fieldThird: N,
|
|
30
|
+
actions: z,
|
|
31
|
+
submitButton: A,
|
|
32
|
+
success: E,
|
|
33
|
+
errorBanner: J
|
|
34
|
+
};
|
|
35
|
+
function c(e) {
|
|
36
|
+
return (e ?? []).map((r) => ({
|
|
37
|
+
label: r.label,
|
|
38
|
+
value: r.value.current,
|
|
39
|
+
disabled: r.disabled
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
function _(e) {
|
|
43
|
+
return (e ?? []).map((r) => ({
|
|
44
|
+
label: r.label,
|
|
45
|
+
options: r.options.map((n) => ({
|
|
46
|
+
label: n.label,
|
|
47
|
+
value: n.value.current,
|
|
48
|
+
disabled: n.disabled
|
|
49
|
+
}))
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
function ae({ field: e, value: r, error: n, onChange: l }) {
|
|
53
|
+
const a = e.name.current, b = {
|
|
54
|
+
full: i.fieldFull,
|
|
55
|
+
half: i.fieldHalf,
|
|
56
|
+
third: i.fieldThird
|
|
57
|
+
}[e.width ?? "full"], o = {
|
|
58
|
+
id: a,
|
|
59
|
+
name: a,
|
|
60
|
+
label: e.label,
|
|
61
|
+
required: e.required,
|
|
62
|
+
disabled: e.disabled,
|
|
63
|
+
helperText: e.helperText,
|
|
64
|
+
error: n
|
|
65
|
+
}, h = () => {
|
|
66
|
+
switch (e.fieldType) {
|
|
67
|
+
// ── Text-based inputs ──────────────────────────────────────────────
|
|
68
|
+
case "text":
|
|
69
|
+
case "email":
|
|
70
|
+
case "phone":
|
|
71
|
+
case "number":
|
|
72
|
+
case "url":
|
|
73
|
+
return /* @__PURE__ */ u(
|
|
74
|
+
T,
|
|
75
|
+
{
|
|
76
|
+
...o,
|
|
77
|
+
type: e.fieldType === "phone" ? "tel" : e.fieldType,
|
|
78
|
+
placeholder: e.placeholder,
|
|
79
|
+
value: r ?? "",
|
|
80
|
+
minLength: e.minLength,
|
|
81
|
+
maxLength: e.maxLength,
|
|
82
|
+
fullWidth: !0,
|
|
83
|
+
onChange: (t) => l(a, t.target.value)
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
// ── Textarea ───────────────────────────────────────────────────────
|
|
87
|
+
case "textarea":
|
|
88
|
+
return /* @__PURE__ */ u(
|
|
89
|
+
W,
|
|
90
|
+
{
|
|
91
|
+
...o,
|
|
92
|
+
placeholder: e.placeholder,
|
|
93
|
+
value: r ?? "",
|
|
94
|
+
rows: e.rows ?? 4,
|
|
95
|
+
maxLength: e.maxLength,
|
|
96
|
+
showCharCount: e.showCharCount,
|
|
97
|
+
fullWidth: !0,
|
|
98
|
+
onChange: (t) => l(a, t.target.value)
|
|
99
|
+
}
|
|
100
|
+
);
|
|
101
|
+
// ── Select ─────────────────────────────────────────────────────────
|
|
102
|
+
case "select": {
|
|
103
|
+
const t = e.useOptionGroups ? _(e.optionGroups) : c(e.options);
|
|
104
|
+
return /* @__PURE__ */ u(
|
|
105
|
+
d,
|
|
106
|
+
{
|
|
107
|
+
...o,
|
|
108
|
+
placeholder: e.placeholder,
|
|
109
|
+
options: t,
|
|
110
|
+
value: r ?? "",
|
|
111
|
+
fullWidth: !0,
|
|
112
|
+
onChange: (s) => l(a, s.target.value)
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
// ── Multi-select ───────────────────────────────────────────────────
|
|
117
|
+
case "multiselect": {
|
|
118
|
+
const t = e.useOptionGroups ? _(e.optionGroups) : c(e.options);
|
|
119
|
+
return /* @__PURE__ */ u(
|
|
120
|
+
d,
|
|
121
|
+
{
|
|
122
|
+
...o,
|
|
123
|
+
multiple: !0,
|
|
124
|
+
options: t,
|
|
125
|
+
value: r ?? [],
|
|
126
|
+
showSelectedCount: !0,
|
|
127
|
+
onChange: (s) => l(a, s)
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
// ── Single checkbox ────────────────────────────────────────────────
|
|
132
|
+
case "checkbox":
|
|
133
|
+
return /* @__PURE__ */ u(
|
|
134
|
+
m,
|
|
135
|
+
{
|
|
136
|
+
id: o.id,
|
|
137
|
+
name: o.name,
|
|
138
|
+
label: e.label,
|
|
139
|
+
required: e.required,
|
|
140
|
+
disabled: e.disabled,
|
|
141
|
+
helperText: n ?? e.helperText,
|
|
142
|
+
error: !!n,
|
|
143
|
+
checked: r ?? !1,
|
|
144
|
+
onChange: (t) => l(a, t.target.checked)
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
// ── Checkbox group ─────────────────────────────────────────────────
|
|
148
|
+
case "checkboxGroup": {
|
|
149
|
+
const t = r ?? [];
|
|
150
|
+
return /* @__PURE__ */ u(p, { legend: e.label, error: !!n, helperText: n, children: c(e.options).map((s) => /* @__PURE__ */ u(
|
|
151
|
+
m,
|
|
152
|
+
{
|
|
153
|
+
id: `${a}-${s.value}`,
|
|
154
|
+
name: `${a}[]`,
|
|
155
|
+
label: s.label,
|
|
156
|
+
checked: t.includes(s.value),
|
|
157
|
+
disabled: s.disabled || e.disabled,
|
|
158
|
+
onChange: (x) => {
|
|
159
|
+
const g = x.target.checked ? [...t, s.value] : t.filter((v) => v !== s.value);
|
|
160
|
+
l(a, g);
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
s.value
|
|
164
|
+
)) });
|
|
165
|
+
}
|
|
166
|
+
// ── Radio group ────────────────────────────────────────────────────
|
|
167
|
+
case "radio":
|
|
168
|
+
return /* @__PURE__ */ u(p, { legend: e.label, error: !!n, helperText: n, children: c(e.options).map((t) => /* @__PURE__ */ u(
|
|
169
|
+
f,
|
|
170
|
+
{
|
|
171
|
+
id: `${a}-${t.value}`,
|
|
172
|
+
name: a,
|
|
173
|
+
value: t.value,
|
|
174
|
+
label: t.label,
|
|
175
|
+
checked: r === t.value,
|
|
176
|
+
disabled: t.disabled || e.disabled,
|
|
177
|
+
required: e.required,
|
|
178
|
+
onChange: () => l(a, t.value)
|
|
179
|
+
},
|
|
180
|
+
t.value
|
|
181
|
+
)) });
|
|
182
|
+
// ── Date picker ────────────────────────────────────────────────────
|
|
183
|
+
case "date":
|
|
184
|
+
return /* @__PURE__ */ u(
|
|
185
|
+
k,
|
|
186
|
+
{
|
|
187
|
+
id: o.id,
|
|
188
|
+
name: o.name,
|
|
189
|
+
label: e.label,
|
|
190
|
+
required: e.required,
|
|
191
|
+
disabled: e.disabled,
|
|
192
|
+
helperText: n ?? e.helperText,
|
|
193
|
+
error: !!n,
|
|
194
|
+
value: r ?? null,
|
|
195
|
+
onChange: (t) => l(a, t)
|
|
196
|
+
}
|
|
197
|
+
);
|
|
198
|
+
// ── Range ──────────────────────────────────────────────────────────
|
|
199
|
+
case "range":
|
|
200
|
+
return /* @__PURE__ */ u(
|
|
201
|
+
w,
|
|
202
|
+
{
|
|
203
|
+
...o,
|
|
204
|
+
value: r ?? e.rangeMin ?? 0,
|
|
205
|
+
min: e.rangeMin ?? 0,
|
|
206
|
+
max: e.rangeMax ?? 100,
|
|
207
|
+
step: e.rangeStep ?? 1,
|
|
208
|
+
valuePrefix: e.rangeValuePrefix,
|
|
209
|
+
valueSuffix: e.rangeValueSuffix,
|
|
210
|
+
showValue: !0,
|
|
211
|
+
onChange: (t) => l(a, t)
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
// ── Hidden ─────────────────────────────────────────────────────────
|
|
215
|
+
case "hidden":
|
|
216
|
+
return /* @__PURE__ */ u(
|
|
217
|
+
"input",
|
|
218
|
+
{
|
|
219
|
+
type: "hidden",
|
|
220
|
+
name: a,
|
|
221
|
+
value: r ?? e.hiddenValue ?? ""
|
|
222
|
+
}
|
|
223
|
+
);
|
|
224
|
+
default:
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
return e.fieldType === "hidden" ? h() : /* @__PURE__ */ u("div", { className: `${b}`, children: h() });
|
|
229
|
+
}
|
|
230
|
+
export {
|
|
231
|
+
ae as F,
|
|
232
|
+
i as s
|
|
233
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._formBlock_cu3uh_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_cu3uh_7{width:100%;max-width:var(--layout-width, 1250px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-lg)}._formInner_cu3uh_20{width:100%}._maxWidthSm_cu3uh_24{max-width:480px}._maxWidthMd_cu3uh_27{max-width:640px}._maxWidthLg_cu3uh_30{max-width:800px}._maxWidthFull_cu3uh_33{max-width:100%}._heading_cu3uh_39{display:flex;flex-direction:column;gap:var(--spacing-sm)}._eyebrow_cu3uh_45{font-weight:var(--font-weight-bold)}._title_cu3uh_49{text-wrap:balance}._progress_cu3uh_55{display:flex;flex-direction:column;gap:var(--spacing-sm)}._progressHeader_cu3uh_61{display:flex;justify-content:space-between;align-items:center}._stepLabel_cu3uh_67{font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);color:var(--color-text-primary)}._stepCount_cu3uh_73{font-size:var(--font-size-sm);color:var(--color-secondary-50)}._stepDescription_cu3uh_78{color:var(--color-secondary-75);font-size:var(--font-size-md);margin:0}._fields_cu3uh_86{display:flex;flex-wrap:wrap;gap:var(--spacing-md)}._fieldFull_cu3uh_93{width:100%}._fieldHalf_cu3uh_97{width:calc(50% - var(--spacing-md) / 2)}@media (max-width: 767px){._fieldHalf_cu3uh_97{width:100%}}._fieldThird_cu3uh_105{width:calc(33.333% - var(--spacing-md) * 2 / 3)}@media (max-width: 767px){._fieldThird_cu3uh_105{width:100%}}._actions_cu3uh_115{display:flex;align-items:center;gap:var(--spacing-md);padding-top:var(--spacing-sm)}._submitButton_cu3uh_122{margin-left:auto}._success_cu3uh_128{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-lg);padding:var(--spacing-xl);background-color:var(--color-states-success-bg);color:var(--color-states-success-text);border-radius:var(--radius-md)}._errorBanner_cu3uh_141{padding:var(--spacing-md);background-color:var(--color-states-error-bg);color:var(--color-states-error-text);border-radius:var(--radius-md);font-size:var(--font-size-sm)}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "_actions_cu3uh_115": string;
|
|
3
|
+
readonly "_container_cu3uh_7": string;
|
|
4
|
+
readonly "_errorBanner_cu3uh_141": string;
|
|
5
|
+
readonly "_eyebrow_cu3uh_45": string;
|
|
6
|
+
readonly "_fieldFull_cu3uh_93": string;
|
|
7
|
+
readonly "_fieldHalf_cu3uh_97": string;
|
|
8
|
+
readonly "_fieldThird_cu3uh_105": string;
|
|
9
|
+
readonly "_fields_cu3uh_86": string;
|
|
10
|
+
readonly "_formBlock_cu3uh_1": string;
|
|
11
|
+
readonly "_formInner_cu3uh_20": string;
|
|
12
|
+
readonly "_heading_cu3uh_39": string;
|
|
13
|
+
readonly "_maxWidthFull_cu3uh_33": string;
|
|
14
|
+
readonly "_maxWidthLg_cu3uh_30": string;
|
|
15
|
+
readonly "_maxWidthMd_cu3uh_27": string;
|
|
16
|
+
readonly "_maxWidthSm_cu3uh_24": string;
|
|
17
|
+
readonly "_progressHeader_cu3uh_61": string;
|
|
18
|
+
readonly "_progress_cu3uh_55": string;
|
|
19
|
+
readonly "_stepCount_cu3uh_73": string;
|
|
20
|
+
readonly "_stepDescription_cu3uh_78": string;
|
|
21
|
+
readonly "_stepLabel_cu3uh_67": string;
|
|
22
|
+
readonly "_submitButton_cu3uh_122": string;
|
|
23
|
+
readonly "_success_cu3uh_128": string;
|
|
24
|
+
readonly "_title_cu3uh_49": string;
|
|
25
|
+
};
|
|
26
|
+
export = styles;
|
|
27
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "_articleCategories_1yw6g_80": string;
|
|
3
|
+
readonly "_articleDetails_1yw6g_53": string;
|
|
4
|
+
readonly "_articleType_1yw6g_66": string;
|
|
5
|
+
readonly "_blog_1yw6g_129": string;
|
|
6
|
+
readonly "_category_1yw6g_86": string;
|
|
7
|
+
readonly "_container_1yw6g_7": string;
|
|
8
|
+
readonly "_default_1yw6g_125": string;
|
|
9
|
+
readonly "_disclaimer_1yw6g_41": string;
|
|
10
|
+
readonly "_eyebrow_1yw6g_37": string;
|
|
11
|
+
readonly "_fullBleed_1yw6g_326": string;
|
|
12
|
+
readonly "_heading_1yw6g_15": string;
|
|
13
|
+
readonly "_hero_1yw6g_1": string;
|
|
14
|
+
readonly "_hide_1yw6g_118": string;
|
|
15
|
+
readonly "_iframe_1yw6g_560": string;
|
|
16
|
+
readonly "_media_1yw6g_353": string;
|
|
17
|
+
readonly "_number_1yw6g_102": string;
|
|
18
|
+
readonly "_overlay_1yw6g_155": string;
|
|
19
|
+
readonly "_pipe_1yw6g_115": string;
|
|
20
|
+
readonly "_splitAlt_1yw6g_442": string;
|
|
21
|
+
readonly "_split_1yw6g_442": string;
|
|
22
|
+
readonly "_text_1yw6g_22": string;
|
|
23
|
+
readonly "_tile_1yw6g_225": string;
|
|
24
|
+
readonly "_videoBackground_1yw6g_559": string;
|
|
25
|
+
readonly "_videoControl_1yw6g_516": string;
|
|
26
|
+
readonly "portableTextContainer": string;
|
|
27
|
+
readonly "splitAlt": string;
|
|
28
|
+
};
|
|
29
|
+
export = styles;
|
|
30
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
readonly "_actions_pnjxx_1094": string;
|
|
3
|
+
readonly "_advanced_pnjxx_805": string;
|
|
4
|
+
readonly "_back_pnjxx_468": string;
|
|
5
|
+
readonly "_center_pnjxx_51": string;
|
|
6
|
+
readonly "_chevron_pnjxx_613": string;
|
|
7
|
+
readonly "_container_pnjxx_32": string;
|
|
8
|
+
readonly "_content_pnjxx_1075": string;
|
|
9
|
+
readonly "_default_pnjxx_736": string;
|
|
10
|
+
readonly "_description_pnjxx_1090": string;
|
|
11
|
+
readonly "_fadeInFromLeft_pnjxx_1039": string;
|
|
12
|
+
readonly "_fadeInFromRight_pnjxx_1043": string;
|
|
13
|
+
readonly "_grid_pnjxx_340": string;
|
|
14
|
+
readonly "_groupDivider_pnjxx_1009": string;
|
|
15
|
+
readonly "_hidden_pnjxx_59": string;
|
|
16
|
+
readonly "_imageWrapper_pnjxx_1053": string;
|
|
17
|
+
readonly "_image_pnjxx_1053": string;
|
|
18
|
+
readonly "_left_pnjxx_31": string;
|
|
19
|
+
readonly "_linkContent_pnjxx_431": string;
|
|
20
|
+
readonly "_linkItem_pnjxx_105": string;
|
|
21
|
+
readonly "_linkWrapper_pnjxx_98": string;
|
|
22
|
+
readonly "_link_pnjxx_98": string;
|
|
23
|
+
readonly "_localeModal_pnjxx_364": string;
|
|
24
|
+
readonly "_locale_pnjxx_112": string;
|
|
25
|
+
readonly "_logo_pnjxx_36": string;
|
|
26
|
+
readonly "_menuToggle_pnjxx_283": string;
|
|
27
|
+
readonly "_mobileButtons_pnjxx_211": string;
|
|
28
|
+
readonly "_mobileMenuItem_pnjxx_1035": string;
|
|
29
|
+
readonly "_mobileMenuSlide_pnjxx_1025": string;
|
|
30
|
+
readonly "_mobileMenu_pnjxx_1024": string;
|
|
31
|
+
readonly "_navInner_pnjxx_329": string;
|
|
32
|
+
readonly "_navItem_pnjxx_463": string;
|
|
33
|
+
readonly "_navTitle_pnjxx_392": string;
|
|
34
|
+
readonly "_nav_pnjxx_1": string;
|
|
35
|
+
readonly "_navbar_pnjxx_1": string;
|
|
36
|
+
readonly "_newTabIcon_pnjxx_415": string;
|
|
37
|
+
readonly "_open_pnjxx_444": string;
|
|
38
|
+
readonly "_parent_pnjxx_98": string;
|
|
39
|
+
readonly "_primaryColumn_pnjxx_566": string;
|
|
40
|
+
readonly "_right_pnjxx_81": string;
|
|
41
|
+
readonly "_searchModal_pnjxx_363": string;
|
|
42
|
+
readonly "_searchWrapper_pnjxx_1017": string;
|
|
43
|
+
readonly "_search_pnjxx_111": string;
|
|
44
|
+
readonly "_secondaryColumn_pnjxx_575": string;
|
|
45
|
+
readonly "_separator_pnjxx_384": string;
|
|
46
|
+
readonly "_show_pnjxx_517": string;
|
|
47
|
+
readonly "_spotlightColumn_pnjxx_579": string;
|
|
48
|
+
readonly "_spotlight_pnjxx_579": string;
|
|
49
|
+
readonly "_standard_pnjxx_165": string;
|
|
50
|
+
readonly "_sticky_pnjxx_15": string;
|
|
51
|
+
readonly "_sublinkToggle_pnjxx_114": string;
|
|
52
|
+
readonly "_sublinksColumn_pnjxx_603": string;
|
|
53
|
+
readonly "_sublinksDescription_pnjxx_428": string;
|
|
54
|
+
readonly "_sublinksInner_pnjxx_583": string;
|
|
55
|
+
readonly "_sublinks_pnjxx_428": string;
|
|
56
|
+
readonly "_subtitle_pnjxx_814": string;
|
|
57
|
+
readonly "_themeToggle_pnjxx_113": string;
|
|
58
|
+
readonly "_title_pnjxx_88": string;
|
|
59
|
+
readonly "_transparent_pnjxx_898": string;
|
|
60
|
+
readonly "_triangle_pnjxx_173": string;
|
|
61
|
+
readonly "_twoColumn_pnjxx_202": string;
|
|
62
|
+
readonly "_utilityMobile_pnjxx_301": string;
|
|
63
|
+
readonly "_utility_pnjxx_301": string;
|
|
64
|
+
readonly "_visible_pnjxx_66": string;
|
|
65
|
+
readonly "_withSpotlight_pnjxx_856": string;
|
|
66
|
+
readonly "_withoutSpotlight_pnjxx_860": string;
|
|
67
|
+
readonly "modalClose": string;
|
|
68
|
+
readonly "modalContent": string;
|
|
69
|
+
readonly "modalContentContainer": string;
|
|
70
|
+
};
|
|
71
|
+
export = styles;
|
|
72
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index36.css');const c=require("react/jsx-runtime"),f="_badge_4f3mk_1",m="_clickable_4f3mk_19",b="_icon_4f3mk_37",g="_text_4f3mk_49",k="_success_4f3mk_59",x="_warning_4f3mk_64",$="_error_4f3mk_69",p="_info_4f3mk_74",h="_muted_4f3mk_79",e={badge:f,clickable:m,icon:b,text:g,default:"_default_4f3mk_54",success:k,warning:x,error:$,info:p,muted:h},j={default:e.default,success:e.success,warning:e.warning,error:e.error,info:e.info,muted:e.muted};function v({text:n,variant:_="default",icon:i,onClick:a,onKeyDown:t,className:d,"aria-label":l,...u}){const s=!!a,o=r=>{s&&(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),a==null||a()),t==null||t(r)};return c.jsxs("span",{className:`${e.badge} ${j[_]} ${s?e.clickable:""} ${d??""}`.trim(),onClick:s?a:void 0,onKeyDown:s?o:t,role:s?"button":"status",tabIndex:s?0:void 0,"aria-label":l||(s?`${n} badge`:void 0),...u,children:[i&&c.jsx("span",{className:e.icon,"aria-hidden":"true",children:i}),c.jsx("span",{className:e.text,children:n})]})}exports.Badge=v;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as m, jsx as _ } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index36.css';const u = "_badge_4f3mk_1", b = "_clickable_4f3mk_19", k = "_icon_4f3mk_37", g = "_text_4f3mk_49", p = "_success_4f3mk_59", x = "_warning_4f3mk_64", h = "_error_4f3mk_69", $ = "_info_4f3mk_74", N = "_muted_4f3mk_79", e = {
|
|
3
3
|
badge: u,
|
|
4
4
|
clickable: b,
|
|
5
5
|
icon: k,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index43.css');const p=require("react/jsx-runtime"),b="_box_79wph_1",m="_paddingNone_79wph_6",h="_paddingSm_79wph_10",u="_paddingMd_79wph_14",w="_paddingLg_79wph_18",M="_paddingXl_79wph_22",k="_marginNone_79wph_27",x="_marginSm_79wph_31",N="_marginMd_79wph_35",L="_marginLg_79wph_39",S="_marginXl_79wph_43",T="_block_79wph_48",F="_inline_79wph_52",f="_inlineBlock_79wph_56",X="_flex_79wph_60",B="_inlineFlex_79wph_64",C="_grid_79wph_68",y="_bgTransparent_79wph_73",A="_bgLight_79wph_77",D="_bgDark_79wph_81",j="_bgAccent_79wph_96",q="_bgForeground_79wph_111",v="_borderNone_79wph_117",$="_borderThin_79wph_121",O="_borderMedium_79wph_125",P="_borderThick_79wph_129",z="_radiusNone_79wph_134",E="_radiusSm_79wph_138",G="_radiusMd_79wph_142",H="_radiusLg_79wph_146",I="_radiusFull_79wph_150",n={box:b,paddingNone:m,paddingSm:h,paddingMd:u,paddingLg:w,paddingXl:M,marginNone:k,marginSm:x,marginMd:N,marginLg:L,marginXl:S,block:T,inline:F,inlineBlock:f,flex:X,inlineFlex:B,grid:C,bgTransparent:y,bgLight:A,bgDark:D,bgAccent:j,bgForeground:q,borderNone:v,borderThin:$,borderMedium:O,borderThick:P,radiusNone:z,radiusSm:E,radiusMd:G,radiusLg:H,radiusFull:I},J={none:n.paddingNone,sm:n.paddingSm,md:n.paddingMd,lg:n.paddingLg,xl:n.paddingXl},K={none:n.marginNone,sm:n.marginSm,md:n.marginMd,lg:n.marginLg,xl:n.marginXl},Q={block:n.block,inline:n.inline,"inline-block":n.inlineBlock,flex:n.flex,"inline-flex":n.inlineFlex,grid:n.grid},R={transparent:n.bgTransparent,light:n.bgLight,dark:n.bgDark,accent:n.bgAccent,foreground:n.bgForeground},U={none:n.borderNone,thin:n.borderThin,medium:n.borderMedium,thick:n.borderThick},V={none:n.radiusNone,sm:n.radiusSm,md:n.radiusMd,lg:n.radiusLg,full:n.radiusFull};function W({padding:i="none",margin:r="none",display:o="block",background:d="transparent",border:e="none",radius:a="none",as:g="div",className:s,children:_,...l}){const c=g,t=[n.box,J[i],K[r],Q[o],R[d],U[e],V[a],s].filter(Boolean).join(" ");return p.jsx(c,{className:t,...l,children:_})}exports.Box=W;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index43.css';const b = "_box_79wph_1", m = "_paddingNone_79wph_6", h = "_paddingSm_79wph_10", u = "_paddingMd_79wph_14", w = "_paddingLg_79wph_18", k = "_paddingXl_79wph_22", M = "_marginNone_79wph_27", x = "_marginSm_79wph_31", N = "_marginMd_79wph_35", L = "_marginLg_79wph_39", T = "_marginXl_79wph_43", F = "_block_79wph_48", S = "_inline_79wph_52", f = "_inlineBlock_79wph_56", X = "_flex_79wph_60", B = "_inlineFlex_79wph_64", C = "_grid_79wph_68", A = "_bgTransparent_79wph_73", D = "_bgLight_79wph_77", j = "_bgDark_79wph_81", y = "_bgAccent_79wph_96", v = "_bgForeground_79wph_111", q = "_borderNone_79wph_117", z = "_borderThin_79wph_121", E = "_borderMedium_79wph_125", G = "_borderThick_79wph_129", H = "_radiusNone_79wph_134", I = "_radiusSm_79wph_138", J = "_radiusMd_79wph_142", K = "_radiusLg_79wph_146", O = "_radiusFull_79wph_150", n = {
|
|
3
3
|
box: b,
|
|
4
4
|
paddingNone: m,
|
|
5
5
|
paddingSm: h,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index44.css');const r=require("react/jsx-runtime"),h=require("react"),p="_breadcrumbs_1nbrg_1",g="_list_1nbrg_7",j="_item_1nbrg_17",N="_icon_1nbrg_22",f="_separator_1nbrg_33",v="_link_1nbrg_39",$="_label_1nbrg_59",m="_active_1nbrg_65",x="_ellipsis_1nbrg_70",a={breadcrumbs:p,list:g,item:j,icon:N,separator:f,link:v,label:$,active:m,ellipsis:x};function y({items:e,separator:b="/",renderLink:t,className:d,maxItems:n,..._}){const o=h.useMemo(()=>{if(!n||e.length<=n)return e;const s=e[0],l=e.slice(-(n-1));return[s,{label:"...",href:void 0},...l]},[e,n]);return r.jsx("nav",{className:`${a.breadcrumbs} ${d??""}`.trim(),"aria-label":"Breadcrumb",..._,children:r.jsx("ol",{className:a.list,children:o.map((s,l)=>{const c=l===o.length-1,i=s.label==="...",u=s.href&&!c&&!i?t?t(s.href,r.jsxs(r.Fragment,{children:[s.icon&&r.jsx("span",{className:a.icon,"aria-hidden":"true",children:s.icon}),s.label]})):r.jsxs("a",{href:s.href,className:a.link,"aria-label":`Navigate to ${s.label}`,children:[s.icon&&r.jsx("span",{className:a.icon,"aria-hidden":"true",children:s.icon}),s.label]}):r.jsxs("span",{className:`${a.label} ${c?a.active:""} ${i?a.ellipsis:""}`.trim(),"aria-current":c&&!i?"page":void 0,children:[s.icon&&r.jsx("span",{className:a.icon,"aria-hidden":"true",children:s.icon}),s.label]});return r.jsxs("li",{className:a.item,children:[u,!c&&r.jsx("span",{className:a.separator,"aria-hidden":"true",role:"presentation",children:b})]},l)})})})}exports.Breadcrumbs=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as i, Fragment as u } from "react/jsx-runtime";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import '../../../
|
|
3
|
+
import '../../../index44.css';const f = "_breadcrumbs_1nbrg_1", N = "_list_1nbrg_7", m = "_item_1nbrg_17", v = "_icon_1nbrg_22", $ = "_separator_1nbrg_33", k = "_link_1nbrg_39", j = "_label_1nbrg_59", y = "_active_1nbrg_65", B = "_ellipsis_1nbrg_70", r = {
|
|
4
4
|
breadcrumbs: f,
|
|
5
5
|
list: N,
|
|
6
6
|
item: m,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index45.css');const a=require("react/jsx-runtime"),h="_card_12obw_1",y="_outlined_12obw_19",j="_elevated_12obw_24",k="_clickable_12obw_30",N="_hoverable_12obw_39",B="_imageTop_12obw_49",C="_imageContainer_12obw_56",f="_image_12obw_49",p="_content_12obw_70",T="_imageBackground_12obw_76",$="_imageBackgroundContainer_12obw_82",I="_backgroundImage_12obw_89",D="_overlay_12obw_99",q="_overlayContent_12obw_117",K="_title_12obw_121",M="_text_12obw_122",E="_contentBody_12obw_136",O="_footer_12obw_163",e={card:h,default:"_default_12obw_15",outlined:y,elevated:j,clickable:k,hoverable:N,imageTop:B,imageContainer:C,image:f,content:p,imageBackground:T,imageBackgroundContainer:$,backgroundImage:I,overlay:D,overlayContent:q,title:K,text:M,contentBody:E,footer:O},P={default:e.default,outlined:e.outlined,elevated:e.elevated,imageTop:e.imageTop,imageBackground:e.imageBackground};function z({title:o,content:s,footer:c,imageSrc:i,imageAlt:r="Card image",onClick:n,variant:l="default",clickable:g=!1,className:m,hoverable:v=!0,children:_,...b}){const t=g||!!n,u=`${e.card} ${P[l]} ${t?e.clickable:""} ${v?e.hoverable:""} ${m??""}`.trim(),x=t?n:void 0,w=t?d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),n==null||n())}:void 0;return a.jsxs("div",{className:u,onClick:x,onKeyDown:w,role:t?"button":"article",tabIndex:t?0:void 0,"aria-label":typeof o=="string"?o:void 0,...b,children:[l==="imageTop"&&i&&a.jsx("div",{className:e.imageContainer,children:a.jsx("img",{src:i,alt:r,className:e.image})}),l==="imageBackground"&&i?a.jsxs("div",{className:e.imageBackgroundContainer,children:[a.jsx("img",{src:i,alt:r,className:e.backgroundImage}),a.jsxs("div",{className:e.overlay,children:[a.jsxs("div",{className:e.overlayContent,children:[o&&a.jsx("div",{className:e.title,role:"heading","aria-level":3,children:o}),s&&a.jsx("div",{className:e.text,children:s})]}),c&&a.jsx("div",{className:e.footer,children:c})]})]}):a.jsxs("div",{className:e.content,children:[a.jsxs("div",{className:e.contentBody,children:[o&&a.jsx("div",{className:e.title,role:"heading","aria-level":3,children:o}),s&&a.jsx("div",{className:e.text,children:s}),_&&a.jsx("div",{children:_})]}),c&&a.jsx("div",{className:e.footer,children:c})]})]})}exports.Card=z;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index45.css';const w = "_card_12obw_1", y = "_outlined_12obw_19", k = "_elevated_12obw_24", N = "_clickable_12obw_30", B = "_hoverable_12obw_39", C = "_imageTop_12obw_49", f = "_imageContainer_12obw_56", p = "_image_12obw_49", x = "_content_12obw_70", T = "_imageBackground_12obw_76", I = "_imageBackgroundContainer_12obw_82", $ = "_backgroundImage_12obw_89", D = "_overlay_12obw_99", K = "_overlayContent_12obw_117", j = "_title_12obw_121", E = "_text_12obw_122", M = "_contentBody_12obw_136", q = "_footer_12obw_163", e = {
|
|
3
3
|
card: w,
|
|
4
4
|
default: "_default_12obw_15",
|
|
5
5
|
outlined: y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index46.css');const a=require("react/jsx-runtime"),u="_container_1v52p_1",f="_sm_1v52p_10",m="_md_1v52p_14",v="_lg_1v52p_18",p="_xl_1v52p_22",g="_full_1v52p_26",$="_fluid_1v52p_30",x="_centered_1v52p_37",e={container:u,sm:f,md:m,lg:v,xl:p,full:g,fluid:$,centered:x};function C({children:n,size:t="md",fluid:s=!1,centered:c=!1,as:l="div",className:o,..._}){const r=l,i=s?e.fluid:e[t],d=c?e.centered:"";return a.jsx(r,{className:`${e.container} ${i} ${d} ${o??""}`.trim(),..._,children:n})}exports.Container=C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index46.css';const f = "_container_1v52p_1", m = "_sm_1v52p_10", p = "_md_1v52p_14", u = "_lg_1v52p_18", v = "_xl_1v52p_22", x = "_full_1v52p_26", g = "_fluid_1v52p_30", $ = "_centered_1v52p_37", n = {
|
|
3
3
|
container: f,
|
|
4
4
|
sm: m,
|
|
5
5
|
md: p,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index47.css');const l=require("react/jsx-runtime"),m="_divider_1r4eu_2",p="_horizontal_1r4eu_9",h="_vertical_1r4eu_15",x="_solid_1r4eu_24",f="_dashed_1r4eu_28",j="_dotted_1r4eu_32",y="_container_1r4eu_68",z="_line_1r4eu_96",C="_label_1r4eu_112",e={divider:m,horizontal:p,vertical:h,solid:x,dashed:f,dotted:j,"spacing-sm":"_spacing-sm_1r4eu_37","spacing-md":"_spacing-md_1r4eu_42","spacing-lg":"_spacing-lg_1r4eu_47",container:y,line:z,label:C,"label-left":"_label-left_1r4eu_125","label-center":"_label-center_1r4eu_130","label-right":"_label-right_1r4eu_135"};function N({orientation:r="horizontal",variant:u="solid",label:t,labelPosition:$="center",spacing:v="md",className:n,color:s,thickness:i,style:_,...d}){const b=e[r],a=e[u],c=e[`spacing-${v}`],g=t?e[`label-${$}`]:"",o={..._,...s&&{borderColor:s,backgroundColor:s},...i&&r==="horizontal"&&{borderTopWidth:`${i}px`},...i&&r==="vertical"&&{borderLeftWidth:`${i}px`}};return t!==void 0&&r==="horizontal"?l.jsxs("div",{role:"separator",className:`${e.container} ${c} ${g} ${n??""}`.trim(),style:_,...d,children:[l.jsx("div",{className:`${e.line} ${a}`.trim(),style:o}),l.jsx("span",{className:e.label,children:t}),l.jsx("div",{className:`${e.line} ${a}`.trim(),style:o})]}):l.jsx("div",{role:"separator","aria-orientation":r,className:`${e.divider} ${b} ${a} ${c} ${n??""}`.trim(),style:o,...d})}exports.Divider=N;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as b, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index47.css';const g = "_divider_1r4eu_2", h = "_horizontal_1r4eu_9", f = "_vertical_1r4eu_15", z = "_solid_1r4eu_24", C = "_dashed_1r4eu_28", x = "_dotted_1r4eu_32", y = "_container_1r4eu_68", N = "_line_1r4eu_96", j = "_label_1r4eu_112", e = {
|
|
3
3
|
divider: g,
|
|
4
4
|
horizontal: h,
|
|
5
5
|
vertical: f,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index48.css');const c=require("react/jsx-runtime"),s=require("react"),y=require("../../../x-Dft9NVe_.cjs"),j="_drawer_1221c_1",x="_header_1221c_13",$="_title_1221c_22",p="_closeButton_1221c_29",E="_content_1221c_53",N="_left_1221c_60",k="_right_1221c_61",q="_top_1221c_77",L="_bottom_1221c_78",z="_open_1221c_94",B="_sm_1221c_105",D="_md_1221c_110",M="_lg_1221c_115",R="_full_1221c_120",S="_overlay_1221c_149",F="_show_1221c_159",t={drawer:j,header:x,title:$,closeButton:p,content:E,left:N,right:k,top:q,bottom:L,open:z,sm:B,md:D,lg:M,full:R,overlay:S,show:F},K={left:t.left,right:t.right,top:t.top,bottom:t.bottom},P={sm:t.sm,md:t.md,lg:t.lg,full:t.full};function T({isOpen:r,onClose:e,position:m="left",size:f="md",overlay:n=!0,closeOnOverlayClick:a=!0,closeOnEscape:i=!0,showCloseButton:u=!0,ariaLabel:h="Drawer",title:d,children:w,className:g}){const l=s.useRef(null);s.useEffect(()=>{if(!i)return;const o=_=>{_.key==="Escape"&&r&&(e==null||e())};return document.addEventListener("keydown",o),()=>document.removeEventListener("keydown",o)},[e,r,i]),s.useEffect(()=>{if(!a||!n)return;const o=_=>{r&&l.current&&!l.current.contains(_.target)&&(e==null||e())};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[r,e,n,a]),s.useEffect(()=>(r?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[r]);const b=K[m],v=P[f];return c.jsxs(c.Fragment,{children:[n&&c.jsx("div",{className:`${t.overlay} ${r?t.show:""}`.trim(),onClick:a?e:void 0,"aria-hidden":"true"}),c.jsxs("aside",{ref:l,className:`${g??""} ${t.drawer} ${b} ${v} ${r?t.open:""}`.trim(),role:"dialog","aria-label":h,"aria-modal":"true","aria-hidden":!r,children:[(d||u)&&c.jsxs("div",{className:t.header,children:[d&&c.jsx("h2",{className:t.title,children:d}),u&&c.jsx("button",{onClick:e,className:t.closeButton,"aria-label":"Close drawer",type:"button",children:c.jsx(y.X,{size:20})})]}),c.jsx("div",{className:t.content,children:w})]})]})}exports.Drawer=T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as p, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as $, useEffect as m } from "react";
|
|
3
3
|
import { X as N } from "../../../x-CnsEH4Ox.js";
|
|
4
|
-
import '../../../
|
|
4
|
+
import '../../../index48.css';const E = "_drawer_1221c_1", k = "_header_1221c_13", L = "_title_1221c_22", x = "_closeButton_1221c_29", z = "_content_1221c_53", B = "_left_1221c_60", j = "_right_1221c_61", D = "_top_1221c_77", M = "_bottom_1221c_78", R = "_open_1221c_94", F = "_sm_1221c_105", K = "_md_1221c_110", X = "_lg_1221c_115", q = "_full_1221c_120", A = "_overlay_1221c_149", G = "_show_1221c_159", t = {
|
|
5
5
|
drawer: E,
|
|
6
6
|
header: k,
|
|
7
7
|
title: L,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index41.css');const t=require("react/jsx-runtime"),a=require("../Text/index.cjs"),f="_fieldset_1vyij_1",u="_legend_1vyij_12",j="_content_1vyij_19",v="_helperText_1vyij_25",y="_outlined_1vyij_37",x="_filled_1vyij_44",m="_disabled_1vyij_50",$="_error_1vyij_59",e={fieldset:f,legend:u,content:j,helperText:v,default:"_default_1vyij_32",outlined:y,filled:x,disabled:m,error:$};function g({legend:l,variant:n="default",disabled:s=!1,error:d=!1,helperText:i,className:r,children:o,..._}){const c={default:e.default,outlined:e.outlined,filled:e.filled}[n];return t.jsxs("fieldset",{className:`${r??""} ${e.fieldset} ${c} ${s?e.disabled:""} ${d?e.error:""}`.trim(),disabled:s,..._,children:[l&&t.jsx("legend",{className:e.legend,children:l}),t.jsx("div",{className:e.content,children:o}),i&&t.jsx(a.Text,{variant:"small",className:e.helperText,children:i})]})}exports.Fieldset=g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as c, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { Text as f } from "../Text/index.mjs";
|
|
3
|
-
import '../../../
|
|
3
|
+
import '../../../index41.css';const u = "_fieldset_1vyij_1", v = "_legend_1vyij_12", j = "_content_1vyij_19", m = "_helperText_1vyij_25", y = "_outlined_1vyij_37", x = "_filled_1vyij_44", h = "_disabled_1vyij_50", p = "_error_1vyij_59", e = {
|
|
4
4
|
fieldset: u,
|
|
5
5
|
legend: v,
|
|
6
6
|
content: j,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index49.css');const o=require("react/jsx-runtime"),h="_fab_m8l23_1",$="_sm_m8l23_39",x="_iconWrapper_m8l23_45",L="_md_m8l23_50",R="_lg_m8l23_61",j="_extended_m8l23_73",W="_label_m8l23_108",C="_bottomRight_m8l23_114",N="_bottomLeft_m8l23_119",q="_topRight_m8l23_124",v="_topLeft_m8l23_129",A="_primary_m8l23_135",B="_secondary_m8l23_144",F="_success_m8l23_153",S="_danger_m8l23_162",z="_disabled_m8l23_172",t={fab:h,sm:$,iconWrapper:x,md:L,lg:R,extended:j,label:W,bottomRight:C,bottomLeft:N,topRight:q,topLeft:v,primary:A,secondary:B,success:F,danger:S,disabled:z};function E({icon:a,size:l="md",position:c="bottom-right",variant:r="primary",label:s,showLabel:m=!1,onClick:_,disabled:e=!1,tooltip:i,className:d,style:p,"aria-label":b,...g}){const f={sm:t.sm,md:t.md,lg:t.lg}[l],u={"bottom-right":t.bottomRight,"bottom-left":t.bottomLeft,"top-right":t.topRight,"top-left":t.topLeft}[c],y={primary:t.primary,secondary:t.secondary,success:t.success,danger:t.danger}[r],n=m&&s;return o.jsxs("button",{type:"button",className:`${d??""} ${t.fab} ${f} ${u} ${y} ${n?t.extended:""} ${e?t.disabled:""}`.trim(),onClick:_,disabled:e,title:i,"aria-label":b,style:p,...g,children:[o.jsx("span",{className:t.iconWrapper,children:a}),n&&o.jsx("span",{className:t.label,children:s})]})}exports.FloatingActionButton=E;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index49.css';const x = "_fab_m8l23_1", L = "_sm_m8l23_39", R = "_iconWrapper_m8l23_45", $ = "_md_m8l23_50", W = "_lg_m8l23_61", C = "_extended_m8l23_73", N = "_label_m8l23_108", j = "_bottomRight_m8l23_114", v = "_bottomLeft_m8l23_119", z = "_topRight_m8l23_124", A = "_topLeft_m8l23_129", B = "_primary_m8l23_135", E = "_secondary_m8l23_144", F = "_success_m8l23_153", k = "_danger_m8l23_162", q = "_disabled_m8l23_172", t = {
|
|
3
3
|
fab: x,
|
|
4
4
|
sm: L,
|
|
5
5
|
iconWrapper: R,
|