@octaviaflow/core 3.1.0-beta.85 → 3.1.0-beta.87
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/chunk-5ISJ5NI3.js +2765 -0
- package/dist/chunk-5ISJ5NI3.js.map +1 -0
- package/dist/chunk-7VHJRHJA.js +5725 -0
- package/dist/chunk-7VHJRHJA.js.map +1 -0
- package/dist/chunk-AMSH2ALP.js +5701 -0
- package/dist/chunk-AMSH2ALP.js.map +1 -0
- package/dist/chunk-BZA2F4V6.js +5722 -0
- package/dist/chunk-BZA2F4V6.js.map +1 -0
- package/dist/chunk-IOJPMFBQ.js +5725 -0
- package/dist/chunk-IOJPMFBQ.js.map +1 -0
- package/dist/chunk-JRFIAQHQ.js +5725 -0
- package/dist/chunk-JRFIAQHQ.js.map +1 -0
- package/dist/chunk-KKVGM7AQ.js +5723 -0
- package/dist/chunk-KKVGM7AQ.js.map +1 -0
- package/dist/chunk-NPGWV47J.js +5725 -0
- package/dist/chunk-NPGWV47J.js.map +1 -0
- package/dist/chunk-TCWVOHEZ.js +1646 -0
- package/dist/chunk-TCWVOHEZ.js.map +1 -0
- package/dist/chunk-WR7VLFZS.js +5722 -0
- package/dist/chunk-WR7VLFZS.js.map +1 -0
- package/dist/chunk-WYYXHBFE.js +5722 -0
- package/dist/chunk-WYYXHBFE.js.map +1 -0
- package/dist/chunk-XXT7FTMZ.js +1646 -0
- package/dist/chunk-XXT7FTMZ.js.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +14 -1
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/ConditionBuilder/ConditionBuilder.d.ts +8 -0
- package/dist/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
- package/dist/components/DataMapper/DataMapper.d.ts +33 -0
- package/dist/components/DataMapper/DataMapper.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +48 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/ScheduleBuilder/ScheduleBuilder.d.ts +89 -0
- package/dist/components/ScheduleBuilder/ScheduleBuilder.d.ts.map +1 -0
- package/dist/components/ScheduleBuilder/index.d.ts +2 -0
- package/dist/components/ScheduleBuilder/index.d.ts.map +1 -0
- package/dist/components/Sheet/Sheet.d.ts +10 -0
- package/dist/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/Sheet/index.d.ts +1 -1
- package/dist/components/Sheet/index.d.ts.map +1 -1
- package/dist/components/TimezonePicker/TimezonePicker.d.ts +9 -0
- package/dist/components/TimezonePicker/TimezonePicker.d.ts.map +1 -1
- package/dist/components/TimezonePicker/index.d.ts +1 -1
- package/dist/components/TimezonePicker/index.d.ts.map +1 -1
- package/dist/index.cjs +30418 -26886
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18665 -15203
- package/dist/index.js.map +1 -1
- package/dist/notifications/components/AlertConditionComposer/AlertConditionComposer.d.ts +38 -0
- package/dist/notifications/components/AlertConditionComposer/AlertConditionComposer.d.ts.map +1 -0
- package/dist/notifications/components/DeliveryFrequencyControl/DeliveryFrequencyControl.d.ts +33 -0
- package/dist/notifications/components/DeliveryFrequencyControl/DeliveryFrequencyControl.d.ts.map +1 -0
- package/dist/notifications/components/EventCatalogPicker/EventCatalogPicker.d.ts +34 -0
- package/dist/notifications/components/EventCatalogPicker/EventCatalogPicker.d.ts.map +1 -0
- package/dist/notifications/components/NotificationBell/NotificationBell.d.ts +47 -0
- package/dist/notifications/components/NotificationBell/NotificationBell.d.ts.map +1 -0
- package/dist/notifications/components/NotificationChannelCard/NotificationChannelCard.d.ts +39 -0
- package/dist/notifications/components/NotificationChannelCard/NotificationChannelCard.d.ts.map +1 -0
- package/dist/notifications/components/NotificationChannelDialog/NotificationChannelDialog.d.ts +48 -0
- package/dist/notifications/components/NotificationChannelDialog/NotificationChannelDialog.d.ts.map +1 -0
- package/dist/notifications/components/NotificationChannelForm/NotificationChannelForm.d.ts +55 -0
- package/dist/notifications/components/NotificationChannelForm/NotificationChannelForm.d.ts.map +1 -0
- package/dist/notifications/components/NotificationChannelList/NotificationChannelList.d.ts +31 -0
- package/dist/notifications/components/NotificationChannelList/NotificationChannelList.d.ts.map +1 -0
- package/dist/notifications/components/NotificationDetailDialog/NotificationDetailDialog.d.ts +30 -0
- package/dist/notifications/components/NotificationDetailDialog/NotificationDetailDialog.d.ts.map +1 -0
- package/dist/notifications/components/NotificationInbox/NotificationInbox.d.ts +65 -0
- package/dist/notifications/components/NotificationInbox/NotificationInbox.d.ts.map +1 -0
- package/dist/notifications/components/NotificationPreferenceMatrix/NotificationPreferenceMatrix.d.ts +37 -0
- package/dist/notifications/components/NotificationPreferenceMatrix/NotificationPreferenceMatrix.d.ts.map +1 -0
- package/dist/notifications/components/NotificationRuleEditor/NotificationRuleEditor.d.ts +52 -0
- package/dist/notifications/components/NotificationRuleEditor/NotificationRuleEditor.d.ts.map +1 -0
- package/dist/notifications/components/NotificationRuleList/NotificationRuleList.d.ts +37 -0
- package/dist/notifications/components/NotificationRuleList/NotificationRuleList.d.ts.map +1 -0
- package/dist/notifications/components/meta.d.ts +32 -0
- package/dist/notifications/components/meta.d.ts.map +1 -0
- package/dist/notifications/engine/catalog.d.ts +27 -0
- package/dist/notifications/engine/catalog.d.ts.map +1 -0
- package/dist/notifications/engine/channels.d.ts +31 -0
- package/dist/notifications/engine/channels.d.ts.map +1 -0
- package/dist/notifications/engine/describeRule.d.ts +44 -0
- package/dist/notifications/engine/describeRule.d.ts.map +1 -0
- package/dist/notifications/engine/inbox.d.ts +29 -0
- package/dist/notifications/engine/inbox.d.ts.map +1 -0
- package/dist/notifications/engine/preferences.d.ts +48 -0
- package/dist/notifications/engine/preferences.d.ts.map +1 -0
- package/dist/notifications/index.d.ts +34 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/types.d.ts +236 -0
- package/dist/notifications/types.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/workflow.cjs +25 -1
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.js +1 -1
- package/package.json +1 -1
package/dist/workflow.cjs
CHANGED
|
@@ -2324,6 +2324,7 @@ function Combobox({
|
|
|
2324
2324
|
creatable = false,
|
|
2325
2325
|
emptyMessage = "Type a custom value",
|
|
2326
2326
|
filter = defaultFilter,
|
|
2327
|
+
tokenizeKnownValue = false,
|
|
2327
2328
|
id,
|
|
2328
2329
|
name,
|
|
2329
2330
|
required,
|
|
@@ -2338,6 +2339,8 @@ function Combobox({
|
|
|
2338
2339
|
const panelRef = (0, import_react14.useRef)(null);
|
|
2339
2340
|
const reactId = (0, import_react14.useId)();
|
|
2340
2341
|
const inputId = id ?? `${reactId}-combobox`;
|
|
2342
|
+
const matchedOption = tokenizeKnownValue ? options.find((o) => o.value === value) : void 0;
|
|
2343
|
+
const showToken = Boolean(matchedOption) && !open;
|
|
2341
2344
|
const listboxId = `${reactId}-listbox`;
|
|
2342
2345
|
const errorId = `${reactId}-err`;
|
|
2343
2346
|
const helperId = `${reactId}-help`;
|
|
@@ -2441,6 +2444,24 @@ function Combobox({
|
|
|
2441
2444
|
required && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "ods-combobox__required", "aria-hidden": "true", children: "*" })
|
|
2442
2445
|
] }),
|
|
2443
2446
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { ref: fieldRef, className: "ods-combobox__field", children: [
|
|
2447
|
+
showToken && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "ods-combobox__token", "data-ods-combobox-token": "", children: [
|
|
2448
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "ods-combobox__token-label", children: matchedOption.label }),
|
|
2449
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2450
|
+
"button",
|
|
2451
|
+
{
|
|
2452
|
+
type: "button",
|
|
2453
|
+
className: "ods-combobox__token-clear",
|
|
2454
|
+
onClick: () => {
|
|
2455
|
+
if (disabled) return;
|
|
2456
|
+
onChange("");
|
|
2457
|
+
inputRef.current?.focus();
|
|
2458
|
+
},
|
|
2459
|
+
"aria-label": `Clear ${matchedOption.label}`,
|
|
2460
|
+
disabled,
|
|
2461
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_icons3.CloseIcon, { "aria-hidden": "true" })
|
|
2462
|
+
}
|
|
2463
|
+
)
|
|
2464
|
+
] }),
|
|
2444
2465
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2445
2466
|
"input",
|
|
2446
2467
|
{
|
|
@@ -2448,7 +2469,10 @@ function Combobox({
|
|
|
2448
2469
|
id: inputId,
|
|
2449
2470
|
name,
|
|
2450
2471
|
type: "text",
|
|
2451
|
-
className:
|
|
2472
|
+
className: cn(
|
|
2473
|
+
"ods-combobox__input",
|
|
2474
|
+
showToken && "ods-combobox__input--tokenized"
|
|
2475
|
+
),
|
|
2452
2476
|
value,
|
|
2453
2477
|
disabled,
|
|
2454
2478
|
required,
|