@box/metadata-editor 2.2.24 → 2.2.26
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/chunks/combobox-with-api-pagination.js +7 -7
- package/dist/chunks/filter-dropdown-menu.module.js +12 -12
- package/dist/chunks/filter-instances-dropdown.js +10 -10
- package/dist/chunks/taxonomy-ancestor-status-pill.js +10 -10
- package/dist/styles/combobox-with-api-pagination.css +1 -1
- package/dist/styles/filter-dropdown-menu.css +1 -1
- package/dist/styles/filter-instances-dropdown.css +1 -1
- package/dist/styles/taxonomy-ancestor-status-pill.css +1 -1
- package/package.json +12 -12
|
@@ -11,13 +11,13 @@ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
|
11
11
|
import S from "clsx";
|
|
12
12
|
import { IconIconOnLightSecondary as C, Size1 as w, Size6 as T } from "@box/blueprint-web-assets/tokens/tokens";
|
|
13
13
|
import '../styles/combobox-with-api-pagination.css';var E = {
|
|
14
|
-
container: "
|
|
15
|
-
disabled: "
|
|
16
|
-
highlightOptionText: "
|
|
17
|
-
selected: "
|
|
18
|
-
option: "
|
|
19
|
-
errorComboboxOption: "
|
|
20
|
-
errorComboboxOptionText: "
|
|
14
|
+
container: "_container_ks7iw_27",
|
|
15
|
+
disabled: "_disabled_ks7iw_33",
|
|
16
|
+
highlightOptionText: "_highlightOptionText_ks7iw_37",
|
|
17
|
+
selected: "_selected_ks7iw_49",
|
|
18
|
+
option: "_option_ks7iw_60",
|
|
19
|
+
errorComboboxOption: "_errorComboboxOption_ks7iw_64",
|
|
20
|
+
errorComboboxOptionText: "_errorComboboxOptionText_ks7iw_69"
|
|
21
21
|
}, D = /*#__PURE__*/ d(({ onTryAgain: t }, n) => {
|
|
22
22
|
let { formatMessage: r } = _();
|
|
23
23
|
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(a, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../styles/filter-dropdown-menu.css';var e = {
|
|
2
|
-
content: "
|
|
3
|
-
scrollableContainer: "
|
|
4
|
-
item: "
|
|
5
|
-
option: "
|
|
6
|
-
search: "
|
|
7
|
-
searchIcon: "
|
|
8
|
-
global: "
|
|
9
|
-
clearSearchIcon: "
|
|
10
|
-
searchInput: "
|
|
11
|
-
firefoxDefaultOpacityFix: "
|
|
12
|
-
divider: "
|
|
13
|
-
searchDivider: "
|
|
2
|
+
content: "_content_1uywx_27",
|
|
3
|
+
scrollableContainer: "_scrollableContainer_1uywx_46",
|
|
4
|
+
item: "_item_1uywx_51",
|
|
5
|
+
option: "_option_1uywx_61",
|
|
6
|
+
search: "_search_1uywx_82",
|
|
7
|
+
searchIcon: "_searchIcon_1uywx_87",
|
|
8
|
+
global: "_global_1uywx_96",
|
|
9
|
+
clearSearchIcon: "_clearSearchIcon_1uywx_101",
|
|
10
|
+
searchInput: "_searchInput_1uywx_109",
|
|
11
|
+
firefoxDefaultOpacityFix: "_firefoxDefaultOpacityFix_1uywx_141",
|
|
12
|
+
divider: "_divider_1uywx_159",
|
|
13
|
+
searchDivider: "_searchDivider_1uywx_163"
|
|
14
14
|
};
|
|
15
15
|
export { e as t };
|
|
@@ -9,16 +9,16 @@ import { Select as d, SelectItem as f, SelectItemCheck as p, SelectPopover as m,
|
|
|
9
9
|
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
10
10
|
import v from "clsx";
|
|
11
11
|
import '../styles/filter-instances-dropdown.css';var y = {
|
|
12
|
-
details: "
|
|
13
|
-
triggerContainer: "
|
|
14
|
-
triggerButton: "
|
|
15
|
-
popover: "
|
|
16
|
-
divider: "
|
|
17
|
-
scrollableContainer: "
|
|
18
|
-
item: "
|
|
19
|
-
indicator: "
|
|
20
|
-
indicatorIcon: "
|
|
21
|
-
testContainer: "
|
|
12
|
+
details: "_details_h8q4r_27",
|
|
13
|
+
triggerContainer: "_triggerContainer_h8q4r_31",
|
|
14
|
+
triggerButton: "_triggerButton_h8q4r_36",
|
|
15
|
+
popover: "_popover_h8q4r_42",
|
|
16
|
+
divider: "_divider_h8q4r_59",
|
|
17
|
+
scrollableContainer: "_scrollableContainer_h8q4r_62",
|
|
18
|
+
item: "_item_h8q4r_66",
|
|
19
|
+
indicator: "_indicator_h8q4r_93",
|
|
20
|
+
indicatorIcon: "_indicatorIcon_h8q4r_102",
|
|
21
|
+
testContainer: "_testContainer_h8q4r_106"
|
|
22
22
|
}, b = parseInt(c, 10);
|
|
23
23
|
function x({ appliedTemplates: c, selectedTemplates: x, setSelectedTemplates: S }) {
|
|
24
24
|
let C = u(), w = C.formatMessage(n.customMetadataName), T = t(c), E = x.length, D = T.length, O = E === 0 ? C.formatMessage(n.allTemplatesTriggerButtonText) : C.formatMessage(n.selectedTemplatesTriggerButtonText, {
|
|
@@ -6,16 +6,16 @@ import { FormattedMessage as c, useIntl as l } from "react-intl";
|
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
7
|
import f from "lodash/orderBy";
|
|
8
8
|
import '../styles/taxonomy-ancestor-status-pill.css';var p = {
|
|
9
|
-
popoverContentContainer: "
|
|
10
|
-
popoverMainContent: "
|
|
11
|
-
loadingIndicatorWrapper: "
|
|
12
|
-
errorMessageWrapper: "
|
|
13
|
-
errorMessageWrapperText: "
|
|
14
|
-
container: "
|
|
15
|
-
taxonomyAncestorTable: "
|
|
16
|
-
taxonomyValueGroup: "
|
|
17
|
-
taxonomyValueButton: "
|
|
18
|
-
taxonomyValueLabel: "
|
|
9
|
+
popoverContentContainer: "_popoverContentContainer_161fk_27",
|
|
10
|
+
popoverMainContent: "_popoverMainContent_161fk_32",
|
|
11
|
+
loadingIndicatorWrapper: "_loadingIndicatorWrapper_161fk_36",
|
|
12
|
+
errorMessageWrapper: "_errorMessageWrapper_161fk_43",
|
|
13
|
+
errorMessageWrapperText: "_errorMessageWrapperText_161fk_48",
|
|
14
|
+
container: "_container_161fk_56",
|
|
15
|
+
taxonomyAncestorTable: "_taxonomyAncestorTable_161fk_62",
|
|
16
|
+
taxonomyValueGroup: "_taxonomyValueGroup_161fk_105",
|
|
17
|
+
taxonomyValueButton: "_taxonomyValueButton_161fk_110",
|
|
18
|
+
taxonomyValueLabel: "_taxonomyValueLabel_161fk_120"
|
|
19
19
|
}, m = { right: 24 }, h = (e) => {
|
|
20
20
|
e.stopPropagation();
|
|
21
21
|
}, g = (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_ks7iw_27{gap:var(--space-1);justify-content:center;display:flex}._disabled_ks7iw_33._disabled_ks7iw_33{opacity:unset}._highlightOptionText_ks7iw_37 [data-user-value]{font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration)}._highlightOptionText_ks7iw_37 [data-autocomplete-value]{color:var(--text-text-on-light-secondary)}._highlightOptionText_ks7iw_37._selected_ks7iw_49,._highlightOptionText_ks7iw_37._selected_ks7iw_49 span{color:var(--text-text-on-light);font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration)}._option_ks7iw_60:nth-last-child(1 of ._option_ks7iw_60){scroll-margin-block-end:var(--space-12)}._errorComboboxOption_ks7iw_64[role=option]{justify-content:center;align-items:center;display:flex}._errorComboboxOption_ks7iw_64[role=option] ._errorComboboxOptionText_ks7iw_69{gap:var(--space-1);align-items:center;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._content_1uywx_27{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);z-index:var(--z-index-popover);box-sizing:border-box;width:17.75rem;color:var(--text-text-on-light);background-color:var(--surface-menu-surface);border:var(--border-1) solid var(--border-card-border);border-radius:var(--radius-3);box-shadow:var(--dropshadow-3);padding:0}._scrollableContainer_1uywx_46{max-height:22.5rem;padding:var(--space-3)}._item_1uywx_51{padding:var(--border-8);border:var(--border-2) solid transparent;border-radius:var(--radius-3);-webkit-user-select:none;user-select:none;outline:none;align-items:center;position:relative}._option_1uywx_61{white-space:nowrap;text-overflow:ellipsis;cursor:pointer;overflow:hidden}._option_1uywx_61[aria-disabled]{color:var(--gray-65);pointer-events:none}._option_1uywx_61[data-active-item]:not(:hover),._option_1uywx_61[data-highlighted]:not(:hover){background-color:var(--surface-menu-surface-hover);border:var(--border-2) solid var(--border-input-border-focus)}._option_1uywx_61[data-state=open],._option_1uywx_61:hover{background-color:var(--surface-menu-surface-hover)}._search_1uywx_82{height:fit-content;padding:var(--space-3);position:relative}._search_1uywx_82 ._searchIcon_1uywx_87{top:var(--space-8);left:var(--space-6);width:var(--size-4);height:var(--size-4);pointer-events:none;position:absolute;transform:translateY(-50%)}._search_1uywx_82 ._searchIcon_1uywx_87._global_1uywx_96{left:var(--space-4);width:var(--size-5);height:var(--size-5)}._search_1uywx_82 ._clearSearchIcon_1uywx_101{top:var(--space-8);right:var(--space-6);width:var(--size-4);height:var(--size-4);position:absolute;transform:translateY(-50%)}._search_1uywx_82 ._searchInput_1uywx_109{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);box-sizing:border-box;width:100%;height:var(--size-10);padding-inline:var(--space-9) var(--space-6);color:var(--text-text-on-light);background-color:var(--surface-search-surface);border:var(--border-1) solid transparent;border-radius:var(--radius-2);box-shadow:unset;outline:0;padding-block:0;transition:border-color .15s,background-color .15s}._search_1uywx_82 ._searchInput_1uywx_109._global_1uywx_96{height:var(--size-12);border-radius:var(--radius-7);padding-inline:var(--space-12) var(--space-6)}._search_1uywx_82 ._searchInput_1uywx_109::-webkit-search-decoration{appearance:none}._search_1uywx_82 ._searchInput_1uywx_109::-webkit-search-cancel-button{appearance:none}._search_1uywx_82 ._searchInput_1uywx_109::-webkit-search-results-button{appearance:none}._search_1uywx_82 ._searchInput_1uywx_109::-webkit-search-results-decoration{appearance:none}._search_1uywx_82 ._searchInput_1uywx_109:hover{box-shadow:unset}._search_1uywx_82 ._searchInput_1uywx_109 ._firefoxDefaultOpacityFix_1uywx_141,._search_1uywx_82 ._searchInput_1uywx_109 ._searchInput_1uywx_109::placeholder{opacity:1}._search_1uywx_82 ._searchInput_1uywx_109::placeholder{color:var(--text-text-on-light-secondary)}._search_1uywx_82 ._searchInput_1uywx_109:not(:placeholder-shown){padding-inline-end:var(--space-8)}._search_1uywx_82 ._searchInput_1uywx_109:focus-visible{background-color:var(--surface-search-surface-focused);border:var(--border-2) solid #2486fc;padding-inline-start:calc(var(--space-9) - var(--border-1))}._search_1uywx_82 ._searchInput_1uywx_109:not(:focus-visible,:disabled):hover{background-color:var(--surface-search-surface-hover);border-color:#6f6f6f}._search_1uywx_82 ._divider_1uywx_159{box-shadow:var(--dropshadow-3)}._searchDivider_1uywx_163{box-shadow:var(--dropshadow-1)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._details_h8q4r_27{padding-inline:var(--size-1)}._triggerContainer_h8q4r_31{flex-direction:column;display:flex}._triggerButton_h8q4r_36{max-width:max-content;min-height:var(--size-6)!important;padding:0 var(--space-1)!important}._popover_h8q4r_42{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);z-index:var(--z-index-popover);box-sizing:border-box;background-color:var(--surface-menu-surface);border:var(--border-1) solid var(--border-card-border);border-radius:var(--radius-3);max-width:17.75rem;box-shadow:var(--dropshadow-3);padding:0}._popover_h8q4r_42 ._divider_h8q4r_59{margin-block:var(--space-2)}._popover_h8q4r_42 ._scrollableContainer_h8q4r_62{max-height:22.5rem;padding:var(--space-3)}._popover_h8q4r_42 ._item_h8q4r_66{padding:var(--border-8) var(--space-2) var(--border-8) var(--space-10);white-space:nowrap;text-overflow:ellipsis;border:var(--border-2) solid transparent;border-radius:var(--radius-3);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;align-items:center;position:relative;overflow:hidden}._popover_h8q4r_42 ._item_h8q4r_66[aria-disabled]{color:var(--gray-65);pointer-events:none}._popover_h8q4r_42 ._item_h8q4r_66[data-active-item]:not(:hover),._popover_h8q4r_42 ._item_h8q4r_66[data-highlighted]:not(:hover){background-color:var(--surface-menu-surface-hover);border:var(--border-2) solid var(--border-input-border-focus)}._popover_h8q4r_42 ._item_h8q4r_66[data-state=open],._popover_h8q4r_42 ._item_h8q4r_66:hover{background-color:var(--surface-menu-surface-hover)}._popover_h8q4r_42 ._indicator_h8q4r_93{top:0;left:var(--space-2);height:var(--size-9);justify-content:center;align-items:center;display:flex;position:absolute}._popover_h8q4r_42 ._indicatorIcon_h8q4r_102 path{fill:var(--icon-icon-on-light)}._testContainer_h8q4r_106{border:2px dashed #9f3fed;align-items:center;width:340px;height:56px;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._popoverContentContainer_161fk_27{outline:none;width:18.25rem}._popoverMainContent_161fk_32{max-height:calc(var(--radix-popover-content-available-height) - var(--space-8) - var(--space-2) - var(--border-1))}._loadingIndicatorWrapper_161fk_36{height:var(--size-8);align-items:end;display:flex;position:relative}._errorMessageWrapper_161fk_43{flex-direction:column;justify-content:center;display:flex}._errorMessageWrapper_161fk_43 ._errorMessageWrapperText_161fk_48{gap:var(--space-1);height:var(--size-8);justify-content:center;align-items:center;display:flex}._container_161fk_56{gap:var(--space-1);justify-content:center;display:flex}table._taxonomyAncestorTable_161fk_62{table-layout:fixed;border-spacing:0;width:100%}table._taxonomyAncestorTable_161fk_62>tbody>tr{flex-direction:column;display:flex}table._taxonomyAncestorTable_161fk_62>tbody>tr:not(:last-child){margin-block-end:var(--space-2)}table._taxonomyAncestorTable_161fk_62>tbody>tr>th{font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration);white-space:nowrap;text-overflow:ellipsis;color:var(--text-text-on-light-secondary-hover);text-align:start;padding:0;display:block;overflow:hidden}table._taxonomyAncestorTable_161fk_62>tbody>tr>td{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);color:var(--text-text-on-light);word-break:break-all;padding:0;display:block}@media (width<=767px){._taxonomyValueGroup_161fk_105{flex-wrap:wrap}}._taxonomyValueButton_161fk_110,._taxonomyValueButton_161fk_110:focus-visible{overflow-x:hidden}._taxonomyValueButton_161fk_110:disabled{color:var(--text-text-on-light)}._taxonomyValueButton_161fk_110 ._taxonomyValueLabel_161fk_120{text-overflow:ellipsis;overflow-x:hidden}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-editor",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.26",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ariakit/react": "0.4.21",
|
|
6
|
-
"@box/blueprint-web": "^16.
|
|
7
|
-
"@box/blueprint-web-assets": "^5.4.
|
|
8
|
-
"@box/box-ai-agent-selector": "^2.1.
|
|
9
|
-
"@box/combobox-with-api": "^2.1.
|
|
10
|
-
"@box/metadata-taxonomy-picker": "^3.1.
|
|
11
|
-
"@box/metadata-template-browser": "^2.1.
|
|
6
|
+
"@box/blueprint-web": "^16.7.1",
|
|
7
|
+
"@box/blueprint-web-assets": "^5.4.2",
|
|
8
|
+
"@box/box-ai-agent-selector": "^2.1.22",
|
|
9
|
+
"@box/combobox-with-api": "^2.1.23",
|
|
10
|
+
"@box/metadata-taxonomy-picker": "^3.1.23",
|
|
11
|
+
"@box/metadata-template-browser": "^2.1.22",
|
|
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.1.9",
|
|
21
|
-
"@box/blueprint-web": "^16.
|
|
22
|
-
"@box/blueprint-web-assets": "^5.4.
|
|
23
|
-
"@box/box-ai-agent-selector": "^2.1.
|
|
24
|
-
"@box/metadata-taxonomy-picker": "^3.1.
|
|
25
|
-
"@box/storybook-utils": "^1.1.
|
|
21
|
+
"@box/blueprint-web": "^16.7.1",
|
|
22
|
+
"@box/blueprint-web-assets": "^5.4.2",
|
|
23
|
+
"@box/box-ai-agent-selector": "^2.1.22",
|
|
24
|
+
"@box/metadata-taxonomy-picker": "^3.1.23",
|
|
25
|
+
"@box/storybook-utils": "^1.1.21",
|
|
26
26
|
"@testing-library/react": "^15.0.6",
|
|
27
27
|
"react": "^18.3.0",
|
|
28
28
|
"react-dom": "^18.3.0",
|