@croquiscom/pds 0.47.2 → 0.47.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 0.47.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 3f95ca9: FormField Align 속성 추가
8
+
3
9
  ## 0.47.2
4
10
 
5
11
  ### Patch Changes
@@ -20,5 +20,10 @@ export interface FormFieldProps {
20
20
  * 최소너비 80px내에서 라벨 너비를 지정할 수 있습니다.
21
21
  */
22
22
  labelWidth?: CSSValueWithLength;
23
+ /**
24
+ * label, children 정렬를 지정할 수 있습니다.
25
+ * @default center
26
+ */
27
+ alignment?: 'top' | 'center';
23
28
  }
24
- export declare const FormField: ({ className, label, rightAddon, required, helper, labelWidth, children, }: PropsWithChildren<FormFieldProps>) => JSX.Element;
29
+ export declare const FormField: ({ className, label, rightAddon, required, helper, labelWidth, alignment, children, }: PropsWithChildren<FormFieldProps>) => JSX.Element;
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ComponentStory, ComponentMeta } from '@storybook/react';
3
3
  import { FormField } from './FormField';
4
- declare const _default: ComponentMeta<({ className, label, rightAddon, required, helper, labelWidth, children, }: React.PropsWithChildren<import("./FormField").FormFieldProps>) => JSX.Element>;
4
+ declare const _default: ComponentMeta<({ className, label, rightAddon, required, helper, labelWidth, alignment, children, }: React.PropsWithChildren<import("./FormField").FormFieldProps>) => JSX.Element>;
5
5
  export default _default;
6
6
  export declare const Base: any;
7
7
  export declare const LabelWidth: any;
8
8
  export declare const WithRadioGroup: ComponentStory<typeof FormField>;
9
9
  export declare const WithCheckboxGroup: ComponentStory<typeof FormField>;
10
10
  export declare const WithHelpPopover: any;
11
+ export declare const TopAlign: any;