@kbss-cvut/s-forms 0.7.1-alpha-19ec00f.0 → 0.7.1-alpha-35c9cbd.0

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.
@@ -4,7 +4,8 @@ declare const meta: Meta<typeof Answer>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Answer>;
6
6
  export declare const RegularInput: Story;
7
- export declare const TypeHead: Story;
7
+ export declare const Typeahead: Story;
8
+ export declare const TypeaheadWithTree: Story;
8
9
  export declare const DateTimePicker: Story;
9
10
  export declare const CheckBox: Story;
10
11
  export declare const MaskedInput: Story;
@@ -0,0 +1,3 @@
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, any>;
2
+ export default _default;
3
+ export declare const TypeaheadAnswerTree: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, any>;
@@ -12,4 +12,12 @@ export default class Utils {
12
12
  */
13
13
  static asArray(object_or_array: any): any;
14
14
  static findQuestionById(id: any, question: any, reflexive: any, asserted: any, transitive: any): any;
15
+ /**
16
+ * Finds the first key in an array of objects that matches any of the specified keys.
17
+ *
18
+ * @param {Object[]} objectList - The array of objects to search through.
19
+ * @param {string[]} keysToCheck - An array of keys to check in each object.
20
+ * @returns {?string} - The first key that exists in any of the objects, or null if none are found.
21
+ */
22
+ static findKeyInObjects(objectList: Object[], keysToCheck: string[]): string | null;
15
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kbss-cvut/s-forms",
3
- "version": "0.7.1-alpha-19ec00f.0",
3
+ "version": "0.7.1-alpha-35c9cbd.0",
4
4
  "description": "Semantic forms generator and processor",
5
5
  "keywords": [
6
6
  "react",