@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.
Files changed (33) hide show
  1. package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js +3 -3
  2. package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js.map +3 -3
  3. package/app/.yalc/@kanda-libs/ks-component-ts/package.json +2 -2
  4. package/app/.yalc/@kanda-libs/ks-component-ts/yalc.sig +1 -1
  5. package/app/.yalc/@kanda-libs/ks-design-library/dist/index.esm.mjs +2 -2
  6. package/app/.yalc/@kanda-libs/ks-design-library/dist/index.esm.mjs.map +3 -3
  7. package/app/.yalc/@kanda-libs/ks-design-library/package.json +2 -2
  8. package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/constants.ts +3 -0
  9. package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/index.tsx +2 -0
  10. package/app/.yalc/@kanda-libs/ks-design-library/src/components/DesktopLayout/DesktopLayoutBoxed/DesktopLayoutBoxedContent/useContentClassNames.ts +6 -2
  11. package/app/.yalc/@kanda-libs/ks-design-library/src/components/ExpandableContent/useExpandableContentProps.ts +3 -2
  12. package/app/.yalc/@kanda-libs/ks-design-library/yalc.sig +1 -1
  13. package/app/yalc.lock +2 -2
  14. package/dist/index.d.ts +10145 -10145
  15. package/dist/index.esm.js +3 -3
  16. package/dist/index.esm.js.map +3 -3
  17. package/package.json +1 -1
  18. package/src/generated/components/parameters/index.ts +4 -0
  19. package/src/generated/components/parameters/xKandaBid.ts +8 -0
  20. package/src/generated/components/parameters/xKandaCid.ts +8 -0
  21. package/src/generated/components/parameters/xKandaEid.ts +8 -0
  22. package/src/generated/components/parameters/xKandaTid.ts +8 -0
  23. package/src/generated/operations/deleteLead.ts +9 -0
  24. package/src/generated/operations/getLead.ts +9 -0
  25. package/src/generated/operations/getLeads.ts +12 -1
  26. package/src/generated/operations/infoEnterprise.ts +10 -2
  27. package/src/generated/operations/postLead.ts +15 -2
  28. package/src/generated/operations/putLead.ts +9 -0
  29. package/src/generated/operations/quoteLead.ts +9 -0
  30. package/src/generated/operations/referLead.ts +9 -0
  31. package/src/generated/operations/tradeLead.ts +9 -0
  32. package/src/generated/operations/tradeQuoteApprovalLead.ts +9 -0
  33. 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.81",
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": "5de3490dab2f6ae8ff0de3e42ea27f49"
75
+ "yalcSig": "428b264647396fe7b13691318a38db62"
76
76
  }
@@ -17,6 +17,9 @@ export const CLASS_NAMES = {
17
17
  '@flex': {
18
18
  true: 'flex-1',
19
19
  },
20
+ '@footer': {
21
+ false: 'pb-18',
22
+ },
20
23
  },
21
24
  content: {
22
25
  base: 'flex flex-col',
@@ -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
- 'py-4 px-5',
35
- compact ? '' : 'border border-t-0 border-neutral-300 rounded-b-lg',
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
- 5de3490dab2f6ae8ff0de3e42ea27f49
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": "afd03a3e5dc5bb1f25ac9d4461bf5027",
5
+ "signature": "8669f608f3d662f3deacb52d3833eab4",
6
6
  "link": true
7
7
  },
8
8
  "@kanda-libs/ks-design-library": {
9
- "signature": "5de3490dab2f6ae8ff0de3e42ea27f49",
9
+ "signature": "428b264647396fe7b13691318a38db62",
10
10
  "link": true
11
11
  }
12
12
  }