@box/metadata-editor 2.4.1 → 2.4.3

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/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- import{FilterDropdownMenu}from"./lib/components/filter-dropdown-menu/index.js";import{AddMetadataTemplateDropdown}from"./lib/components/add-metadata-template-dropdown/add-metadata-template-dropdown.js";import{t as AddMetadataTemplateDropdownWithBrowser}from"../chunks/add-metadata-template-dropdown-with-browser.js";import"./lib/components/add-metadata-template-dropdown/index.js";import{t as ComboboxWithApiPagination}from"../chunks/combobox-with-api-pagination.js";import"./lib/components/combobox-with-api-pagination/index.js";import{t as FilterInstancesDropdown}from"../chunks/filter-instances-dropdown.js";import"./lib/components/filter-instances-dropdown/index.js";import{MULTI_VALUE_DEFAULT_OPTION,MULTI_VALUE_DEFAULT_TAXONOMY_OPTION,MULTI_VALUE_DEFAULT_VALUE}from"./lib/components/metadata-editor-fields/components/update-mode-field-wrapper/mulitple-values-utils.js";import{MetadataEmptyState}from"./lib/components/metadata-empty-state/metadata-empty-state.js";import{AutofillContext,AutofillContextProvider,TIMEOUT_10_SECONDS,useAutofill}from"./lib/utils/autofill-context.js";import{n as ConfidenceLevel,r as UpdateMode,t as AiSuggestionState}from"../chunks/types.js";import{UnsavedChangesModal}from"./lib/components/unsaved-changes-modal/unsaved-changes-modal.js";import{t as CustomInstanceNewField}from"../chunks/custom-instance-new-field.js";import{t as DeleteConfirmationModal}from"../chunks/delete-confirmation-modal.js";import{r as JSONPatchOp}from"../chunks/utils2.js";import{t as MetadataInstanceFormAutofillButton}from"../chunks/metadata-instance-form-autofill-button.js";import{t as MetadataInstanceFormHeader}from"../chunks/metadata-instance-form-header.js";import{MetadataInstanceForm}from"./lib/components/metadata-instance-editor/index.js";import{t as MetadataInstanceHeader}from"../chunks/metadata-instance-header.js";import{MetadataInstance,MetadataInstanceList}from"./lib/components/metadata-instance-list/index.js";import{defaultInitialValues,defaultMetadataValueMap}from"./lib/defaults.js";import{t as MetadataEditor}from"../chunks/metadata-editor.js";import{withApiWrapper}from"./lib/utils/api-wrapper.js";export{AddMetadataTemplateDropdown,AddMetadataTemplateDropdownWithBrowser,AiSuggestionState,AutofillContext,AutofillContextProvider,ComboboxWithApiPagination,ConfidenceLevel,CustomInstanceNewField,DeleteConfirmationModal,FilterDropdownMenu,FilterInstancesDropdown,JSONPatchOp,MULTI_VALUE_DEFAULT_OPTION,MULTI_VALUE_DEFAULT_TAXONOMY_OPTION,MULTI_VALUE_DEFAULT_VALUE,MetadataEditor,MetadataEmptyState,MetadataInstance,MetadataInstanceForm,MetadataInstanceFormAutofillButton,MetadataInstanceFormHeader,MetadataInstanceHeader,MetadataInstanceList,TIMEOUT_10_SECONDS,UnsavedChangesModal,UpdateMode,defaultInitialValues,defaultMetadataValueMap,useAutofill,withApiWrapper};
1
+ import{FilterDropdownMenu}from"./lib/components/filter-dropdown-menu/index.js";import{AddMetadataTemplateDropdown}from"./lib/components/add-metadata-template-dropdown/add-metadata-template-dropdown.js";import{t as AddMetadataTemplateDropdownWithBrowser}from"../chunks/add-metadata-template-dropdown-with-browser.js";import"./lib/components/add-metadata-template-dropdown/index.js";import{t as ComboboxWithApiPagination}from"../chunks/combobox-with-api-pagination.js";import"./lib/components/combobox-with-api-pagination/index.js";import{t as FilterInstancesDropdown}from"../chunks/filter-instances-dropdown.js";import"./lib/components/filter-instances-dropdown/index.js";import{MULTI_VALUE_DEFAULT_OPTION,MULTI_VALUE_DEFAULT_TAXONOMY_OPTION,MULTI_VALUE_DEFAULT_VALUE}from"./lib/components/metadata-editor-fields/components/update-mode-field-wrapper/mulitple-values-utils.js";import{MetadataEmptyState}from"./lib/components/metadata-empty-state/metadata-empty-state.js";import{AutofillContext,AutofillContextProvider,TIMEOUT_10_SECONDS,useAutofill}from"./lib/utils/autofill-context.js";import{n as ConfidenceLevel,r as UpdateMode,t as AiSuggestionState}from"../chunks/types.js";import{UnsavedChangesModal}from"./lib/components/unsaved-changes-modal/unsaved-changes-modal.js";import{t as CustomInstanceNewField}from"../chunks/custom-instance-new-field.js";import{t as DeleteConfirmationModal}from"../chunks/delete-confirmation-modal.js";import{r as JSONPatchOp}from"../chunks/utils2.js";import{t as MetadataInstanceFormAutofillButton}from"../chunks/metadata-instance-form-autofill-button.js";import{t as MetadataInstanceFormHeader}from"../chunks/metadata-instance-form-header.js";import{MetadataInstanceForm}from"./lib/components/metadata-instance-editor/index.js";import{t as MetadataInstanceHeader}from"../chunks/metadata-instance-header.js";import{MetadataInstance,MetadataInstanceList}from"./lib/components/metadata-instance-list/index.js";import{defaultInitialValues,defaultMetadataValueMap}from"./lib/defaults.js";import{withApiWrapper}from"./lib/utils/api-wrapper.js";export{AddMetadataTemplateDropdown,AddMetadataTemplateDropdownWithBrowser,AiSuggestionState,AutofillContext,AutofillContextProvider,ComboboxWithApiPagination,ConfidenceLevel,CustomInstanceNewField,DeleteConfirmationModal,FilterDropdownMenu,FilterInstancesDropdown,JSONPatchOp,MULTI_VALUE_DEFAULT_OPTION,MULTI_VALUE_DEFAULT_TAXONOMY_OPTION,MULTI_VALUE_DEFAULT_VALUE,MetadataEmptyState,MetadataInstance,MetadataInstanceForm,MetadataInstanceFormAutofillButton,MetadataInstanceFormHeader,MetadataInstanceHeader,MetadataInstanceList,TIMEOUT_10_SECONDS,UnsavedChangesModal,UpdateMode,defaultInitialValues,defaultMetadataValueMap,useAutofill,withApiWrapper};
@@ -1 +1 @@
1
- import{t as filter_dropdown_menu_module_default}from"../../../../chunks/filter-dropdown-menu.module.js";import{ComboboxList}from"@ariakit/react";import{jsx}from"react/jsx-runtime";import{ScrollableContainer}from"@box/blueprint-web";var FilterDropdownMenuList=props=>{let{children,...rest}=props;return jsx(ComboboxList,{className:filter_dropdown_menu_module_default.comboboxList,...rest,children:jsx(ScrollableContainer,{className:filter_dropdown_menu_module_default.scrollableContainer,children})})};FilterDropdownMenuList.displayName=`FilterDropdownMenuList`;export{FilterDropdownMenuList};
1
+ import{t as filter_dropdown_menu_module_default}from"../../../../chunks/filter-dropdown-menu.module.js";import{ComboboxList}from"@ariakit/react";import{jsx}from"react/jsx-runtime";import{ScrollableContainer}from"@box/blueprint-web";var FilterDropdownMenuList=props=>{let{children,...rest}=props;return jsx(ComboboxList,{...rest,children:jsx(ScrollableContainer,{className:filter_dropdown_menu_module_default.scrollableContainer,children})})};FilterDropdownMenuList.displayName=`FilterDropdownMenuList`;export{FilterDropdownMenuList};
@@ -8,7 +8,6 @@ export * from './lib/components/metadata-instance-editor';
8
8
  export * from './lib/components/metadata-instance-list';
9
9
  export * from './lib/components/unsaved-changes-modal';
10
10
  export * from './lib/defaults';
11
- export * from './lib/metadata-editor';
12
11
  export * from './lib/types';
13
12
  export * from './lib/utils/api-wrapper';
14
13
  export * from './lib/utils/autofill-context';
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.21",
6
- "@box/blueprint-web": "^16.14.1",
7
- "@box/blueprint-web-assets": "^5.6.1",
8
- "@box/box-ai-agent-selector": "^2.2.1",
9
- "@box/combobox-with-api": "^2.2.1",
10
- "@box/metadata-taxonomy-picker": "^3.2.1",
11
- "@box/metadata-template-browser": "^2.2.1",
6
+ "@box/blueprint-web": "^16.15.0",
7
+ "@box/blueprint-web-assets": "^5.6.3",
8
+ "@box/box-ai-agent-selector": "^2.2.3",
9
+ "@box/combobox-with-api": "^2.2.3",
10
+ "@box/metadata-taxonomy-picker": "^3.2.3",
11
+ "@box/metadata-template-browser": "^2.2.3",
12
12
  "formik": "^2.0.3",
13
13
  "lodash": "^4.17.15",
14
14
  "react": "^17.0.0 || ^18.0.0",
@@ -18,11 +18,11 @@
18
18
  "devDependencies": {
19
19
  "@ariakit/react": "0.4.21",
20
20
  "@box/babel-plugin-target-attributes": "2.2.0",
21
- "@box/blueprint-web": "^16.14.1",
22
- "@box/blueprint-web-assets": "^5.6.1",
23
- "@box/box-ai-agent-selector": "^2.2.1",
24
- "@box/metadata-taxonomy-picker": "^3.2.1",
25
- "@box/storybook-utils": "^1.2.1",
21
+ "@box/blueprint-web": "^16.15.0",
22
+ "@box/blueprint-web-assets": "^5.6.3",
23
+ "@box/box-ai-agent-selector": "^2.2.3",
24
+ "@box/metadata-taxonomy-picker": "^3.2.3",
25
+ "@box/storybook-utils": "^1.2.3",
26
26
  "@testing-library/react": "^15.0.6",
27
27
  "react": "^18.3.0",
28
28
  "react-dom": "^18.3.0",
@@ -1 +0,0 @@
1
- import{jsx}from"react/jsx-runtime";import '../styles/metadata-editor.css';var metadata_editor_module_default={};function MetadataEditor(props){return jsx(`div`,{className:metadata_editor_module_default.container,children:jsx(`h1`,{children:`Welcome to MetadataEditor!`})})}export{MetadataEditor as t};
@@ -1 +0,0 @@
1
- import{t as MetadataEditor}from"../../chunks/metadata-editor.js";export{MetadataEditor,MetadataEditor as default};
@@ -1 +0,0 @@
1
-
@@ -1,4 +0,0 @@
1
- export interface MetadataEditorProps {
2
- }
3
- export declare function MetadataEditor(props: MetadataEditorProps): import("react/jsx-runtime").JSX.Element;
4
- export default MetadataEditor;