react-hook-form-cloudscape 1.7.9-dev.1 → 1.7.10

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 (50) hide show
  1. package/dist/components/attribute-editor/index.d.ts +0 -1
  2. package/dist/components/attribute-editor/index.js +2 -3
  3. package/dist/components/autosuggest/index.d.ts +0 -1
  4. package/dist/components/autosuggest/index.js +2 -3
  5. package/dist/components/cards/index.d.ts +0 -1
  6. package/dist/components/cards/index.js +1 -2
  7. package/dist/components/checkbox/index.d.ts +0 -1
  8. package/dist/components/checkbox/index.js +1 -2
  9. package/dist/components/code-editor/index.d.ts +0 -1
  10. package/dist/components/code-editor/index.js +2 -3
  11. package/dist/components/date-picker/index.d.ts +0 -1
  12. package/dist/components/date-picker/index.js +2 -3
  13. package/dist/components/date-range-picker/index.d.ts +0 -1
  14. package/dist/components/date-range-picker/index.js +2 -3
  15. package/dist/components/file-upload/index.d.ts +0 -1
  16. package/dist/components/file-upload/index.js +2 -3
  17. package/dist/components/input/index.d.ts +0 -1
  18. package/dist/components/input/index.js +2 -3
  19. package/dist/components/multiselect/index.d.ts +0 -2
  20. package/dist/components/multiselect/index.js +2 -5
  21. package/dist/components/multiselect/index.js.map +1 -1
  22. package/dist/components/multiselect/utils.js +9 -10
  23. package/dist/components/multiselect/utils.js.map +1 -1
  24. package/dist/components/property-filter/index.d.ts +0 -1
  25. package/dist/components/property-filter/index.js +2 -3
  26. package/dist/components/radio-group/index.d.ts +0 -1
  27. package/dist/components/radio-group/index.js +2 -3
  28. package/dist/components/s3-resource-selector/index.d.ts +0 -1
  29. package/dist/components/s3-resource-selector/index.js +2 -3
  30. package/dist/components/select/index.d.ts +0 -2
  31. package/dist/components/select/index.js +2 -5
  32. package/dist/components/select/index.js.map +1 -1
  33. package/dist/components/slider/index.d.ts +0 -1
  34. package/dist/components/slider/index.js +2 -3
  35. package/dist/components/tag-editor/index.d.ts +0 -1
  36. package/dist/components/tag-editor/index.js +2 -3
  37. package/dist/components/text-filter/index.d.ts +0 -1
  38. package/dist/components/text-filter/index.js +2 -3
  39. package/dist/components/textarea/index.d.ts +0 -1
  40. package/dist/components/textarea/index.js +2 -3
  41. package/dist/components/tiles/index.d.ts +0 -1
  42. package/dist/components/tiles/index.js +2 -3
  43. package/dist/components/time-input/index.d.ts +0 -1
  44. package/dist/components/time-input/index.js +2 -3
  45. package/dist/components/toggle/index.d.ts +0 -1
  46. package/dist/components/toggle/index.js +2 -3
  47. package/dist/index.d.ts +42 -21
  48. package/dist/index.js +30 -34
  49. package/dist/index.js.map +1 -1
  50. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
1
  export { default } from './attribute-editor';
2
- export { default as CAttributeEditor } from './attribute-editor';
3
2
  export type { CAttributeEditorProps } from './attribute-editor';
@@ -1,6 +1,5 @@
1
- import { default as r, default as a } from "./attribute-editor.js";
1
+ import { default as o } from "./attribute-editor.js";
2
2
  export {
3
- r as CAttributeEditor,
4
- a as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './autosuggest';
2
- export { default as CAutosuggest } from './autosuggest';
3
2
  export type { CAutosuggestProps } from './autosuggest';
@@ -1,6 +1,5 @@
1
- import { CAutosuggest as u, CAutosuggest as e } from "./autosuggest.js";
1
+ import { CAutosuggest as o } from "./autosuggest.js";
2
2
  export {
3
- u as CAutosuggest,
4
- e as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './cards';
2
- export { default as CCards } from './cards';
3
2
  export type { ControlledCardsProps } from './cards';
@@ -1,6 +1,5 @@
1
- import { CCards as C, CCards as d } from "./cards.js";
1
+ import { CCards as d } from "./cards.js";
2
2
  export {
3
- C as CCards,
4
3
  d as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './checkbox';
2
- export { default as CCheckbox } from './checkbox';
3
2
  export type { CCheckboxProps } from './checkbox';
@@ -1,6 +1,5 @@
1
- import { default as f, default as o } from "./checkbox.js";
1
+ import { default as o } from "./checkbox.js";
2
2
  export {
3
- f as CCheckbox,
4
3
  o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './code-editor';
2
- export { default as CCodeEditor } from './code-editor';
3
2
  export type { CCodeEditorProps } from './code-editor';
@@ -1,6 +1,5 @@
1
- import { default as o, default as t } from "./code-editor.js";
1
+ import { default as o } from "./code-editor.js";
2
2
  export {
3
- o as CCodeEditor,
4
- t as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './date-picker';
2
- export { default as CDatePicker } from './date-picker';
3
2
  export type { CDatePickerProps } from './date-picker';
@@ -1,6 +1,5 @@
1
- import { default as t, default as f } from "./date-picker.js";
1
+ import { default as o } from "./date-picker.js";
2
2
  export {
3
- t as CDatePicker,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './date-range-picker';
2
- export { default as CDateRangePicker } from './date-range-picker';
3
2
  export type { CDateRangePickerProps } from './date-range-picker';
@@ -1,6 +1,5 @@
1
- import { default as t, default as f } from "./date-range-picker.js";
1
+ import { default as o } from "./date-range-picker.js";
2
2
  export {
3
- t as CDateRangePicker,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './file-upload';
2
- export { default as CFileUpload } from './file-upload';
3
2
  export type { ControlledFileUploadProps } from './file-upload';
@@ -1,6 +1,5 @@
1
- import { CFileUpload as e, CFileUpload as o } from "./file-upload.js";
1
+ import { CFileUpload as l } from "./file-upload.js";
2
2
  export {
3
- e as CFileUpload,
4
- o as default
3
+ l as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './input';
2
- export { default as CInput } from './input';
3
2
  export type { CInputProps } from './input';
@@ -1,6 +1,5 @@
1
- import { default as e, default as f } from "./input.js";
1
+ import { default as o } from "./input.js";
2
2
  export {
3
- e as CInput,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,2 @@
1
1
  export { default } from './multiselect';
2
- export { default as CMultiselect } from './multiselect';
3
2
  export type { ControlledMultiselectProps } from './multiselect';
4
- export { default as MultiSelectUtils } from './utils';
@@ -1,8 +1,5 @@
1
- import { default as l, default as a } from "./multiselect.js";
2
- import { default as u } from "./utils.js";
1
+ import { default as o } from "./multiselect.js";
3
2
  export {
4
- l as CMultiselect,
5
- u as MultiSelectUtils,
6
- a as default
3
+ o as default
7
4
  };
8
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,16 +1,15 @@
1
- const l = (f = []) => f != null && f.length ? f.map((r) => "options" in r ? l(r.options) : r.value).flat() : [], g = (f = [], r = []) => f != null && f.length && (r != null && r.length) ? f.reduce((h, a) => {
1
+ const g = (f = []) => f != null && f.length ? f.map((r) => "options" in r ? g(r.options) : r.value).flat() : [], v = (f = [], r = []) => f != null && f.length && (r != null && r.length) ? f.reduce((a, h) => {
2
2
  if (f != null && f.length) {
3
- if ("options" in a) {
4
- const u = g(a.options, r);
5
- u != null && u.length && h.push(...u);
3
+ if ("options" in h) {
4
+ const u = v(h.options, r);
5
+ u != null && u.length && a.push(...u);
6
6
  }
7
- "value" in a && r.find((u) => u === a.value) && h.push(a);
7
+ "value" in h && r.find((u) => u === h.value) && a.push(h);
8
8
  }
9
- return h;
10
- }, []).flat() : [], v = { transformMultiselectOptionsToArray: l, mapSelectedOptionsWithOptions: g };
9
+ return a;
10
+ }, []).flat() : [];
11
11
  export {
12
- v as default,
13
- g as mapSelectedOptionsWithOptions,
14
- l as transformMultiselectOptionsToArray
12
+ v as mapSelectedOptionsWithOptions,
13
+ g as transformMultiselectOptionsToArray
15
14
  };
16
15
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/components/multiselect/utils.ts"],"sourcesContent":["import { MultiselectProps } from \"@cloudscape-design/components/multiselect/interfaces\";\n\nexport const transformMultiselectOptionsToArray = (\n selectedOptions: MultiselectProps.Options = [],\n): string[] => {\n if (selectedOptions?.length) {\n return selectedOptions\n .map((option: MultiselectProps.Option | MultiselectProps.OptionGroup) => {\n if (\"options\" in option) {\n return transformMultiselectOptionsToArray(option.options);\n }\n\n return option.value;\n })\n .flat() as string[];\n }\n\n return [];\n};\n\nexport const mapSelectedOptionsWithOptions = (\n options: MultiselectProps.Options = [],\n selectedOptions: string[] = [],\n): Array<MultiselectProps.Option | MultiselectProps.OptionGroup> => {\n if (options?.length && selectedOptions?.length) {\n return options\n .reduce((accOptions: Array<MultiselectProps.Option | MultiselectProps.OptionGroup>, currentOption) => {\n if (options?.length) {\n if (\"options\" in currentOption) {\n const matchedOptions = mapSelectedOptionsWithOptions(currentOption.options, selectedOptions);\n\n if (matchedOptions?.length) {\n accOptions.push(...matchedOptions);\n }\n }\n\n if (\"value\" in currentOption) {\n if (selectedOptions.find((record) => record === currentOption.value)) {\n accOptions.push(currentOption);\n }\n }\n }\n\n return accOptions;\n }, [])\n .flat();\n }\n\n return [];\n};\n\nconst MultiSelectUtils = { transformMultiselectOptionsToArray, mapSelectedOptionsWithOptions };\n\nexport default MultiSelectUtils;\n"],"names":["transformMultiselectOptionsToArray","selectedOptions","option","mapSelectedOptionsWithOptions","options","accOptions","currentOption","matchedOptions","record","MultiSelectUtils"],"mappings":"AAEO,MAAMA,IAAqC,CAChDC,IAA4C,OAExCA,KAAA,QAAAA,EAAiB,SACZA,EACJ,IAAI,CAACC,MACA,aAAaA,IACRF,EAAmCE,EAAO,OAAO,IAGnDA,EAAO,KACf,EACA,KAAK,IAGH,CAAC,GAGGC,IAAgC,CAC3CC,IAAoC,IACpCH,IAA4B,CAAA,MAExBG,KAAA,QAAAA,EAAS,WAAUH,KAAA,QAAAA,EAAiB,UAC/BG,EACJ,OAAO,CAACC,GAA2EC,MAAkB;AACpG,MAAIF,KAAA,QAAAA,EAAS,QAAQ;AACnB,QAAI,aAAaE,GAAe;AAC9B,YAAMC,IAAiBJ,EAA8BG,EAAc,SAASL,CAAe;AAE3F,MAAIM,KAAA,QAAAA,EAAgB,UACPF,EAAA,KAAK,GAAGE,CAAc;AAAA,IACnC;AAGF,IAAI,WAAWD,KACTL,EAAgB,KAAK,CAACO,MAAWA,MAAWF,EAAc,KAAK,KACjED,EAAW,KAAKC,CAAa;AAAA,EAEjC;AAGK,SAAAD;AAAA,GACN,CAAA,CAAE,EACJ,KAAK,IAGH,CAAC,GAGJI,IAAmB,EAAE,oCAAAT,GAAoC,+BAAAG,EAA8B;"}
1
+ {"version":3,"file":"utils.js","sources":["../../../src/components/multiselect/utils.ts"],"sourcesContent":["import { MultiselectProps } from \"@cloudscape-design/components/multiselect/interfaces\";\n\nexport const transformMultiselectOptionsToArray = (\n selectedOptions: MultiselectProps.Options = [],\n): string[] => {\n if (selectedOptions?.length) {\n return selectedOptions\n .map((option: MultiselectProps.Option | MultiselectProps.OptionGroup) => {\n if (\"options\" in option) {\n return transformMultiselectOptionsToArray(option.options);\n }\n\n return option.value;\n })\n .flat() as string[];\n }\n\n return [];\n};\n\nexport const mapSelectedOptionsWithOptions = (\n options: MultiselectProps.Options = [],\n selectedOptions: string[] = [],\n): Array<MultiselectProps.Option | MultiselectProps.OptionGroup> => {\n if (options?.length && selectedOptions?.length) {\n return options\n .reduce((accOptions: Array<MultiselectProps.Option | MultiselectProps.OptionGroup>, currentOption) => {\n if (options?.length) {\n if (\"options\" in currentOption) {\n const matchedOptions = mapSelectedOptionsWithOptions(currentOption.options, selectedOptions);\n\n if (matchedOptions?.length) {\n accOptions.push(...matchedOptions);\n }\n }\n\n if (\"value\" in currentOption) {\n if (selectedOptions.find((record) => record === currentOption.value)) {\n accOptions.push(currentOption);\n }\n }\n }\n\n return accOptions;\n }, [])\n .flat();\n }\n\n return [];\n};\n\nconst MultiSelectUtils = { transformMultiselectOptionsToArray, mapSelectedOptionsWithOptions };\n\nexport default MultiSelectUtils;\n"],"names":["transformMultiselectOptionsToArray","selectedOptions","option","mapSelectedOptionsWithOptions","options","accOptions","currentOption","matchedOptions","record"],"mappings":"AAEO,MAAMA,IAAqC,CAChDC,IAA4C,OAExCA,KAAA,QAAAA,EAAiB,SACZA,EACJ,IAAI,CAACC,MACA,aAAaA,IACRF,EAAmCE,EAAO,OAAO,IAGnDA,EAAO,KACf,EACA,KAAK,IAGH,CAAC,GAGGC,IAAgC,CAC3CC,IAAoC,IACpCH,IAA4B,CAAA,MAExBG,KAAA,QAAAA,EAAS,WAAUH,KAAA,QAAAA,EAAiB,UAC/BG,EACJ,OAAO,CAACC,GAA2EC,MAAkB;AACpG,MAAIF,KAAA,QAAAA,EAAS,QAAQ;AACnB,QAAI,aAAaE,GAAe;AAC9B,YAAMC,IAAiBJ,EAA8BG,EAAc,SAASL,CAAe;AAE3F,MAAIM,KAAA,QAAAA,EAAgB,UACPF,EAAA,KAAK,GAAGE,CAAc;AAAA,IACnC;AAGF,IAAI,WAAWD,KACTL,EAAgB,KAAK,CAACO,MAAWA,MAAWF,EAAc,KAAK,KACjED,EAAW,KAAKC,CAAa;AAAA,EAEjC;AAGK,SAAAD;AAAA,GACN,CAAA,CAAE,EACJ,KAAK,IAGH,CAAC;"}
@@ -1,3 +1,2 @@
1
1
  export { default } from './property-filter';
2
- export { default as CPropertyFilter } from './property-filter';
3
2
  export type { ControlledPropertyFilterProps } from './property-filter';
@@ -1,6 +1,5 @@
1
- import { CPropertyFilter as t, CPropertyFilter as o } from "./property-filter.js";
1
+ import { CPropertyFilter as t } from "./property-filter.js";
2
2
  export {
3
- t as CPropertyFilter,
4
- o as default
3
+ t as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './radio-group';
2
- export { default as CRadioGroup } from './radio-group';
3
2
  export type { CRadioGroupProps } from './radio-group';
@@ -1,6 +1,5 @@
1
- import { default as d, default as e } from "./radio-group.js";
1
+ import { default as o } from "./radio-group.js";
2
2
  export {
3
- d as CRadioGroup,
4
- e as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './s3-resource-selector';
2
- export { default as CS3ResourceSelector } from './s3-resource-selector';
3
2
  export type { ControlledS3ResourceSelectorProps } from './s3-resource-selector';
@@ -1,6 +1,5 @@
1
- import { CS3ResourceSelector as r, CS3ResourceSelector as c } from "./s3-resource-selector.js";
1
+ import { CS3ResourceSelector as r } from "./s3-resource-selector.js";
2
2
  export {
3
- r as CS3ResourceSelector,
4
- c as default
3
+ r as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,2 @@
1
1
  export { default } from './select';
2
- export { default as CSelect } from './select';
3
2
  export type { CSelectProps } from './select';
4
- export { default as SelectUtils } from './utils';
@@ -1,8 +1,5 @@
1
- import { default as l, default as a } from "./select.js";
2
- import { default as o } from "./utils.js";
1
+ import { default as o } from "./select.js";
3
2
  export {
4
- l as CSelect,
5
- o as SelectUtils,
6
- a as default
3
+ o as default
7
4
  };
8
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,3 +1,2 @@
1
1
  export { default } from './slider';
2
- export { default as CSlider } from './slider';
3
2
  export type { CSliderProps } from './slider';
@@ -1,6 +1,5 @@
1
- import { default as d, default as f } from "./slider.js";
1
+ import { default as o } from "./slider.js";
2
2
  export {
3
- d as CSlider,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './tag-editor';
2
- export { default as CTagEditor } from './tag-editor';
3
2
  export type { CTagEditorProps } from './tag-editor';
@@ -1,6 +1,5 @@
1
- import { default as d, default as e } from "./tag-editor.js";
1
+ import { default as o } from "./tag-editor.js";
2
2
  export {
3
- d as CTagEditor,
4
- e as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './text-filter';
2
- export { default as CTextFilter } from './text-filter';
3
2
  export type { CTextFilterProps } from './text-filter';
@@ -1,6 +1,5 @@
1
- import { default as a, default as f } from "./text-filter.js";
1
+ import { default as o } from "./text-filter.js";
2
2
  export {
3
- a as CTextFilter,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './textarea';
2
- export { default as CTextarea } from './textarea';
3
2
  export type { CTextareaProps } from './textarea';
@@ -1,6 +1,5 @@
1
- import { default as t, default as f } from "./textarea.js";
1
+ import { default as o } from "./textarea.js";
2
2
  export {
3
- t as CTextarea,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './tiles';
2
- export { default as CTiles } from './tiles';
3
2
  export type { CTilesProps } from './tiles';
@@ -1,6 +1,5 @@
1
- import { default as f, default as l } from "./tiles.js";
1
+ import { default as o } from "./tiles.js";
2
2
  export {
3
- f as CTiles,
4
- l as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './time-input';
2
- export { default as CTimeInput } from './time-input';
3
2
  export type { CTimeInputProps } from './time-input';
@@ -1,6 +1,5 @@
1
- import { default as a, default as f } from "./time-input.js";
1
+ import { default as o } from "./time-input.js";
2
2
  export {
3
- a as CTimeInput,
4
- f as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  export { default } from './toggle';
2
- export { default as CToggle } from './toggle';
3
2
  export type { CToggleProps } from './toggle';
@@ -1,6 +1,5 @@
1
- import { default as f, default as l } from "./toggle.js";
1
+ import { default as o } from "./toggle.js";
2
2
  export {
3
- f as CToggle,
4
- l as default
3
+ o as default
5
4
  };
6
5
  //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -1,21 +1,42 @@
1
- export * from './components/input';
2
- export * from './components/checkbox';
3
- export * from './components/select';
4
- export * from './components/textarea';
5
- export * from './components/date-picker';
6
- export * from './components/date-range-picker';
7
- export * from './components/file-upload';
8
- export * from './components/multiselect';
9
- export * from './components/property-filter';
10
- export * from './components/radio-group';
11
- export * from './components/s3-resource-selector';
12
- export * from './components/slider';
13
- export * from './components/tag-editor';
14
- export * from './components/text-filter';
15
- export * from './components/time-input';
16
- export * from './components/toggle';
17
- export * from './components/autosuggest';
18
- export * from './components/cards';
19
- export * from './components/code-editor';
20
- export * from './components/attribute-editor';
21
- export * from './components/tiles';
1
+ export { default as CAttributeEditor } from './components/attribute-editor';
2
+ export type { CAttributeEditorProps } from './components/attribute-editor';
3
+ export { default as CAutosuggest } from './components/autosuggest';
4
+ export type { CAutosuggestProps } from './components/autosuggest';
5
+ export { default as CCards } from './components/cards';
6
+ export type { ControlledCardsProps } from './components/cards';
7
+ export { default as CCheckbox } from './components/checkbox';
8
+ export type { CCheckboxProps } from './components/checkbox';
9
+ export { default as CCodeEditor } from './components/code-editor';
10
+ export type { CCodeEditorProps } from './components/code-editor';
11
+ export { default as CDatePicker } from './components/date-picker';
12
+ export type { CDatePickerProps } from './components/date-picker';
13
+ export { default as CDateRangePicker } from './components/date-range-picker';
14
+ export type { CDateRangePickerProps } from './components/date-range-picker';
15
+ export { default as CFileUpload } from './components/file-upload';
16
+ export type { ControlledFileUploadProps } from './components/file-upload';
17
+ export { default as CInput } from './components/input';
18
+ export type { CInputProps } from './components/input';
19
+ export { default as CMultiselect } from './components/multiselect';
20
+ export type { ControlledMultiselectProps } from './components/multiselect';
21
+ export { default as CPropertyFilter } from './components/property-filter';
22
+ export type { ControlledPropertyFilterProps } from './components/property-filter';
23
+ export { default as CRadioGroup } from './components/radio-group';
24
+ export type { CRadioGroupProps } from './components/radio-group';
25
+ export { default as CS3ResourceSelector } from './components/s3-resource-selector';
26
+ export type { ControlledS3ResourceSelectorProps } from './components/s3-resource-selector';
27
+ export { default as CSelect } from './components/select';
28
+ export type { CSelectProps } from './components/select';
29
+ export { default as CSlider } from './components/slider';
30
+ export type { CSliderProps } from './components/slider';
31
+ export { default as CTagEditor } from './components/tag-editor';
32
+ export type { CTagEditorProps } from './components/tag-editor';
33
+ export { default as CTextFilter } from './components/text-filter';
34
+ export type { CTextFilterProps } from './components/text-filter';
35
+ export { default as CTextarea } from './components/textarea';
36
+ export type { CTextareaProps } from './components/textarea';
37
+ export { default as CTiles } from './components/tiles';
38
+ export type { CTilesProps } from './components/tiles';
39
+ export { default as CTimeInput } from './components/time-input';
40
+ export type { CTimeInputProps } from './components/time-input';
41
+ export { default as CToggle } from './components/toggle';
42
+ export type { CToggleProps } from './components/toggle';
package/dist/index.js CHANGED
@@ -1,49 +1,45 @@
1
- import { default as r } from "./components/input/input.js";
2
- import { default as a } from "./components/checkbox/checkbox.js";
3
- import { default as l } from "./components/select/select.js";
4
- import { default as u } from "./components/select/utils.js";
5
- import { default as s } from "./components/textarea/textarea.js";
1
+ import { default as t } from "./components/attribute-editor/attribute-editor.js";
2
+ import { CAutosuggest as a } from "./components/autosuggest/autosuggest.js";
3
+ import { CCards as l } from "./components/cards/cards.js";
4
+ import { default as d } from "./components/checkbox/checkbox.js";
5
+ import { default as x } from "./components/code-editor/code-editor.js";
6
6
  import { default as m } from "./components/date-picker/date-picker.js";
7
7
  import { default as i } from "./components/date-range-picker/date-range-picker.js";
8
8
  import { CFileUpload as g } from "./components/file-upload/file-upload.js";
9
- import { default as T } from "./components/multiselect/multiselect.js";
10
- import { default as n } from "./components/multiselect/utils.js";
9
+ import { default as S } from "./components/input/input.js";
10
+ import { default as n } from "./components/multiselect/multiselect.js";
11
11
  import { CPropertyFilter as F } from "./components/property-filter/property-filter.js";
12
12
  import { default as R } from "./components/radio-group/radio-group.js";
13
- import { CS3ResourceSelector as b } from "./components/s3-resource-selector/s3-resource-selector.js";
14
- import { default as D } from "./components/slider/slider.js";
13
+ import { CS3ResourceSelector as A } from "./components/s3-resource-selector/s3-resource-selector.js";
14
+ import { default as I } from "./components/select/select.js";
15
+ import { default as y } from "./components/slider/slider.js";
15
16
  import { default as M } from "./components/tag-editor/tag-editor.js";
16
- import { default as y } from "./components/text-filter/text-filter.js";
17
- import { default as j } from "./components/time-input/time-input.js";
18
- import { default as v } from "./components/toggle/toggle.js";
19
- import { CAutosuggest as z } from "./components/autosuggest/autosuggest.js";
20
- import { CCards as H } from "./components/cards/cards.js";
21
- import { default as K } from "./components/code-editor/code-editor.js";
22
- import { default as N } from "./components/attribute-editor/attribute-editor.js";
23
- import { default as Q } from "./components/tiles/tiles.js";
17
+ import { default as j } from "./components/text-filter/text-filter.js";
18
+ import { default as v } from "./components/textarea/textarea.js";
19
+ import { default as z } from "./components/tiles/tiles.js";
20
+ import { default as H } from "./components/time-input/time-input.js";
21
+ import { default as K } from "./components/toggle/toggle.js";
24
22
  export {
25
- N as CAttributeEditor,
26
- z as CAutosuggest,
27
- H as CCards,
28
- a as CCheckbox,
29
- K as CCodeEditor,
23
+ t as CAttributeEditor,
24
+ a as CAutosuggest,
25
+ l as CCards,
26
+ d as CCheckbox,
27
+ x as CCodeEditor,
30
28
  m as CDatePicker,
31
29
  i as CDateRangePicker,
32
30
  g as CFileUpload,
33
- r as CInput,
34
- T as CMultiselect,
31
+ S as CInput,
32
+ n as CMultiselect,
35
33
  F as CPropertyFilter,
36
34
  R as CRadioGroup,
37
- b as CS3ResourceSelector,
38
- l as CSelect,
39
- D as CSlider,
35
+ A as CS3ResourceSelector,
36
+ I as CSelect,
37
+ y as CSlider,
40
38
  M as CTagEditor,
41
- y as CTextFilter,
42
- s as CTextarea,
43
- Q as CTiles,
44
- j as CTimeInput,
45
- v as CToggle,
46
- n as MultiSelectUtils,
47
- u as SelectUtils
39
+ j as CTextFilter,
40
+ v as CTextarea,
41
+ z as CTiles,
42
+ H as CTimeInput,
43
+ K as CToggle
48
44
  };
49
45
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-hook-form-cloudscape",
3
- "version": "1.7.9-dev.1",
3
+ "version": "1.7.10",
4
4
  "description": "A React Hook Form wrapper designed for effortless integration of validations into Cloudscape forms and inputs",
5
5
  "keywords": [
6
6
  "react",