@octaviaflow/core 3.1.0-beta.87 → 3.1.0-beta.88
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/components/ScheduleBuilder/ScheduleBuilder.d.ts +1 -0
- package/dist/components/ScheduleBuilder/ScheduleBuilder.d.ts.map +1 -1
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8080,7 +8080,7 @@ var TimezonePicker = forwardRef32(
|
|
|
8080
8080
|
TimezonePicker.displayName = "TimezonePicker";
|
|
8081
8081
|
|
|
8082
8082
|
// src/components/ScheduleBuilder/ScheduleBuilder.tsx
|
|
8083
|
-
import
|
|
8083
|
+
import "./ScheduleBuilder.module.scss";
|
|
8084
8084
|
import { jsx as jsx40, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
8085
8085
|
var FREQUENCY_LABELS = {
|
|
8086
8086
|
immediate: "Immediately",
|
|
@@ -8163,15 +8163,15 @@ function ScheduleBuilder({
|
|
|
8163
8163
|
return /* @__PURE__ */ jsxs40(
|
|
8164
8164
|
"div",
|
|
8165
8165
|
{
|
|
8166
|
-
className: cn(
|
|
8166
|
+
className: cn("ods-schedule-builder", className),
|
|
8167
8167
|
"data-size": size,
|
|
8168
8168
|
id: baseId,
|
|
8169
8169
|
role: "group",
|
|
8170
8170
|
"aria-label": typeof label === "string" ? label : "Schedule",
|
|
8171
8171
|
"aria-describedby": helperText ? helperId : void 0,
|
|
8172
8172
|
children: [
|
|
8173
|
-
label && /* @__PURE__ */ jsx40("div", { className:
|
|
8174
|
-
/* @__PURE__ */ jsx40("div", { className:
|
|
8173
|
+
label && /* @__PURE__ */ jsx40("div", { className: "ods-schedule-builder__label", children: label }),
|
|
8174
|
+
/* @__PURE__ */ jsx40("div", { className: "ods-schedule-builder__row", children: /* @__PURE__ */ jsx40(
|
|
8175
8175
|
SegmentedControl,
|
|
8176
8176
|
{
|
|
8177
8177
|
"aria-label": "Frequency",
|
|
@@ -8182,7 +8182,7 @@ function ScheduleBuilder({
|
|
|
8182
8182
|
options: frequencies.map((f) => ({ value: f, label: FREQUENCY_LABELS[f] }))
|
|
8183
8183
|
}
|
|
8184
8184
|
) }),
|
|
8185
|
-
(showTime || showZone || frequency === "weekly" || frequency === "monthly") && /* @__PURE__ */ jsxs40("div", { className:
|
|
8185
|
+
(showTime || showZone || frequency === "weekly" || frequency === "monthly") && /* @__PURE__ */ jsxs40("div", { className: "ods-schedule-builder__fields", children: [
|
|
8186
8186
|
frequency === "weekly" && /* @__PURE__ */ jsx40(
|
|
8187
8187
|
MultiSelect,
|
|
8188
8188
|
{
|
|
@@ -8237,11 +8237,11 @@ function ScheduleBuilder({
|
|
|
8237
8237
|
}
|
|
8238
8238
|
)
|
|
8239
8239
|
] }),
|
|
8240
|
-
error ? /* @__PURE__ */ jsx40(InlineMessage, { tone: "danger", children: error }) : showSummary ? /* @__PURE__ */ jsxs40("div", { className:
|
|
8240
|
+
error ? /* @__PURE__ */ jsx40(InlineMessage, { tone: "danger", children: error }) : showSummary ? /* @__PURE__ */ jsxs40("div", { className: "ods-schedule-builder__summary", "aria-live": "polite", children: [
|
|
8241
8241
|
/* @__PURE__ */ jsx40(CalendarIcon, { size: "sm", "aria-hidden": "true" }),
|
|
8242
8242
|
/* @__PURE__ */ jsx40("span", { children: describeSchedule(value) })
|
|
8243
8243
|
] }) : null,
|
|
8244
|
-
helperText && /* @__PURE__ */ jsx40("div", { id: helperId, className:
|
|
8244
|
+
helperText && /* @__PURE__ */ jsx40("div", { id: helperId, className: "ods-schedule-builder__helper", children: helperText })
|
|
8245
8245
|
]
|
|
8246
8246
|
}
|
|
8247
8247
|
);
|