@theroutingcompany/components 0.0.117-alpha.1 → 0.0.117-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.
@@ -1662,7 +1662,7 @@ Valid keys: `+JSON.stringify(Object.keys(N),null," "));var le=_e(ae,se,H,X,Z+".
1662
1662
  width: 18px;
1663
1663
  height: 18px;
1664
1664
  margin-left: 8px;
1665
- `;function R$(e){const t=S.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=uy({...e,disallowEmptySelection:!0},r,n);return E(bd,{...o,ref:n,children:[...r.collection].map(a=>E(oA,{item:a,state:r},a.key))})}function rA(e){const t=S.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=uy({...e,disallowEmptySelection:!0},r,n);return E(bd,{...o,ref:n,children:[...r.collection].map(a=>E(aA,{item:a,state:r,isSelectableAll:!0},a.key))})}const $d=S.createContext(null);$d.displayName="OptionContext";function oA({item:e,state:t}){const n=S.useRef(null),{optionProps:r,labelProps:o,descriptionProps:a,isSelected:i,isFocused:l,isDisabled:s}=dy({key:e.key},t,n);return E(Dl,{...r,ref:n,isFocused:l,isSelected:i,isDisabled:s,children:E(vd,{children:Q($d.Provider,{value:{labelProps:o,descriptionProps:a},children:[E(tt,{as:"span",children:e.rendered}),E(yd,{children:i?E(De.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})})}function aA({item:e,state:t}){var l;const n=S.useRef(null),r=dy({key:e.key},t,n),o=((l=e==null?void 0:e.value)==null?void 0:l.name)||"",a=e["aria-label"],i=a||o||"";return Q(Dl,{...r.optionProps,ref:n,isFocused:r.isFocused,isSelected:r.isSelected,"aria-label":i,children:[E(rd,{isDisabled:r.isDisabled,isSelected:r.isSelected,"aria-label":i}),E(vd,{children:Q($d.Provider,{value:{labelProps:r.labelProps,descriptionProps:r.labelProps},children:[E(tt,{as:"span",children:e.rendered}),E(yd,{children:r.isSelected?E(De.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})]})}L.default.div`
1665
+ `;function R$(e){const t=S.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=uy({...e,disallowEmptySelection:!0},r,n);return E(bd,{...o,ref:n,children:[...r.collection].map(a=>E(oA,{item:a,state:r},a.key))})}function rA(e){const t=S.useRef(null),{listBoxRef:n=t,state:r}=e,{listBoxProps:o}=uy({...e,disallowEmptySelection:!0},r,n);return E(bd,{...o,ref:n,children:[...r.collection].map(a=>E(aA,{item:a,state:r,isSelectableAll:!0},a.key))})}const $d=S.createContext(null);$d.displayName="OptionContext";function oA({item:e,state:t}){const n=S.useRef(null),{optionProps:r,labelProps:o,descriptionProps:a,isSelected:i,isFocused:l,isDisabled:s}=dy({key:e.key},t,n);return E(Dl,{...r,ref:n,isFocused:l,isSelected:i,isDisabled:s,children:E(vd,{children:Q($d.Provider,{value:{labelProps:o,descriptionProps:a},children:[E(tt,{as:"span",overflowY:"hidden",children:e.rendered}),E(yd,{children:i?E(De.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})})}function aA({item:e,state:t}){var l;const n=S.useRef(null),r=dy({key:e.key},t,n),o=((l=e==null?void 0:e.value)==null?void 0:l.name)||"",a=e["aria-label"],i=a||o||"";return Q(Dl,{...r.optionProps,ref:n,isFocused:r.isFocused,isSelected:r.isSelected,"aria-label":i,children:[E(rd,{isDisabled:r.isDisabled,isSelected:r.isSelected,"aria-label":i}),E(vd,{children:Q($d.Provider,{value:{labelProps:r.labelProps,descriptionProps:r.labelProps},children:[E(tt,{as:"span",children:e.rendered}),E(yd,{children:r.isSelected?E(De.Check,{"aria-hidden":"true",style:{width:18,height:18}}):null})]})})]})}L.default.div`
1666
1666
  font-weight: normal;
1667
1667
  font-size: 12px;
1668
1668
  `;const K$=L.default.div`