jcicl 1.1.4 → 1.2.1

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.
Files changed (42) hide show
  1. package/Button/Button.d.ts +1 -0
  2. package/Button/Button.js +73 -70
  3. package/DesktopStepper/DesktopStepper.d.ts +24 -0
  4. package/DesktopStepper/DesktopStepper.js +204 -0
  5. package/DesktopStepper/index.d.ts +1 -0
  6. package/DesktopStepper/index.js +5 -0
  7. package/FieldGroup/FieldGroup.js +15 -12
  8. package/FieldVisibilityWrapper/FieldVisibilityWrapper.d.ts +11 -0
  9. package/FieldVisibilityWrapper/FieldVisibilityWrapper.js +48 -0
  10. package/FieldVisibilityWrapper/index.d.ts +1 -0
  11. package/FieldVisibilityWrapper/index.js +4 -0
  12. package/FormContext/createFormContext.js +91 -72
  13. package/FormContext/types.d.ts +8 -0
  14. package/FormFields/FormFields.d.ts +2 -2
  15. package/FormFields/FormFields.js +20 -20
  16. package/FormInput/FormInput.d.ts +4 -0
  17. package/FormInput/FormInput.js +39 -14
  18. package/LabeledCheckbox/LabeledCheckbox.js +4 -4
  19. package/LabeledCurrencyInput/LabeledCurrencyInput.js +33 -33
  20. package/LabeledInput/LabeledInput.d.ts +2 -0
  21. package/LabeledInput/LabeledInput.js +16 -14
  22. package/LabeledRadio/LabeledRadio.js +12 -12
  23. package/ScrollContainer/ScrollContainer.js +721 -704
  24. package/SelectableItemCard/SelectableItemCard.d.ts +9 -0
  25. package/SelectableItemCard/SelectableItemCard.js +24 -0
  26. package/SelectableItemCard/index.d.ts +1 -0
  27. package/SelectableItemCard/index.js +4 -0
  28. package/Stepper/Stepper.js +184 -226
  29. package/api.d.ts +16 -5
  30. package/api.js +42 -28
  31. package/assets/style.css +1 -1
  32. package/assets/tailwind.css +2 -2
  33. package/constants.js +1 -1
  34. package/formatters.d.ts +1 -0
  35. package/formatters.js +30 -17
  36. package/package.json +1 -1
  37. package/problemDetails.d.ts +20 -0
  38. package/problemDetails.js +19 -0
  39. package/utils.d.ts +2 -2
  40. package/utils.js +35 -29
  41. package/validators.d.ts +8 -0
  42. package/validators.js +19 -9
@@ -174,7 +174,7 @@ function co(o, a) {
174
174
  }
175
175
  const O = /* @__PURE__ */ n(R, {
176
176
  checked: !0
177
- }), N = /* @__PURE__ */ n(R, {}), y = /* @__PURE__ */ l.forwardRef(function(a, t) {
177
+ }), N = /* @__PURE__ */ n(R, {}), g = /* @__PURE__ */ l.forwardRef(function(a, t) {
178
178
  const s = W({
179
179
  props: a,
180
180
  name: "MuiRadio"
@@ -184,9 +184,9 @@ const O = /* @__PURE__ */ n(R, {
184
184
  color: p = "primary",
185
185
  icon: $ = N,
186
186
  name: E,
187
- onChange: F,
187
+ onChange: M,
188
188
  size: b = "medium",
189
- className: M,
189
+ className: F,
190
190
  disabled: U,
191
191
  disableRipple: D = !1,
192
192
  ...L
@@ -201,9 +201,9 @@ const O = /* @__PURE__ */ n(R, {
201
201
  size: b
202
202
  }, k = ro(v), c = so();
203
203
  let h = r;
204
- const V = Q(F, c && c.onChange);
205
- let g = E;
206
- return c && (typeof h > "u" && (h = co(c.value, s.value)), typeof g > "u" && (g = c.name)), /* @__PURE__ */ n(io, {
204
+ const V = Q(M, c && c.onChange);
205
+ let y = E;
206
+ return c && (typeof h > "u" && (h = co(c.value, s.value)), typeof y > "u" && (y = c.name)), /* @__PURE__ */ n(io, {
207
207
  type: "radio",
208
208
  icon: /* @__PURE__ */ l.cloneElement($, {
209
209
  fontSize: N.props.fontSize ?? b
@@ -214,15 +214,15 @@ const O = /* @__PURE__ */ n(R, {
214
214
  disabled: i,
215
215
  ownerState: v,
216
216
  classes: k,
217
- name: g,
217
+ name: y,
218
218
  checked: h,
219
219
  onChange: V,
220
220
  ref: t,
221
- className: H(k.root, M),
221
+ className: H(k.root, F),
222
222
  ...L
223
223
  });
224
224
  });
225
- process.env.NODE_ENV !== "production" && (y.propTypes = {
225
+ process.env.NODE_ENV !== "production" && (g.propTypes = {
226
226
  // ┌────────────────────────────── Warning ──────────────────────────────┐
227
227
  // │ These PropTypes are generated from the TypeScript type definitions. │
228
228
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -309,7 +309,7 @@ process.env.NODE_ENV !== "production" && (y.propTypes = {
309
309
  */
310
310
  value: e.any
311
311
  });
312
- const j = G("div", { shouldForwardProp: (o) => !["customTheme"].includes(o) })(({ displayMode: o, customTheme: a }) => ({
312
+ const j = G("div", { shouldForwardProp: (o) => !["customTheme", "displayMode"].includes(o) })(({ displayMode: o, customTheme: a }) => ({
313
313
  ...S`
314
314
  display: flex;
315
315
  flex-wrap: nowrap;
@@ -353,14 +353,14 @@ const j = G("div", { shouldForwardProp: (o) => !["customTheme"].includes(o) })((
353
353
  }) => {
354
354
  const p = _();
355
355
  return r ? /* @__PURE__ */ u(j, { displayMode: t, className: "jcLabeledRadio", customTheme: p, children: [
356
- /* @__PURE__ */ n(y, { ...d }),
356
+ /* @__PURE__ */ n(g, { ...d }),
357
357
  !s && /* @__PURE__ */ n("span", { className: "jcRadioLabel", children: o })
358
358
  ] }) : /* @__PURE__ */ u(j, { displayMode: t, className: "jcLabeledRadio", customTheme: p, children: [
359
359
  !s && /* @__PURE__ */ u("span", { className: "jcRadioLabel", children: [
360
360
  o,
361
361
  a && ":"
362
362
  ] }),
363
- /* @__PURE__ */ n(y, { ...d })
363
+ /* @__PURE__ */ n(g, { ...d })
364
364
  ] });
365
365
  };
366
366
  export {