@loomhq/lens 10.58.0 → 10.58.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.
@@ -2,6 +2,6 @@ import * as React from 'react';
2
2
  function SvgMoon(props) {
3
3
  return (React.createElement(React.Fragment, null,
4
4
  React.createElement("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none" }, props),
5
- React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.0812 2.50901C12.2747 2.85239 12.2485 3.27742 12.0142 3.59439C11.16 4.75005 10.7489 6.17392 10.8558 7.60703C10.9627 9.04015 11.5804 10.3873 12.5965 11.4035C13.6127 12.4197 14.9599 13.0374 16.393 13.1442C17.8261 13.2511 19.25 12.84 20.4056 11.9858C20.7226 11.7515 21.1476 11.7253 21.491 11.9188C21.8344 12.1123 22.0321 12.4895 21.9958 12.882C21.821 14.7733 21.1112 16.5758 19.9494 18.0784C18.7876 19.5811 17.2219 20.7218 15.4355 21.3671C13.649 22.0123 11.7158 22.1355 9.86189 21.7221C8.00802 21.3087 6.31022 20.3759 4.96714 19.0329C3.62407 17.6898 2.69127 15.992 2.2779 14.1381C1.86453 12.2842 1.98769 10.351 2.63296 8.56456C3.27823 6.77813 4.41893 5.21241 5.92157 4.05062C7.42422 2.88883 9.22667 2.17901 11.118 2.00423C11.5105 1.96796 11.8877 2.16563 12.0812 2.50901ZM9.31641 4.43905C8.5388 4.7204 7.80562 5.12201 7.1449 5.63286C5.94278 6.56229 5.03023 7.81486 4.51401 9.24401C3.99779 10.6732 3.89927 12.2198 4.22996 13.7029C4.56066 15.186 5.30689 16.5442 6.38136 17.6187C7.45582 18.6931 8.81406 19.4394 10.2972 19.77C11.7803 20.1007 13.3269 20.0022 14.756 19.486C16.1851 18.9698 17.4377 18.0572 18.3672 16.8551C18.878 16.1944 19.2796 15.4612 19.561 14.6836C18.5078 15.0646 17.3782 15.2232 16.2442 15.1387C14.3334 14.9962 12.5372 14.1726 11.1823 12.8177C9.82742 11.4628 9.00382 9.66658 8.86132 7.75577C8.77676 6.6218 8.9354 5.49217 9.31641 4.43905Z", fill: "currentColor" }))));
5
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.1908 4.01685C12.3843 4.36024 12.3581 4.78527 12.1238 5.10224C11.4357 6.03318 11.1045 7.18019 11.1906 8.33464C11.2767 9.48909 11.7743 10.5743 12.5929 11.3929C13.4115 12.2115 14.4967 12.7091 15.6511 12.7952C16.8056 12.8812 17.9526 12.5501 18.8835 11.862C19.2005 11.6277 19.6255 11.6015 19.9689 11.795C20.3123 11.9885 20.51 12.3657 20.4737 12.7582C20.3251 14.3658 19.7218 15.8979 18.7343 17.1751C17.7467 18.4524 16.4159 19.422 14.8974 19.9705C13.379 20.519 11.7357 20.6236 10.1599 20.2723C8.58411 19.9209 7.14097 19.128 5.99936 17.9864C4.85775 16.8448 4.06487 15.4017 3.7135 13.8259C3.36214 12.2501 3.46682 10.6068 4.0153 9.08835C4.56378 7.56989 5.53338 6.23903 6.81063 5.25151C8.08788 4.26398 9.61995 3.66064 11.2276 3.51207C11.6201 3.4758 11.9973 3.67347 12.1908 4.01685ZM9.4713 5.99218C8.96059 6.20883 8.47721 6.49103 8.03395 6.83374C7.05723 7.58891 6.31578 8.60662 5.89635 9.7678C5.47693 10.929 5.39688 12.1856 5.66557 13.3906C5.93426 14.5956 6.54057 15.6992 7.41357 16.5722C8.28657 17.4452 9.39014 18.0515 10.5952 18.3202C11.8002 18.5889 13.0568 18.5088 14.218 18.0894C15.3792 17.67 16.3969 16.9285 17.152 15.9518C17.4947 15.5086 17.7769 15.0252 17.9936 14.5145C17.1935 14.7571 16.3494 14.8528 15.5024 14.7896C13.8702 14.6679 12.336 13.9644 11.1787 12.8071C10.0214 11.6498 9.31787 10.1155 9.19616 8.48337C9.133 7.6364 9.22868 6.79227 9.4713 5.99218Z", fill: "currentColor" }))));
6
6
  }
7
7
  export default SvgMoon;
@@ -4,7 +4,6 @@ declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps & O
4
4
  } & {
5
5
  children?: React.ReactNode;
6
6
  }, "size">, "size" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "height" | "width" | "form" | "pattern" | "theme" | "list" | "step" | "alt" | "crossOrigin" | "src" | "value" | "icon" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "isDisabled" | "accept" | "autoComplete" | "capture" | "checked" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "hasError" | "inputSize"> & React.RefAttributes<HTMLInputElement>>;
7
- export declare const availableTypes: string[];
8
7
  declare type TextInputProps = {
9
8
  placeholder?: string;
10
9
  value?: string | number;
@@ -14,7 +13,7 @@ declare type TextInputProps = {
14
13
  onKeyDown?: React.ReactEventHandler;
15
14
  isDisabled?: boolean;
16
15
  icon?: React.ReactNode;
17
- type?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
16
+ type?: 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
18
17
  id?: string;
19
18
  hasError?: boolean;
20
19
  size?: 'small' | 'medium';
@@ -102,18 +102,4 @@ const TextInput = forwardRef((_a, ref) => {
102
102
  React.createElement(Icon, { icon: icon, size: sizesStyles[size].iconSize, color: getColorValue(isDisabled ? 'disabledContent' : 'body') }))),
103
103
  inputField)) : (inputField);
104
104
  });
105
- export const availableTypes = [
106
- 'date',
107
- 'datetime-local',
108
- 'email',
109
- 'month',
110
- 'number',
111
- 'password',
112
- 'search',
113
- 'tel',
114
- 'text',
115
- 'time',
116
- 'url',
117
- 'week',
118
- ];
119
105
  export default TextInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomhq/lens",
3
- "version": "10.58.0",
3
+ "version": "10.58.2",
4
4
  "scripts": {
5
5
  "dev": "next",
6
6
  "build:next": "next build",