@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
|
@@ -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}
|