@omniumretail/component-library 1.2.32 → 1.2.33

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": "@omniumretail/component-library",
3
- "version": "1.2.32",
3
+ "version": "1.2.33",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -398,6 +398,7 @@ export const CategoryResponse = React.forwardRef((props: CategoryResponse, ref)
398
398
  beforeUpload={() => false} // Prevent automatic upload
399
399
  onChange={({ fileList }) => handleFileChange(fileList, selectedCategory.Data.CategoryId, question.Id)}
400
400
  onPreview={onPreview}
401
+ className={styles.uploadFiles}
401
402
  >
402
403
  <div className={styles.uploadIconContainer}>
403
404
  <PictureOutlined className={styles.iconStyle} />
@@ -15,14 +15,9 @@ const Template: Story<TagProps> = (args) => {
15
15
  const advancedsFilters = [{ display: t('components.tag.State'), value: "State" }, { display: t('components.tag.1'), value: "Olaaaaaa" }];
16
16
  const [switchTest, setSwitchTest] = useState<boolean>(false);
17
17
 
18
- console.log('page: basic', tagsInfo, 'advanced', advancedTagsInfo);
19
-
20
18
  return <TagField
21
19
  disable={false}
22
20
  {...args}
23
- defaultAdvancedFilters={[
24
- { display: `${t('components.tag.State')}=xpto`, value: "State=xpto" },
25
- ]}
26
21
  setInactiveUsersSwitch={setSwitchTest}
27
22
  advancedTags={advancedsFilters}
28
23
  tagsInfo={setTagsInfo}
@@ -197,7 +197,8 @@ export const TagField = (props: customTagProps) => {
197
197
  {inputVisible && (
198
198
  <Input
199
199
  ref={inputRef}
200
- type="text"
200
+ type="search"
201
+ enterKeyHint='done'
201
202
  size="small"
202
203
  value={inputValue}
203
204
  onChange={handleInputChange}