@theroutingcompany/components 0.0.74-alpha.1 → 0.0.74-alpha.3

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.
@@ -23113,6 +23113,7 @@ function iO({ item: e, state: t }) {
23113
23113
  ref: r,
23114
23114
  isFocused: n.isFocused,
23115
23115
  isSelected: n.isSelected,
23116
+ "aria-label": i,
23116
23117
  children: [
23117
23118
  /* @__PURE__ */ x(z_, { isDisabled: n.isDisabled, isSelected: n.isSelected, "aria-label": i }),
23118
23119
  /* @__PURE__ */ x(gf, { children: /* @__PURE__ */ ne($f.Provider, { value: { labelProps: n.labelProps, descriptionProps: n.labelProps }, children: [
@@ -27592,46 +27593,47 @@ function XN(e) {
27592
27593
  function JB({
27593
27594
  granularity: e = "minute",
27594
27595
  paddingSize: t = I_.small,
27595
- ...r
27596
+ timeZone: r = "America/New_York",
27597
+ ...n
27596
27598
  }) {
27597
- const n = Ye(), o = /* @__PURE__ */ new Date(), a = Jl({}), i = V(null), { menuTriggerProps: l, menuProps: s } = Xl(
27599
+ const o = Ye(), a = /* @__PURE__ */ new Date(), i = Jl({}), l = V(null), { menuTriggerProps: s, menuProps: c } = Xl(
27598
27600
  {},
27599
- a,
27600
- i
27601
- ), c = R_({
27601
+ i,
27602
+ l
27603
+ ), d = R_({
27602
27604
  hourCycle: 12,
27603
27605
  // force all 12 hour for now
27604
27606
  granularity: e,
27605
- defaultValue: r.defaultValue ?? new ra(
27606
- o.getFullYear(),
27607
- o.getMonth() + 1,
27608
- o.getDate(),
27609
- o.getHours(),
27610
- o.getMinutes(),
27611
- o.getSeconds()
27607
+ defaultValue: n.defaultValue ?? new ra(
27608
+ a.getFullYear(),
27609
+ a.getMonth() + 1,
27610
+ a.getDate(),
27611
+ a.getHours(),
27612
+ a.getMinutes(),
27613
+ a.getSeconds()
27612
27614
  ),
27613
- ...r,
27614
- locale: n.locale,
27615
+ ...n,
27616
+ locale: o.locale,
27615
27617
  createCalendar: ef
27616
- }), d = XN(c.segments), u = V(null), { labelProps: p, fieldProps: m } = k_(r, c, u), h = /* @__PURE__ */ ne(or, { children: [
27618
+ }), u = XN(d.segments), p = V(null), { labelProps: m, fieldProps: h } = k_(n, d, p), b = /* @__PURE__ */ ne(or, { children: [
27617
27619
  /* @__PURE__ */ ne(
27618
27620
  ZN,
27619
27621
  {
27620
- ...m,
27621
- ref: u,
27622
- id: m.id,
27622
+ ...h,
27623
+ ref: p,
27624
+ id: h.id,
27623
27625
  paddingSize: t,
27624
27626
  children: [
27625
- /* @__PURE__ */ x(Dt, { flex: "1", children: d == null ? void 0 : d.filter(
27626
- (b) => !(b.type === "literal" && b.text === " ")
27627
- ).map((b, v) => /* @__PURE__ */ x(O_, { segment: b, state: c }, v)) }),
27627
+ /* @__PURE__ */ x(Dt, { flex: "1", children: u == null ? void 0 : u.filter(
27628
+ (v) => !(v.type === "literal" && v.text === " ")
27629
+ ).map((v, $) => /* @__PURE__ */ x(O_, { segment: v, state: d }, $)) }),
27628
27630
  /* @__PURE__ */ x(
27629
27631
  qN,
27630
27632
  {
27631
27633
  as: "button",
27632
27634
  type: "button",
27633
- ...l,
27634
- onClick: () => a.toggle(),
27635
+ ...s,
27636
+ onClick: () => i.toggle(),
27635
27637
  children: /* @__PURE__ */ x(
27636
27638
  kS,
27637
27639
  {
@@ -27648,33 +27650,33 @@ function JB({
27648
27650
  ]
27649
27651
  }
27650
27652
  ),
27651
- !!a.isOpen && /* @__PURE__ */ x(
27653
+ !!i.isOpen && /* @__PURE__ */ x(
27652
27654
  ts,
27653
27655
  {
27654
- state: a,
27655
- targetRef: u,
27656
+ state: i,
27657
+ targetRef: p,
27656
27658
  placement: "bottom start",
27657
- ...s,
27659
+ ...c,
27658
27660
  children: /* @__PURE__ */ x(
27659
27661
  oy,
27660
27662
  {
27661
- value: c.value,
27662
- focusedValue: c.value,
27663
- onChange: (b) => {
27664
- c.setValue(b);
27663
+ value: d.value,
27664
+ focusedValue: d.value,
27665
+ onChange: (v) => {
27666
+ d.setValue(v);
27665
27667
  },
27666
- timeZone: "America/New_York"
27668
+ timeZone: r
27667
27669
  }
27668
27670
  )
27669
27671
  }
27670
27672
  )
27671
27673
  ] });
27672
27674
  return /* @__PURE__ */ ne(M_, { children: [
27673
- /* @__PURE__ */ ne(qe, { ...p, mb: f.spacing_100, children: [
27674
- r.label,
27675
- r.tooltipContent ? /* @__PURE__ */ x(yr, { children: r.tooltipContent }) : null
27675
+ /* @__PURE__ */ ne(qe, { ...m, mb: f.spacing_100, children: [
27676
+ n.label,
27677
+ n.tooltipContent ? /* @__PURE__ */ x(yr, { children: n.tooltipContent }) : null
27676
27678
  ] }),
27677
- h
27679
+ b
27678
27680
  ] });
27679
27681
  }
27680
27682
  const JN = N(nn)`
@@ -28003,6 +28005,7 @@ const nF = N.span`
28003
28005
  isFocused: y,
28004
28006
  tabIndex: y ? 0 : -1,
28005
28007
  onClick: F,
28008
+ "aria-label": "Select All",
28006
28009
  children: [
28007
28010
  /* @__PURE__ */ x(
28008
28011
  z_,