@kanda-libs/ks-component-ts 0.2.257 → 0.2.259
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/app/src/App.tsx +12 -15
- package/dist/index.d.ts +7544 -7544
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/field/components/BasicNumberInput/BasicNumberInputUncontrolled/index.tsx +1 -2
- package/src/field/components/BasicNumberInput/BasicNumberInputUncontrolled/useBasicNumberInputUncontrolledProps.ts +0 -5
- package/src/generated/operations/postLead.ts +3 -0
- package/src/generated/widget/index.tsx +38415 -38415
- package/.DS_Store +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueBlackItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueBoldItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueExtraBoldItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueExtraLightItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueHeavyItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueLightItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueMediumItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueRegularItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueSemiBoldItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueThinItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueBlack.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueBold.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueExtraBold.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueExtraLight.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueHeavy.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueLight.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueMedium.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueRegular.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueSemiBold.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueThin.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js +0 -4
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js.map +0 -7
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/library.css +0 -4499
- package/app/.yalc/@kanda-libs/ks-component-ts/package.json +0 -97
- package/app/.yalc/@kanda-libs/ks-component-ts/yalc.sig +0 -1
- package/app/yalc.lock +0 -9
- package/src/.DS_Store +0 -0
- package/src/field/.DS_Store +0 -0
- package/src/field/components/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -50,8 +50,7 @@ const BasicNumberInputUncontrolled: FunctionComponent<BasicNumberInputUncontroll
|
|
|
50
50
|
isAllowed,
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
const focusedValue =
|
|
54
|
-
typeof currentValue !== "undefined" ? formatForDisplay(currentValue) : "";
|
|
53
|
+
const focusedValue = currentValue ? formatForDisplay(currentValue) : "";
|
|
55
54
|
const readOnlyProps = stripUnneededProps(props);
|
|
56
55
|
|
|
57
56
|
// DEV_NOTE: removed register here as need to register name and
|
|
@@ -66,11 +66,6 @@ export default function useBasicInputUncontrolledProps({
|
|
|
66
66
|
|
|
67
67
|
initialOnChange(e);
|
|
68
68
|
|
|
69
|
-
if (value.length === 0) {
|
|
70
|
-
setValue(name as string, undefined);
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
69
|
const nextValue = formatForValue(parseFloat(value)) || 0;
|
|
75
70
|
const formattedNextValue = nextValue >= 0 ? nextValue : nextValue * -1;
|
|
76
71
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
2
3
|
import * as schemas from "../components/schemas";
|
|
3
4
|
|
|
4
5
|
export type PostLeadRequestParameters = {
|
|
@@ -6,6 +7,7 @@ export type PostLeadRequestParameters = {
|
|
|
6
7
|
x_kanda_cid?: string;
|
|
7
8
|
x_kanda_eid?: string;
|
|
8
9
|
x_kanda_tid?: string;
|
|
10
|
+
x_kanda_protected: "yes" | "no";
|
|
9
11
|
};
|
|
10
12
|
|
|
11
13
|
export const postLeadOperation = {
|
|
@@ -40,6 +42,7 @@ export const postLeadOperation = {
|
|
|
40
42
|
in: "header",
|
|
41
43
|
name: "x_kanda_tid",
|
|
42
44
|
},
|
|
45
|
+
parameters.x_kanda_protected,
|
|
43
46
|
],
|
|
44
47
|
requestDefaultHeaders: {
|
|
45
48
|
"Content-Type": "application/json",
|