@kanda-libs/ks-component-ts 0.2.248-qa → 0.2.249-qa
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/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js +3 -3
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js.map +3 -3
- package/app/.yalc/@kanda-libs/ks-component-ts/package.json +2 -2
- package/app/.yalc/@kanda-libs/ks-component-ts/yalc.sig +1 -1
- package/app/.yalc/@kanda-libs/ks-design-library/dist/index.esm.mjs +2 -2
- package/app/.yalc/@kanda-libs/ks-design-library/dist/index.esm.mjs.map +3 -3
- package/app/.yalc/@kanda-libs/ks-design-library/package.json +2 -2
- package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/constants.ts +3 -0
- package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/index.tsx +2 -0
- package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/useContentClassNames.ts +6 -2
- package/app/.yalc/@kanda-libs/ks-design-library/src/components/ExpandableContent/useExpandableContentProps.ts +3 -2
- package/app/.yalc/@kanda-libs/ks-design-library/yalc.sig +1 -1
- package/app/yalc.lock +2 -2
- package/dist/index.d.ts +10145 -10145
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/parameters/index.ts +4 -0
- package/src/generated/components/parameters/xKandaBid.ts +8 -0
- package/src/generated/components/parameters/xKandaCid.ts +8 -0
- package/src/generated/components/parameters/xKandaEid.ts +8 -0
- package/src/generated/components/parameters/xKandaTid.ts +8 -0
- package/src/generated/operations/deleteLead.ts +9 -0
- package/src/generated/operations/getLead.ts +9 -0
- package/src/generated/operations/getLeads.ts +12 -1
- package/src/generated/operations/infoEnterprise.ts +10 -2
- package/src/generated/operations/postLead.ts +15 -2
- package/src/generated/operations/putLead.ts +9 -0
- package/src/generated/operations/quoteLead.ts +9 -0
- package/src/generated/operations/referLead.ts +9 -0
- package/src/generated/operations/tradeLead.ts +9 -0
- package/src/generated/operations/tradeQuoteApprovalLead.ts +9 -0
- package/src/generated/widget/index.tsx +46932 -46928
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kanda-libs/ks-design-library",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"description": "Kanda design components library",
|
|
5
5
|
"main": "dist/index.esm.mjs",
|
|
6
6
|
"module": "dist/index.esm.mjs",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"react-toastify": "^9.0.8",
|
|
73
73
|
"use-debounce": "^8.0.4"
|
|
74
74
|
},
|
|
75
|
-
"yalcSig": "
|
|
75
|
+
"yalcSig": "428b264647396fe7b13691318a38db62"
|
|
76
76
|
}
|
|
@@ -30,6 +30,7 @@ const DesktopLayoutBoxedContent: FunctionComponent<ContentDefaultProps> =
|
|
|
30
30
|
top = false,
|
|
31
31
|
left = false,
|
|
32
32
|
flex = false,
|
|
33
|
+
noPadding = false,
|
|
33
34
|
}) {
|
|
34
35
|
const classNames = useContentClassNames({
|
|
35
36
|
footer,
|
|
@@ -37,6 +38,7 @@ const DesktopLayoutBoxedContent: FunctionComponent<ContentDefaultProps> =
|
|
|
37
38
|
top,
|
|
38
39
|
left,
|
|
39
40
|
flex,
|
|
41
|
+
noPadding,
|
|
40
42
|
});
|
|
41
43
|
|
|
42
44
|
return (
|
|
@@ -13,9 +13,13 @@ export default function useContentClassNames({
|
|
|
13
13
|
width,
|
|
14
14
|
...variants
|
|
15
15
|
}: ContentClassNamesArgs): StringIndexedObject {
|
|
16
|
+
const extendedVariants = {
|
|
17
|
+
...variants,
|
|
18
|
+
footer: Boolean(footer),
|
|
19
|
+
};
|
|
20
|
+
|
|
16
21
|
const classNames = useClasses(CLASS_NAMES, {
|
|
17
|
-
variants,
|
|
18
|
-
container: ['.container', footer ? '' : 'pb-18'],
|
|
22
|
+
variants: extendedVariants,
|
|
19
23
|
content: ['.content', width],
|
|
20
24
|
});
|
|
21
25
|
|
|
@@ -31,8 +31,9 @@ export default function useExpandableContentProps(compact: boolean) {
|
|
|
31
31
|
showContent ? 'rounded-t-lg' : 'rounded-lg',
|
|
32
32
|
),
|
|
33
33
|
container: clsx(
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
compact
|
|
35
|
+
? ''
|
|
36
|
+
: 'py-4 px-5 border border-t-0 border-neutral-300 rounded-b-lg',
|
|
36
37
|
),
|
|
37
38
|
label: 'text-14-22-em text-neutral-600',
|
|
38
39
|
icon: 'ml-3',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
428b264647396fe7b13691318a38db62
|
package/app/yalc.lock
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"version": "v1",
|
|
3
3
|
"packages": {
|
|
4
4
|
"@kanda-libs/ks-component-ts": {
|
|
5
|
-
"signature": "
|
|
5
|
+
"signature": "8669f608f3d662f3deacb52d3833eab4",
|
|
6
6
|
"link": true
|
|
7
7
|
},
|
|
8
8
|
"@kanda-libs/ks-design-library": {
|
|
9
|
-
"signature": "
|
|
9
|
+
"signature": "428b264647396fe7b13691318a38db62",
|
|
10
10
|
"link": true
|
|
11
11
|
}
|
|
12
12
|
}
|