@reopt-ai/opt-ui 1.7.0 → 1.9.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.
Files changed (61) hide show
  1. package/COMPONENT_CATALOG.md +222 -34
  2. package/README.md +70 -6
  3. package/dist/core/index.cjs +170 -155
  4. package/dist/core/index.d.cts +3 -2
  5. package/dist/core/index.d.ts +3 -2
  6. package/dist/core/index.js +3 -3
  7. package/dist/docs/02-components/01-core.md +223 -18
  8. package/dist/docs/02-components/02-visuals.md +1 -1
  9. package/dist/docs/02-components/03-shells.md +17 -16
  10. package/dist/docs/02-components/04-surfaces.md +1 -1
  11. package/dist/docs/02-components/index.md +4 -4
  12. package/dist/{field-sidebar-CB8vjvUM.d.ts → field-sidebar-B5vk3luQ.d.cts} +30 -3
  13. package/dist/{field-sidebar-BTZCBviA.d.cts.map → field-sidebar-B5vk3luQ.d.cts.map} +1 -1
  14. package/dist/{field-sidebar-Cs-J-5VE.js → field-sidebar-B7QkWvMG.js} +52 -17
  15. package/dist/{field-sidebar-Cs-J-5VE.js.map → field-sidebar-B7QkWvMG.js.map} +1 -1
  16. package/dist/{field-sidebar-BTZCBviA.d.cts → field-sidebar-Dk9gJGA_.d.ts} +30 -3
  17. package/dist/{field-sidebar-CB8vjvUM.d.ts.map → field-sidebar-Dk9gJGA_.d.ts.map} +1 -1
  18. package/dist/{field-sidebar-CzIQX70-.cjs → field-sidebar-mFHemxBz.cjs} +328 -293
  19. package/dist/{types-D0FlcYnM.d.ts → field-token-CSOrU5gl.d.cts} +66 -2
  20. package/dist/field-token-CSOrU5gl.d.cts.map +1 -0
  21. package/dist/{types-D0FlcYnM.d.cts → field-token-CSOrU5gl.d.ts} +66 -2
  22. package/dist/field-token-CSOrU5gl.d.ts.map +1 -0
  23. package/dist/{pagination-DWbvACuN.js → highlight-C2sfnJN8.js} +263 -11
  24. package/dist/highlight-C2sfnJN8.js.map +1 -0
  25. package/dist/{pagination-DjfxBcjX.cjs → highlight-CGcrYGMC.cjs} +284 -8
  26. package/dist/id-registry.cjs +98 -2
  27. package/dist/id-registry.d.cts.map +1 -1
  28. package/dist/id-registry.d.ts.map +1 -1
  29. package/dist/id-registry.js +98 -2
  30. package/dist/id-registry.js.map +1 -1
  31. package/dist/id-registry.json +202 -4
  32. package/dist/index.cjs +664 -643
  33. package/dist/index.d.cts +5 -4
  34. package/dist/index.d.cts.map +1 -1
  35. package/dist/index.d.ts +5 -4
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +10 -4
  38. package/dist/index.js.map +1 -1
  39. package/dist/{shader-surface-BUPZ0P-n.js → key-pad-menu-BFd79JoS.js} +855 -19
  40. package/dist/key-pad-menu-BFd79JoS.js.map +1 -0
  41. package/dist/{shader-surface-DRrcLrWf.d.cts → key-pad-menu-D8OS_VCT.d.cts} +459 -3
  42. package/dist/key-pad-menu-D8OS_VCT.d.cts.map +1 -0
  43. package/dist/{shader-surface-Fav5K9UC.cjs → key-pad-menu-DoGskWbp.cjs} +1103 -201
  44. package/dist/{shader-surface-BfTP9c1Q.d.ts → key-pad-menu-EEb6Ho5h.d.ts} +459 -3
  45. package/dist/key-pad-menu-EEb6Ho5h.d.ts.map +1 -0
  46. package/dist/meta.cjs +641 -0
  47. package/dist/meta.d.cts.map +1 -1
  48. package/dist/meta.d.ts.map +1 -1
  49. package/dist/meta.js +641 -0
  50. package/dist/meta.js.map +1 -1
  51. package/dist/shells/index.cjs +1 -1
  52. package/dist/shells/index.d.cts +1 -1
  53. package/dist/shells/index.d.ts +1 -1
  54. package/dist/shells/index.js +1 -1
  55. package/package.json +2 -2
  56. package/dist/pagination-DWbvACuN.js.map +0 -1
  57. package/dist/shader-surface-BUPZ0P-n.js.map +0 -1
  58. package/dist/shader-surface-BfTP9c1Q.d.ts.map +0 -1
  59. package/dist/shader-surface-DRrcLrWf.d.cts.map +0 -1
  60. package/dist/types-D0FlcYnM.d.cts.map +0 -1
  61. package/dist/types-D0FlcYnM.d.ts.map +0 -1
@@ -346,7 +346,7 @@ const variantStyles$2 = {
346
346
  ghost: "text-text-secondary hover:bg-bg-subtle active:bg-bg-muted focus-visible:ring-offset-1",
347
347
  danger: "bg-danger text-danger-fg hover:bg-danger active:bg-danger focus-visible:ring-offset-2"
348
348
  };
349
- const sizeStyles$3 = {
349
+ const sizeStyles$4 = {
350
350
  sm: "h-[var(--opt-control-sm)] px-[var(--opt-control-padding-sm)] text-xs gap-[var(--opt-space-1-5)]",
351
351
  md: "h-[var(--opt-control-md)] px-[var(--opt-control-padding-md)] text-sm gap-[var(--opt-space-2)]",
352
352
  lg: "h-[var(--opt-control-lg)] px-[var(--opt-control-padding-lg)] text-base gap-[var(--opt-space-2)]"
@@ -357,7 +357,7 @@ function Button(_ref) {
357
357
  const isDisabled = disabled || loading;
358
358
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", _objectSpread2(_objectSpread2({
359
359
  type: "button",
360
- className: cn("inline-flex cursor-pointer items-center justify-center rounded-lg font-medium transition-colors", OPT_FOCUS_VISIBLE, variantStyles$2[variant], sizeStyles$3[size], isDisabled && "pointer-events-none cursor-not-allowed opacity-50", className),
360
+ className: cn("inline-flex cursor-pointer items-center justify-center rounded-lg font-medium transition-colors", OPT_FOCUS_VISIBLE, variantStyles$2[variant], sizeStyles$4[size], isDisabled && "pointer-events-none cursor-not-allowed opacity-50", className),
361
361
  disabled: isDisabled
362
362
  }, props), {}, {
363
363
  "aria-busy": loading ? true : ariaBusy,
@@ -466,7 +466,7 @@ const progressStroke = {
466
466
  error: "stroke-danger",
467
467
  info: "stroke-info"
468
468
  };
469
- const sizeStyles$2 = {
469
+ const sizeStyles$3 = {
470
470
  sm: "px-1.5 py-0.5 text-[10px]",
471
471
  md: "px-2 py-0.5 text-[11px]"
472
472
  };
@@ -478,7 +478,7 @@ function Badge(_ref) {
478
478
  const radius = (progressSize - 3) / 2;
479
479
  const circumference = 2 * Math.PI * radius;
480
480
  const offset = circumference - clampedProgress / 100 * circumference;
481
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", _objectSpread2(_objectSpread2({ className: cn(OPT_BADGE, variantStyles$1[variant], sizeStyles$2[size], className) }, props), {}, {
481
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", _objectSpread2(_objectSpread2({ className: cn(OPT_BADGE, variantStyles$1[variant], sizeStyles$3[size], className) }, props), {}, {
482
482
  "data-opt-id": "9GBGZ",
483
483
  "data-opt-slug": "badge.Badge",
484
484
  children: [
@@ -525,7 +525,7 @@ const _excluded$13 = [
525
525
  "aria-hidden",
526
526
  "aria-label"
527
527
  ];
528
- const sizeStyles$1 = {
528
+ const sizeStyles$2 = {
529
529
  sm: "h-4 w-4",
530
530
  md: "h-6 w-6",
531
531
  lg: "h-8 w-8"
@@ -535,7 +535,7 @@ function Spinner(_ref) {
535
535
  let { size = "md", className, role, "aria-hidden": ariaHidden, "aria-label": ariaLabel } = _ref, props = _objectWithoutProperties(_ref, _excluded$13);
536
536
  const isDecorative = ariaHidden === true || ariaHidden === "true";
537
537
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", _objectSpread2(_objectSpread2({
538
- className: cn("animate-spin text-current", sizeStyles$1[size], className),
538
+ className: cn("animate-spin text-current", sizeStyles$2[size], className),
539
539
  viewBox: "0 0 24 24",
540
540
  fill: "none",
541
541
  role: isDecorative ? void 0 : role !== null && role !== void 0 ? role : "status",
@@ -3554,7 +3554,7 @@ function setForwardedRef(ref, value) {
3554
3554
  if (typeof ref === "function") ref(value);
3555
3555
  else if (ref) ref.current = value;
3556
3556
  }
3557
- const sizeStyles = {
3557
+ const sizeStyles$1 = {
3558
3558
  sm: {
3559
3559
  box: "h-4 w-4",
3560
3560
  icon: "h-3 w-3",
@@ -3620,7 +3620,7 @@ const Checkbox = (0, react.forwardRef)((_ref, ref) => {
3620
3620
  const checkboxId = (_useInputId = useInputId(id, label, "checkbox")) !== null && _useInputId !== void 0 ? _useInputId : `checkbox-${fallbackId}`;
3621
3621
  const hintText = hint !== null && hint !== void 0 ? hint : description;
3622
3622
  const hasError = Boolean(error);
3623
- const styles = sizeStyles[size];
3623
+ const styles = sizeStyles$1[size];
3624
3624
  const isIndeterminate = Boolean(indeterminate);
3625
3625
  const inputRef = (0, react.useCallback)((node) => {
3626
3626
  if (node) node.indeterminate = isIndeterminate;
@@ -3867,6 +3867,258 @@ function Pagination(_ref) {
3867
3867
  }));
3868
3868
  }
3869
3869
  //#endregion
3870
+ //#region src/core/field-token.tsx
3871
+ /**
3872
+ * The glyph and palette slot each field type reads as. Exported so a product
3873
+ * can render the same legend the tokens imply.
3874
+ */
3875
+ const FIELD_TYPE_TOKENS = {
3876
+ string: {
3877
+ icon: lucide_react.Type,
3878
+ tone: 1,
3879
+ name: "String"
3880
+ },
3881
+ number: {
3882
+ icon: lucide_react.Hash,
3883
+ tone: 2,
3884
+ name: "Number"
3885
+ },
3886
+ boolean: {
3887
+ icon: lucide_react.ToggleLeft,
3888
+ tone: 3,
3889
+ name: "Boolean"
3890
+ },
3891
+ date: {
3892
+ icon: lucide_react.Calendar,
3893
+ tone: 4,
3894
+ name: "Date"
3895
+ },
3896
+ datetime: {
3897
+ icon: lucide_react.CalendarClock,
3898
+ tone: 4,
3899
+ name: "Date and time"
3900
+ },
3901
+ duration: {
3902
+ icon: lucide_react.Timer,
3903
+ tone: 5,
3904
+ name: "Duration"
3905
+ },
3906
+ percent: {
3907
+ icon: lucide_react.Percent,
3908
+ tone: 6,
3909
+ name: "Percent"
3910
+ },
3911
+ currency: {
3912
+ icon: lucide_react.CircleDollarSign,
3913
+ tone: 7,
3914
+ name: "Currency"
3915
+ },
3916
+ enum: {
3917
+ icon: lucide_react.List,
3918
+ tone: 8,
3919
+ name: "Enum"
3920
+ },
3921
+ array: {
3922
+ icon: lucide_react.Brackets,
3923
+ tone: 9,
3924
+ name: "Array"
3925
+ },
3926
+ object: {
3927
+ icon: lucide_react.Braces,
3928
+ tone: 10,
3929
+ name: "Object"
3930
+ },
3931
+ json: {
3932
+ icon: lucide_react.Braces,
3933
+ tone: 10,
3934
+ name: "JSON"
3935
+ },
3936
+ ip: {
3937
+ icon: lucide_react.Network,
3938
+ tone: 11,
3939
+ name: "IP address"
3940
+ },
3941
+ geo: {
3942
+ icon: lucide_react.MapPin,
3943
+ tone: 12,
3944
+ name: "Geo point"
3945
+ },
3946
+ url: {
3947
+ icon: lucide_react.Link2,
3948
+ tone: 13,
3949
+ name: "URL"
3950
+ },
3951
+ email: {
3952
+ icon: lucide_react.AtSign,
3953
+ tone: 14,
3954
+ name: "Email"
3955
+ },
3956
+ id: {
3957
+ icon: lucide_react.Fingerprint,
3958
+ tone: 15,
3959
+ name: "Identifier"
3960
+ },
3961
+ binary: {
3962
+ icon: lucide_react.Binary,
3963
+ tone: 16,
3964
+ name: "Binary"
3965
+ },
3966
+ aggregate: {
3967
+ icon: lucide_react.Sigma,
3968
+ tone: 2,
3969
+ name: "Aggregate"
3970
+ },
3971
+ nested: {
3972
+ icon: lucide_react.Layers,
3973
+ tone: 9,
3974
+ name: "Nested"
3975
+ },
3976
+ unknown: {
3977
+ icon: lucide_react.CircleHelp,
3978
+ tone: 0,
3979
+ name: "Unknown"
3980
+ }
3981
+ };
3982
+ /**
3983
+ * Names a backend type as one of ours. Accepts the spellings Postgres,
3984
+ * ClickHouse, DuckDB, and JSON Schema actually emit, so a caller can hand
3985
+ * over a column type verbatim instead of maintaining its own table.
3986
+ */
3987
+ function resolveFieldType(raw) {
3988
+ if (!raw) return "unknown";
3989
+ const t = raw.trim().toLowerCase();
3990
+ if (t in FIELD_TYPE_TOKENS) return t;
3991
+ if (t.endsWith("[]")) return "array";
3992
+ if (/^(array|list|set|multi)/.test(t)) return "array";
3993
+ if (/^(bytea|blob|binary|fixedstring)/.test(t)) return "binary";
3994
+ if (/^bool/.test(t)) return "boolean";
3995
+ if (/^(timestamp|datetime)/.test(t)) return "datetime";
3996
+ if (/^date/.test(t)) return "date";
3997
+ if (/^interval/.test(t)) return "duration";
3998
+ if (/^(uuid|guid)/.test(t)) return "id";
3999
+ if (/^(inet|cidr|ipv?[46])/.test(t)) return "ip";
4000
+ if (/^(point|geo|geography|geometry|latlon)/.test(t)) return "geo";
4001
+ if (/^(jsonb?|map|struct|record|tuple)/.test(t)) return "json";
4002
+ if (/^(enum|lowcardinality|category|categorical)/.test(t)) return "enum";
4003
+ if (/^(u?int|float|double|decimal|numeric|real|bigint|smallint|tinyint|serial|money)/.test(t)) return "number";
4004
+ if (/^(text|n?varchar|n?char|keyword|str|string)/.test(t)) return "string";
4005
+ return "unknown";
4006
+ }
4007
+ const sizeStyles = {
4008
+ xs: "size-4 rounded-[3px] [&>svg]:size-2.5",
4009
+ sm: "size-5 rounded [&>svg]:size-3",
4010
+ md: "size-6 rounded-md [&>svg]:size-3.5",
4011
+ lg: "size-8 rounded-lg [&>svg]:size-4"
4012
+ };
4013
+ const shapeStyles = {
4014
+ square: "",
4015
+ circle: "rounded-full"
4016
+ };
4017
+ /**
4018
+ * FieldToken — the type of a field, as a glyph.
4019
+ *
4020
+ * A field list, a column header, and a property table all have to answer
4021
+ * "what kind of thing is this?" before anything else, and they have to answer
4022
+ * it in the width of an icon. This is that answer: one glyph per type, one
4023
+ * palette slot per glyph, stable across every surface that shows fields, so a
4024
+ * reader learns the vocabulary once.
4025
+ *
4026
+ * @example
4027
+ * ```tsx
4028
+ * <FieldToken type={resolveFieldType(column.dataType)} title={column.name} />
4029
+ * ```
4030
+ */
4031
+ function FieldToken({ type, size = "sm", fill = "subtle", shape = "square", title, decorative = false, className }) {
4032
+ var _FIELD_TYPE_TOKENS$ty;
4033
+ const appearance = (_FIELD_TYPE_TOKENS$ty = FIELD_TYPE_TOKENS[type]) !== null && _FIELD_TYPE_TOKENS$ty !== void 0 ? _FIELD_TYPE_TOKENS$ty : FIELD_TYPE_TOKENS.unknown;
4034
+ const Icon = appearance.icon;
4035
+ const label = title !== null && title !== void 0 ? title : appearance.name;
4036
+ const hue = appearance.tone === 0 ? "var(--color-text-tertiary)" : `var(--opt-chart-${appearance.tone})`;
4037
+ const style = fill === "solid" ? {
4038
+ backgroundColor: hue,
4039
+ color: "var(--color-surface)"
4040
+ } : fill === "subtle" ? {
4041
+ backgroundColor: `color-mix(in oklab, ${hue} 14%, transparent)`,
4042
+ color: hue
4043
+ } : { color: hue };
4044
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4045
+ className: cn("inline-flex shrink-0 items-center justify-center", sizeStyles[size], shapeStyles[shape], className),
4046
+ style,
4047
+ role: decorative ? void 0 : "img",
4048
+ "aria-label": decorative ? void 0 : label,
4049
+ "aria-hidden": decorative ? true : void 0,
4050
+ "data-opt-id": "V3AJ4",
4051
+ "data-opt-slug": "field-token.FieldToken",
4052
+ "data-field-type": type,
4053
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, { "aria-hidden": "true" })
4054
+ });
4055
+ }
4056
+ //#endregion
4057
+ //#region src/core/highlight.tsx
4058
+ function escapeForRegExp(value) {
4059
+ return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4060
+ }
4061
+ /**
4062
+ * Splits `text` on every occurrence of every term. Terms are matched longest
4063
+ * first so a search for both "check" and "checkout" marks "checkout" whole
4064
+ * rather than leaving a stray "out".
4065
+ */
4066
+ function segment(text, terms, caseSensitive, firstOnly) {
4067
+ const usable = terms.filter((term) => term.length > 0).sort((a, b) => b.length - a.length);
4068
+ if (usable.length === 0) return [{
4069
+ text,
4070
+ hit: false
4071
+ }];
4072
+ const pattern = new RegExp(`(${usable.map(escapeForRegExp).join("|")})`, caseSensitive ? "g" : "gi");
4073
+ const out = [];
4074
+ let cursor = 0;
4075
+ let matched = false;
4076
+ for (const match of text.matchAll(pattern)) {
4077
+ var _match$index;
4078
+ if (firstOnly && matched) break;
4079
+ const at = (_match$index = match.index) !== null && _match$index !== void 0 ? _match$index : 0;
4080
+ if (at > cursor) out.push({
4081
+ text: text.slice(cursor, at),
4082
+ hit: false
4083
+ });
4084
+ out.push({
4085
+ text: match[0],
4086
+ hit: true
4087
+ });
4088
+ cursor = at + match[0].length;
4089
+ matched = true;
4090
+ }
4091
+ if (cursor < text.length) out.push({
4092
+ text: text.slice(cursor),
4093
+ hit: false
4094
+ });
4095
+ return out;
4096
+ }
4097
+ /**
4098
+ * Highlight — marks the part of a string the reader searched for.
4099
+ *
4100
+ * Uses a real `<mark>`, so the match is carried by semantics rather than by
4101
+ * colour alone and survives a high-contrast theme. Terms are matched longest
4102
+ * first, so overlapping terms produce whole marks instead of fragments.
4103
+ *
4104
+ * @example
4105
+ * ```tsx
4106
+ * <Highlight text={row.message} search={query} />
4107
+ * ```
4108
+ */
4109
+ function Highlight({ text, search, caseSensitive = false, firstOnly = false, className, markClassName }) {
4110
+ const segments = segment(text, Array.isArray(search) ? search : [search], caseSensitive, firstOnly);
4111
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4112
+ className,
4113
+ "data-opt-id": "448TR",
4114
+ "data-opt-slug": "highlight.Highlight",
4115
+ children: segments.map((part, index) => part.hit ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("mark", {
4116
+ className: cn("bg-warning-subtle text-text-primary rounded-[2px] px-0.5 font-medium", markClassName),
4117
+ children: part.text
4118
+ }, index) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: part.text }, index))
4119
+ });
4120
+ }
4121
+ //#endregion
3870
4122
  Object.defineProperty(exports, "Alert", {
3871
4123
  enumerable: true,
3872
4124
  get: function() {
@@ -4047,12 +4299,24 @@ Object.defineProperty(exports, "EmptyState", {
4047
4299
  return EmptyState;
4048
4300
  }
4049
4301
  });
4302
+ Object.defineProperty(exports, "FIELD_TYPE_TOKENS", {
4303
+ enumerable: true,
4304
+ get: function() {
4305
+ return FIELD_TYPE_TOKENS;
4306
+ }
4307
+ });
4050
4308
  Object.defineProperty(exports, "FieldMessages", {
4051
4309
  enumerable: true,
4052
4310
  get: function() {
4053
4311
  return FieldMessages;
4054
4312
  }
4055
4313
  });
4314
+ Object.defineProperty(exports, "FieldToken", {
4315
+ enumerable: true,
4316
+ get: function() {
4317
+ return FieldToken;
4318
+ }
4319
+ });
4056
4320
  Object.defineProperty(exports, "FormCheckbox", {
4057
4321
  enumerable: true,
4058
4322
  get: function() {
@@ -4227,6 +4491,12 @@ Object.defineProperty(exports, "FormTextarea", {
4227
4491
  return FormTextarea;
4228
4492
  }
4229
4493
  });
4494
+ Object.defineProperty(exports, "Highlight", {
4495
+ enumerable: true,
4496
+ get: function() {
4497
+ return Highlight;
4498
+ }
4499
+ });
4230
4500
  Object.defineProperty(exports, "IconPicker", {
4231
4501
  enumerable: true,
4232
4502
  get: function() {
@@ -4725,6 +4995,12 @@ Object.defineProperty(exports, "koStarRatingLabels", {
4725
4995
  return koStarRatingLabels;
4726
4996
  }
4727
4997
  });
4998
+ Object.defineProperty(exports, "resolveFieldType", {
4999
+ enumerable: true,
5000
+ get: function() {
5001
+ return resolveFieldType;
5002
+ }
5003
+ });
4728
5004
  Object.defineProperty(exports, "useControlledState", {
4729
5005
  enumerable: true,
4730
5006
  get: function() {
@@ -204,6 +204,18 @@ const ID_REGISTRY = Object.freeze({
204
204
  layer: "shells",
205
205
  metaName: "CodeSnippetViewer"
206
206
  },
207
+ E7T89: {
208
+ slug: "color-palette",
209
+ exportName: "ColorPaletteDisplay",
210
+ layer: "core",
211
+ metaName: "ColorPalette"
212
+ },
213
+ "5R0PG": {
214
+ slug: "color-palette",
215
+ exportName: "ColorPalettePicker",
216
+ layer: "core",
217
+ metaName: "ColorPalette"
218
+ },
207
219
  V2CSG: {
208
220
  slug: "color-picker",
209
221
  exportName: "ColorPicker",
@@ -564,6 +576,30 @@ const ID_REGISTRY = Object.freeze({
564
576
  layer: "shells",
565
577
  metaName: "ExportButton"
566
578
  },
579
+ TXGA8: {
580
+ slug: "expression",
581
+ exportName: "Expression",
582
+ layer: "core",
583
+ metaName: "Expression"
584
+ },
585
+ F78CE: {
586
+ slug: "expression",
587
+ exportName: "ExpressionGroup",
588
+ layer: "core",
589
+ metaName: "Expression"
590
+ },
591
+ E9H18: {
592
+ slug: "facet",
593
+ exportName: "Facet",
594
+ layer: "core",
595
+ metaName: "Facet"
596
+ },
597
+ G1RNN: {
598
+ slug: "facet",
599
+ exportName: "FacetGroup",
600
+ layer: "core",
601
+ metaName: "Facet"
602
+ },
567
603
  ZAM3R: {
568
604
  slug: "failure-list",
569
605
  exportName: "FailureList",
@@ -588,6 +624,12 @@ const ID_REGISTRY = Object.freeze({
588
624
  layer: "shells",
589
625
  metaName: "FieldSidebar"
590
626
  },
627
+ V3AJ4: {
628
+ slug: "field-token",
629
+ exportName: "FieldToken",
630
+ layer: "core",
631
+ metaName: "FieldToken"
632
+ },
591
633
  BS5N0: {
592
634
  slug: "filter-bar",
593
635
  exportName: "FilterBar",
@@ -804,6 +846,12 @@ const ID_REGISTRY = Object.freeze({
804
846
  layer: "core",
805
847
  metaName: "Heading"
806
848
  },
849
+ "448TR": {
850
+ slug: "highlight",
851
+ exportName: "Highlight",
852
+ layer: "core",
853
+ metaName: "Highlight"
854
+ },
807
855
  "0DRGP": {
808
856
  slug: "icon-picker",
809
857
  exportName: "IconPicker",
@@ -816,6 +864,12 @@ const ID_REGISTRY = Object.freeze({
816
864
  layer: "shells",
817
865
  metaName: "InlineEditTable"
818
866
  },
867
+ RQ0H2: {
868
+ slug: "inline-edit",
869
+ exportName: "InlineEdit",
870
+ layer: "core",
871
+ metaName: "InlineEdit"
872
+ },
819
873
  "7BY1Q": {
820
874
  slug: "input",
821
875
  exportName: "Input",
@@ -840,19 +894,31 @@ const ID_REGISTRY = Object.freeze({
840
894
  layer: "core",
841
895
  metaName: "Kbd"
842
896
  },
897
+ ZZG2R: {
898
+ slug: "key-pad-menu",
899
+ exportName: "KeyPadMenu",
900
+ layer: "core",
901
+ metaName: "KeyPadMenu"
902
+ },
843
903
  NCBWA: {
844
904
  slug: "key-value-editor",
845
905
  exportName: "KeyValueEditor",
846
906
  layer: "shells",
847
907
  metaName: "KeyValueEditor"
848
908
  },
909
+ "0CFGR": {
910
+ slug: "live-region",
911
+ exportName: "LiveRegion",
912
+ layer: "core",
913
+ metaName: "LiveRegion"
914
+ },
849
915
  "380ZR": {
850
916
  slug: "loading-overlay",
851
917
  exportName: "LoadingOverlay",
852
918
  layer: "core",
853
919
  metaName: "LoadingOverlay"
854
920
  },
855
- NJ4N9: {
921
+ "3ZR82": {
856
922
  slug: "log-table",
857
923
  exportName: "LogTable",
858
924
  layer: "shells",
@@ -1320,6 +1386,12 @@ const ID_REGISTRY = Object.freeze({
1320
1386
  layer: "shells",
1321
1387
  metaName: "TemplatePicker"
1322
1388
  },
1389
+ Y6BGX: {
1390
+ slug: "text-truncate",
1391
+ exportName: "TextTruncate",
1392
+ layer: "core",
1393
+ metaName: "TextTruncate"
1394
+ },
1323
1395
  NFKP2: {
1324
1396
  slug: "text",
1325
1397
  exportName: "Text",
@@ -1485,6 +1557,8 @@ const SLUG_TO_ID = Object.freeze({
1485
1557
  "checkbox.CheckboxGroup": "V6NSW",
1486
1558
  "code-diff-viewer.CodeDiffViewer": "GSDVD",
1487
1559
  "code-snippet-viewer.CodeSnippetViewer": "9GDXY",
1560
+ "color-palette.ColorPaletteDisplay": "E7T89",
1561
+ "color-palette.ColorPalettePicker": "5R0PG",
1488
1562
  "color-picker.ColorPicker": "V2CSG",
1489
1563
  "column-toggler.ColumnToggler": "PPN5M",
1490
1564
  "combobox.ComboboxEmpty": "RZ06M",
@@ -1545,10 +1619,15 @@ const SLUG_TO_ID = Object.freeze({
1545
1619
  "event-icon.EventIcon": "ZNSD9",
1546
1620
  "event-meta-editor.EventMetaEditor": "EZR35",
1547
1621
  "export-button.ExportButton": "MGP2B",
1622
+ "expression.Expression": "TXGA8",
1623
+ "expression.ExpressionGroup": "F78CE",
1624
+ "facet.Facet": "E9H18",
1625
+ "facet.FacetGroup": "G1RNN",
1548
1626
  "failure-list.FailureList": "ZAM3R",
1549
1627
  "faq-accordion.FaqAccordion": "QRBHV",
1550
1628
  "feature-flag-panel.FeatureFlagPanel": "JW164",
1551
1629
  "field-sidebar.FieldSidebar": "17D4Y",
1630
+ "field-token.FieldToken": "V3AJ4",
1552
1631
  "filter-bar.FilterBar": "BS5N0",
1553
1632
  "floating-action-bar.FloatingActionBar": "S390B",
1554
1633
  "form-dynamic.DynamicFieldForm": "8RYG7",
@@ -1585,15 +1664,19 @@ const SLUG_TO_ID = Object.freeze({
1585
1664
  "form.FormTagInput": "W05M1",
1586
1665
  "form.FormTextarea": "Q8G2A",
1587
1666
  "heading.Heading": "NF0BT",
1667
+ "highlight.Highlight": "448TR",
1588
1668
  "icon-picker.IconPicker": "0DRGP",
1589
1669
  "inline-edit-table.InlineEditTable": "5W3J1",
1670
+ "inline-edit.InlineEdit": "RQ0H2",
1590
1671
  "input.Input": "7BY1Q",
1591
1672
  "insights-panel.InsightsPanel": "HCYZV",
1592
1673
  "kanban-board.KanbanBoard": "T6JWY",
1593
1674
  "kbd.Kbd": "NPHB8",
1675
+ "key-pad-menu.KeyPadMenu": "ZZG2R",
1594
1676
  "key-value-editor.KeyValueEditor": "NCBWA",
1677
+ "live-region.LiveRegion": "0CFGR",
1595
1678
  "loading-overlay.LoadingOverlay": "380ZR",
1596
- "log-table.LogTable": "NJ4N9",
1679
+ "log-table.LogTable": "3ZR82",
1597
1680
  "logo.Logo": "R906A",
1598
1681
  "mega-menu.MegaMenu": "42177",
1599
1682
  "menu.MenuButtonArrow": "J1AQH",
@@ -1671,6 +1754,7 @@ const SLUG_TO_ID = Object.freeze({
1671
1754
  "task-list.TaskList": "0DK79",
1672
1755
  "team-member-list.TeamMemberList": "6FTC5",
1673
1756
  "template-picker.TemplatePicker": "PVFJP",
1757
+ "text-truncate.TextTruncate": "Y6BGX",
1674
1758
  "text.Text": "NFKP2",
1675
1759
  "textarea.Textarea": "6T58H",
1676
1760
  "theme-switcher.ThemeSwitcher": "8JX0N",
@@ -1728,6 +1812,8 @@ const ALL_SLUGS = Object.freeze([
1728
1812
  "checkbox.CheckboxGroup",
1729
1813
  "code-diff-viewer.CodeDiffViewer",
1730
1814
  "code-snippet-viewer.CodeSnippetViewer",
1815
+ "color-palette.ColorPaletteDisplay",
1816
+ "color-palette.ColorPalettePicker",
1731
1817
  "color-picker.ColorPicker",
1732
1818
  "column-toggler.ColumnToggler",
1733
1819
  "combobox.ComboboxEmpty",
@@ -1788,10 +1874,15 @@ const ALL_SLUGS = Object.freeze([
1788
1874
  "event-icon.EventIcon",
1789
1875
  "event-meta-editor.EventMetaEditor",
1790
1876
  "export-button.ExportButton",
1877
+ "expression.Expression",
1878
+ "expression.ExpressionGroup",
1879
+ "facet.Facet",
1880
+ "facet.FacetGroup",
1791
1881
  "failure-list.FailureList",
1792
1882
  "faq-accordion.FaqAccordion",
1793
1883
  "feature-flag-panel.FeatureFlagPanel",
1794
1884
  "field-sidebar.FieldSidebar",
1885
+ "field-token.FieldToken",
1795
1886
  "filter-bar.FilterBar",
1796
1887
  "floating-action-bar.FloatingActionBar",
1797
1888
  "form-dynamic.DynamicFieldForm",
@@ -1828,13 +1919,17 @@ const ALL_SLUGS = Object.freeze([
1828
1919
  "form.FormTagInput",
1829
1920
  "form.FormTextarea",
1830
1921
  "heading.Heading",
1922
+ "highlight.Highlight",
1831
1923
  "icon-picker.IconPicker",
1832
1924
  "inline-edit-table.InlineEditTable",
1925
+ "inline-edit.InlineEdit",
1833
1926
  "input.Input",
1834
1927
  "insights-panel.InsightsPanel",
1835
1928
  "kanban-board.KanbanBoard",
1836
1929
  "kbd.Kbd",
1930
+ "key-pad-menu.KeyPadMenu",
1837
1931
  "key-value-editor.KeyValueEditor",
1932
+ "live-region.LiveRegion",
1838
1933
  "loading-overlay.LoadingOverlay",
1839
1934
  "log-table.LogTable",
1840
1935
  "logo.Logo",
@@ -1914,6 +2009,7 @@ const ALL_SLUGS = Object.freeze([
1914
2009
  "task-list.TaskList",
1915
2010
  "team-member-list.TeamMemberList",
1916
2011
  "template-picker.TemplatePicker",
2012
+ "text-truncate.TextTruncate",
1917
2013
  "text.Text",
1918
2014
  "textarea.Textarea",
1919
2015
  "theme-switcher.ThemeSwitcher",
@@ -1 +1 @@
1
- {"version":3,"file":"id-registry.d.cts","names":[],"sources":["../src/__generated__/id-registry.ts"],"mappings":";;;KAKY;;UAGK;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;;;;;cAOW,aAAa,SAAS,eAAe;;;;;cAm5CrC,YAAY,SAAS;;cAoPrB"}
1
+ {"version":3,"file":"id-registry.d.cts","names":[],"sources":["../src/__generated__/id-registry.ts"],"mappings":";;;KAKY;;UAGK;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;;;;;cAOW,aAAa,SAAS,eAAe;;;;;cA29CrC,YAAY,SAAS;;cAgQrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"id-registry.d.ts","names":[],"sources":["../src/__generated__/id-registry.ts"],"mappings":";;;KAKY;;UAGK;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;;;;;cAOW,aAAa,SAAS,eAAe;;;;;cAm5CrC,YAAY,SAAS;;cAoPrB"}
1
+ {"version":3,"file":"id-registry.d.ts","names":[],"sources":["../src/__generated__/id-registry.ts"],"mappings":";;;KAKY;;UAGK;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;;;;;cAOW,aAAa,SAAS,eAAe;;;;;cA29CrC,YAAY,SAAS;;cAgQrB"}