@kindly/react-chat 2.39.11 → 2.40.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kindly/react-chat",
3
- "version": "2.39.11",
3
+ "version": "2.40.0",
4
4
  "description": "Kindly Chat react component",
5
5
  "repository": "https://github.com/kindly-ai/kindly-chat/tree/main/packages/react-chat",
6
6
  "main": "dist/index.js",
@@ -126,5 +126,5 @@
126
126
  "silent": true,
127
127
  "webpackConfig": "./webpack.config.js"
128
128
  },
129
- "gitHead": "ea043cef6aae525ebde91f706ef52c6a7cd5808d"
129
+ "gitHead": "86ac2d90af6fbc8e45e07794a1cdf14e2057da34"
130
130
  }
@@ -745,7 +745,7 @@ Form.parameters = {
745
745
  validators: [
746
746
  {
747
747
  max_length: 30,
748
- texts: 'Maximum number of length is 30',
748
+ text: 'Maximum number of length is 30',
749
749
  },
750
750
  ],
751
751
  },
@@ -778,6 +778,25 @@ Form.parameters = {
778
778
  placeholder_text: 'Email',
779
779
  },
780
780
  },
781
+ {
782
+ input_type: 'number',
783
+ order: 3,
784
+ affix: 'PREFIX',
785
+ slug: 'number-field',
786
+ texts: {
787
+ label: 'Number',
788
+ affix_value: 'NOK',
789
+ placeholder_text: 'Number',
790
+ },
791
+ validators: [
792
+ {
793
+ minimum: 1,
794
+ },
795
+ {
796
+ maximum: 12,
797
+ },
798
+ ],
799
+ },
781
800
  ],
782
801
  },
783
802
  },