@refraction-ui/react 0.12.2 → 0.13.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 (44) hide show
  1. package/dist/{applicationinsights-web-62HUCH3W.js → applicationinsights-web-H7OBLIVJ.js} +199 -68
  2. package/dist/applicationinsights-web-H7OBLIVJ.js.map +1 -0
  3. package/dist/index.cjs +900 -83
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +5 -0
  6. package/dist/index.d.ts +5 -0
  7. package/dist/index.js +692 -17
  8. package/dist/index.js.map +1 -1
  9. package/dist/internal/button/index.d.cts +12 -3
  10. package/dist/internal/button/index.d.ts +12 -3
  11. package/dist/internal/empty-state/index.d.cts +39 -0
  12. package/dist/internal/empty-state/index.d.ts +39 -0
  13. package/dist/internal/input/index.d.cts +19 -1
  14. package/dist/internal/input/index.d.ts +19 -1
  15. package/dist/internal/react-empty-state/index.d.cts +36 -0
  16. package/dist/internal/react-empty-state/index.d.ts +36 -0
  17. package/dist/internal/react-input/index.d.cts +16 -0
  18. package/dist/internal/react-input/index.d.ts +16 -0
  19. package/dist/internal/react-password-input/index.d.cts +26 -0
  20. package/dist/internal/react-password-input/index.d.ts +26 -0
  21. package/dist/internal/react-segmented-control/index.d.cts +38 -0
  22. package/dist/internal/react-segmented-control/index.d.ts +38 -0
  23. package/dist/internal/react-separator/index.d.cts +29 -0
  24. package/dist/internal/react-separator/index.d.ts +29 -0
  25. package/dist/internal/react-social-auth-button/index.d.cts +31 -0
  26. package/dist/internal/react-social-auth-button/index.d.ts +31 -0
  27. package/dist/internal/react-status-indicator/index.d.cts +5 -18
  28. package/dist/internal/react-status-indicator/index.d.ts +5 -18
  29. package/dist/internal/react-theme/index.d.cts +19 -1
  30. package/dist/internal/react-theme/index.d.ts +19 -1
  31. package/dist/internal/segmented-control/index.d.cts +56 -0
  32. package/dist/internal/segmented-control/index.d.ts +56 -0
  33. package/dist/internal/separator/index.d.cts +55 -0
  34. package/dist/internal/separator/index.d.ts +55 -0
  35. package/dist/internal/social-auth-button/index.d.cts +47 -0
  36. package/dist/internal/social-auth-button/index.d.ts +47 -0
  37. package/dist/internal/theme/index.d.cts +35 -1
  38. package/dist/internal/theme/index.d.ts +35 -1
  39. package/dist/theme.cjs +27 -4
  40. package/dist/theme.cjs.map +1 -1
  41. package/dist/theme.js +27 -4
  42. package/dist/theme.js.map +1 -1
  43. package/package.json +25 -20
  44. package/dist/applicationinsights-web-62HUCH3W.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -125,14 +125,14 @@ var init_faro_engine_47HGRAQH = __esm({
125
125
  }
126
126
  });
127
127
 
128
- // ../../node_modules/.pnpm/@nevware21+ts-utils@0.13.0/node_modules/@nevware21/ts-utils/dist/es5/mod/ts-utils.js
128
+ // ../../node_modules/.pnpm/@nevware21+ts-utils@0.14.0/node_modules/@nevware21/ts-utils/dist/es5/mod/ts-utils.js
129
129
  // @__NO_SIDE_EFFECTS__
130
130
  function _pureAssign(func1, func2) {
131
131
  return func1 || func2;
132
132
  }
133
133
  // @__NO_SIDE_EFFECTS__
134
134
  function _pureRef(value, name) {
135
- return value[name];
135
+ return value !== null && value !== void 0 ? value[name] : void 0;
136
136
  }
137
137
  function safe(func, argArray) {
138
138
  try {
@@ -256,11 +256,15 @@ function polyObjHasOwn(obj, prop) {
256
256
  _throwIfNullOrUndefined(obj);
257
257
  return /* @__PURE__ */ objHasOwnProperty(obj, prop) || !!_objGetOwnPropertyDescriptor$2(obj, prop);
258
258
  }
259
+ // @__NO_SIDE_EFFECTS__
260
+ function isUnsafePropKey(key) {
261
+ return key === __PROTO__ || key === CONSTRUCTOR || key === PROTOTYPE;
262
+ }
259
263
  function objForEachKey(theObject, callbackfn, thisArg) {
260
264
  if (theObject && (/* @__PURE__ */ isObject(theObject) || isFunction(theObject))) {
261
265
  for (var prop in theObject) {
262
266
  if (objHasOwn(theObject, prop)) {
263
- if (callbackfn[CALL](theObject, prop, theObject[prop]) === -1) {
267
+ if (callbackfn[CALL](/* @__PURE__ */ isStrictNullOrUndefined(thisArg) ? theObject : thisArg, prop, theObject[prop]) === -1) {
264
268
  break;
265
269
  }
266
270
  }
@@ -272,7 +276,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
272
276
  var len = theArray[LENGTH] >>> 0;
273
277
  for (var idx = 0; idx < len; idx++) {
274
278
  if (idx in theArray) {
275
- if (callbackfn[CALL](theArray, theArray[idx], idx, theArray) === -1) {
279
+ if (callbackfn[CALL](/* @__PURE__ */ isStrictNullOrUndefined(thisArg) ? theArray : thisArg, theArray[idx], idx, theArray) === -1) {
276
280
  break;
277
281
  }
278
282
  }
@@ -292,6 +296,18 @@ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
292
296
  };
293
297
  }
294
298
  // @__NO_SIDE_EFFECTS__
299
+ function _unwrapFunctionNoInstWithPoly(funcName, clsProto, polyFunc) {
300
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
301
+ return function(thisArg) {
302
+ var theFunc = clsFn;
303
+ if (theFunc || polyFunc) {
304
+ var theArgs = arguments;
305
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
306
+ }
307
+ throwTypeError('"' + asString(funcName) + '" not defined for ' + /* @__PURE__ */ dumpObj(thisArg));
308
+ };
309
+ }
310
+ // @__NO_SIDE_EFFECTS__
295
311
  function _unwrapProp(propName) {
296
312
  return function(thisArg) {
297
313
  return thisArg[propName];
@@ -303,11 +319,11 @@ function _objPropertyIsEnum(obj, propKey) {
303
319
  if (!/* @__PURE__ */ isStrictNullOrUndefined(obj) && fn2) {
304
320
  desc = safe(fn2, [obj, propKey]).v || NULL_VALUE;
305
321
  }
306
- if (!desc) {
322
+ if (!desc && !/* @__PURE__ */ isStrictNullOrUndefined(obj)) {
307
323
  desc = safe(function() {
308
324
  for (var key in obj) {
309
- if (key === propKey) {
310
- return { enumerable: true };
325
+ if (key == propKey) {
326
+ return { enumerable: /* @__PURE__ */ objHasOwnProperty(obj, key) };
311
327
  }
312
328
  }
313
329
  }).v;
@@ -344,7 +360,7 @@ function objDefineProps(target, propDescMap) {
344
360
  props[key] = /* @__PURE__ */ _createProp(value);
345
361
  });
346
362
  arrForEach(_objGetOwnPropertySymbols(propDescMap), function(sym) {
347
- if (objPropertyIsEnumerable(propDescMap, sym)) {
363
+ if (_objPropertyIsEnumerable(propDescMap, sym)) {
348
364
  props[sym] = /* @__PURE__ */ _createProp(propDescMap[sym]);
349
365
  }
350
366
  });
@@ -737,7 +753,7 @@ function iterForOf(iter, callbackfn, thisArg) {
737
753
  try {
738
754
  var count = 0;
739
755
  while (!(iterResult = iter.next()).done) {
740
- if (callbackfn[CALL](thisArg || iter, iterResult.value, count, iter) === -1) {
756
+ if (callbackfn[CALL](/* @__PURE__ */ isStrictNullOrUndefined(thisArg) ? iter : thisArg, iterResult.value, count, iter) === -1) {
741
757
  break;
742
758
  }
743
759
  count++;
@@ -783,6 +799,49 @@ function arrSlice(theArray, start, end) {
783
799
  function polyArrIncludes(theArray, searchElement, fromIndex) {
784
800
  return arrIndexOf(theArray, searchElement, fromIndex) !== -1;
785
801
  }
802
+ // @__NO_SIDE_EFFECTS__
803
+ function createIterator(ctx) {
804
+ var isDone = false;
805
+ function _value() {
806
+ return ctx.v;
807
+ }
808
+ function _next() {
809
+ if (!isDone) {
810
+ isDone = ctx.n ? ctx.n(arguments) : true;
811
+ }
812
+ var result = {
813
+ done: isDone
814
+ };
815
+ if (!isDone) {
816
+ objDefine(result, "value", { g: _value });
817
+ }
818
+ return result;
819
+ }
820
+ function _return(value) {
821
+ isDone = true;
822
+ return {
823
+ done: true,
824
+ value: ctx.r && ctx.r(value)
825
+ };
826
+ }
827
+ function _throw(e2) {
828
+ isDone = true;
829
+ return {
830
+ done: true,
831
+ value: ctx.t && ctx.t(e2)
832
+ };
833
+ }
834
+ var theIterator = {
835
+ next: _next
836
+ };
837
+ if (ctx.r) {
838
+ theIterator.return = _return;
839
+ }
840
+ if (ctx.t) {
841
+ theIterator.throw = _throw;
842
+ }
843
+ return theIterator;
844
+ }
786
845
  function _polyObjSetPrototypeOf(obj, proto) {
787
846
  var _a13;
788
847
  !_isProtoArray && (_isProtoArray = /* @__PURE__ */ createCachedValue((_a13 = {}, _a13[__PROTO__] = [], _a13) instanceof Array));
@@ -840,15 +899,16 @@ function throwUnsupported(message) {
840
899
  function _createTrimFn(exp) {
841
900
  return function _doTrim(value) {
842
901
  _throwIfNullOrUndefined(value);
843
- if (value && value.replace) {
844
- value = value.replace(exp, EMPTY);
902
+ value = asString(value);
903
+ if (value) {
904
+ value = strReplace(value, exp, EMPTY);
845
905
  }
846
906
  return value;
847
907
  };
848
908
  }
849
909
  // @__NO_SIDE_EFFECTS__
850
910
  function strLetterCase(value) {
851
- return asString(value).replace(/(_|\b)\w/g, strUpper);
911
+ return strReplace(asString(value), /(_|\b)\w/g, strUpper);
852
912
  }
853
913
  // @__NO_SIDE_EFFECTS__
854
914
  function safeGetDeferred(cb, defValue, argArray) {
@@ -857,6 +917,31 @@ function safeGetDeferred(cb, defValue, argArray) {
857
917
  return result.e ? defValue : result.v;
858
918
  });
859
919
  }
920
+ function forEachOwnKey(theObject, callbackfn, thisArg) {
921
+ if (theObject !== NULL_VALUE && theObject !== UNDEF_VALUE) {
922
+ for (var prop in theObject) {
923
+ if (objHasOwn(theObject, prop)) {
924
+ if (callbackfn[CALL](/* @__PURE__ */ isStrictNullOrUndefined(thisArg) ? theObject : thisArg, prop, theObject[prop]) === -1) {
925
+ return;
926
+ }
927
+ }
928
+ }
929
+ arrForEach(objGetOwnPropertySymbols(theObject), function(key) {
930
+ if (_objPropertyIsEnumerable(theObject, key)) {
931
+ if (callbackfn[CALL](/* @__PURE__ */ isStrictNullOrUndefined(thisArg) ? theObject : thisArg, key, theObject[key]) === -1) {
932
+ return -1;
933
+ }
934
+ }
935
+ });
936
+ }
937
+ }
938
+ function forEachOwnKeySafe(theObject, callbackfn, thisArg) {
939
+ forEachOwnKey(theObject, function(key, value) {
940
+ if (!/* @__PURE__ */ isUnsafePropKey(key)) {
941
+ return callbackfn[CALL](/* @__PURE__ */ isStrictNullOrUndefined(thisArg) ? theObject : thisArg, key, value);
942
+ }
943
+ }, thisArg);
944
+ }
860
945
  // @__NO_SIDE_EFFECTS__
861
946
  function isPlainObject(value) {
862
947
  if (!value || typeof value !== OBJECT) {
@@ -886,6 +971,62 @@ function isPlainObject(value) {
886
971
  return result;
887
972
  }
888
973
  // @__NO_SIDE_EFFECTS__
974
+ function _addTarget(targets, target) {
975
+ if (target) {
976
+ targets.push(target);
977
+ }
978
+ }
979
+ // @__NO_SIDE_EFFECTS__
980
+ function _addTargetProto(targets, ctor) {
981
+ if (ctor) {
982
+ /* @__PURE__ */ _addTarget(targets, ctor[PROTOTYPE]);
983
+ }
984
+ }
985
+ // @__NO_SIDE_EFFECTS__
986
+ function _getUnsafeTargets() {
987
+ var targets = [
988
+ ObjProto,
989
+ StrProto,
990
+ ArrProto,
991
+ NumberProto,
992
+ FuncProto,
993
+ DateProto,
994
+ RegExpProto,
995
+ BooleanProto,
996
+ ErrorProto
997
+ ];
998
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Map"]).v);
999
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Set"]).v);
1000
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["WeakMap"]).v);
1001
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["WeakSet"]).v);
1002
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Promise"]).v);
1003
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Symbol"]).v);
1004
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["ArrayBuffer"]).v);
1005
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["SharedArrayBuffer"]).v);
1006
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["DataView"]).v);
1007
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Int8Array"]).v);
1008
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Uint8Array"]).v);
1009
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Uint8ClampedArray"]).v);
1010
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Int16Array"]).v);
1011
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Uint16Array"]).v);
1012
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Int32Array"]).v);
1013
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Uint32Array"]).v);
1014
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Float32Array"]).v);
1015
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["Float64Array"]).v);
1016
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["BigInt64Array"]).v);
1017
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["BigUint64Array"]).v);
1018
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["WeakRef"]).v);
1019
+ /* @__PURE__ */ _addTargetProto(targets, safe(getInst, ["FinalizationRegistry"]).v);
1020
+ return targets;
1021
+ }
1022
+ // @__NO_SIDE_EFFECTS__
1023
+ function isUnsafeTarget(target) {
1024
+ if (!_unsafeTargets) {
1025
+ _unsafeTargets = /* @__PURE__ */ createCachedValue(/* @__PURE__ */ _getUnsafeTargets());
1026
+ }
1027
+ return arrIndexOf(_unsafeTargets.v, target) >= 0;
1028
+ }
1029
+ // @__NO_SIDE_EFFECTS__
889
1030
  function _defaultDeepCopyHandler(details) {
890
1031
  details.value && plainObjDeepCopyHandler(details);
891
1032
  return true;
@@ -962,10 +1103,10 @@ function _deepCopy(visitMap, value, ctx, key) {
962
1103
  return value;
963
1104
  }
964
1105
  function _copyProps(visitMap, target, source, ctx) {
965
- if (!/* @__PURE__ */ isNullOrUndefined(source)) {
966
- for (var key in source) {
967
- target[key] = _deepCopy(visitMap, source[key], ctx, key);
968
- }
1106
+ if (!/* @__PURE__ */ isUnsafeTarget(source)) {
1107
+ forEachOwnKeySafe(source, function(key, value) {
1108
+ target[key] = _deepCopy(visitMap, value, ctx, key);
1109
+ });
969
1110
  }
970
1111
  return target;
971
1112
  }
@@ -1034,13 +1175,31 @@ function setValueByKey(target, path, value) {
1034
1175
  if (target && path) {
1035
1176
  var parts = strSplit(path, ".");
1036
1177
  var lastKey = parts.pop();
1178
+ var isValidPath_1 = true;
1179
+ var addedTarget_1;
1180
+ var addedKey_1;
1037
1181
  arrForEach(parts, function(key) {
1182
+ if (/* @__PURE__ */ isUnsafeTarget(target) || /* @__PURE__ */ isUnsafePropKey(key)) {
1183
+ isValidPath_1 = false;
1184
+ return -1;
1185
+ }
1038
1186
  if (/* @__PURE__ */ isNullOrUndefined(target[key])) {
1039
1187
  target[key] = {};
1188
+ if (!addedTarget_1) {
1189
+ addedTarget_1 = target;
1190
+ addedKey_1 = key;
1191
+ }
1040
1192
  }
1041
1193
  target = target[key];
1042
1194
  });
1043
- target[lastKey] = value;
1195
+ if (isValidPath_1 && !/* @__PURE__ */ isStrictNullOrUndefined(lastKey) && !/* @__PURE__ */ isUnsafeTarget(target) && !/* @__PURE__ */ isUnsafePropKey(lastKey)) {
1196
+ target[lastKey] = value;
1197
+ } else if (addedTarget_1) {
1198
+ try {
1199
+ delete addedTarget_1[addedKey_1];
1200
+ } catch (e2) {
1201
+ }
1202
+ }
1044
1203
  }
1045
1204
  }
1046
1205
  // @__NO_SIDE_EFFECTS__
@@ -1060,49 +1219,6 @@ function perfNow() {
1060
1219
  return /* @__PURE__ */ utcNow();
1061
1220
  }
1062
1221
  // @__NO_SIDE_EFFECTS__
1063
- function createIterator(ctx) {
1064
- var isDone = false;
1065
- function _value() {
1066
- return ctx.v;
1067
- }
1068
- function _next() {
1069
- if (!isDone) {
1070
- isDone = ctx.n ? ctx.n(arguments) : true;
1071
- }
1072
- var result = {
1073
- done: isDone
1074
- };
1075
- if (!isDone) {
1076
- objDefine(result, "value", { g: _value });
1077
- }
1078
- return result;
1079
- }
1080
- function _return(value) {
1081
- isDone = true;
1082
- return {
1083
- done: true,
1084
- value: ctx.r && ctx.r(value)
1085
- };
1086
- }
1087
- function _throw(e2) {
1088
- isDone = true;
1089
- return {
1090
- done: true,
1091
- value: ctx.t && ctx.t(e2)
1092
- };
1093
- }
1094
- var theIterator = {
1095
- next: _next
1096
- };
1097
- if (ctx.r) {
1098
- theIterator.return = _return;
1099
- }
1100
- if (ctx.t) {
1101
- theIterator.throw = _throw;
1102
- }
1103
- return theIterator;
1104
- }
1105
- // @__NO_SIDE_EFFECTS__
1106
1222
  function polyStrEndsWith(value, searchString, length) {
1107
1223
  _throwIfNotString(value);
1108
1224
  var searchValue = isString(searchString) ? searchString : asString(searchString);
@@ -1220,9 +1336,9 @@ function scheduleTimeout(callback, timeout) {
1220
1336
  function createTimeout(callback, timeout) {
1221
1337
  return _createTimeoutWith(false, UNDEF_VALUE, ArrSlice[CALL](arguments));
1222
1338
  }
1223
- var UNDEF_VALUE, NULL_VALUE, EMPTY, FUNCTION, OBJECT, PROTOTYPE, __PROTO__, UNDEFINED, CONSTRUCTOR, SYMBOL, LENGTH, NAME, CALL, TO_STRING, GET_OWN_PROPERTY_DESCRIPTOR, GET_OWN_PROPERTY_SYMBOLS, ObjClass, ObjProto, StrCls, StrProto, MathCls, ArrCls, ArrProto, ArrSlice, POLYFILL_TAG, POLYFILL_TYPE_NAME, _primitiveTypes, isString, isFunction, isArray, isDate, isNumber, isBoolean, isError, asString, ERROR_TYPE, _objGetOwnPropertyDescriptor$2, objHasOwn, _unwrapFunction, objPropertyIsEnumerable, _objGetOwnPropertyDescriptor$1, _objGetOwnPropertySymbols, propMap, objDefineProp, objDefineProperties, objIsFrozen, _objFreeze, objAssign, objKeys, objFreeze, objGetPrototypeOf, objIs, _wellKnownSymbolMap, GLOBAL_CONFIG_KEY, _globalCfg, mathMin, mathMax, strSlice, strSubstring, strSubstr, objCreate, _globalLazyTestHooks, mathRandom, _uniqueInstanceId, UNIQUE_REGISTRY_ID, POLY_SYM, _polySymbols, _polyId, _wellKnownSymbolCache, WINDOW, _cachedGlobal, getDocument, getWindow, getNavigator, getHistory, isNode, isWebWorker, _symbol, _symbolFor, _iterSymbol$1, arrIndexOf, arrMap, arrIncludes, arrReduce, _isProtoArray, objSetPrototypeOf, _unsupportedError, polyStrTrim, strTrim, strUpper, strLower, mathFloor, _fnToString, _objCtrFnString, _gblWindow, defaultDeepCopyHandlers, strSplit, getLength, _perf, mathAbs, mathRound, objGetOwnPropertyDescriptor, strEndsWith, strIndexOf, strStartsWith, REF, UNREF, HAS_REF, ENABLED, _setTimeoutFn, _clearTimeoutFn;
1339
+ var UNDEF_VALUE, NULL_VALUE, EMPTY, FUNCTION, OBJECT, PROTOTYPE, __PROTO__, UNDEFINED, CONSTRUCTOR, SYMBOL, LENGTH, NAME, CALL, TO_STRING, GET_OWN_PROPERTY_DESCRIPTOR, GET_OWN_PROPERTY_SYMBOLS, ObjClass, ObjProto, StrCls, StrProto, MathCls, ArrCls, ArrProto, ArrSlice, NumberCls, NumberProto, FuncCls, FuncProto, DateCls, DateProto, RegExpCls, RegExpProto, BooleanCls, BooleanProto, ErrorCls, ErrorProto, POLYFILL_TAG, POLYFILL_TYPE_NAME, _primitiveTypes, isString, isFunction, isArray, isDate, isNumber, isBoolean, isError, asString, ERROR_TYPE, _objGetOwnPropertyDescriptor$2, objHasOwn, _unwrapFunction, _objPropertyIsEnumerable, _objGetOwnPropertyDescriptor$1, _objGetOwnPropertySymbols, propMap, objDefineProp, objDefineProperties, objIsFrozen, _objFreeze, objAssign, objKeys, objFreeze, objGetPrototypeOf, objIs, _wellKnownSymbolMap, GLOBAL_CONFIG_KEY, _globalCfg, mathMin, mathMax, strSlice, strSubstring, strSubstr, objCreate, _globalLazyTestHooks, mathRandom, _uniqueInstanceId, UNIQUE_REGISTRY_ID, POLY_SYM, _polySymbols, _polyId, _wellKnownSymbolCache, WINDOW, _cachedGlobal, getDocument, getWindow, getNavigator, getHistory, isNode, isWebWorker, _symbol, _symbolFor, _iterSymbol$1, arrIndexOf, arrMap, arrIncludes, getLength, mathFloor, arrReduce, _isProtoArray, objSetPrototypeOf, _unsupportedError, strReplace, polyStrTrim, strTrim, strUpper, strLower, objGetOwnPropertyDescriptor, objGetOwnPropertySymbols, _fnToString, _objCtrFnString, _gblWindow, _unsafeTargets, defaultDeepCopyHandlers, strSplit, _perf, mathAbs, mathRound, strIndexOf, strEndsWith, strStartsWith, REF, UNREF, HAS_REF, ENABLED, _setTimeoutFn, _clearTimeoutFn;
1224
1340
  var init_ts_utils = __esm({
1225
- "../../node_modules/.pnpm/@nevware21+ts-utils@0.13.0/node_modules/@nevware21/ts-utils/dist/es5/mod/ts-utils.js"() {
1341
+ "../../node_modules/.pnpm/@nevware21+ts-utils@0.14.0/node_modules/@nevware21/ts-utils/dist/es5/mod/ts-utils.js"() {
1226
1342
  UNDEF_VALUE = void 0;
1227
1343
  NULL_VALUE = null;
1228
1344
  EMPTY = "";
@@ -1247,6 +1363,18 @@ var init_ts_utils = __esm({
1247
1363
  ArrCls = /* @__PURE__ */ _pureAssign(Array);
1248
1364
  ArrProto = /* @__PURE__ */ _pureRef(ArrCls, PROTOTYPE);
1249
1365
  ArrSlice = /* @__PURE__ */ _pureRef(ArrProto, "slice");
1366
+ NumberCls = /* @__PURE__ */ _pureAssign(Number);
1367
+ NumberProto = /* @__PURE__ */ _pureRef(NumberCls, PROTOTYPE);
1368
+ FuncCls = /* @__PURE__ */ _pureAssign(Function);
1369
+ FuncProto = /* @__PURE__ */ _pureRef(FuncCls, PROTOTYPE);
1370
+ DateCls = /* @__PURE__ */ _pureAssign(Date);
1371
+ DateProto = /* @__PURE__ */ _pureRef(DateCls, PROTOTYPE);
1372
+ RegExpCls = /* @__PURE__ */ _pureAssign(RegExp);
1373
+ RegExpProto = /* @__PURE__ */ _pureRef(RegExpCls, PROTOTYPE);
1374
+ BooleanCls = /* @__PURE__ */ _pureAssign(Boolean);
1375
+ BooleanProto = /* @__PURE__ */ _pureRef(BooleanCls, PROTOTYPE);
1376
+ ErrorCls = /* @__PURE__ */ _pureAssign(Error);
1377
+ ErrorProto = /* @__PURE__ */ _pureRef(ErrorCls, PROTOTYPE);
1250
1378
  POLYFILL_TAG = "_polyfill";
1251
1379
  POLYFILL_TYPE_NAME = "__nw21$polytype__";
1252
1380
  isString = /* @__PURE__ */ _createIs("string");
@@ -1261,7 +1389,7 @@ var init_ts_utils = __esm({
1261
1389
  _objGetOwnPropertyDescriptor$2 = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR), _returnNothing);
1262
1390
  objHasOwn = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, "hasOwn"), polyObjHasOwn);
1263
1391
  _unwrapFunction = _unwrapFunctionWithPoly;
1264
- objPropertyIsEnumerable = /* @__PURE__ */ _unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum);
1392
+ _objPropertyIsEnumerable = /* @__PURE__ */ _unwrapFunctionNoInstWithPoly("propertyIsEnumerable", ObjProto, _objPropertyIsEnum);
1265
1393
  _objGetOwnPropertyDescriptor$1 = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR), _returnNothing);
1266
1394
  _objGetOwnPropertySymbols = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, GET_OWN_PROPERTY_SYMBOLS), _returnEmptyArray);
1267
1395
  propMap = {
@@ -1333,13 +1461,17 @@ var init_ts_utils = __esm({
1333
1461
  arrIndexOf = /* @__PURE__ */ _unwrapFunction("indexOf", ArrProto);
1334
1462
  arrMap = /* @__PURE__ */ _unwrapFunction("map", ArrProto);
1335
1463
  arrIncludes = /* @__PURE__ */ _unwrapFunctionWithPoly("includes", ArrProto, polyArrIncludes);
1464
+ getLength = /* @__PURE__ */ _unwrapProp(LENGTH);
1465
+ mathFloor = /* @__PURE__ */ _pureRef(MathCls, "floor");
1336
1466
  arrReduce = /* @__PURE__ */ _unwrapFunction("reduce", ArrProto);
1337
1467
  objSetPrototypeOf = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, "setPrototypeOf"), _polyObjSetPrototypeOf);
1468
+ strReplace = /* @__PURE__ */ _unwrapFunction("replace", StrProto);
1338
1469
  polyStrTrim = /* @__PURE__ */ _createTrimFn(/^\s+|(?=\s)\s+$/g);
1339
1470
  strTrim = /* @__PURE__ */ _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim);
1340
1471
  strUpper = /* @__PURE__ */ _unwrapFunction("toUpperCase", StrProto);
1341
1472
  strLower = /* @__PURE__ */ _unwrapFunction("toLowerCase", StrProto);
1342
- mathFloor = /* @__PURE__ */ _pureRef(MathCls, "floor");
1473
+ objGetOwnPropertyDescriptor = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR), _returnNothing);
1474
+ objGetOwnPropertySymbols = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, GET_OWN_PROPERTY_SYMBOLS), _returnEmptyArray);
1343
1475
  defaultDeepCopyHandlers = [
1344
1476
  arrayDeepCopyHandler,
1345
1477
  plainObjDeepCopyHandler,
@@ -1347,12 +1479,10 @@ var init_ts_utils = __esm({
1347
1479
  dateDeepCopyHandler
1348
1480
  ];
1349
1481
  strSplit = /* @__PURE__ */ _unwrapFunction("split", StrProto);
1350
- getLength = /* @__PURE__ */ _unwrapProp(LENGTH);
1351
1482
  mathAbs = /* @__PURE__ */ _pureRef(MathCls, "abs");
1352
1483
  mathRound = /* @__PURE__ */ _pureRef(MathCls, "round");
1353
- objGetOwnPropertyDescriptor = /* @__PURE__ */ _pureAssign(/* @__PURE__ */ _pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR), _returnNothing);
1354
- strEndsWith = /* @__PURE__ */ _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith);
1355
1484
  strIndexOf = /* @__PURE__ */ _unwrapFunction("indexOf", StrProto);
1485
+ strEndsWith = /* @__PURE__ */ _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith);
1356
1486
  strStartsWith = /* @__PURE__ */ _unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith);
1357
1487
  REF = "ref";
1358
1488
  UNREF = "unref";
@@ -30591,6 +30721,13 @@ var Breadcrumbs = React11__namespace.forwardRef(
30591
30721
  Breadcrumbs.displayName = "Breadcrumbs";
30592
30722
 
30593
30723
  // ../button/dist/index.js
30724
+ var BUTTON_VARIANT_ALIASES = {
30725
+ primary: "default"
30726
+ };
30727
+ function resolveButtonVariant(variant) {
30728
+ if (!variant) return variant;
30729
+ return BUTTON_VARIANT_ALIASES[variant] ?? variant;
30730
+ }
30594
30731
  function createButton(props = {}) {
30595
30732
  const { disabled = false, loading = false } = props;
30596
30733
  const isInteractive = !disabled && !loading;
@@ -30639,6 +30776,10 @@ var buttonVariants = cva({
30639
30776
  variants: {
30640
30777
  variant: {
30641
30778
  default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
30779
+ // Alias for `default` — see resolveButtonVariant + issue #201. Same classes
30780
+ // so styling stays identical even if a consumer reaches into `buttonVariants`
30781
+ // directly without going through resolveButtonVariant.
30782
+ primary: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
30642
30783
  destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
30643
30784
  outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
30644
30785
  secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
@@ -30948,8 +31089,9 @@ function ShortcutBadge({ keys, platform = true, className }) {
30948
31089
  ShortcutBadge.displayName = "ShortcutBadge";
30949
31090
  var Button = React11__namespace.forwardRef(
30950
31091
  ({ variant, size, loading, asChild, className, disabled, children, shortcut, action, ...props }, ref) => {
31092
+ const resolvedVariant = resolveButtonVariant(variant);
30951
31093
  const api = createButton({ disabled, loading, type: props.type });
30952
- const classes = cn(buttonVariants({ variant, size }), className);
31094
+ const classes = cn(buttonVariants({ variant: resolvedVariant, size }), className);
30953
31095
  const internalRef = React11__namespace.useRef(null);
30954
31096
  const mergedRef = React11__namespace.useCallback(
30955
31097
  (node) => {
@@ -35963,19 +36105,33 @@ function InlineEditor({
35963
36105
  InlineEditor.displayName = "InlineEditor";
35964
36106
 
35965
36107
  // ../input/dist/index.js
36108
+ function resolveAriaInvalid(ariaInvalid, validationState) {
36109
+ if (ariaInvalid !== void 0) {
36110
+ return ariaInvalid;
36111
+ }
36112
+ if (validationState === "invalid") {
36113
+ return true;
36114
+ }
36115
+ if (validationState === "valid") {
36116
+ return false;
36117
+ }
36118
+ return void 0;
36119
+ }
35966
36120
  function createInput(props = {}) {
35967
36121
  const {
35968
36122
  disabled = false,
35969
36123
  readOnly = false,
35970
36124
  required = false,
35971
- "aria-invalid": ariaInvalid
36125
+ "aria-invalid": ariaInvalid,
36126
+ validationState
35972
36127
  } = props;
36128
+ const resolvedInvalid = resolveAriaInvalid(ariaInvalid, validationState);
35973
36129
  const ariaProps = {};
35974
36130
  if (disabled) {
35975
36131
  ariaProps["aria-disabled"] = true;
35976
36132
  }
35977
- if (ariaInvalid) {
35978
- ariaProps["aria-invalid"] = true;
36133
+ if (resolvedInvalid !== void 0) {
36134
+ ariaProps["aria-invalid"] = resolvedInvalid;
35979
36135
  }
35980
36136
  if (required) {
35981
36137
  ariaProps["aria-required"] = true;
@@ -35987,7 +36143,7 @@ function createInput(props = {}) {
35987
36143
  if (readOnly) {
35988
36144
  dataAttributes["data-readonly"] = "";
35989
36145
  }
35990
- if (ariaInvalid) {
36146
+ if (resolvedInvalid === true) {
35991
36147
  dataAttributes["data-invalid"] = "";
35992
36148
  }
35993
36149
  return {
@@ -36002,22 +36158,58 @@ var inputVariants = cva({
36002
36158
  sm: "h-8 text-xs",
36003
36159
  default: "h-9",
36004
36160
  lg: "h-10 text-base"
36161
+ },
36162
+ validationState: {
36163
+ valid: "border-green-500 focus-visible:ring-green-500",
36164
+ invalid: "border-destructive focus-visible:ring-destructive"
36005
36165
  }
36006
36166
  },
36007
36167
  defaultVariants: {
36008
36168
  size: "default"
36009
36169
  }
36010
36170
  });
36171
+ var CheckIcon = /* @__PURE__ */ jsxRuntime.jsx(
36172
+ "svg",
36173
+ {
36174
+ "aria-hidden": "true",
36175
+ viewBox: "0 0 24 24",
36176
+ fill: "none",
36177
+ stroke: "currentColor",
36178
+ strokeWidth: "2",
36179
+ strokeLinecap: "round",
36180
+ strokeLinejoin: "round",
36181
+ className: "pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-green-500",
36182
+ children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" })
36183
+ }
36184
+ );
36011
36185
  var Input = React11__namespace.forwardRef(
36012
- ({ type = "text", size, className, disabled, readOnly, required, "aria-invalid": ariaInvalid, ...props }, ref) => {
36186
+ ({
36187
+ type = "text",
36188
+ size,
36189
+ className,
36190
+ disabled,
36191
+ readOnly,
36192
+ required,
36193
+ validationState,
36194
+ leadingIcon,
36195
+ "aria-invalid": ariaInvalid,
36196
+ ...props
36197
+ }, ref) => {
36013
36198
  const api = createInput({
36014
36199
  disabled,
36015
36200
  readOnly,
36016
36201
  required,
36017
- "aria-invalid": ariaInvalid === true ? true : void 0
36202
+ "aria-invalid": ariaInvalid === void 0 ? void 0 : ariaInvalid === true || ariaInvalid === "true",
36203
+ validationState
36018
36204
  });
36019
- const classes = cn(inputVariants({ size }), className);
36020
- return /* @__PURE__ */ jsxRuntime.jsx(
36205
+ const hasWrapper = leadingIcon != null || validationState != null;
36206
+ const classes = cn(
36207
+ inputVariants({ size, validationState }),
36208
+ leadingIcon != null && "pl-9",
36209
+ validationState === "valid" && "pr-9",
36210
+ className
36211
+ );
36212
+ const inputEl = /* @__PURE__ */ jsxRuntime.jsx(
36021
36213
  "input",
36022
36214
  {
36023
36215
  ref,
@@ -36031,6 +36223,21 @@ var Input = React11__namespace.forwardRef(
36031
36223
  ...props
36032
36224
  }
36033
36225
  );
36226
+ if (!hasWrapper) {
36227
+ return inputEl;
36228
+ }
36229
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
36230
+ leadingIcon != null && /* @__PURE__ */ jsxRuntime.jsx(
36231
+ "span",
36232
+ {
36233
+ "aria-hidden": "true",
36234
+ className: "pointer-events-none absolute left-3 top-1/2 flex size-4 -translate-y-1/2 items-center justify-center text-muted-foreground",
36235
+ children: leadingIcon
36236
+ }
36237
+ ),
36238
+ inputEl,
36239
+ validationState === "valid" && CheckIcon
36240
+ ] });
36034
36241
  }
36035
36242
  );
36036
36243
  Input.displayName = "Input";
@@ -43943,22 +44150,36 @@ var statusPulseVariants = cva({
43943
44150
  }
43944
44151
  });
43945
44152
  var statusLabelStyles = "text-sm text-muted-foreground";
43946
-
43947
- // ../react-status-indicator/dist/index.js
44153
+ function deriveAriaLabel(label, children, fallback) {
44154
+ if (label) return label;
44155
+ if (typeof children === "string" || typeof children === "number") {
44156
+ return String(children);
44157
+ }
44158
+ return fallback;
44159
+ }
43948
44160
  function StatusIndicator({
43949
44161
  type,
43950
44162
  label,
44163
+ children,
43951
44164
  pulse,
43952
44165
  showLabel = true,
43953
44166
  className
43954
44167
  }) {
43955
44168
  const api = createStatusIndicator({ type, label, pulse });
44169
+ const ariaLabel = deriveAriaLabel(label, children, api.label);
44170
+ const visibleLabel = label ?? children ?? api.label;
43956
44171
  const dotClassName = api.pulse ? statusPulseVariants({ type }) : statusDotVariants({ type });
43957
- return React11__namespace.createElement(
44172
+ return /* @__PURE__ */ jsxRuntime.jsxs(
43958
44173
  "span",
43959
- { ...api.ariaProps, className: cn(statusContainerStyles, className) },
43960
- React11__namespace.createElement("span", { className: dotClassName }),
43961
- showLabel && React11__namespace.createElement("span", { className: statusLabelStyles }, api.label)
44174
+ {
44175
+ ...api.ariaProps,
44176
+ "aria-label": ariaLabel,
44177
+ className: cn(statusContainerStyles, className),
44178
+ children: [
44179
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: dotClassName }),
44180
+ showLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: statusLabelStyles, children: visibleLabel })
44181
+ ]
44182
+ }
43962
44183
  );
43963
44184
  }
43964
44185
  StatusIndicator.displayName = "StatusIndicator";
@@ -46925,10 +47146,594 @@ function useTrackEvent(options) {
46925
47146
  [analytics]
46926
47147
  );
46927
47148
  }
47149
+
47150
+ // ../segmented-control/dist/index.js
47151
+ function createSegmentedControl(props = {}) {
47152
+ const { value, size = "md" } = props;
47153
+ const ariaProps = {
47154
+ role: "radiogroup"
47155
+ };
47156
+ const dataAttributes = {
47157
+ "data-size": size
47158
+ };
47159
+ if (value !== void 0) {
47160
+ dataAttributes["data-value"] = value;
47161
+ }
47162
+ return { ariaProps, dataAttributes };
47163
+ }
47164
+ function getNextSegmentIndex(current, key, count) {
47165
+ if (count <= 0) return current;
47166
+ switch (key) {
47167
+ case "ArrowRight":
47168
+ case "ArrowDown":
47169
+ return (current + 1) % count;
47170
+ case "ArrowLeft":
47171
+ case "ArrowUp":
47172
+ return (current - 1 + count) % count;
47173
+ case "Home":
47174
+ return 0;
47175
+ case "End":
47176
+ return count - 1;
47177
+ default:
47178
+ return current;
47179
+ }
47180
+ }
47181
+ var segmentedControlVariants = cva({
47182
+ base: "inline-flex items-center gap-1 rounded-lg bg-muted p-1",
47183
+ variants: {
47184
+ size: {
47185
+ sm: "",
47186
+ md: ""
47187
+ }
47188
+ },
47189
+ defaultVariants: {
47190
+ size: "md"
47191
+ }
47192
+ });
47193
+ var segmentedControlItemVariants = cva({
47194
+ base: [
47195
+ "inline-flex items-center justify-center gap-1.5 rounded-md font-medium",
47196
+ "whitespace-nowrap transition-colors",
47197
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
47198
+ "focus-visible:ring-offset-2 focus-visible:ring-offset-muted"
47199
+ ].join(" "),
47200
+ variants: {
47201
+ size: {
47202
+ sm: "px-2.5 py-1 text-xs",
47203
+ md: "px-3 py-1.5 text-sm"
47204
+ },
47205
+ state: {
47206
+ checked: "bg-background text-foreground shadow-sm",
47207
+ unchecked: "text-muted-foreground hover:text-foreground"
47208
+ }
47209
+ },
47210
+ defaultVariants: {
47211
+ size: "md",
47212
+ state: "unchecked"
47213
+ }
47214
+ });
47215
+ var SegmentedControlContext = React11__namespace.createContext(null);
47216
+ function useSegmentedControlContext(component) {
47217
+ const ctx = React11__namespace.useContext(SegmentedControlContext);
47218
+ if (!ctx) {
47219
+ throw new Error(`<${component}> must be used within <SegmentedControl>`);
47220
+ }
47221
+ return ctx;
47222
+ }
47223
+ var SegmentedControl = React11__namespace.forwardRef(
47224
+ ({
47225
+ value: valueProp,
47226
+ defaultValue,
47227
+ onValueChange,
47228
+ size = "md",
47229
+ className,
47230
+ children,
47231
+ ...props
47232
+ }, ref) => {
47233
+ const isControlled = valueProp !== void 0;
47234
+ const [internalValue, setInternalValue] = React11__namespace.useState(defaultValue);
47235
+ const value = isControlled ? valueProp : internalValue;
47236
+ const itemsRef = React11__namespace.useRef([]);
47237
+ const select = React11__namespace.useCallback(
47238
+ (next) => {
47239
+ if (!isControlled) setInternalValue(next);
47240
+ onValueChange?.(next);
47241
+ },
47242
+ [isControlled, onValueChange]
47243
+ );
47244
+ const register = React11__namespace.useCallback((itemValue, focus) => {
47245
+ const entry = { value: itemValue, focus };
47246
+ itemsRef.current.push(entry);
47247
+ return () => {
47248
+ itemsRef.current = itemsRef.current.filter((e2) => e2 !== entry);
47249
+ };
47250
+ }, []);
47251
+ const move = React11__namespace.useCallback(
47252
+ (from, key) => {
47253
+ const items = itemsRef.current;
47254
+ const currentIndex = items.findIndex((e2) => e2.value === from);
47255
+ if (currentIndex === -1) return;
47256
+ const targetIndex = getNextSegmentIndex(currentIndex, key, items.length);
47257
+ if (targetIndex === currentIndex) return;
47258
+ const target = items[targetIndex];
47259
+ select(target.value);
47260
+ target.focus();
47261
+ },
47262
+ [select]
47263
+ );
47264
+ const ctx = React11__namespace.useMemo(
47265
+ () => ({ value, size, select, register, move }),
47266
+ [value, size, select, register, move]
47267
+ );
47268
+ const api = createSegmentedControl({ value, size });
47269
+ return /* @__PURE__ */ jsxRuntime.jsx(SegmentedControlContext.Provider, { value: ctx, children: /* @__PURE__ */ jsxRuntime.jsx(
47270
+ "div",
47271
+ {
47272
+ ref,
47273
+ className: cn(segmentedControlVariants({ size }), className),
47274
+ ...api.ariaProps,
47275
+ ...api.dataAttributes,
47276
+ ...props,
47277
+ children
47278
+ }
47279
+ ) });
47280
+ }
47281
+ );
47282
+ SegmentedControl.displayName = "SegmentedControl";
47283
+ var SegmentedControlItem = React11__namespace.forwardRef(({ value, className, children, onKeyDown, onClick, ...props }, ref) => {
47284
+ const ctx = useSegmentedControlContext("SegmentedControlItem");
47285
+ const selected = ctx.value === value;
47286
+ const internalRef = React11__namespace.useRef(null);
47287
+ const mergedRef = React11__namespace.useCallback(
47288
+ (node) => {
47289
+ internalRef.current = node;
47290
+ if (typeof ref === "function") ref(node);
47291
+ else if (ref) ref.current = node;
47292
+ },
47293
+ [ref]
47294
+ );
47295
+ React11__namespace.useEffect(() => {
47296
+ return ctx.register(value, () => internalRef.current?.focus());
47297
+ }, [ctx, value]);
47298
+ const handleKeyDown = (event) => {
47299
+ onKeyDown?.(event);
47300
+ if (event.defaultPrevented) return;
47301
+ switch (event.key) {
47302
+ case "ArrowRight":
47303
+ case "ArrowDown":
47304
+ case "ArrowLeft":
47305
+ case "ArrowUp":
47306
+ case "Home":
47307
+ case "End":
47308
+ event.preventDefault();
47309
+ ctx.move(value, event.key);
47310
+ break;
47311
+ case " ":
47312
+ case "Enter":
47313
+ event.preventDefault();
47314
+ ctx.select(value);
47315
+ break;
47316
+ }
47317
+ };
47318
+ const handleClick = (event) => {
47319
+ onClick?.(event);
47320
+ if (event.defaultPrevented) return;
47321
+ ctx.select(value);
47322
+ };
47323
+ return /* @__PURE__ */ jsxRuntime.jsx(
47324
+ "button",
47325
+ {
47326
+ ref: mergedRef,
47327
+ type: "button",
47328
+ role: "radio",
47329
+ "aria-checked": selected,
47330
+ tabIndex: selected ? 0 : -1,
47331
+ "data-state": selected ? "checked" : "unchecked",
47332
+ className: cn(
47333
+ segmentedControlItemVariants({
47334
+ size: ctx.size,
47335
+ state: selected ? "checked" : "unchecked"
47336
+ }),
47337
+ className
47338
+ ),
47339
+ onKeyDown: handleKeyDown,
47340
+ onClick: handleClick,
47341
+ ...props,
47342
+ children
47343
+ }
47344
+ );
47345
+ });
47346
+ SegmentedControlItem.displayName = "SegmentedControlItem";
47347
+
47348
+ // ../password-input/dist/index.js
47349
+ var DEFAULT_REVEAL_LABEL = "Show password";
47350
+ var DEFAULT_HIDE_LABEL = "Hide password";
47351
+ function createPasswordInput(props = {}) {
47352
+ const {
47353
+ revealed = false,
47354
+ revealLabel = DEFAULT_REVEAL_LABEL,
47355
+ hideLabel = DEFAULT_HIDE_LABEL
47356
+ } = props;
47357
+ return {
47358
+ inputType: revealed ? "text" : "password",
47359
+ toggleLabel: revealed ? hideLabel : revealLabel,
47360
+ togglePressed: revealed
47361
+ };
47362
+ }
47363
+ var passwordToggleVariants = cva({
47364
+ base: "absolute right-2 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-md text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
47365
+ });
47366
+ var EyeIcon = /* @__PURE__ */ jsxRuntime.jsxs(
47367
+ "svg",
47368
+ {
47369
+ "aria-hidden": "true",
47370
+ viewBox: "0 0 24 24",
47371
+ fill: "none",
47372
+ stroke: "currentColor",
47373
+ strokeWidth: "2",
47374
+ strokeLinecap: "round",
47375
+ strokeLinejoin: "round",
47376
+ className: "size-4",
47377
+ children: [
47378
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
47379
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "3" })
47380
+ ]
47381
+ }
47382
+ );
47383
+ var EyeOffIcon = /* @__PURE__ */ jsxRuntime.jsxs(
47384
+ "svg",
47385
+ {
47386
+ "aria-hidden": "true",
47387
+ viewBox: "0 0 24 24",
47388
+ fill: "none",
47389
+ stroke: "currentColor",
47390
+ strokeWidth: "2",
47391
+ strokeLinecap: "round",
47392
+ strokeLinejoin: "round",
47393
+ className: "size-4",
47394
+ children: [
47395
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
47396
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
47397
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
47398
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
47399
+ ]
47400
+ }
47401
+ );
47402
+ var PasswordInput = React11__namespace.forwardRef(
47403
+ ({ revealLabel = "Show password", hideLabel = "Hide password", className, ...props }, ref) => {
47404
+ const [revealed, setRevealed] = React11__namespace.useState(false);
47405
+ const { inputType, toggleLabel, togglePressed } = createPasswordInput({
47406
+ revealed,
47407
+ revealLabel,
47408
+ hideLabel
47409
+ });
47410
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
47411
+ /* @__PURE__ */ jsxRuntime.jsx(
47412
+ Input,
47413
+ {
47414
+ ref,
47415
+ type: inputType,
47416
+ className: cn("pr-10", className),
47417
+ ...props
47418
+ }
47419
+ ),
47420
+ /* @__PURE__ */ jsxRuntime.jsx(
47421
+ "button",
47422
+ {
47423
+ type: "button",
47424
+ "aria-label": toggleLabel,
47425
+ "aria-pressed": togglePressed,
47426
+ onClick: () => setRevealed((v2) => !v2),
47427
+ className: passwordToggleVariants(),
47428
+ children: revealed ? EyeOffIcon : EyeIcon
47429
+ }
47430
+ )
47431
+ ] });
47432
+ }
47433
+ );
47434
+ PasswordInput.displayName = "PasswordInput";
47435
+
47436
+ // ../social-auth-button/dist/index.js
47437
+ var PROVIDER_LABELS = {
47438
+ google: "Continue with Google",
47439
+ github: "Continue with GitHub",
47440
+ microsoft: "Continue with Microsoft",
47441
+ apple: "Continue with Apple"
47442
+ };
47443
+ var PROVIDER_MONO = {
47444
+ google: false,
47445
+ github: true,
47446
+ microsoft: false,
47447
+ apple: true
47448
+ };
47449
+ function createSocialAuthButton(props) {
47450
+ const { provider } = props;
47451
+ return {
47452
+ dataAttributes: { "data-provider": provider },
47453
+ label: PROVIDER_LABELS[provider],
47454
+ mono: PROVIDER_MONO[provider]
47455
+ };
47456
+ }
47457
+ var socialAuthButtonVariants = cva({
47458
+ base: "relative"
47459
+ });
47460
+ var socialAuthRowVariants = cva({
47461
+ base: "grid grid-cols-1 sm:grid-cols-2 gap-3"
47462
+ });
47463
+ var lastUsedBadgeVariants = cva({
47464
+ base: "absolute -top-2 -right-2 rounded-full bg-primary text-primary-foreground text-[10px] px-1.5"
47465
+ });
47466
+ var baseProps = {
47467
+ width: 18,
47468
+ height: 18,
47469
+ viewBox: "0 0 24 24",
47470
+ xmlns: "http://www.w3.org/2000/svg",
47471
+ "aria-hidden": true
47472
+ };
47473
+ function GoogleIcon({ mono, ...props }) {
47474
+ if (mono) {
47475
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { ...baseProps, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
47476
+ "path",
47477
+ {
47478
+ fill: "currentColor",
47479
+ d: "M21.35 11.1H12v2.92h5.35c-.23 1.4-1.65 4.1-5.35 4.1a5.99 5.99 0 0 1 0-11.98c1.71 0 2.86.73 3.52 1.36l2.4-2.31C16.46 3.7 14.43 2.8 12 2.8a9.2 9.2 0 1 0 0 18.4c5.31 0 8.82-3.73 8.82-8.99 0-.6-.07-1.06-.17-1.51Z"
47480
+ }
47481
+ ) });
47482
+ }
47483
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { ...baseProps, ...props, children: [
47484
+ /* @__PURE__ */ jsxRuntime.jsx(
47485
+ "path",
47486
+ {
47487
+ fill: "#4285F4",
47488
+ d: "M21.35 11.1H12v2.92h5.35c-.23 1.4-1.65 4.1-5.35 4.1a5.99 5.99 0 0 1 0-11.98c1.71 0 2.86.73 3.52 1.36l2.4-2.31C16.46 3.7 14.43 2.8 12 2.8a9.2 9.2 0 0 0 0 18.4c5.31 0 8.82-3.73 8.82-8.99 0-.6-.07-1.06-.17-1.51Z"
47489
+ }
47490
+ ),
47491
+ /* @__PURE__ */ jsxRuntime.jsx(
47492
+ "path",
47493
+ {
47494
+ fill: "#34A853",
47495
+ d: "M3.88 7.55l2.41 1.77C6.93 7.76 8.32 6.74 10 6.4l-.34-2.85C7.06 4.02 4.93 5.5 3.88 7.55Z",
47496
+ opacity: 0
47497
+ }
47498
+ ),
47499
+ /* @__PURE__ */ jsxRuntime.jsx(
47500
+ "path",
47501
+ {
47502
+ fill: "#FBBC05",
47503
+ d: "M12 21.2c2.43 0 4.46-.8 5.95-2.18l-2.74-2.13c-.74.5-1.74.86-3.21.86-2.66 0-4.92-1.79-5.73-4.2l-2.84 2.18A9.2 9.2 0 0 0 12 21.2Z",
47504
+ opacity: 0
47505
+ }
47506
+ )
47507
+ ] });
47508
+ }
47509
+ function GitHubIcon({ mono: _mono, ...props }) {
47510
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { ...baseProps, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
47511
+ "path",
47512
+ {
47513
+ fill: "currentColor",
47514
+ d: "M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.22.68-.48l-.01-1.7c-2.78.6-3.37-1.34-3.37-1.34-.45-1.16-1.11-1.46-1.11-1.46-.91-.62.07-.61.07-.61 1 .07 1.53 1.03 1.53 1.03.9 1.53 2.36 1.09 2.94.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.98 1.03-2.68-.1-.25-.45-1.27.1-2.65 0 0 .84-.27 2.75 1.02a9.6 9.6 0 0 1 5 0c1.91-1.29 2.75-1.02 2.75-1.02.55 1.38.2 2.4.1 2.65.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.69-4.57 4.94.36.31.68.92.68 1.85l-.01 2.74c0 .27.18.58.69.48A10 10 0 0 0 12 2Z"
47515
+ }
47516
+ ) });
47517
+ }
47518
+ function MicrosoftIcon({ mono, ...props }) {
47519
+ if (mono) {
47520
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { ...baseProps, ...props, children: [
47521
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "currentColor", d: "M3 3h8v8H3z" }),
47522
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "currentColor", d: "M13 3h8v8h-8z", opacity: 0.7 }),
47523
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "currentColor", d: "M3 13h8v8H3z", opacity: 0.7 }),
47524
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "currentColor", d: "M13 13h8v8h-8z", opacity: 0.4 })
47525
+ ] });
47526
+ }
47527
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { ...baseProps, ...props, children: [
47528
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#F25022", d: "M3 3h8v8H3z" }),
47529
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#7FBA00", d: "M13 3h8v8h-8z" }),
47530
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#00A4EF", d: "M3 13h8v8H3z" }),
47531
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#FFB900", d: "M13 13h8v8h-8z" })
47532
+ ] });
47533
+ }
47534
+ function AppleIcon({ mono: _mono, ...props }) {
47535
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { ...baseProps, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
47536
+ "path",
47537
+ {
47538
+ fill: "currentColor",
47539
+ d: "M16.37 12.78c-.03-2.62 2.14-3.88 2.24-3.94-1.22-1.79-3.12-2.03-3.79-2.06-1.61-.16-3.15.95-3.97.95-.82 0-2.08-.93-3.42-.9-1.76.03-3.39 1.02-4.29 2.6-1.83 3.18-.47 7.88 1.31 10.46.87 1.26 1.91 2.67 3.27 2.62 1.31-.05 1.81-.85 3.4-.85 1.58 0 2.03.85 3.42.82 1.41-.02 2.31-1.28 3.17-2.55.99-1.46 1.4-2.88 1.42-2.95-.03-.01-2.73-1.05-2.76-4.15M13.9 5.1c.72-.88 1.21-2.09 1.08-3.3-1.04.04-2.3.69-3.04 1.56-.66.77-1.24 2.01-1.09 3.19 1.16.09 2.34-.59 3.05-1.45"
47540
+ }
47541
+ ) });
47542
+ }
47543
+ var PROVIDER_ICONS = {
47544
+ google: GoogleIcon,
47545
+ github: GitHubIcon,
47546
+ microsoft: MicrosoftIcon,
47547
+ apple: AppleIcon
47548
+ };
47549
+ var SocialAuthButton = React11__namespace.forwardRef(({ provider, lastUsed, loading, disabled, className, ...props }, ref) => {
47550
+ const { label, mono, dataAttributes } = createSocialAuthButton({ provider });
47551
+ const Icon = PROVIDER_ICONS[provider];
47552
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: socialAuthButtonVariants(), children: [
47553
+ /* @__PURE__ */ jsxRuntime.jsxs(
47554
+ Button,
47555
+ {
47556
+ ref,
47557
+ variant: "outline",
47558
+ loading,
47559
+ disabled,
47560
+ className: cn("w-full justify-center gap-2", className),
47561
+ ...dataAttributes,
47562
+ ...props,
47563
+ children: [
47564
+ !loading && /* @__PURE__ */ jsxRuntime.jsx(Icon, { mono, className: "shrink-0" }),
47565
+ label
47566
+ ]
47567
+ }
47568
+ ),
47569
+ lastUsed && /* @__PURE__ */ jsxRuntime.jsx("span", { className: lastUsedBadgeVariants(), children: "Last used" })
47570
+ ] });
47571
+ });
47572
+ SocialAuthButton.displayName = "SocialAuthButton";
47573
+ var SocialAuthRow = React11__namespace.forwardRef(
47574
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
47575
+ "div",
47576
+ {
47577
+ ref,
47578
+ className: cn(socialAuthRowVariants(), className),
47579
+ ...props,
47580
+ children
47581
+ }
47582
+ )
47583
+ );
47584
+ SocialAuthRow.displayName = "SocialAuthRow";
47585
+
47586
+ // ../separator/dist/index.js
47587
+ function createSeparator(props = {}) {
47588
+ const { orientation = "horizontal", decorative = true } = props;
47589
+ const ariaProps = decorative ? { role: "none" } : { role: "separator", "aria-orientation": orientation };
47590
+ const dataAttributes = {
47591
+ "data-orientation": orientation
47592
+ };
47593
+ return {
47594
+ ariaProps,
47595
+ dataAttributes
47596
+ };
47597
+ }
47598
+ var separatorVariants = cva({
47599
+ base: "",
47600
+ variants: {
47601
+ orientation: {
47602
+ horizontal: "h-px w-full bg-border",
47603
+ vertical: "w-px h-full bg-border"
47604
+ },
47605
+ labeled: {
47606
+ true: "flex items-center",
47607
+ false: ""
47608
+ }
47609
+ },
47610
+ defaultVariants: {
47611
+ orientation: "horizontal",
47612
+ labeled: "false"
47613
+ }
47614
+ });
47615
+ var separatorLineClass = "h-px flex-1 bg-border";
47616
+ var separatorLabelClass = "px-3 text-xs uppercase tracking-wide text-muted-foreground";
47617
+ var Separator = React11__namespace.forwardRef(
47618
+ ({
47619
+ orientation = "horizontal",
47620
+ label,
47621
+ decorative = true,
47622
+ className,
47623
+ ...props
47624
+ }, ref) => {
47625
+ if (orientation === "horizontal" && label != null) {
47626
+ return /* @__PURE__ */ jsxRuntime.jsxs(
47627
+ "div",
47628
+ {
47629
+ ref,
47630
+ role: "none",
47631
+ className: cn(separatorVariants({ labeled: "true" }), className),
47632
+ ...props,
47633
+ children: [
47634
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: separatorLineClass }),
47635
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: separatorLabelClass, children: label }),
47636
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: separatorLineClass })
47637
+ ]
47638
+ }
47639
+ );
47640
+ }
47641
+ const { ariaProps, dataAttributes } = createSeparator({
47642
+ orientation,
47643
+ decorative
47644
+ });
47645
+ return /* @__PURE__ */ jsxRuntime.jsx(
47646
+ "div",
47647
+ {
47648
+ ref,
47649
+ className: cn(separatorVariants({ orientation }), className),
47650
+ ...ariaProps,
47651
+ ...dataAttributes,
47652
+ ...props
47653
+ }
47654
+ );
47655
+ }
47656
+ );
47657
+ Separator.displayName = "Separator";
47658
+
47659
+ // ../empty-state/dist/index.js
47660
+ function createEmptyState(options = {}) {
47661
+ const { tone = "neutral" } = options;
47662
+ const dataAttributes = {
47663
+ "data-tone": tone
47664
+ };
47665
+ return {
47666
+ dataAttributes
47667
+ };
47668
+ }
47669
+ var emptyStateVariants = cva({
47670
+ base: "flex flex-col items-center text-center gap-3 p-8",
47671
+ variants: {
47672
+ bordered: {
47673
+ true: "rounded-xl border border-border bg-card",
47674
+ false: ""
47675
+ }
47676
+ },
47677
+ defaultVariants: {
47678
+ bordered: "false"
47679
+ }
47680
+ });
47681
+ var emptyStateIconChipVariants = cva({
47682
+ base: "flex size-12 items-center justify-center rounded-full",
47683
+ variants: {
47684
+ tone: {
47685
+ neutral: "bg-muted text-muted-foreground",
47686
+ success: "bg-green-500/10 text-green-600",
47687
+ warning: "bg-yellow-500/10 text-yellow-600",
47688
+ danger: "bg-destructive/10 text-destructive"
47689
+ }
47690
+ },
47691
+ defaultVariants: {
47692
+ tone: "neutral"
47693
+ }
47694
+ });
47695
+ var emptyStateTitleClass = "text-lg font-semibold text-foreground";
47696
+ var emptyStateDescriptionClass = "text-sm text-muted-foreground";
47697
+ var emptyStateActionsClass = "flex items-center justify-center gap-2";
47698
+ var EmptyState = React11__namespace.forwardRef(
47699
+ ({
47700
+ icon,
47701
+ tone = "neutral",
47702
+ title,
47703
+ description,
47704
+ actions,
47705
+ bordered = false,
47706
+ className,
47707
+ ...props
47708
+ }, ref) => {
47709
+ const api = createEmptyState({ tone });
47710
+ return /* @__PURE__ */ jsxRuntime.jsxs(
47711
+ "div",
47712
+ {
47713
+ ref,
47714
+ className: cn(
47715
+ emptyStateVariants({ bordered: bordered ? "true" : "false" }),
47716
+ className
47717
+ ),
47718
+ ...api.dataAttributes,
47719
+ ...props,
47720
+ children: [
47721
+ icon != null && /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": "true", className: emptyStateIconChipVariants({ tone }), children: icon }),
47722
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: emptyStateTitleClass, children: title }),
47723
+ description != null && /* @__PURE__ */ jsxRuntime.jsx("p", { className: emptyStateDescriptionClass, children: description }),
47724
+ actions != null && /* @__PURE__ */ jsxRuntime.jsx("div", { className: emptyStateActionsClass, children: actions })
47725
+ ]
47726
+ }
47727
+ );
47728
+ }
47729
+ );
47730
+ EmptyState.displayName = "EmptyState";
47731
+ var ConfirmationCard = React11__namespace.forwardRef(({ bordered = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(EmptyState, { ref, bordered, ...props }));
47732
+ ConfirmationCard.displayName = "ConfirmationCard";
46928
47733
  /*! Bundled license information:
46929
47734
 
46930
47735
  @nevware21/ts-utils/dist/es5/mod/ts-utils.js:
46931
- (*! https://github.com/nevware21/ts-utils v0.13.0 *)
47736
+ (*! https://github.com/nevware21/ts-utils v0.14.0 *)
46932
47737
 
46933
47738
  @nevware21/ts-async/dist/es5/mod/ts-async.js:
46934
47739
  (*!
@@ -47001,6 +47806,7 @@ exports.CommandItem = CommandItem;
47001
47806
  exports.CommandList = CommandList;
47002
47807
  exports.CommandSeparator = CommandSeparator;
47003
47808
  exports.Composer = Composer;
47809
+ exports.ConfirmationCard = ConfirmationCard;
47004
47810
  exports.ContentProtection = ContentProtection;
47005
47811
  exports.CookieConsent = CookieConsent;
47006
47812
  exports.DEFAULT_CATEGORIES = DEFAULT_CATEGORIES;
@@ -47032,6 +47838,7 @@ exports.DropdownMenuTrigger = DropdownMenuTrigger;
47032
47838
  exports.EMOJI_CATEGORIES = EMOJI_CATEGORIES;
47033
47839
  exports.EMOJI_DATA = EMOJI_DATA;
47034
47840
  exports.EmojiPicker = EmojiPicker;
47841
+ exports.EmptyState = EmptyState;
47035
47842
  exports.FeedbackButton = FeedbackButton;
47036
47843
  exports.FeedbackDialog = FeedbackDialog;
47037
47844
  exports.FileTree = FileTree;
@@ -47058,6 +47865,7 @@ exports.OtpInput = OtpInput;
47058
47865
  exports.PRESENCE_STATUS_COLORS = STATUS_COLORS;
47059
47866
  exports.PRESENCE_STATUS_LABELS = STATUS_LABELS;
47060
47867
  exports.Pagination = Pagination;
47868
+ exports.PasswordInput = PasswordInput;
47061
47869
  exports.Payment = Payment;
47062
47870
  exports.Popover = Popover;
47063
47871
  exports.PopoverClose = PopoverClose;
@@ -47077,10 +47885,13 @@ exports.STATUS_LABELS = STATUS_INDICATOR_LABELS;
47077
47885
  exports.SearchBar = SearchBar;
47078
47886
  exports.SearchResultItem = SearchResultItem;
47079
47887
  exports.SearchResults = SearchResults;
47888
+ exports.SegmentedControl = SegmentedControl;
47889
+ exports.SegmentedControlItem = SegmentedControlItem;
47080
47890
  exports.Select = Select;
47081
47891
  exports.SelectContent = SelectContent;
47082
47892
  exports.SelectItem = SelectItem;
47083
47893
  exports.SelectTrigger = SelectTrigger;
47894
+ exports.Separator = Separator;
47084
47895
  exports.Sheet = Sheet;
47085
47896
  exports.SheetClose = SheetClose;
47086
47897
  exports.SheetContent = SheetContent;
@@ -47100,6 +47911,8 @@ exports.Skeleton = Skeleton;
47100
47911
  exports.SkeletonText = SkeletonText;
47101
47912
  exports.SkipToContent = SkipToContent;
47102
47913
  exports.SlideViewer = SlideViewer;
47914
+ exports.SocialAuthButton = SocialAuthButton;
47915
+ exports.SocialAuthRow = SocialAuthRow;
47103
47916
  exports.StatsGrid = StatsGrid;
47104
47917
  exports.StatusIndicator = StatusIndicator;
47105
47918
  exports.Step = Step;
@@ -47188,6 +48001,7 @@ exports.createIntensitySamples = createIntensitySamples;
47188
48001
  exports.createPostHogClientSdkSink = createPostHogClientSdkSink;
47189
48002
  exports.createPostHogHttpSink = createPostHogHttpSink;
47190
48003
  exports.createPostHogSink = createPostHogSink;
48004
+ exports.createSegmentedControl = createSegmentedControl;
47191
48005
  exports.createSilentSamples = createSilentSamples;
47192
48006
  exports.createTelemetry = createTelemetry;
47193
48007
  exports.createVoicePill = createVoicePill;
@@ -47213,6 +48027,7 @@ exports.formatTimestamp = formatTimestamp;
47213
48027
  exports.getAssignableRoles = getAssignableRoles;
47214
48028
  exports.getDefaultPortal = getDefaultPortal;
47215
48029
  exports.getInitials = getInitials;
48030
+ exports.getNextSegmentIndex = getNextSegmentIndex;
47216
48031
  exports.getReplyCount = getReplyCount;
47217
48032
  exports.getVoicePillAriaLabel = getVoicePillAriaLabel;
47218
48033
  exports.getVoicePillInitials = getVoicePillInitials;
@@ -47280,6 +48095,8 @@ exports.rowVariants = rowVariants;
47280
48095
  exports.scaleWaveformSamples = scaleWaveformSamples;
47281
48096
  exports.searchBarVariants = searchBarVariants;
47282
48097
  exports.searchResultVariants = searchResultVariants;
48098
+ exports.segmentedControlItemVariants = segmentedControlItemVariants;
48099
+ exports.segmentedControlVariants = segmentedControlVariants;
47283
48100
  exports.selectContentVariants = selectContentVariants;
47284
48101
  exports.selectItemVariants = selectItemVariants;
47285
48102
  exports.selectMainTimeline = selectMainTimeline;