@utahdts/utah-design-system 1.16.1 → 1.16.2

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.
@@ -31,7 +31,7 @@ import { useLocation, NavLink } from "react-router-dom";
31
31
  const name = "@utahdts/utah-design-system";
32
32
  const description = "Utah Design System React Library";
33
33
  const displayName = "Utah Design System React Library";
34
- const version$1 = "1.16.1";
34
+ const version$1 = "1.16.2";
35
35
  const exports = {
36
36
  ".": {
37
37
  "development-local": "./index.js",
@@ -94,7 +94,7 @@ const bugs = {
94
94
  };
95
95
  const homepage = "https://github.com/utahdts/utah-design-system";
96
96
  const dependencies = {
97
- "@utahdts/utah-design-system-header": "1.16.1",
97
+ "@utahdts/utah-design-system-header": "1.16.2",
98
98
  "date-fns": "3.3.1",
99
99
  lodash: "4.17.21",
100
100
  "prop-types": "15.8.1",
@@ -866,11 +866,6 @@ function requireReactJsxRuntime_development() {
866
866
  }
867
867
  function getSourceInfoErrorAddendum(source) {
868
868
  {
869
- if (source !== void 0) {
870
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
871
- var lineNumber = source.lineNumber;
872
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
873
- }
874
869
  return "";
875
870
  }
876
871
  }
@@ -996,7 +991,7 @@ function requireReactJsxRuntime_development() {
996
991
  if (type2 === void 0 || typeof type2 === "object" && type2 !== null && Object.keys(type2).length === 0) {
997
992
  info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
998
993
  }
999
- var sourceInfo = getSourceInfoErrorAddendum(source);
994
+ var sourceInfo = getSourceInfoErrorAddendum();
1000
995
  if (sourceInfo) {
1001
996
  info += sourceInfo;
1002
997
  } else {
@@ -8672,11 +8667,11 @@ function requireReactDom_production_min() {
8672
8667
  };
8673
8668
  Gb = Qk;
8674
8669
  Hb = Rk;
8675
- var sl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Qk] }, tl = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.3.0", rendererPackageName: "react-dom" };
8670
+ var sl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Qk] }, tl = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" };
8676
8671
  var ul = { bundleType: tl.bundleType, version: tl.version, rendererPackageName: tl.rendererPackageName, rendererConfig: tl.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) {
8677
8672
  a = Zb(a);
8678
8673
  return null === a ? null : a.stateNode;
8679
- }, findFiberByHostInstance: tl.findFiberByHostInstance || jl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.0-next-8a015b68cc-20240425" };
8674
+ }, findFiberByHostInstance: tl.findFiberByHostInstance || jl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
8680
8675
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
8681
8676
  var vl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8682
8677
  if (!vl.isDisabled && vl.supportsFiber)
@@ -8765,7 +8760,7 @@ function requireReactDom_production_min() {
8765
8760
  throw Error(p(38));
8766
8761
  return rl(a, b, c, false, d);
8767
8762
  };
8768
- reactDom_production_min.version = "18.3.0-next-8a015b68cc-20240425";
8763
+ reactDom_production_min.version = "18.3.1-next-f1338f8080-20240426";
8769
8764
  return reactDom_production_min;
8770
8765
  }
8771
8766
  var reactDom_development = {};
@@ -13408,7 +13403,7 @@ function requireReactDom_development() {
13408
13403
  return a !== 0 && a < b ? a : b;
13409
13404
  }
13410
13405
  function lowerEventPriority(a, b) {
13411
- return a === 0 || a > b ? a : b;
13406
+ return a > b ? a : b;
13412
13407
  }
13413
13408
  function isHigherEventPriority(a, b) {
13414
13409
  return a !== 0 && a < b;
@@ -15382,7 +15377,7 @@ function requireReactDom_development() {
15382
15377
  }
15383
15378
  var isCapturePhaseListener = false;
15384
15379
  var listenerSet = getEventListenerSet(targetElement);
15385
- var listenerSetKey = getListenerSetKey(domEventName, isCapturePhaseListener);
15380
+ var listenerSetKey = getListenerSetKey(domEventName);
15386
15381
  if (!listenerSet.has(listenerSetKey)) {
15387
15382
  addTrappedEventListener(targetElement, domEventName, IS_NON_DELEGATED, isCapturePhaseListener);
15388
15383
  listenerSet.add(listenerSetKey);
@@ -15636,7 +15631,7 @@ function requireReactDom_development() {
15636
15631
  }
15637
15632
  }
15638
15633
  function getListenerSetKey(domEventName, capture) {
15639
- return domEventName + "__" + (capture ? "capture" : "bubble");
15634
+ return domEventName + "__bubble";
15640
15635
  }
15641
15636
  var didWarnInvalidHydration = false;
15642
15637
  var DANGEROUSLY_SET_INNER_HTML = "dangerouslySetInnerHTML";
@@ -28983,7 +28978,7 @@ function requireReactDom_development() {
28983
28978
  initializeUpdateQueue(uninitializedFiber);
28984
28979
  return root2;
28985
28980
  }
28986
- var ReactVersion = "18.3.0";
28981
+ var ReactVersion = "18.3.1";
28987
28982
  function createPortal(children, containerInfo, implementation) {
28988
28983
  var key = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
28989
28984
  {
@@ -39908,11 +39903,11 @@ const escapedStringRegExp$1 = /^'([^]*?)'?$/;
39908
39903
  const doubleQuoteRegExp$1 = /''/g;
39909
39904
  const unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
39910
39905
  function format(date, formatStr, options) {
39911
- var _a, _b, _c, _d, _e, _f, _g, _h;
39906
+ var _a, _b, _c, _d;
39912
39907
  const defaultOptions2 = getDefaultOptions$1();
39913
- const locale = (options == null ? void 0 : options.locale) ?? defaultOptions2.locale ?? enUS;
39914
- const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions2.firstWeekContainsDate ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;
39915
- const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_f = (_e = options == null ? void 0 : options.locale) == null ? void 0 : _e.options) == null ? void 0 : _f.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_h = (_g = defaultOptions2.locale) == null ? void 0 : _g.options) == null ? void 0 : _h.weekStartsOn) ?? 0;
39908
+ const locale = defaultOptions2.locale ?? enUS;
39909
+ const firstWeekContainsDate = defaultOptions2.firstWeekContainsDate ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? 1;
39910
+ const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
39916
39911
  const originalDate = toDate(date);
39917
39912
  if (!isValid(originalDate)) {
39918
39913
  throw new RangeError("Invalid time value");
@@ -39954,7 +39949,7 @@ function format(date, formatStr, options) {
39954
39949
  if (!part.isToken)
39955
39950
  return part.value;
39956
39951
  const token = part.value;
39957
- if (!(options == null ? void 0 : options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token) || !(options == null ? void 0 : options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
39952
+ if (isProtectedWeekYearToken(token) || isProtectedDayOfYearToken(token)) {
39958
39953
  warnOrThrowProtectedError(token, formatStr, String(date));
39959
39954
  }
39960
39955
  const formatter = formatters[token[0]];
@@ -41574,11 +41569,11 @@ const doubleQuoteRegExp = /''/g;
41574
41569
  const notWhitespaceRegExp = /\S/;
41575
41570
  const unescapedLatinCharacterRegExp = /[a-zA-Z]/;
41576
41571
  function parse(dateStr, formatStr, referenceDate, options) {
41577
- var _a, _b, _c, _d, _e, _f, _g, _h;
41572
+ var _a, _b, _c, _d;
41578
41573
  const defaultOptions2 = getDefaultOptions();
41579
- const locale = (options == null ? void 0 : options.locale) ?? defaultOptions2.locale ?? enUS;
41580
- const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions2.firstWeekContainsDate ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;
41581
- const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_f = (_e = options == null ? void 0 : options.locale) == null ? void 0 : _e.options) == null ? void 0 : _f.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_h = (_g = defaultOptions2.locale) == null ? void 0 : _g.options) == null ? void 0 : _h.weekStartsOn) ?? 0;
41574
+ const locale = defaultOptions2.locale ?? enUS;
41575
+ const firstWeekContainsDate = defaultOptions2.firstWeekContainsDate ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? 1;
41576
+ const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
41582
41577
  if (formatStr === "") {
41583
41578
  if (dateStr === "") {
41584
41579
  return toDate(referenceDate);
@@ -41602,10 +41597,10 @@ function parse(dateStr, formatStr, referenceDate, options) {
41602
41597
  }).join("").match(formattingTokensRegExp);
41603
41598
  const usedTokens = [];
41604
41599
  for (let token of tokens) {
41605
- if (!(options == null ? void 0 : options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token)) {
41600
+ if (isProtectedWeekYearToken(token)) {
41606
41601
  warnOrThrowProtectedError(token, formatStr, dateStr);
41607
41602
  }
41608
- if (!(options == null ? void 0 : options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
41603
+ if (isProtectedDayOfYearToken(token)) {
41609
41604
  warnOrThrowProtectedError(token, formatStr, dateStr);
41610
41605
  }
41611
41606
  const firstCharacter = token[0];
@@ -42690,7 +42685,6 @@ function selectComboBoxSelection(draftContext, textInput, onSubmit) {
42690
42685
  }
42691
42686
  } else {
42692
42687
  textInput == null ? void 0 : textInput.focus();
42693
- onSubmit == null ? void 0 : onSubmit();
42694
42688
  }
42695
42689
  }
42696
42690
  function ComboBoxOption({
@@ -42735,7 +42729,7 @@ function ComboBoxOption({
42735
42729
  () => {
42736
42730
  if (!isDisabled) {
42737
42731
  onChange(value);
42738
- setComboBoxContext((draftContext) => selectComboBoxSelection(draftContext, comboBoxContextNonStateRef.current.textInput, void 0));
42732
+ setComboBoxContext((draftContext) => selectComboBoxSelection(draftContext, comboBoxContextNonStateRef.current.textInput));
42739
42733
  }
42740
42734
  },
42741
42735
  [isDisabled, onChange, value, setComboBoxContext, comboBoxContextNonStateRef]
@@ -43844,13 +43838,6 @@ function v4(options, buf, offset2) {
43844
43838
  const rnds = options.random || (options.rng || rng)();
43845
43839
  rnds[6] = rnds[6] & 15 | 64;
43846
43840
  rnds[8] = rnds[8] & 63 | 128;
43847
- if (buf) {
43848
- offset2 = offset2 || 0;
43849
- for (let i2 = 0; i2 < 16; ++i2) {
43850
- buf[offset2 + i2] = rnds[i2];
43851
- }
43852
- return buf;
43853
- }
43854
43841
  return unsafeStringify(rnds);
43855
43842
  }
43856
43843
  function notNull(value, errorMessage) {
@@ -47,7 +47,7 @@ var __privateSet = (obj, member, value, setter) => {
47
47
  const name = "@utahdts/utah-design-system";
48
48
  const description = "Utah Design System React Library";
49
49
  const displayName = "Utah Design System React Library";
50
- const version$1 = "1.16.1";
50
+ const version$1 = "1.16.2";
51
51
  const exports$1 = {
52
52
  ".": {
53
53
  "development-local": "./index.js",
@@ -110,7 +110,7 @@ var __privateSet = (obj, member, value, setter) => {
110
110
  };
111
111
  const homepage = "https://github.com/utahdts/utah-design-system";
112
112
  const dependencies = {
113
- "@utahdts/utah-design-system-header": "1.16.1",
113
+ "@utahdts/utah-design-system-header": "1.16.2",
114
114
  "date-fns": "3.3.1",
115
115
  lodash: "4.17.21",
116
116
  "prop-types": "15.8.1",
@@ -882,11 +882,6 @@ var __privateSet = (obj, member, value, setter) => {
882
882
  }
883
883
  function getSourceInfoErrorAddendum(source) {
884
884
  {
885
- if (source !== void 0) {
886
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
887
- var lineNumber = source.lineNumber;
888
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
889
- }
890
885
  return "";
891
886
  }
892
887
  }
@@ -1012,7 +1007,7 @@ var __privateSet = (obj, member, value, setter) => {
1012
1007
  if (type2 === void 0 || typeof type2 === "object" && type2 !== null && Object.keys(type2).length === 0) {
1013
1008
  info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1014
1009
  }
1015
- var sourceInfo = getSourceInfoErrorAddendum(source);
1010
+ var sourceInfo = getSourceInfoErrorAddendum();
1016
1011
  if (sourceInfo) {
1017
1012
  info += sourceInfo;
1018
1013
  } else {
@@ -8688,11 +8683,11 @@ var __privateSet = (obj, member, value, setter) => {
8688
8683
  };
8689
8684
  Gb = Qk;
8690
8685
  Hb = Rk;
8691
- var sl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Qk] }, tl = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.3.0", rendererPackageName: "react-dom" };
8686
+ var sl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Qk] }, tl = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" };
8692
8687
  var ul = { bundleType: tl.bundleType, version: tl.version, rendererPackageName: tl.rendererPackageName, rendererConfig: tl.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) {
8693
8688
  a = Zb(a);
8694
8689
  return null === a ? null : a.stateNode;
8695
- }, findFiberByHostInstance: tl.findFiberByHostInstance || jl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.0-next-8a015b68cc-20240425" };
8690
+ }, findFiberByHostInstance: tl.findFiberByHostInstance || jl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
8696
8691
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
8697
8692
  var vl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8698
8693
  if (!vl.isDisabled && vl.supportsFiber)
@@ -8781,7 +8776,7 @@ var __privateSet = (obj, member, value, setter) => {
8781
8776
  throw Error(p(38));
8782
8777
  return rl(a, b, c, false, d);
8783
8778
  };
8784
- reactDom_production_min.version = "18.3.0-next-8a015b68cc-20240425";
8779
+ reactDom_production_min.version = "18.3.1-next-f1338f8080-20240426";
8785
8780
  return reactDom_production_min;
8786
8781
  }
8787
8782
  var reactDom_development = {};
@@ -13424,7 +13419,7 @@ var __privateSet = (obj, member, value, setter) => {
13424
13419
  return a !== 0 && a < b ? a : b;
13425
13420
  }
13426
13421
  function lowerEventPriority(a, b) {
13427
- return a === 0 || a > b ? a : b;
13422
+ return a > b ? a : b;
13428
13423
  }
13429
13424
  function isHigherEventPriority(a, b) {
13430
13425
  return a !== 0 && a < b;
@@ -15398,7 +15393,7 @@ var __privateSet = (obj, member, value, setter) => {
15398
15393
  }
15399
15394
  var isCapturePhaseListener = false;
15400
15395
  var listenerSet = getEventListenerSet(targetElement);
15401
- var listenerSetKey = getListenerSetKey(domEventName, isCapturePhaseListener);
15396
+ var listenerSetKey = getListenerSetKey(domEventName);
15402
15397
  if (!listenerSet.has(listenerSetKey)) {
15403
15398
  addTrappedEventListener(targetElement, domEventName, IS_NON_DELEGATED, isCapturePhaseListener);
15404
15399
  listenerSet.add(listenerSetKey);
@@ -15652,7 +15647,7 @@ var __privateSet = (obj, member, value, setter) => {
15652
15647
  }
15653
15648
  }
15654
15649
  function getListenerSetKey(domEventName, capture) {
15655
- return domEventName + "__" + (capture ? "capture" : "bubble");
15650
+ return domEventName + "__bubble";
15656
15651
  }
15657
15652
  var didWarnInvalidHydration = false;
15658
15653
  var DANGEROUSLY_SET_INNER_HTML = "dangerouslySetInnerHTML";
@@ -28999,7 +28994,7 @@ var __privateSet = (obj, member, value, setter) => {
28999
28994
  initializeUpdateQueue(uninitializedFiber);
29000
28995
  return root2;
29001
28996
  }
29002
- var ReactVersion = "18.3.0";
28997
+ var ReactVersion = "18.3.1";
29003
28998
  function createPortal(children, containerInfo, implementation) {
29004
28999
  var key = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
29005
29000
  {
@@ -39924,11 +39919,11 @@ var __privateSet = (obj, member, value, setter) => {
39924
39919
  const doubleQuoteRegExp$1 = /''/g;
39925
39920
  const unescapedLatinCharacterRegExp$1 = /[a-zA-Z]/;
39926
39921
  function format(date, formatStr, options) {
39927
- var _a, _b, _c, _d, _e, _f, _g, _h;
39922
+ var _a, _b, _c, _d;
39928
39923
  const defaultOptions2 = getDefaultOptions$1();
39929
- const locale = (options == null ? void 0 : options.locale) ?? defaultOptions2.locale ?? enUS;
39930
- const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions2.firstWeekContainsDate ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;
39931
- const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_f = (_e = options == null ? void 0 : options.locale) == null ? void 0 : _e.options) == null ? void 0 : _f.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_h = (_g = defaultOptions2.locale) == null ? void 0 : _g.options) == null ? void 0 : _h.weekStartsOn) ?? 0;
39924
+ const locale = defaultOptions2.locale ?? enUS;
39925
+ const firstWeekContainsDate = defaultOptions2.firstWeekContainsDate ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? 1;
39926
+ const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
39932
39927
  const originalDate = toDate(date);
39933
39928
  if (!isValid(originalDate)) {
39934
39929
  throw new RangeError("Invalid time value");
@@ -39970,7 +39965,7 @@ var __privateSet = (obj, member, value, setter) => {
39970
39965
  if (!part.isToken)
39971
39966
  return part.value;
39972
39967
  const token = part.value;
39973
- if (!(options == null ? void 0 : options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token) || !(options == null ? void 0 : options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
39968
+ if (isProtectedWeekYearToken(token) || isProtectedDayOfYearToken(token)) {
39974
39969
  warnOrThrowProtectedError(token, formatStr, String(date));
39975
39970
  }
39976
39971
  const formatter = formatters[token[0]];
@@ -41590,11 +41585,11 @@ var __privateSet = (obj, member, value, setter) => {
41590
41585
  const notWhitespaceRegExp = /\S/;
41591
41586
  const unescapedLatinCharacterRegExp = /[a-zA-Z]/;
41592
41587
  function parse(dateStr, formatStr, referenceDate, options) {
41593
- var _a, _b, _c, _d, _e, _f, _g, _h;
41588
+ var _a, _b, _c, _d;
41594
41589
  const defaultOptions2 = getDefaultOptions();
41595
- const locale = (options == null ? void 0 : options.locale) ?? defaultOptions2.locale ?? enUS;
41596
- const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions2.firstWeekContainsDate ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;
41597
- const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_f = (_e = options == null ? void 0 : options.locale) == null ? void 0 : _e.options) == null ? void 0 : _f.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_h = (_g = defaultOptions2.locale) == null ? void 0 : _g.options) == null ? void 0 : _h.weekStartsOn) ?? 0;
41590
+ const locale = defaultOptions2.locale ?? enUS;
41591
+ const firstWeekContainsDate = defaultOptions2.firstWeekContainsDate ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? 1;
41592
+ const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
41598
41593
  if (formatStr === "") {
41599
41594
  if (dateStr === "") {
41600
41595
  return toDate(referenceDate);
@@ -41618,10 +41613,10 @@ var __privateSet = (obj, member, value, setter) => {
41618
41613
  }).join("").match(formattingTokensRegExp);
41619
41614
  const usedTokens = [];
41620
41615
  for (let token of tokens) {
41621
- if (!(options == null ? void 0 : options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token)) {
41616
+ if (isProtectedWeekYearToken(token)) {
41622
41617
  warnOrThrowProtectedError(token, formatStr, dateStr);
41623
41618
  }
41624
- if (!(options == null ? void 0 : options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
41619
+ if (isProtectedDayOfYearToken(token)) {
41625
41620
  warnOrThrowProtectedError(token, formatStr, dateStr);
41626
41621
  }
41627
41622
  const firstCharacter = token[0];
@@ -42706,7 +42701,6 @@ var __privateSet = (obj, member, value, setter) => {
42706
42701
  }
42707
42702
  } else {
42708
42703
  textInput == null ? void 0 : textInput.focus();
42709
- onSubmit == null ? void 0 : onSubmit();
42710
42704
  }
42711
42705
  }
42712
42706
  function ComboBoxOption({
@@ -42751,7 +42745,7 @@ var __privateSet = (obj, member, value, setter) => {
42751
42745
  () => {
42752
42746
  if (!isDisabled) {
42753
42747
  onChange(value);
42754
- setComboBoxContext((draftContext) => selectComboBoxSelection(draftContext, comboBoxContextNonStateRef.current.textInput, void 0));
42748
+ setComboBoxContext((draftContext) => selectComboBoxSelection(draftContext, comboBoxContextNonStateRef.current.textInput));
42755
42749
  }
42756
42750
  },
42757
42751
  [isDisabled, onChange, value, setComboBoxContext, comboBoxContextNonStateRef]
@@ -43860,13 +43854,6 @@ var __privateSet = (obj, member, value, setter) => {
43860
43854
  const rnds = options.random || (options.rng || rng)();
43861
43855
  rnds[6] = rnds[6] & 15 | 64;
43862
43856
  rnds[8] = rnds[8] & 63 | 128;
43863
- if (buf) {
43864
- offset2 = offset2 || 0;
43865
- for (let i2 = 0; i2 < 16; ++i2) {
43866
- buf[offset2 + i2] = rnds[i2];
43867
- }
43868
- return buf;
43869
- }
43870
43857
  return unsafeStringify(rnds);
43871
43858
  }
43872
43859
  function notNull(value, errorMessage) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@utahdts/utah-design-system",
3
3
  "description": "Utah Design System React Library",
4
4
  "displayName": "Utah Design System React Library",
5
- "version": "1.16.1",
5
+ "version": "1.16.2",
6
6
  "exports": {
7
7
  ".": {
8
8
  "development-local": "./index.js",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "homepage": "https://github.com/utahdts/utah-design-system",
67
67
  "dependencies": {
68
- "@utahdts/utah-design-system-header": "1.16.1",
68
+ "@utahdts/utah-design-system-header": "1.16.2",
69
69
  "date-fns": "3.3.1",
70
70
  "lodash": "4.17.21",
71
71
  "prop-types": "15.8.1",