@lidofinance/lido-ui 3.22.0 → 3.23.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.
- package/dist/cjs/input/InputGroup.js +6 -0
- package/dist/cjs/input/InputGroup.js.map +1 -1
- package/dist/cjs/input/types.js.map +1 -1
- package/dist/esm/input/InputGroup.mjs +6 -0
- package/dist/esm/input/InputGroup.mjs.map +1 -1
- package/dist/esm/input/types.mjs.map +1 -1
- package/dist/types/input/InputGroup.d.ts +2 -1
- package/dist/types/input/InputGroup.d.ts.map +1 -1
- package/dist/types/input/types.d.ts +1 -0
- package/dist/types/input/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -12,11 +12,14 @@ const InputGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
12
12
|
fullwidth = false,
|
|
13
13
|
error,
|
|
14
14
|
success,
|
|
15
|
+
warning,
|
|
15
16
|
children,
|
|
16
17
|
...rest
|
|
17
18
|
} = _ref;
|
|
18
19
|
const hasError = !!error;
|
|
19
20
|
const hasSuccess = !!success && !error;
|
|
21
|
+
const hasWarning = !hasError && !!warning; // `error` overrides `warning`
|
|
22
|
+
|
|
20
23
|
return /*#__PURE__*/jsxRuntime.jsxs(InputGroupStyles.InputGroupStyle, {
|
|
21
24
|
$fullwidth: fullwidth,
|
|
22
25
|
...rest,
|
|
@@ -29,6 +32,9 @@ const InputGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
29
32
|
}), hasSuccess && /*#__PURE__*/jsxRuntime.jsx(InputStyles.InputMessageStyle, {
|
|
30
33
|
$variant: "success",
|
|
31
34
|
children: success
|
|
35
|
+
}), hasWarning && /*#__PURE__*/jsxRuntime.jsx(InputStyles.InputMessageStyle, {
|
|
36
|
+
$variant: "warning",
|
|
37
|
+
children: warning
|
|
32
38
|
})]
|
|
33
39
|
});
|
|
34
40
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputGroup.js","sources":["../../../packages/input/InputGroup.tsx"],"sourcesContent":["import { ForwardedRef, forwardRef } from 'react'\nimport { InputMessageStyle } from './InputStyles.js'\nimport { InputGroupStyle, InputGroupContentStyle } from './InputGroupStyles.js'\nimport { InputGroupProps } from './types.js'\n\nexport const InputGroup = forwardRef(\n (\n {
|
|
1
|
+
{"version":3,"file":"InputGroup.js","sources":["../../../packages/input/InputGroup.tsx"],"sourcesContent":["import { ForwardedRef, forwardRef } from 'react'\nimport { InputMessageStyle } from './InputStyles.js'\nimport { InputGroupStyle, InputGroupContentStyle } from './InputGroupStyles.js'\nimport { InputGroupProps } from './types.js'\n\nexport const InputGroup = forwardRef(\n (\n {\n fullwidth = false,\n error,\n success,\n warning,\n children,\n ...rest\n }: InputGroupProps,\n ref?: ForwardedRef<HTMLSpanElement>,\n ) => {\n const hasError = !!error\n const hasSuccess = !!success && !error\n const hasWarning = !hasError && !!warning // `error` overrides `warning`\n\n return (\n <InputGroupStyle $fullwidth={fullwidth} {...rest} ref={ref}>\n <InputGroupContentStyle>{children}</InputGroupContentStyle>\n {hasError && (\n <InputMessageStyle $variant='error'>{error}</InputMessageStyle>\n )}\n {hasSuccess && (\n <InputMessageStyle $variant='success'>{success}</InputMessageStyle>\n )}\n {hasWarning && (\n <InputMessageStyle $variant='warning'>{warning}</InputMessageStyle>\n )}\n </InputGroupStyle>\n )\n },\n)\nInputGroup.displayName = 'InputGroup'\n"],"names":["InputGroup","forwardRef","ref","fullwidth","error","success","warning","children","rest","hasError","hasSuccess","hasWarning","_jsxs","InputGroupStyle","_jsx","InputGroupContentStyle","InputMessageStyle","displayName"],"mappings":";;;;;;;;;MAKaA,UAAU,gBAAGC,gBAAU,CAClC,CAAA,IAAA,EASEC,GATF,KAUK;EAAA,IATH;AACEC,IAAAA,SAAS,GAAG,KADd;IAEEC,KAFF;IAGEC,OAHF;IAIEC,OAJF;IAKEC,QALF;IAME,GAAGC,IAAAA;GAGF,GAAA,IAAA,CAAA;AACH,EAAA,MAAMC,QAAQ,GAAG,CAAC,CAACL,KAAnB,CAAA;AACA,EAAA,MAAMM,UAAU,GAAG,CAAC,CAACL,OAAF,IAAa,CAACD,KAAjC,CAAA;EACA,MAAMO,UAAU,GAAG,CAACF,QAAD,IAAa,CAAC,CAACH,OAAlC,CAHG;;AAKH,EAAA,oBACEM,gBAACC,gCAAD,EAAA;AAAiB,IAAA,UAAU,EAAEV,SAA7B;AAAA,IAAA,GAA4CK,IAA5C;AAAkD,IAAA,GAAG,EAAEN,GAAvD;AAAA,IAAA,QAAA,EAAA,cACEY,eAACC,uCAAD,EAAA;MAAA,QAAyBR,EAAAA,QAAAA;AAAzB,KAAA,CADF,EAEGE,QAAQ,iBACPK,cAAA,CAACE,6BAAD,EAAA;AAAmB,MAAA,QAAQ,EAAC,OAA5B;MAAA,QAAqCZ,EAAAA,KAAAA;AAArC,KAAA,CAHJ,EAKGM,UAAU,iBACTI,cAAA,CAACE,6BAAD,EAAA;AAAmB,MAAA,QAAQ,EAAC,SAA5B;MAAA,QAAuCX,EAAAA,OAAAA;AAAvC,KAAA,CANJ,EAQGM,UAAU,iBACTG,cAAA,CAACE,6BAAD,EAAA;AAAmB,MAAA,QAAQ,EAAC,SAA5B;MAAA,QAAuCV,EAAAA,OAAAA;KAT3C,CAAA,CAAA;GADF,CAAA,CAAA;AAcD,CA9BiC,EAA7B;AAgCPN,UAAU,CAACiB,WAAX,GAAyB,YAAzB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../../packages/input/types.ts"],"sourcesContent":["import { ChangeEventHandler, ReactNode, RefObject } from 'react'\nimport { LidoComponentProps } from '../utils/index.js'\nexport type { Theme } from '../theme/index.js'\n\nexport enum InputMessageVariant {\n error,\n warning,\n success,\n}\nexport type InputMessageVariants = keyof typeof InputMessageVariant\n\nexport enum InputType {\n text,\n password,\n number,\n email,\n search,\n tel,\n url,\n}\nexport type InputTypes = keyof typeof InputType\n\nexport enum InputVariant {\n small,\n default,\n}\nexport type InputVariants = keyof typeof InputVariant\n\nexport enum InputColor {\n default,\n accent,\n}\nexport type InputColors = keyof typeof InputColor\n\ntype CommonProps = {\n label?: ReactNode\n error?: ReactNode | boolean\n warning?: ReactNode | boolean\n success?: ReactNode | boolean\n variant?: InputVariants\n color?: InputColors\n active?: boolean\n fullwidth?: boolean\n wrapperRef?: RefObject<HTMLLabelElement>\n as?: never\n}\n\nexport type InputProps = LidoComponentProps<\n 'input',\n CommonProps & {\n type?: InputTypes\n leftDecorator?: ReactNode\n rightDecorator?: ReactNode\n }\n>\n\nexport type TextareaProps = LidoComponentProps<'textarea', CommonProps>\n\nexport type InputGroupProps = LidoComponentProps<\n 'span',\n {\n fullwidth?: boolean\n error?: ReactNode\n success?: ReactNode\n }\n>\n\ninterface ValueLabel {\n value: number\n label: ReactNode\n}\n\ntype SliderProps = {\n value: number\n onChange?: ChangeEventHandler<HTMLInputElement>\n min?: number\n max?: number\n minLabel?: ReactNode\n maxLabel?: ReactNode\n step?: number\n getLabel?: (value: number) => ReactNode\n borderNone?: boolean\n labels?: ValueLabel[]\n onLabelClick?: (value: number) => unknown\n}\n\nexport type SliderInputProps = LidoComponentProps<'input', SliderProps>\n\ntype SliderOptionValue = string | number\n\ninterface SliderOption {\n value: SliderOptionValue\n label: ReactNode\n}\n\ninterface OptionsSliderProps {\n options: [SliderOption, SliderOption, ...SliderOption[]] // this is declaration like T[] but with \"at least 2 elements\" constraint\n value?: SliderOptionValue // if value is not provided, component should act isolated; initial value should be first option\n onChange: (value: SliderOptionValue, valueIndex: number) => unknown\n}\n\nexport type OptionsSliderInputProps = Omit<\n SliderInputProps,\n 'value' | 'onChange'\n> &\n OptionsSliderProps\n"],"names":["InputMessageVariant","InputType","InputVariant","InputColor"],"mappings":";;;;AAIYA,IAAAA,mBAAZ,0BAAYA,mBAAZ,EAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA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AYA,YAAZ,CAAA;AAAA,CAAA,CAAA,EAAA,EAAA;AAMYC,IAAAA,UAAZ,0BAAYA,UAAZ,EAAA;AAAYA,EAAAA,UAAZ,CAAYA,UAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAYA,EAAAA,UAAZ,CAAYA,UAAZ,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA;AAAA,EAAA,OAAYA,UAAZ,CAAA;AAAA,CAAA,CAAA,EAAA;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../packages/input/types.ts"],"sourcesContent":["import { ChangeEventHandler, ReactNode, RefObject } from 'react'\nimport { LidoComponentProps } from '../utils/index.js'\nexport type { Theme } from '../theme/index.js'\n\nexport enum InputMessageVariant {\n error,\n warning,\n success,\n}\nexport type InputMessageVariants = keyof typeof InputMessageVariant\n\nexport enum InputType {\n text,\n password,\n number,\n email,\n search,\n tel,\n url,\n}\nexport type InputTypes = keyof typeof InputType\n\nexport enum InputVariant {\n small,\n default,\n}\nexport type InputVariants = keyof typeof InputVariant\n\nexport enum InputColor {\n default,\n accent,\n}\nexport type InputColors = keyof typeof InputColor\n\ntype CommonProps = {\n label?: ReactNode\n error?: ReactNode | boolean\n warning?: ReactNode | boolean\n success?: ReactNode | boolean\n variant?: InputVariants\n color?: InputColors\n active?: boolean\n fullwidth?: boolean\n wrapperRef?: RefObject<HTMLLabelElement>\n as?: never\n}\n\nexport type InputProps = LidoComponentProps<\n 'input',\n CommonProps & {\n type?: InputTypes\n leftDecorator?: ReactNode\n rightDecorator?: ReactNode\n }\n>\n\nexport type TextareaProps = LidoComponentProps<'textarea', CommonProps>\n\nexport type InputGroupProps = LidoComponentProps<\n 'span',\n {\n fullwidth?: boolean\n error?: ReactNode\n success?: ReactNode\n warning?: ReactNode\n }\n>\n\ninterface ValueLabel {\n value: number\n label: ReactNode\n}\n\ntype SliderProps = {\n value: number\n onChange?: ChangeEventHandler<HTMLInputElement>\n min?: number\n max?: number\n minLabel?: ReactNode\n maxLabel?: ReactNode\n step?: number\n getLabel?: (value: number) => ReactNode\n borderNone?: boolean\n labels?: ValueLabel[]\n onLabelClick?: (value: number) => unknown\n}\n\nexport type SliderInputProps = LidoComponentProps<'input', SliderProps>\n\ntype SliderOptionValue = string | number\n\ninterface SliderOption {\n value: SliderOptionValue\n label: ReactNode\n}\n\ninterface OptionsSliderProps {\n options: [SliderOption, SliderOption, ...SliderOption[]] // this is declaration like T[] but with \"at least 2 elements\" constraint\n value?: SliderOptionValue // if value is not provided, component should act isolated; initial value should be first option\n onChange: (value: SliderOptionValue, valueIndex: number) => unknown\n}\n\nexport type OptionsSliderInputProps = Omit<\n SliderInputProps,\n 'value' | 'onChange'\n> &\n OptionsSliderProps\n"],"names":["InputMessageVariant","InputType","InputVariant","InputColor"],"mappings":";;;;AAIYA,IAAAA,mBAAZ,0BAAYA,mBAAZ,EAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA,CAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAA,EAAA,OAAYA,mBAAZ,CAAA;AAAA,CAAA,CAAA,EAAA,EAAA;AAOYC,IAAAA,SAAZ,0BAAYA,SAAZ,EAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,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15
16
|
const hasSuccess = !!success && !error;
|
|
17
|
+
const hasWarning = !hasError && !!warning; // `error` overrides `warning`
|
|
18
|
+
|
|
16
19
|
return /*#__PURE__*/jsxs(InputGroupStyle, {
|
|
17
20
|
$fullwidth: fullwidth,
|
|
18
21
|
...rest,
|
|
@@ -25,6 +28,9 @@ const InputGroup = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
25
28
|
}), hasSuccess && /*#__PURE__*/jsx(InputMessageStyle, {
|
|
26
29
|
$variant: "success",
|
|
27
30
|
children: success
|
|
31
|
+
}), hasWarning && /*#__PURE__*/jsx(InputMessageStyle, {
|
|
32
|
+
$variant: "warning",
|
|
33
|
+
children: warning
|
|
28
34
|
})]
|
|
29
35
|
});
|
|
30
36
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputGroup.mjs","sources":["../../../packages/input/InputGroup.tsx"],"sourcesContent":["import { ForwardedRef, forwardRef } from 'react'\nimport { InputMessageStyle } from './InputStyles.js'\nimport { InputGroupStyle, InputGroupContentStyle } from './InputGroupStyles.js'\nimport { InputGroupProps } from './types.js'\n\nexport const InputGroup = forwardRef(\n (\n {
|
|
1
|
+
{"version":3,"file":"InputGroup.mjs","sources":["../../../packages/input/InputGroup.tsx"],"sourcesContent":["import { ForwardedRef, forwardRef } from 'react'\nimport { InputMessageStyle } from './InputStyles.js'\nimport { InputGroupStyle, InputGroupContentStyle } from './InputGroupStyles.js'\nimport { InputGroupProps } from './types.js'\n\nexport const InputGroup = forwardRef(\n (\n {\n fullwidth = false,\n error,\n success,\n warning,\n children,\n ...rest\n }: InputGroupProps,\n ref?: ForwardedRef<HTMLSpanElement>,\n ) => {\n const hasError = !!error\n const hasSuccess = !!success && !error\n const hasWarning = !hasError && !!warning // `error` overrides `warning`\n\n return (\n <InputGroupStyle $fullwidth={fullwidth} {...rest} ref={ref}>\n <InputGroupContentStyle>{children}</InputGroupContentStyle>\n {hasError && (\n <InputMessageStyle $variant='error'>{error}</InputMessageStyle>\n )}\n {hasSuccess && (\n <InputMessageStyle $variant='success'>{success}</InputMessageStyle>\n )}\n {hasWarning && (\n <InputMessageStyle $variant='warning'>{warning}</InputMessageStyle>\n )}\n </InputGroupStyle>\n )\n },\n)\nInputGroup.displayName = 'InputGroup'\n"],"names":["InputGroup","forwardRef","ref","fullwidth","error","success","warning","children","rest","hasError","hasSuccess","hasWarning","_jsxs","_jsx","displayName"],"mappings":";;;;;MAKaA,UAAU,gBAAGC,UAAU,CAClC,CAAA,IAAA,EASEC,GATF,KAUK;EAAA,IATH;AACEC,IAAAA,SAAS,GAAG,KADd;IAEEC,KAFF;IAGEC,OAHF;IAIEC,OAJF;IAKEC,QALF;IAME,GAAGC,IAAAA;GAGF,GAAA,IAAA,CAAA;AACH,EAAA,MAAMC,QAAQ,GAAG,CAAC,CAACL,KAAnB,CAAA;AACA,EAAA,MAAMM,UAAU,GAAG,CAAC,CAACL,OAAF,IAAa,CAACD,KAAjC,CAAA;EACA,MAAMO,UAAU,GAAG,CAACF,QAAD,IAAa,CAAC,CAACH,OAAlC,CAHG;;AAKH,EAAA,oBACEM,KAAC,eAAD,EAAA;AAAiB,IAAA,UAAU,EAAET,SAA7B;AAAA,IAAA,GAA4CK,IAA5C;AAAkD,IAAA,GAAG,EAAEN,GAAvD;AAAA,IAAA,QAAA,EAAA,cACEW,IAAC,sBAAD,EAAA;MAAA,QAAyBN,EAAAA,QAAAA;AAAzB,KAAA,CADF,EAEGE,QAAQ,iBACPI,GAAA,CAAC,iBAAD,EAAA;AAAmB,MAAA,QAAQ,EAAC,OAA5B;MAAA,QAAqCT,EAAAA,KAAAA;AAArC,KAAA,CAHJ,EAKGM,UAAU,iBACTG,GAAA,CAAC,iBAAD,EAAA;AAAmB,MAAA,QAAQ,EAAC,SAA5B;MAAA,QAAuCR,EAAAA,OAAAA;AAAvC,KAAA,CANJ,EAQGM,UAAU,iBACTE,GAAA,CAAC,iBAAD,EAAA;AAAmB,MAAA,QAAQ,EAAC,SAA5B;MAAA,QAAuCP,EAAAA,OAAAA;KAT3C,CAAA,CAAA;GADF,CAAA,CAAA;AAcD,CA9BiC,EAA7B;AAgCPN,UAAU,CAACc,WAAX,GAAyB,YAAzB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","sources":["../../../packages/input/types.ts"],"sourcesContent":["import { ChangeEventHandler, ReactNode, RefObject } from 'react'\nimport { LidoComponentProps } from '../utils/index.js'\nexport type { Theme } from '../theme/index.js'\n\nexport enum InputMessageVariant {\n error,\n warning,\n success,\n}\nexport type InputMessageVariants = keyof typeof InputMessageVariant\n\nexport enum InputType {\n text,\n password,\n number,\n email,\n search,\n tel,\n url,\n}\nexport type InputTypes = keyof typeof InputType\n\nexport enum InputVariant {\n small,\n default,\n}\nexport type InputVariants = keyof typeof InputVariant\n\nexport enum InputColor {\n default,\n accent,\n}\nexport type InputColors = keyof typeof InputColor\n\ntype CommonProps = {\n label?: ReactNode\n error?: ReactNode | boolean\n warning?: ReactNode | boolean\n success?: ReactNode | boolean\n variant?: InputVariants\n color?: InputColors\n active?: boolean\n fullwidth?: boolean\n wrapperRef?: RefObject<HTMLLabelElement>\n as?: never\n}\n\nexport type InputProps = LidoComponentProps<\n 'input',\n CommonProps & {\n type?: InputTypes\n leftDecorator?: ReactNode\n rightDecorator?: ReactNode\n }\n>\n\nexport type TextareaProps = LidoComponentProps<'textarea', CommonProps>\n\nexport type InputGroupProps = LidoComponentProps<\n 'span',\n {\n fullwidth?: boolean\n error?: ReactNode\n success?: ReactNode\n }\n>\n\ninterface ValueLabel {\n value: number\n label: ReactNode\n}\n\ntype SliderProps = {\n value: number\n onChange?: ChangeEventHandler<HTMLInputElement>\n min?: number\n max?: number\n minLabel?: ReactNode\n maxLabel?: ReactNode\n step?: number\n getLabel?: (value: number) => ReactNode\n borderNone?: boolean\n labels?: ValueLabel[]\n onLabelClick?: (value: number) => unknown\n}\n\nexport type SliderInputProps = LidoComponentProps<'input', SliderProps>\n\ntype SliderOptionValue = string | number\n\ninterface SliderOption {\n value: SliderOptionValue\n label: ReactNode\n}\n\ninterface OptionsSliderProps {\n options: [SliderOption, SliderOption, ...SliderOption[]] // this is declaration like T[] but with \"at least 2 elements\" constraint\n value?: SliderOptionValue // if value is not provided, component should act isolated; initial value should be first option\n onChange: (value: SliderOptionValue, valueIndex: number) => unknown\n}\n\nexport type OptionsSliderInputProps = Omit<\n SliderInputProps,\n 'value' | 'onChange'\n> &\n OptionsSliderProps\n"],"names":["InputMessageVariant","InputType","InputVariant","InputColor"],"mappings":"AAIYA,IAAAA,mBAAZ,0BAAYA,mBAAZ,EAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA,CAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAA,EAAA,OAAYA,mBAAZ,CAAA;AAAA,CAAA,CAAA,EAAA,EAAA;AAOYC,IAAAA,SAAZ,0BAAYA,SAAZ,EAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAA,CAAA;AAAYA,EAAAA,SAAZ,CAAYA,SAAZ,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAA,CAAA;AAAA,EAAA,OAAYA,SAAZ,CAAA;AAAA,CAAA,CAAA,EAAA,EAAA;AAWYC,IAAAA,YAAZ,0BAAYA,YAAZ,EAAA;AAAYA,EAAAA,YAAZ,CAAYA,YAAZ,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA,CAAA;AAAYA,EAAAA,YAAZ,CAAYA,YAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAA,EAAA,OAAYA,YAAZ,CAAA;AAAA,CAAA,CAAA,EAAA,EAAA;AAMYC,IAAAA,UAAZ,0BAAYA,UAAZ,EAAA;AAAYA,EAAAA,UAAZ,CAAYA,UAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAYA,EAAAA,UAAZ,CAAYA,UAAZ,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA;AAAA,EAAA,OAAYA,UAAZ,CAAA;AAAA,CAAA,CAAA,EAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"types.mjs","sources":["../../../packages/input/types.ts"],"sourcesContent":["import { ChangeEventHandler, ReactNode, RefObject } from 'react'\nimport { LidoComponentProps } from '../utils/index.js'\nexport type { Theme } from '../theme/index.js'\n\nexport enum InputMessageVariant {\n error,\n warning,\n success,\n}\nexport type InputMessageVariants = keyof typeof InputMessageVariant\n\nexport enum InputType {\n text,\n password,\n number,\n email,\n search,\n tel,\n url,\n}\nexport type InputTypes = keyof typeof InputType\n\nexport enum InputVariant {\n small,\n default,\n}\nexport type InputVariants = keyof typeof InputVariant\n\nexport enum InputColor {\n default,\n accent,\n}\nexport type InputColors = keyof typeof InputColor\n\ntype CommonProps = {\n label?: ReactNode\n error?: ReactNode | boolean\n warning?: ReactNode | boolean\n success?: ReactNode | boolean\n variant?: InputVariants\n color?: InputColors\n active?: boolean\n fullwidth?: boolean\n wrapperRef?: RefObject<HTMLLabelElement>\n as?: never\n}\n\nexport type InputProps = LidoComponentProps<\n 'input',\n CommonProps & {\n type?: InputTypes\n leftDecorator?: ReactNode\n rightDecorator?: ReactNode\n }\n>\n\nexport type TextareaProps = LidoComponentProps<'textarea', CommonProps>\n\nexport type InputGroupProps = LidoComponentProps<\n 'span',\n {\n fullwidth?: boolean\n error?: ReactNode\n success?: ReactNode\n warning?: ReactNode\n }\n>\n\ninterface ValueLabel {\n value: number\n label: ReactNode\n}\n\ntype SliderProps = {\n value: number\n onChange?: ChangeEventHandler<HTMLInputElement>\n min?: number\n max?: number\n minLabel?: ReactNode\n maxLabel?: ReactNode\n step?: number\n getLabel?: (value: number) => ReactNode\n borderNone?: boolean\n labels?: ValueLabel[]\n onLabelClick?: (value: number) => unknown\n}\n\nexport type SliderInputProps = LidoComponentProps<'input', SliderProps>\n\ntype SliderOptionValue = string | number\n\ninterface SliderOption {\n value: SliderOptionValue\n label: ReactNode\n}\n\ninterface OptionsSliderProps {\n options: [SliderOption, SliderOption, ...SliderOption[]] // this is declaration like T[] but with \"at least 2 elements\" constraint\n value?: SliderOptionValue // if value is not provided, component should act isolated; initial value should be first option\n onChange: (value: SliderOptionValue, valueIndex: number) => unknown\n}\n\nexport type OptionsSliderInputProps = Omit<\n SliderInputProps,\n 'value' | 'onChange'\n> &\n OptionsSliderProps\n"],"names":["InputMessageVariant","InputType","InputVariant","InputColor"],"mappings":"AAIYA,IAAAA,mBAAZ,0BAAYA,mBAAZ,EAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA,CAAA;AAAYA,EAAAA,mBAAZ,CAAYA,mBAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GA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,EAAA;AAAYA,EAAAA,UAAZ,CAAYA,UAAZ,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AAAYA,EAAAA,UAAZ,CAAYA,UAAZ,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA;AAAA,EAAA,OAAYA,UAAZ,CAAA;AAAA,CAAA,CAAA,EAAA;;;;"}
|
|
@@ -3,8 +3,9 @@ export declare const InputGroup: import("react").ForwardRefExoticComponent<{
|
|
|
3
3
|
fullwidth?: boolean | undefined;
|
|
4
4
|
error?: import("react").ReactNode;
|
|
5
5
|
success?: import("react").ReactNode;
|
|
6
|
+
warning?: import("react").ReactNode;
|
|
6
7
|
} & Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
7
8
|
as?: keyof JSX.IntrinsicElements | undefined;
|
|
8
9
|
forwardedAs?: keyof JSX.IntrinsicElements | undefined;
|
|
9
|
-
}, "ref" | "error" | "success" | "fullwidth"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
}, "ref" | "error" | "warning" | "success" | "fullwidth"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
10
11
|
//# sourceMappingURL=InputGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../packages/input/InputGroup.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../packages/input/InputGroup.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,UAAU;;;;;;;;2GA+BtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/input/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA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