@croquiscom/pds 3.8.2 → 3.9.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/CHANGELOG.md +12 -0
- package/assets/icons/Cellphone.svg +4 -0
- package/assets/icons/Monitor.svg +3 -0
- package/dist/components/icons/generated/Cellphone.d.ts +4 -0
- package/dist/components/icons/generated/Monitor.d.ts +4 -0
- package/dist/components/icons/generated/index.d.ts +2 -0
- package/dist/components/radio/RadioGroup.d.ts +5 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -55,6 +55,7 @@ export { default as IconCategoryKids } from './CategoryKids';
|
|
|
55
55
|
export { default as IconCategoryLife } from './CategoryLife';
|
|
56
56
|
export { default as IconCategoryShop } from './CategoryShop';
|
|
57
57
|
export { default as IconCategoryZDelivery } from './CategoryZDelivery';
|
|
58
|
+
export { default as IconCellphone } from './Cellphone';
|
|
58
59
|
export { default as IconCheck } from './Check';
|
|
59
60
|
export { default as IconCheckBold } from './CheckBold';
|
|
60
61
|
export { default as IconChecklist } from './Checklist';
|
|
@@ -143,6 +144,7 @@ export { default as IconLock } from './Lock';
|
|
|
143
144
|
export { default as IconMegaphone } from './Megaphone';
|
|
144
145
|
export { default as IconMessage } from './Message';
|
|
145
146
|
export { default as IconMinus } from './Minus';
|
|
147
|
+
export { default as IconMonitor } from './Monitor';
|
|
146
148
|
export { default as IconMove } from './Move';
|
|
147
149
|
export { default as IconNew } from './New';
|
|
148
150
|
export { default as IconNumEightFill } from './NumEightFill';
|
|
@@ -3,9 +3,13 @@ import { AriaFocusProps } from '../../types/common';
|
|
|
3
3
|
import { RadioSizeUnion } from './types';
|
|
4
4
|
export type AlignType = 'horizontal' | 'vertical';
|
|
5
5
|
export type RadioItemType = 'default' | 'box';
|
|
6
|
-
export type RadioSizeType = RadioItemType extends 'box' ? RadioSizeUnion : RadioItemType extends 'default' ? number : never;
|
|
7
6
|
export interface RadioCategoryType<T> {
|
|
8
7
|
radioItemType?: T;
|
|
8
|
+
/**
|
|
9
|
+
* radioItmType - default일 경우 number 타입만 적용됩니다.
|
|
10
|
+
*
|
|
11
|
+
* radioItmType - box일 경우 'small', 'medium', 'large'만 적용됩니다.
|
|
12
|
+
*/
|
|
9
13
|
size?: T extends 'box' ? RadioSizeUnion : number;
|
|
10
14
|
}
|
|
11
15
|
interface RadioItem<RadioValue> {
|