@ultraviolet/form 6.2.2 → 6.2.4

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 (94) hide show
  1. package/README.md +17 -33
  2. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/asyncToGenerator.js +1 -1
  3. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/defineProperty.js +1 -1
  4. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/objectSpread2.js +1 -1
  5. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/objectWithoutProperties.js +1 -1
  6. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
  7. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/toPrimitive.js +1 -1
  8. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/toPropertyKey.js +1 -1
  9. package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.120.0}/helpers/typeof.js +1 -1
  10. package/dist/components/CheckboxField/index.d.ts +1 -1
  11. package/dist/components/CheckboxField/index.d.ts.map +1 -1
  12. package/dist/components/CheckboxField/index.js +2 -2
  13. package/dist/components/CheckboxGroupField/index.d.ts +1 -1
  14. package/dist/components/CheckboxGroupField/index.d.ts.map +1 -1
  15. package/dist/components/CheckboxGroupField/index.js +2 -2
  16. package/dist/components/DateInputField/index.d.ts +1 -1
  17. package/dist/components/DateInputField/index.d.ts.map +1 -1
  18. package/dist/components/DateInputField/index.js +2 -2
  19. package/dist/components/FileInputField/index.d.ts +1 -1
  20. package/dist/components/FileInputField/index.d.ts.map +1 -1
  21. package/dist/components/FileInputField/index.js +2 -2
  22. package/dist/components/Form/index.d.ts +1 -1
  23. package/dist/components/Form/index.d.ts.map +1 -1
  24. package/dist/components/Form/index.js +2 -2
  25. package/dist/components/KeyValueField/index.d.ts +1 -1
  26. package/dist/components/KeyValueField/index.d.ts.map +1 -1
  27. package/dist/components/NumberInputField/index.d.ts +1 -1
  28. package/dist/components/NumberInputField/index.d.ts.map +1 -1
  29. package/dist/components/NumberInputField/index.js +2 -2
  30. package/dist/components/RadioField/index.d.ts +1 -1
  31. package/dist/components/RadioField/index.d.ts.map +1 -1
  32. package/dist/components/RadioField/index.js +2 -2
  33. package/dist/components/RadioGroupField/index.d.ts +1 -1
  34. package/dist/components/RadioGroupField/index.d.ts.map +1 -1
  35. package/dist/components/RadioGroupField/index.js +2 -2
  36. package/dist/components/SelectInputField/index.d.ts +1 -1
  37. package/dist/components/SelectInputField/index.d.ts.map +1 -1
  38. package/dist/components/SelectInputField/index.js +2 -2
  39. package/dist/components/SelectableCardField/index.d.ts +1 -1
  40. package/dist/components/SelectableCardField/index.d.ts.map +1 -1
  41. package/dist/components/SelectableCardField/index.js +2 -2
  42. package/dist/components/SelectableCardGroupField/SelectableCardGroupField.d.ts +1 -1
  43. package/dist/components/SelectableCardGroupField/SelectableCardGroupField.d.ts.map +1 -1
  44. package/dist/components/SelectableCardGroupField/SelectableCardGroupField.js +2 -2
  45. package/dist/components/SelectableCardOptionGroupField/index.d.ts +1 -1
  46. package/dist/components/SelectableCardOptionGroupField/index.d.ts.map +1 -1
  47. package/dist/components/SelectableCardOptionGroupField/index.js +2 -2
  48. package/dist/components/SliderField/index.d.ts +1 -1
  49. package/dist/components/SliderField/index.d.ts.map +1 -1
  50. package/dist/components/SliderField/index.js +2 -2
  51. package/dist/components/Submit/index.d.ts.map +1 -1
  52. package/dist/components/SwitchButtonField/index.d.ts +1 -1
  53. package/dist/components/SwitchButtonField/index.d.ts.map +1 -1
  54. package/dist/components/SwitchButtonField/index.js +2 -2
  55. package/dist/components/TagInputField/index.d.ts +1 -1
  56. package/dist/components/TagInputField/index.d.ts.map +1 -1
  57. package/dist/components/TagInputField/index.js +2 -2
  58. package/dist/components/TextAreaField/index.d.ts +1 -1
  59. package/dist/components/TextAreaField/index.d.ts.map +1 -1
  60. package/dist/components/TextAreaField/index.js +2 -2
  61. package/dist/components/TextInputField/index.d.ts +1 -1
  62. package/dist/components/TextInputField/index.d.ts.map +1 -1
  63. package/dist/components/TextInputField/index.js +2 -2
  64. package/dist/components/TimeInputField/index.d.ts +1 -1
  65. package/dist/components/TimeInputField/index.d.ts.map +1 -1
  66. package/dist/components/TimeInputField/index.js +2 -2
  67. package/dist/components/ToggleField/index.d.ts +1 -1
  68. package/dist/components/ToggleField/index.d.ts.map +1 -1
  69. package/dist/components/ToggleField/index.js +2 -2
  70. package/dist/components/ToggleGroupField/index.d.ts +1 -1
  71. package/dist/components/ToggleGroupField/index.d.ts.map +1 -1
  72. package/dist/components/ToggleGroupField/index.js +2 -2
  73. package/dist/components/UnitInputField/index.d.ts +1 -1
  74. package/dist/components/UnitInputField/index.d.ts.map +1 -1
  75. package/dist/components/UnitInputField/index.js +2 -2
  76. package/dist/components/VerificationCodeField/index.d.ts +1 -1
  77. package/dist/components/VerificationCodeField/index.d.ts.map +1 -1
  78. package/dist/components/VerificationCodeField/index.js +2 -2
  79. package/dist/components/compositions/CodeEditorField/index.d.ts +2 -2
  80. package/dist/components/compositions/CodeEditorField/index.d.ts.map +1 -1
  81. package/dist/components/compositions/CodeEditorField/index.js +2 -2
  82. package/dist/components/compositions/CustomerSatisfactionField/index.d.ts +1 -1
  83. package/dist/components/compositions/CustomerSatisfactionField/index.d.ts.map +1 -1
  84. package/dist/components/compositions/OfferListField/index.d.ts +2 -1
  85. package/dist/components/compositions/OfferListField/index.d.ts.map +1 -1
  86. package/dist/components/compositions/OptionSelectorField/index.d.ts +1 -1
  87. package/dist/components/compositions/OptionSelectorField/index.d.ts.map +1 -1
  88. package/dist/components/compositions/OptionSelectorField/index.js +2 -2
  89. package/dist/components/compositions/PlansField/index.d.ts +1 -1
  90. package/dist/components/compositions/PlansField/index.d.ts.map +1 -1
  91. package/dist/hooks/useOnFieldChange.d.ts.map +1 -1
  92. package/dist/providers/ErrorContext/index.d.ts +1 -1
  93. package/dist/providers/ErrorContext/index.d.ts.map +1 -1
  94. package/package.json +40 -40
@@ -1,7 +1,7 @@
1
1
  import { Slider } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps, ReactNode } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type SliderFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof Slider>, 'value' | 'onChange'> & {
6
6
  suffix?: string | ReactNode[];
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SliderField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAElE,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,gBAAgB,CACnB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC1D,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,CAAA;CAC9B,CAAA;AAEH,eAAO,MAAM,WAAW,GACtB,YAAY,sBACZ,UAAU,+SA2FX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SliderField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAMxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,KAAK,gBAAgB,CACnB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC1D,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,CAAA;CAC9B,CAAA;AAEH,eAAO,MAAM,WAAW,GACtB,YAAY,sBACZ,UAAU,+SA2FX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { Slider } from "@ultraviolet/ui";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Submit/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAClD,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,WAAW,CAAC,CAAA;IACtD,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAClD,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,WAAW,CAAC,CAAA;IACtD,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,MAAM,qJA+BlB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Submit/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAClD,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,WAAW,CAAC,CAAA;IACtD,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAClD,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,WAAW,CAAC,CAAA;IACtD,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,MAAM,qJA+BlB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { SwitchButton } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type SwitchButtonFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof SwitchButton>, 'value' | 'name' | 'onChange'> & Partial<Pick<ComponentProps<typeof SwitchButton>, 'onChange'>> & {
6
6
  name: FieldPath<TFieldValues>;
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchButtonField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAa,MAAM,iBAAiB,CAAA;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,sBAAsB,CACzB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC,GACxE,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EAAE,UAAU,CAAC,CAAC,GAAG;IAC/D,IAAI,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;CAC9B,CAAA;mCAGD,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EACpE,EACA,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,gBAAgB,EAChB,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,CAAC,YAAY,EAAE,UAAU,CAAC;;;;;;;;;;;AAgCnD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchButtonField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAG9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAa,MAAM,iBAAiB,CAAA;AAExE,KAAK,sBAAsB,CACzB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC,GACxE,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EAAE,UAAU,CAAC,CAAC,GAAG;IAC/D,IAAI,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;CAC9B,CAAA;mCAGD,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EACpE,EACA,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,gBAAgB,EAChB,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,CAAC,YAAY,EAAE,UAAU,CAAC;;;;;;;;;;;AAgCnD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { SwitchButton } from "@ultraviolet/ui";
6
6
  import { useController } from "react-hook-form";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { TagInput } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  export type TagInputFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof TagInput>, 'name' | 'onChange' | 'value'> & {
6
6
  regex?: (RegExp | RegExp[])[];
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TagInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD,MAAM,MAAM,kBAAkB,CAC5B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACrE,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;CAC9B,CAAA;AAEH,eAAO,MAAM,aAAa,GACxB,YAAY,sBACZ,UAAU,iRAoDX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TagInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAM1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,MAAM,MAAM,kBAAkB,CAC5B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACrE,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;CAC9B,CAAA;AAEH,eAAO,MAAM,aAAa,GACxB,YAAY,sBACZ,UAAU,iRAoDX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { init_validateRegex, validateRegex } from "../../utils/validateRegex.js";
@@ -1,7 +1,7 @@
1
1
  import { TextArea } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  export type TextAreaFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof TextArea>, 'value' | 'error' | 'name' | 'onChange'> & {
6
6
  regex?: (RegExp | RegExp[])[];
7
7
  submitOnEnter?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextAreaField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD,MAAM,MAAM,kBAAkB,CAC5B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CACF,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CACxC,GAAG;IACF,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,GACxB,YAAY,sBACZ,UAAU,uTAuFX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextAreaField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAM1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,MAAM,MAAM,kBAAkB,CAC5B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CACF,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CACxC,GAAG;IACF,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,GACxB,YAAY,sBACZ,UAAU,uTAuFX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { init_validateRegex, validateRegex } from "../../utils/validateRegex.js";
@@ -1,7 +1,7 @@
1
1
  import { TextInput } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type TextInputFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof TextInput>, 'value' | 'error' | 'name' | 'onChange'> & {
6
6
  regex?: (RegExp | RegExp[])[];
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CACxC,GAAG;IACF,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;CAC9B,CAAA;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,sBACZ,UAAU,gTAwEX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAM3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CACxC,GAAG;IACF,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;CAC9B,CAAA;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,sBACZ,UAAU,gTAwEX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { init_validateRegex, validateRegex } from "../../utils/validateRegex.js";
@@ -1,7 +1,7 @@
1
1
  import { TimeInput } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type TimeInputFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof TimeInput>, 'value' | 'error' | 'name' | 'onChange'>;
6
6
  /**
7
7
  * This component offers a form field based on Ultraviolet UI TimeInput component
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimeInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CACxC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,sBACZ,UAAU,gQAiDX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimeInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAK3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CACxC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,sBACZ,UAAU,gQAiDX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { TimeInput } from "@ultraviolet/ui";
@@ -1,7 +1,7 @@
1
1
  import { Toggle } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues, PathValue } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type ToggleFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = Omit<BaseFieldProps<TFieldValues, TFieldName>, 'label'> & Omit<ComponentProps<typeof Toggle>, 'value' | 'onChange'> & {
6
6
  parse?: (value: boolean) => PathValue<TFieldValues, TFieldName>;
7
7
  format?: (value: PathValue<TFieldValues, TFieldName>) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAQ,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,gBAAgB,CACnB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,EAAE,OAAO,CAAC,GACzD,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,CAAA;IAC/D,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,OAAO,CAAA;CACjE,CAAA;AAEH,eAAO,MAAM,WAAW,GACtB,YAAY,sBACZ,UAAU,+RAqEX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAKxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAQ,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE9E,KAAK,gBAAgB,CACnB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,EAAE,OAAO,CAAC,GACzD,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,CAAA;IAC/D,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,OAAO,CAAA;CACjE,CAAA;AAEH,eAAO,MAAM,WAAW,GACtB,YAAY,sBACZ,UAAU,+RAqEX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { Toggle } from "@ultraviolet/ui";
@@ -1,7 +1,7 @@
1
1
  import { ToggleGroup } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type ToggleGroupFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof ToggleGroup>, 'value' | 'onChange'>;
6
6
  declare const ToggleGroupFieldComponent: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ legend, control, onChange, error: customError, name, required, shouldUnregister, validate, ...props }: ToggleGroupFieldProps<TFieldValues, TFieldName>) => import("react/jsx-runtime").JSX.Element;
7
7
  type RadioGroupFieldType = typeof ToggleGroupFieldComponent & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleGroupField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,qBAAqB,CACxB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAA;AAEhE,QAAA,MAAM,yBAAyB,GAC7B,YAAY,sBACZ,UAAU,gQAqDX,CAAA;AAED,KAAK,mBAAmB,GAAG,OAAO,yBAAyB,GAAG;IAC5D,MAAM,EAAE,OAAO,WAAW,CAAC,MAAM,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleGroupField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAK7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,KAAK,qBAAqB,CACxB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAA;AAEhE,QAAA,MAAM,yBAAyB,GAC7B,YAAY,sBACZ,UAAU,gQAqDX,CAAA;AAED,KAAK,mBAAmB,GAAG,OAAO,yBAAyB,GAAG;IAC5D,MAAM,EAAE,OAAO,WAAW,CAAC,MAAM,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { ToggleGroup } from "@ultraviolet/ui";
@@ -1,7 +1,7 @@
1
1
  import { UnitInput } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type UnitInputFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof UnitInput>, 'value' | 'onChange' | 'label'> & {
6
6
  optionName?: string;
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UnitInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACvE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAEH,eAAO,MAAM,cAAc,GACzB,YAAY,sBACZ,UAAU,kRA0DX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UnitInputField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAK3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAA;AAE9E,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACvE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAEH,eAAO,MAAM,cAAc,GACzB,YAAY,sBACZ,UAAU,kRA0DX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { UnitInput } from "@ultraviolet/ui";
@@ -1,7 +1,7 @@
1
1
  import { VerificationCode } from '@ultraviolet/ui';
2
+ import type { BaseFieldProps } from '../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../types';
5
5
  type VerificationCodeFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof VerificationCode>, 'value'>;
6
6
  export declare const VerificationCodeField: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ fields, inputId, label, name, onChange, required, validate, ...props }: VerificationCodeFieldProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/VerificationCodeField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAG7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,KAAK,0BAA0B,CAC7B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAAA;AAExD,eAAO,MAAM,qBAAqB,GAChC,YAAY,sBACZ,KAAK,iOA+CN,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/VerificationCodeField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAKlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,KAAK,0BAA0B,CAC7B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAAA;AAExD,eAAO,MAAM,qBAAqB,GAChC,YAAY,sBACZ,KAAK,iOA+CN,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../providers/index.js";
7
7
  import { VerificationCode } from "@ultraviolet/ui";
@@ -1,8 +1,8 @@
1
1
  import { CodeEditor } from '@ultraviolet/ui/compositions/CodeEditor';
2
+ import type { BaseFieldProps } from '../../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../../types';
5
- export type CodeEditorFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof CodeEditor>, 'value' | 'onChange'> & {
5
+ export type CodeEditorFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof CodeEditor>, 'value' | 'onChange' | 'onBlur'> & {
6
6
  regex?: (RegExp | RegExp[])[];
7
7
  onChange?: (value: string) => void;
8
8
  onBlur?: (value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/CodeEditorField/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAA;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,MAAM,MAAM,oBAAoB,CAC9B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC9D,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,CAAA;AAEH,eAAO,MAAM,eAAe,GAC1B,YAAY,sBACZ,UAAU,oQA0CX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/CodeEditorField/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAA;AAGpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,oBAAoB,CAC9B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC,GAAG;IACzE,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,CAAA;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,CAAA;AAEH,eAAO,MAAM,eAAe,GAC1B,YAAY,sBACZ,UAAU,oQA0CX,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
2
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
3
- import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
2
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
3
+ import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
4
4
  import { Stack } from "@ultraviolet/ui";
5
5
  import { CodeEditor } from "@ultraviolet/ui/compositions/CodeEditor";
6
6
  import { useController } from "react-hook-form";
@@ -1,5 +1,5 @@
1
- import type { FieldPath, FieldValues } from 'react-hook-form';
2
1
  import type { BaseFieldProps } from '../../../types';
2
+ import type { FieldPath, FieldValues } from 'react-hook-form';
3
3
  type CustomerSatisfactionFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TName> & {
4
4
  name: string;
5
5
  required?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/CustomerSatisfactionField/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,KAAK,8BAA8B,CACjC,YAAY,SAAS,WAAW,EAChC,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,IACnC,cAAc,CAAC,YAAY,EAAE,KAAK,CAAC,GAAG;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,yBAAyB,GACpC,YAAY,sBACZ,KAAK,gLAeN,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/CustomerSatisfactionField/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,KAAK,8BAA8B,CACjC,YAAY,SAAS,WAAW,EAChC,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,IACnC,cAAc,CAAC,YAAY,EAAE,KAAK,CAAC,GAAG;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,yBAAyB,GACpC,YAAY,sBACZ,KAAK,gLAeN,CAAA"}
@@ -1,5 +1,5 @@
1
- import type { BaseFieldProps, FieldPath, FieldValues } from '@ultraviolet/form';
2
1
  import { OfferList } from '@ultraviolet/ui/compositions/OfferList';
2
+ import type { BaseFieldProps, FieldPath, FieldValues } from '@ultraviolet/form';
3
3
  import type { ComponentProps, ReactNode } from 'react';
4
4
  type OfferListFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof OfferList>, 'selected' | 'onChangeSelect'> & {
5
5
  className?: string;
@@ -27,6 +27,7 @@ declare namespace OfferListField {
27
27
  onMouseEnter?: import("react").MouseEventHandler<HTMLTableRowElement> | undefined;
28
28
  onMouseLeave?: import("react").MouseEventHandler<HTMLTableRowElement> | undefined;
29
29
  onClick?: ((id: string) => void) | undefined;
30
+ disabledClickRowToExpand?: boolean | undefined;
30
31
  } & import("react").RefAttributes<HTMLTableRowElement> & {
31
32
  banner?: {
32
33
  text: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OfferListField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,WAAW,EAGZ,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItD,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,UAAU,GAAG,gBAAgB,CAAC,GAAG;IACtE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;gCAGD,YAAY,SAAS,WAAW,EAChC,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,EACA,UAAU,EACV,IAAc,EACd,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,SAAS,EACT,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,gBAAgB,EACjB,EAAE,mBAAmB,CAAC,YAAY,EAAE,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmD3C,OAAO,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OfferListField/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAKlE,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,WAAW,EAGZ,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,KAAK,mBAAmB,CACtB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,UAAU,GAAG,gBAAgB,CAAC,GAAG;IACtE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;gCAGD,YAAY,SAAS,WAAW,EAChC,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,EACA,UAAU,EACV,IAAc,EACd,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,SAAS,EACT,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,gBAAgB,EACjB,EAAE,mBAAmB,CAAC,YAAY,EAAE,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmD3C,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { OptionSelector } from '@ultraviolet/ui/compositions/OptionSelector';
2
+ import type { BaseFieldProps } from '../../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../../types';
5
5
  type OptionSelectorFieldProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = BaseFieldProps<TFieldValues, TFieldName> & Omit<ComponentProps<typeof OptionSelector>, 'value'>;
6
6
  export declare const OptionSelectorField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ label, required, name, 'aria-label': ariaLabel, shouldUnregister, control, validate, onChange, ...props }: OptionSelectorFieldProps<TFieldValues, TFieldName>) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OptionSelectorField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAG7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,KAAK,wBAAwB,CAC3B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAAE,OAAO,CAAC,CAAA;AAEtD,eAAO,MAAM,mBAAmB,GAC9B,YAAY,sBACZ,UAAU,uQAwDX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OptionSelectorField/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAK5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,KAAK,wBAAwB,CAC3B,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,GAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAAE,OAAO,CAAC,CAAA;AAEtD,eAAO,MAAM,mBAAmB,GAC9B,YAAY,sBACZ,UAAU,uQAwDX,CAAA"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
3
- import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js";
4
- import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
3
+ import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js";
4
+ import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js";
5
5
  import { useErrors } from "../../../providers/ErrorContext/index.js";
6
6
  import { init_providers } from "../../../providers/index.js";
7
7
  import { useController } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  import { Plans } from '@ultraviolet/ui/compositions/Plans';
2
+ import type { BaseFieldProps } from '../../../types';
2
3
  import type { ComponentProps } from 'react';
3
4
  import type { FieldPath, FieldValues } from 'react-hook-form';
4
- import type { BaseFieldProps } from '../../../types';
5
5
  type PlanFieldsProps<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = Pick<ComponentProps<typeof Plans>, 'features' | 'plans' | 'hideLabels' | 'onChange' | 'highlight'> & Pick<BaseFieldProps<TFieldValues, TFieldName>, 'name' | 'control' | 'required'>;
6
6
  export declare const PlansField: <TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, control, features, plans, hideLabels, highlight, onChange, required, }: PlanFieldsProps<TFieldValues, TFieldName>) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/PlansField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,KAAK,eAAe,CAClB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,IAClE,IAAI,CACN,cAAc,CAAC,OAAO,KAAK,CAAC,EAC5B,UAAU,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,CAC/D,GACC,IAAI,CACF,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,EACxC,MAAM,GAAG,SAAS,GAAG,UAAU,CAChC,CAAA;AAEH,eAAO,MAAM,UAAU,GACrB,YAAY,sBACZ,UAAU,iOAmCX,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/PlansField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAA;AAG1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7D,KAAK,eAAe,CAClB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,IAClE,IAAI,CACN,cAAc,CAAC,OAAO,KAAK,CAAC,EAC5B,UAAU,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,CAC/D,GACC,IAAI,CACF,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,EACxC,MAAM,GAAG,SAAS,GAAG,UAAU,CAChC,CAAA;AAEH,eAAO,MAAM,UAAU,GACrB,YAAY,sBACZ,UAAU,iOAmCX,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useOnFieldChange.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnFieldChange.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,cAAc,EACd,WAAW,EACZ,MAAM,iBAAiB,CAAA;AAGxB,MAAM,MAAM,UAAU,CACpB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,CACF,KAAK,EAAE,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,EAC/C,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,KAC9B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAEzB;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,YAAY,sBACZ,UAAU,mIAqBX,CAAA"}
1
+ {"version":3,"file":"useOnFieldChange.d.ts","sourceRoot":"","sources":["../../src/hooks/useOnFieldChange.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,cAAc,EACd,WAAW,EACZ,MAAM,iBAAiB,CAAA;AAExB,MAAM,MAAM,UAAU,CACpB,YAAY,SAAS,WAAW,EAChC,UAAU,SAAS,SAAS,CAAC,YAAY,CAAC,IACxC,CACF,KAAK,EAAE,cAAc,CAAC,YAAY,EAAE,UAAU,CAAC,EAC/C,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,KAC9B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAEzB;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,YAAY,sBACZ,UAAU,mIAqBX,CAAA"}
@@ -1,6 +1,6 @@
1
+ import type { MetaField, RequiredErrors } from '../../types';
1
2
  import type { ReactNode } from 'react';
2
3
  import type { FieldError } from 'react-hook-form';
3
- import type { MetaField, RequiredErrors } from '../../types';
4
4
  type ErrorContextValue = {
5
5
  errors: RequiredErrors;
6
6
  getError: (meta: MetaField, error?: FieldError) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/ErrorContext/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5D,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,cAAc,CAAA;IACtB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,UAAU,KAAK,MAAM,GAAG,SAAS,CAAA;CACtE,CAAA;AAID,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,cAAc,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,aAAa,uFA0BzB,CAAA;AAGD,eAAO,MAAM,SAAS,yBAQrB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/ErrorContext/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,cAAc,CAAA;IACtB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,UAAU,KAAK,MAAM,GAAG,SAAS,CAAA;CACtE,CAAA;AAID,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,cAAc,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,aAAa,uFA0BzB,CAAA;AAGD,eAAO,MAAM,SAAS,yBAQrB,CAAA"}
package/package.json CHANGED
@@ -1,35 +1,28 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "6.2.2",
3
+ "version": "6.2.4",
4
4
  "description": "Ultraviolet Form",
5
- "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/scaleway/ultraviolet.git",
9
- "directory": "packages/form"
10
- },
11
5
  "keywords": [
12
6
  "react",
13
7
  "reactjs",
14
8
  "ui"
15
9
  ],
10
+ "homepage": "https://github.com/scaleway/ultraviolet#readme",
16
11
  "license": "Apache-2.0",
17
- "publishConfig": {
18
- "access": "public"
19
- },
20
- "engines": {
21
- "node": ">=18.x",
22
- "pnpm": ">=9.x"
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/scaleway/ultraviolet.git",
15
+ "directory": "packages/form"
23
16
  },
24
17
  "os": [
25
18
  "darwin",
26
19
  "linux"
27
20
  ],
28
- "sideEffects": false,
29
21
  "type": "module",
22
+ "sideEffects": false,
23
+ "main": "./dist/index.js",
30
24
  "module": "./dist/index.js",
31
25
  "types": "./dist/index.d.ts",
32
- "main": "./dist/index.js",
33
26
  "exports": {
34
27
  ".": {
35
28
  "types": "./dist/index.d.ts",
@@ -42,6 +35,31 @@
42
35
  "default": "./dist/components/compositions/*/index.js"
43
36
  }
44
37
  },
38
+ "publishConfig": {
39
+ "access": "public"
40
+ },
41
+ "dependencies": {
42
+ "@babel/runtime": "7.29.2",
43
+ "react-hook-form": "7.71.2",
44
+ "@ultraviolet/icons": "5.2.1",
45
+ "@ultraviolet/themes": "3.1.2",
46
+ "@ultraviolet/ui": "3.12.2"
47
+ },
48
+ "devDependencies": {
49
+ "@babel/core": "7.29.0",
50
+ "@types/final-form-focus": "1.1.7",
51
+ "@types/react": "19.2.14",
52
+ "@types/react-dom": "19.2.3",
53
+ "react": "19.2.4",
54
+ "react-dom": "19.2.4",
55
+ "vite": "8.0.1",
56
+ "@repo/config": "0.0.3",
57
+ "@utils/test": "0.0.1"
58
+ },
59
+ "peerDependencies": {
60
+ "react": "18.x || 19.x",
61
+ "react-dom": "18.x || 19.x"
62
+ },
45
63
  "size-limit": [
46
64
  {
47
65
  "path": [
@@ -55,38 +73,20 @@
55
73
  "running": false
56
74
  }
57
75
  ],
58
- "peerDependencies": {
59
- "react": "18.x || 19.x",
60
- "react-dom": "18.x || 19.x"
61
- },
62
- "devDependencies": {
63
- "@babel/core": "7.29.0",
64
- "@types/final-form-focus": "1.1.7",
65
- "@types/react": "19.2.14",
66
- "@types/react-dom": "19.2.3",
67
- "react": "19.2.4",
68
- "react-dom": "19.2.4",
69
- "vite": "8.0.0-beta.18",
70
- "@repo/config": "0.0.3",
71
- "@utils/test": "0.0.1"
72
- },
73
- "dependencies": {
74
- "@babel/runtime": "7.28.6",
75
- "react-hook-form": "7.71.2",
76
- "@ultraviolet/icons": "5.1.6",
77
- "@ultraviolet/themes": "3.1.2",
78
- "@ultraviolet/ui": "3.12.0"
76
+ "engines": {
77
+ "node": ">=18.x",
78
+ "pnpm": ">=9.x"
79
79
  },
80
80
  "scripts": {
81
- "build:profile": "npx vite-bundle-visualizer -c vite.config.ts",
82
81
  "build": "vite build --config vite.config.ts && pnpm run type:generate",
82
+ "build:profile": "npx vite-bundle-visualizer -c vite.config.ts",
83
+ "lintpublish": "publint",
83
84
  "size": "size-limit",
84
- "test:unit:coverage": "pnpm test:unit --coverage",
85
85
  "test:unit": "LC_ALL=en_US.UTF-8 pnpm vitest --run --config vitest.config.ts",
86
+ "test:unit:coverage": "pnpm test:unit --coverage",
86
87
  "type:generate": "tsgo --declaration -p tsconfig.build.json",
87
88
  "typecheck": "tsgo --noEmit",
88
- "watch:build": "vite build --config vite.config.ts --watch",
89
89
  "watch": "pnpm run '/^watch:.*/'",
90
- "lintpublish": "publint"
90
+ "watch:build": "vite build --config vite.config.ts --watch"
91
91
  }
92
92
  }