@cloudraker/reki 2.7.0 → 2.8.0

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.
@@ -4022,12 +4022,17 @@ const g = b([
4022
4022
  children: b([a(), h(), p(), y(), g]).optional()
4023
4023
  // Text content.
4024
4024
  }), Es = _({
4025
+ children: b([a(), h(), p(), y(), g]).optional(),
4026
+ // `Timeline.Item` elements.
4027
+ className: a().optional()
4028
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
4029
+ }), Cs = _({
4025
4030
  variant: v(["default", "success", "error", "warning", "info"]).optional(),
4026
4031
  className: a().optional(),
4027
4032
  // Additional CSS classes
4028
4033
  children: b([a(), h(), p(), y(), g]).optional()
4029
4034
  // Child elements
4030
- }), Cs = _({
4035
+ }), As = _({
4031
4036
  side: v(["top", "bottom", "left", "right"]).optional(),
4032
4037
  className: a().optional(),
4033
4038
  // Additional CSS classes
@@ -4035,7 +4040,7 @@ const g = b([
4035
4040
  // Child elements
4036
4041
  content: b([a(), h(), p(), y(), g])
4037
4042
  // Content to display in the tooltip
4038
- }), As = v([
4043
+ }), xs = v([
4039
4044
  "ActorDisplay",
4040
4045
  "AddressInput",
4041
4046
  "ArrayDisplay",
@@ -4100,9 +4105,10 @@ const g = b([
4100
4105
  "Tabs",
4101
4106
  "Tag",
4102
4107
  "Text",
4108
+ "Timeline",
4103
4109
  "Toasty",
4104
4110
  "Tooltip"
4105
- ]), xs = {
4111
+ ]), Ds = {
4106
4112
  ActorDisplay: ka,
4107
4113
  AddressInput: wa,
4108
4114
  ArrayDisplay: Sa,
@@ -4167,28 +4173,29 @@ const g = b([
4167
4173
  Tabs: Os,
4168
4174
  Tag: Ns,
4169
4175
  Text: Is,
4170
- Toasty: Es,
4171
- Tooltip: Cs
4172
- }, Ds = _({
4176
+ Timeline: Es,
4177
+ Toasty: Cs,
4178
+ Tooltip: As
4179
+ }, Rs = _({
4173
4180
  key: a(),
4174
- type: As,
4181
+ type: xs,
4175
4182
  props: H(a(), c()),
4176
4183
  children: A(a()).optional(),
4177
4184
  parentKey: a().nullable().optional(),
4178
4185
  visible: ba.optional(),
4179
4186
  action: za.optional()
4180
- }), Rs = _({
4187
+ }), js = _({
4181
4188
  root: a(),
4182
- elements: H(a(), Ds)
4189
+ elements: H(a(), Rs)
4183
4190
  });
4184
- function Ls(e) {
4185
- const o = xs[e.type];
4191
+ function Us(e) {
4192
+ const o = Ds[e.type];
4186
4193
  return o ? o.safeParse(e.props) : { success: !1, error: new li([{ code: "custom", message: `Unknown component type: ${e.type}`, path: ["type"] }]) };
4187
4194
  }
4188
- function Us(e) {
4189
- return Rs.safeParse(e);
4195
+ function Fs(e) {
4196
+ return js.safeParse(e);
4190
4197
  }
4191
- const Fs = ["ActorDisplay", "AddressInput", "ArrayDisplay", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "Chip", "CircularProgressBar", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "ColorSample", "Combobox", "CommandPalette", "DataGrid", "DatePicker", "DateRangePicker", "Dialog", "DoubleTextInput", "DropdownMenu", "EmailsDisplay", "Empty", "ExpandableList", "Field", "Grid", "Input", "InputArea", "InputGroup", "JsonDisplay", "Label", "LayerCard", "Link", "LinkChip", "LinksDisplay", "Loader", "MenuBar", "MenuItem", "Meter", "NotificationCounter", "OverflowingText", "Pagination", "PhonesDisplay", "Pill", "Popover", "Radio", "Rating", "RecordBoard", "Select", "SensitiveInput", "Sidebar", "Status", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Tag", "Text", "Toasty", "Tooltip"];
4198
+ const Ms = ["ActorDisplay", "AddressInput", "ArrayDisplay", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "Chip", "CircularProgressBar", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "ColorSample", "Combobox", "CommandPalette", "DataGrid", "DatePicker", "DateRangePicker", "Dialog", "DoubleTextInput", "DropdownMenu", "EmailsDisplay", "Empty", "ExpandableList", "Field", "Grid", "Input", "InputArea", "InputGroup", "JsonDisplay", "Label", "LayerCard", "Link", "LinkChip", "LinksDisplay", "Loader", "MenuBar", "MenuItem", "Meter", "NotificationCounter", "OverflowingText", "Pagination", "PhonesDisplay", "Pill", "Popover", "Radio", "Rating", "RecordBoard", "Select", "SensitiveInput", "Sidebar", "Status", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Tag", "Text", "Timeline", "Toasty", "Tooltip"];
4192
4199
  export {
4193
4200
  ya as ActionConfirmSchema,
4194
4201
  za as ActionSchema,
@@ -4212,7 +4219,7 @@ export {
4212
4219
  La as ColorSamplePropsSchema,
4213
4220
  Ua as ComboboxPropsSchema,
4214
4221
  Fa as CommandPalettePropsSchema,
4215
- xs as ComponentPropsSchemas,
4222
+ Ds as ComponentPropsSchemas,
4216
4223
  Ma as DataGridPropsSchema,
4217
4224
  Ja as DatePickerPropsSchema,
4218
4225
  Ba as DateRangePickerPropsSchema,
@@ -4244,11 +4251,11 @@ export {
4244
4251
  ms as PhonesDisplayPropsSchema,
4245
4252
  gs as PillPropsSchema,
4246
4253
  _s as PopoverPropsSchema,
4247
- Fs as REKI_COMPONENT_NAMES,
4254
+ Ms as REKI_COMPONENT_NAMES,
4248
4255
  vs as RadioPropsSchema,
4249
4256
  bs as RatingPropsSchema,
4250
4257
  ys as RecordBoardPropsSchema,
4251
- As as RekiComponentTypeSchema,
4258
+ xs as RekiComponentTypeSchema,
4252
4259
  zs as SelectPropsSchema,
4253
4260
  ks as SensitiveInputPropsSchema,
4254
4261
  ws as SidebarPropsSchema,
@@ -4260,12 +4267,13 @@ export {
4260
4267
  Os as TabsPropsSchema,
4261
4268
  Ns as TagPropsSchema,
4262
4269
  Is as TextPropsSchema,
4263
- Es as ToastyPropsSchema,
4264
- Cs as TooltipPropsSchema,
4265
- Ds as UIElementBaseSchema,
4266
- Rs as UITreeSchema,
4270
+ Es as TimelinePropsSchema,
4271
+ Cs as ToastyPropsSchema,
4272
+ As as TooltipPropsSchema,
4273
+ Rs as UIElementBaseSchema,
4274
+ js as UITreeSchema,
4267
4275
  ba as VisibilityConditionSchema,
4268
- Ls as validateElementProps,
4269
- Us as validateUITree
4276
+ Us as validateElementProps,
4277
+ Fs as validateUITree
4270
4278
  };
4271
4279
  //# sourceMappingURL=schemas.js.map