@t3q-ui/design-system 1.67.4 → 1.67.5
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 +3 -0
- package/dist/components/multiSelect/multiSelect.cjs +18 -75
- package/dist/components/multiSelect/multiSelect.cjs.map +1 -1
- package/dist/components/multiSelect/multiSelect.js +18 -74
- package/dist/components/multiSelect/multiSelect.js.map +1 -1
- package/dist/components/multiSelect/multiSelectTrigger.cjs +2 -2
- package/dist/components/multiSelect/multiSelectTrigger.cjs.map +1 -1
- package/dist/components/multiSelect/multiSelectTrigger.js +1 -1
- package/dist/components/multiSelect/multiSelectTrigger.js.map +1 -1
- package/dist/components/select/select.cjs +17 -36
- package/dist/components/select/select.cjs.map +1 -1
- package/dist/components/select/select.js +17 -35
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/select/selectContent.cjs +44 -47
- package/dist/components/select/selectContent.cjs.map +1 -1
- package/dist/components/select/selectContent.js +44 -47
- package/dist/components/select/selectContent.js.map +1 -1
- package/dist/components/select/selectGroup.cjs +3 -1
- package/dist/components/select/selectGroup.cjs.map +1 -1
- package/dist/components/select/selectGroup.js +3 -1
- package/dist/components/select/selectGroup.js.map +1 -1
- package/dist/components/select/selectInput.cjs +39 -32
- package/dist/components/select/selectInput.cjs.map +1 -1
- package/dist/components/select/selectInput.js +40 -33
- package/dist/components/select/selectInput.js.map +1 -1
- package/dist/components/select/selectItem.cjs +90 -14
- package/dist/components/select/selectItem.cjs.map +1 -1
- package/dist/components/select/selectItem.js +92 -16
- package/dist/components/select/selectItem.js.map +1 -1
- package/dist/components/select/selectLoading.cjs +3 -1
- package/dist/components/select/selectLoading.cjs.map +1 -1
- package/dist/components/select/selectLoading.js +3 -1
- package/dist/components/select/selectLoading.js.map +1 -1
- package/dist/components/select/selectRoot.cjs +105 -0
- package/dist/components/select/selectRoot.cjs.map +1 -0
- package/dist/components/select/selectRoot.js +87 -0
- package/dist/components/select/selectRoot.js.map +1 -0
- package/dist/components/select/selectSeparator.cjs +3 -1
- package/dist/components/select/selectSeparator.cjs.map +1 -1
- package/dist/components/select/selectSeparator.js +3 -1
- package/dist/components/select/selectSeparator.js.map +1 -1
- package/dist/components/select/selectTrigger.cjs +2 -2
- package/dist/components/select/selectTrigger.cjs.map +1 -1
- package/dist/components/select/selectTrigger.js +1 -1
- package/dist/components/select/selectTrigger.js.map +1 -1
- package/dist/components/select/selectValue.cjs +2 -2
- package/dist/components/select/selectValue.cjs.map +1 -1
- package/dist/components/select/selectValue.js +1 -1
- package/dist/components/select/selectValue.js.map +1 -1
- package/dist/index.cjs +16 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -115
- package/dist/index.d.ts +47 -115
- package/dist/index.js +17 -25
- package/dist/index.js.map +1 -1
- package/mcp/manifests/components.json +22 -22
- package/package.json +1 -1
- package/dist/components/multiSelect/multiSelectContent.cjs +0 -119
- package/dist/components/multiSelect/multiSelectContent.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectContent.js +0 -101
- package/dist/components/multiSelect/multiSelectContent.js.map +0 -1
- package/dist/components/multiSelect/multiSelectContext.cjs +0 -32
- package/dist/components/multiSelect/multiSelectContext.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectContext.js +0 -15
- package/dist/components/multiSelect/multiSelectContext.js.map +0 -1
- package/dist/components/multiSelect/multiSelectGroup.cjs +0 -47
- package/dist/components/multiSelect/multiSelectGroup.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectGroup.js +0 -30
- package/dist/components/multiSelect/multiSelectGroup.js.map +0 -1
- package/dist/components/multiSelect/multiSelectInput.cjs +0 -73
- package/dist/components/multiSelect/multiSelectInput.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectInput.js +0 -56
- package/dist/components/multiSelect/multiSelectInput.js.map +0 -1
- package/dist/components/multiSelect/multiSelectItem.cjs +0 -129
- package/dist/components/multiSelect/multiSelectItem.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectItem.js +0 -112
- package/dist/components/multiSelect/multiSelectItem.js.map +0 -1
- package/dist/components/multiSelect/multiSelectLoading.cjs +0 -52
- package/dist/components/multiSelect/multiSelectLoading.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectLoading.js +0 -35
- package/dist/components/multiSelect/multiSelectLoading.js.map +0 -1
- package/dist/components/multiSelect/multiSelectSeparator.cjs +0 -42
- package/dist/components/multiSelect/multiSelectSeparator.cjs.map +0 -1
- package/dist/components/multiSelect/multiSelectSeparator.js +0 -25
- package/dist/components/multiSelect/multiSelectSeparator.js.map +0 -1
- package/dist/components/select/selectContext.cjs +0 -32
- package/dist/components/select/selectContext.cjs.map +0 -1
- package/dist/components/select/selectContext.js +0 -15
- package/dist/components/select/selectContext.js.map +0 -1
- package/dist/components/select/selectRadioItem.cjs +0 -113
- package/dist/components/select/selectRadioItem.cjs.map +0 -1
- package/dist/components/select/selectRadioItem.js +0 -96
- package/dist/components/select/selectRadioItem.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1270,15 +1270,37 @@ interface RadioSectionProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
1270
1270
|
*/
|
|
1271
1271
|
declare function RadioSection({ title, description, selected, disabled, onSelect, value, className, onClick, onKeyDown, ...props }: RadioSectionProps): react_jsx_runtime.JSX.Element;
|
|
1272
1272
|
|
|
1273
|
-
|
|
1273
|
+
/** 두 루트가 똑같이 가진 것. 공통 부품(Content·Input·Group·Loading·Separator·Item)은 이것만 읽는다 */
|
|
1274
|
+
interface SelectRootContextBase {
|
|
1274
1275
|
open: boolean;
|
|
1275
1276
|
setOpen: (open: boolean) => void;
|
|
1276
|
-
value: string | undefined;
|
|
1277
|
-
onValueChange: (value: string) => void;
|
|
1278
1277
|
disabled?: boolean;
|
|
1279
|
-
/** value ->
|
|
1278
|
+
/** value -> 화면 글자 (트리거·칩 표시용) */
|
|
1280
1279
|
labelMap: Map<string, string>;
|
|
1281
1280
|
registerLabel: (value: string, label: string) => void;
|
|
1281
|
+
/** 검색어. 검색창·MultiSelect 트리거 입력·cmdk 필터가 함께 쓴다. 목록이 닫히면 비워진다 */
|
|
1282
|
+
searchTerm: string;
|
|
1283
|
+
setSearchTerm: (term: string) => void;
|
|
1284
|
+
/** 이 값이 골라져 있는가 — 하나만 고르기와 여럿 고르기의 차이는 이것과 `selectItem` 에만 있다 */
|
|
1285
|
+
isSelected: (value: string) => boolean;
|
|
1286
|
+
/** 항목을 골랐을 때. Select 는 그 값으로 바꾸고 닫는다, MultiSelect 는 넣거나 빼고 검색어를 비운다 */
|
|
1287
|
+
selectItem: (value: string) => void;
|
|
1288
|
+
}
|
|
1289
|
+
interface SelectContextValue extends SelectRootContextBase {
|
|
1290
|
+
slot: 'select';
|
|
1291
|
+
value: string | undefined;
|
|
1292
|
+
onValueChange: (value: string) => void;
|
|
1293
|
+
}
|
|
1294
|
+
interface MultiSelectContextValue extends SelectRootContextBase {
|
|
1295
|
+
slot: 'multi-select';
|
|
1296
|
+
/** 현재 선택된 값 배열 */
|
|
1297
|
+
values: string[];
|
|
1298
|
+
/** 값을 토글 (선택/해제) */
|
|
1299
|
+
onToggleValue: (value: string) => void;
|
|
1300
|
+
/** 특정 값 제거 */
|
|
1301
|
+
onRemoveValue: (value: string) => void;
|
|
1302
|
+
/** 모든 값 제거 */
|
|
1303
|
+
onClearAll: () => void;
|
|
1282
1304
|
}
|
|
1283
1305
|
interface SelectProps {
|
|
1284
1306
|
value?: string;
|
|
@@ -1313,43 +1335,27 @@ interface SelectItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, '
|
|
|
1313
1335
|
disabled?: boolean;
|
|
1314
1336
|
/** 아이템 하단 설명 텍스트 (trigger에 표시되지 않음) */
|
|
1315
1337
|
description?: string;
|
|
1316
|
-
/** trigger에 표시할 텍스트. 미지정 시 children에서 추출 */
|
|
1317
|
-
textValue?: string;
|
|
1318
|
-
/** title 과 description 사이에 표시할 메타 정보 배열 (라벨/구분자/값) */
|
|
1319
|
-
meta?: MetaItemProps[];
|
|
1320
|
-
/** title row 앞 위치에 렌더될 슬롯 */
|
|
1321
|
-
elemBefore?: React$1.ReactNode;
|
|
1322
1338
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1325
|
-
*
|
|
1339
|
+
* trigger(MultiSelect 는 칩)에 표시하고 검색에 쓰는 텍스트.
|
|
1340
|
+
* 미지정 시 children 의 글자를 쓴다 — `{name} ({code})`·`<b>이름</b>` 처럼 나뉘어 있어도 이어 붙인다.
|
|
1341
|
+
* children 이 글자를 props 로 받는 컴포넌트뿐이면 글자를 알 수 없어 value 를 쓰므로 그때는 지정한다.
|
|
1326
1342
|
*/
|
|
1327
|
-
elemBeforeAlign?: 'center' | 'title';
|
|
1328
|
-
/** title 텍스트 우측에 렌더될 슬롯 */
|
|
1329
|
-
elemAfter?: React$1.ReactNode;
|
|
1330
|
-
children: React$1.ReactNode;
|
|
1331
|
-
}
|
|
1332
|
-
interface SelectRadioItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
1333
|
-
value: string;
|
|
1334
|
-
disabled?: boolean;
|
|
1335
|
-
/** 아이템 하단 설명 텍스트 */
|
|
1336
|
-
description?: string;
|
|
1337
|
-
/** trigger에 표시할 텍스트 */
|
|
1338
1343
|
textValue?: string;
|
|
1339
1344
|
/** title 과 description 사이에 표시할 메타 정보 배열 (라벨/구분자/값) */
|
|
1340
1345
|
meta?: MetaItemProps[];
|
|
1341
|
-
/**
|
|
1346
|
+
/** title row 앞(라디오·체크박스 인디케이터가 있으면 그 다음)에 렌더될 슬롯 */
|
|
1342
1347
|
elemBefore?: React$1.ReactNode;
|
|
1343
1348
|
/**
|
|
1344
1349
|
* elemBefore 배치 방식.
|
|
1345
|
-
* - `'center'`(기본): 선행 컬럼 — 전체
|
|
1346
|
-
* - `'title'`: title 행
|
|
1350
|
+
* - `'center'`(기본): SelectItemContent 바깥 선행 컬럼 — 멀티라인 전체 높이에 중앙 정렬하며 이름·meta 를 모두 우측으로 밀어냄.
|
|
1351
|
+
* - `'title'`: title 행 안에 인라인 — 이름만 우측으로 밀고 meta/description 행은 콘텐츠 좌측 정렬 유지(항목 간 meta 시작 위치 일치).
|
|
1347
1352
|
*/
|
|
1348
1353
|
elemBeforeAlign?: 'center' | 'title';
|
|
1349
1354
|
/** title 텍스트 우측에 렌더될 슬롯 */
|
|
1350
1355
|
elemAfter?: React$1.ReactNode;
|
|
1351
1356
|
children: React$1.ReactNode;
|
|
1352
1357
|
}
|
|
1358
|
+
type SelectRadioItemProps = SelectItemProps;
|
|
1353
1359
|
interface SelectInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
1354
1360
|
onChange?: (value: string) => void;
|
|
1355
1361
|
}
|
|
@@ -1372,25 +1378,6 @@ declare const selectTriggerVariants: (props?: ({
|
|
|
1372
1378
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1373
1379
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1374
1380
|
|
|
1375
|
-
interface MultiSelectContextValue {
|
|
1376
|
-
open: boolean;
|
|
1377
|
-
setOpen: (open: boolean) => void;
|
|
1378
|
-
/** 현재 선택된 값 배열 */
|
|
1379
|
-
values: string[];
|
|
1380
|
-
/** 값을 토글 (선택/해제) */
|
|
1381
|
-
onToggleValue: (value: string) => void;
|
|
1382
|
-
/** 특정 값 제거 */
|
|
1383
|
-
onRemoveValue: (value: string) => void;
|
|
1384
|
-
/** 모든 값 제거 */
|
|
1385
|
-
onClearAll: () => void;
|
|
1386
|
-
disabled?: boolean;
|
|
1387
|
-
/** value -> display text 매핑 (trigger 태그 표시용) */
|
|
1388
|
-
labelMap: Map<string, string>;
|
|
1389
|
-
registerLabel: (value: string, label: string) => void;
|
|
1390
|
-
/** 인라인 검색어 (trigger input과 content cmdk 필터 간 공유) */
|
|
1391
|
-
searchTerm: string;
|
|
1392
|
-
setSearchTerm: (term: string) => void;
|
|
1393
|
-
}
|
|
1394
1381
|
interface MultiSelectProps$1 {
|
|
1395
1382
|
value?: string[];
|
|
1396
1383
|
defaultValue?: string[];
|
|
@@ -1421,48 +1408,6 @@ interface MultiSelectTriggerProps extends Omit<React$1.HTMLAttributes<HTMLDivEle
|
|
|
1421
1408
|
/** 입력 영역 우측 아이콘 (chevron 앞) */
|
|
1422
1409
|
elemAfterInput?: React$1.ReactNode;
|
|
1423
1410
|
}
|
|
1424
|
-
interface MultiSelectContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1425
|
-
/** Popover 정렬 */
|
|
1426
|
-
align?: 'start' | 'center' | 'end';
|
|
1427
|
-
/** Popover 오프셋 (px) */
|
|
1428
|
-
sideOffset?: number;
|
|
1429
|
-
}
|
|
1430
|
-
interface MultiSelectItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
1431
|
-
value: string;
|
|
1432
|
-
disabled?: boolean;
|
|
1433
|
-
/** 아이템 하단 설명 텍스트 */
|
|
1434
|
-
description?: string;
|
|
1435
|
-
/** trigger 태그에 표시할 텍스트. 미지정 시 children에서 추출 */
|
|
1436
|
-
textValue?: string;
|
|
1437
|
-
/** title 과 description 사이에 표시할 메타 정보 배열 (라벨/구분자/값) */
|
|
1438
|
-
meta?: MetaItemProps[];
|
|
1439
|
-
/** checkbox indicator 다음, title row 앞에 렌더될 슬롯 */
|
|
1440
|
-
elemBefore?: React$1.ReactNode;
|
|
1441
|
-
/**
|
|
1442
|
-
* elemBefore 배치 방식.
|
|
1443
|
-
* - `'center'`(기본): 선행 컬럼 — 전체 높이 중앙 정렬(이름·meta 우측 이동)
|
|
1444
|
-
* - `'title'`: title 행 안 인라인 — 이름만 밀고 meta 는 콘텐츠 좌측 유지
|
|
1445
|
-
*/
|
|
1446
|
-
elemBeforeAlign?: 'center' | 'title';
|
|
1447
|
-
/** title 텍스트 우측에 렌더될 슬롯 */
|
|
1448
|
-
elemAfter?: React$1.ReactNode;
|
|
1449
|
-
children: React$1.ReactNode;
|
|
1450
|
-
}
|
|
1451
|
-
interface MultiSelectInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
1452
|
-
onChange?: (value: string) => void;
|
|
1453
|
-
}
|
|
1454
|
-
interface MultiSelectGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1455
|
-
/** 그룹 제목 (cmdk Group heading 으로 렌더) */
|
|
1456
|
-
heading?: React$1.ReactNode;
|
|
1457
|
-
children: React$1.ReactNode;
|
|
1458
|
-
}
|
|
1459
|
-
interface MultiSelectLoadingProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1460
|
-
children?: React$1.ReactNode;
|
|
1461
|
-
}
|
|
1462
|
-
interface MultiSelectEmptyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1463
|
-
children?: React$1.ReactNode;
|
|
1464
|
-
}
|
|
1465
|
-
type MultiSelectSeparatorProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
1466
1411
|
|
|
1467
1412
|
/**
|
|
1468
1413
|
* 드롭다운에서 여러 개를 고르는 폼 입력. 선택한 항목은 칩으로 보여 준다.
|
|
@@ -1471,24 +1416,27 @@ type MultiSelectSeparatorProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
|
1471
1416
|
* 언제 안 쓰나: 하나만 고르는 경우(→ Select), 선택지가 적어 한눈에 보여야 하는 경우(→ Checkbox 묶음), 목록 화면 필터(→ TableFilterMultiSelect).
|
|
1472
1417
|
* 대신/함께: 칩 라벨도 마운트된 아이템에서 얻으므로 미로드 값은 `useMultiSelectContext().registerLabel` 로 등록한다.
|
|
1473
1418
|
*/
|
|
1474
|
-
declare function MultiSelect$1({ value: controlledValue, defaultValue, onValueChange, open
|
|
1419
|
+
declare function MultiSelect$1({ value: controlledValue, defaultValue, onValueChange, open, defaultOpen, onOpenChange, onSearchChange, disabled, className, children, }: MultiSelectProps$1): react_jsx_runtime.JSX.Element;
|
|
1475
1420
|
|
|
1476
|
-
declare const
|
|
1421
|
+
declare const MultiSelectEmpty: React$1.ForwardRefExoticComponent<SelectEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1477
1422
|
|
|
1478
|
-
declare const
|
|
1423
|
+
declare const MultiSelectTrigger: React$1.ForwardRefExoticComponent<MultiSelectTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1479
1424
|
|
|
1480
|
-
declare const
|
|
1425
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1481
1426
|
|
|
1482
|
-
declare const
|
|
1427
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1483
1428
|
|
|
1484
|
-
declare const
|
|
1429
|
+
declare const SelectInput: React$1.ForwardRefExoticComponent<SelectInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1485
1430
|
|
|
1486
|
-
declare const
|
|
1431
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1432
|
+
declare const SelectRadioItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1433
|
+
declare const MultiSelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1487
1434
|
|
|
1488
|
-
declare const
|
|
1435
|
+
declare const SelectLoading: React$1.ForwardRefExoticComponent<SelectLoadingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1489
1436
|
|
|
1490
|
-
declare const
|
|
1437
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1491
1438
|
|
|
1439
|
+
declare function useSelectContext(): SelectContextValue;
|
|
1492
1440
|
declare function useMultiSelectContext(): MultiSelectContextValue;
|
|
1493
1441
|
|
|
1494
1442
|
/**
|
|
@@ -1498,33 +1446,17 @@ declare function useMultiSelectContext(): MultiSelectContextValue;
|
|
|
1498
1446
|
* 언제 안 쓰나: 선택지 2~4개(→ RadioGroup·RadioSection), 여러 개 선택(→ MultiSelect), 목록 화면 상단 필터(→ TableFilterSingleSelect), 켜고 끄기(→ Switch).
|
|
1499
1447
|
* 대신/함께: 트리거 라벨은 `SelectItem` 에서 얻는다 — 닫혀 있어도 항목이 이름을 등록하므로 미리 정한 값도 펼치기 전에 이름으로 보인다. 목록에 아직 없는 값(비동기로 오는 항목)만 `useSelectContext().registerLabel` 로 미리 등록한다.
|
|
1500
1448
|
*/
|
|
1501
|
-
declare function Select({ value: controlledValue, defaultValue, onValueChange, open
|
|
1502
|
-
|
|
1503
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1449
|
+
declare function Select({ value: controlledValue, defaultValue, onValueChange, open, defaultOpen, onOpenChange, disabled, className, children, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
1504
1450
|
|
|
1505
1451
|
declare const SelectEmpty: React$1.ForwardRefExoticComponent<SelectEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1506
1452
|
|
|
1507
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1508
|
-
|
|
1509
|
-
declare const SelectInput: React$1.ForwardRefExoticComponent<SelectInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1510
|
-
|
|
1511
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1512
|
-
|
|
1513
|
-
declare const SelectLoading: React$1.ForwardRefExoticComponent<SelectLoadingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1514
|
-
|
|
1515
1453
|
interface SelectRadioGroupProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Group> {
|
|
1516
1454
|
children: React$1.ReactNode;
|
|
1517
1455
|
}
|
|
1518
1456
|
declare const SelectRadioGroup: React$1.ForwardRefExoticComponent<SelectRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1519
1457
|
|
|
1520
|
-
declare const SelectRadioItem: React$1.ForwardRefExoticComponent<SelectRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1521
|
-
|
|
1522
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1523
|
-
|
|
1524
1458
|
declare function SelectValue({ placeholder }: SelectValueProps): react_jsx_runtime.JSX.Element;
|
|
1525
1459
|
|
|
1526
|
-
declare function useSelectContext(): SelectContextValue;
|
|
1527
|
-
|
|
1528
1460
|
/**
|
|
1529
1461
|
* 가로·세로 1px 구분선.
|
|
1530
1462
|
*
|
|
@@ -2787,4 +2719,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2787
2719
|
*/
|
|
2788
2720
|
declare function sanitizeUserText(node: React$1.ReactNode): React$1.ReactNode;
|
|
2789
2721
|
|
|
2790
|
-
export { AG_GRID_LOCALE_KR, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgGridContext, type AgGridContextType, Alert, AlertActions, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, type CheckboxProps, CheckboxSection, CheckboxSectionGroup, type CheckboxSectionGroupProps, type CheckboxSectionProps, type ColumnDefinition, ColumnFilter, type ColumnFilterContextType, ColumnFilterInput, type ColumnFilterInputProps, ColumnFilterPopover, type ColumnFilterPopoverProps, type ColumnFilterProps, ColumnFilterTag, type ColumnFilterTagProps, type ColumnType, ColumnVisibilityFilter, type ColumnVisibilityFilterProps, type ColumnVisibilityOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_PARAMETER_TABLE_COLUMNS, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DatePresets, type DatePresetsProps, DateRangePresets, type DateRangePresetsProps, DateRangeSelect, DateSelect, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditingFilter, EmptyBoxIllustration, type EventLevel, EventList, type EventListItem, type EventListProps, FileTree, type FileTreeEventNode, type FileTreeNode, type FileTreeProps, type FilterCondition, Form, FormControl, FormDescription, type FormDescriptionProps, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, type HourType, IconButton, type IconButtonProps, IconSelect, type IconSelectProps, Label, LucideIcon, type LucideIconProps, MetaGroup, MetaItem, type MetaItemProps, MetaList, type MetaListProps, MetaRow, type MetaRowProps, MultiSelect$1 as MultiSelect, MultiSelectContent, type MultiSelectContentProps, MultiSelectEmpty, type MultiSelectEmptyProps, MultiSelectGroup, type MultiSelectGroupProps, MultiSelectInput, type MultiSelectInputProps, MultiSelectItem, type MultiSelectItemProps, MultiSelectLoading, type MultiSelectLoadingProps, type MultiSelectProps$1 as MultiSelectProps, MultiSelectSeparator, type MultiSelectSeparatorProps, MultiSelectTrigger, type MultiSelectTriggerProps, NUMBER_COLUMN_CLASS, type NumberOperator, OPERATORS_BY_TYPE, OPERATOR_LABELS, type Operator, type OperatorOverridesByColumn, type OperatorOverridesByType, type Option, PageHeaderRefreshButton, type PageHeaderRefreshButtonProps, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, type PaginationPropsType, PaginationWrapper, Panel, type PanelProps, ParameterTable, type ParameterTableActiveCell, type ParameterTableCanDeleteRow, type ParameterTableCanEditCell, type ParameterTableCellErrors, type ParameterTableColumn, type ParameterTableExtraColumn, type ParameterTableProps, type ParameterTableRow, type ParameterTableSpacing, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PopoverType, Progress, type ProgressProps, Radio, RadioGroup, RadioGroupItem, RadioSection, RadioSectionGroup, type RadioSectionGroupProps, type RadioSectionProps, Range, type RangeBounds, type RangeMark, type RangeProps, RangeSlider, type RangeSliderProps, type ResolvedTheme, Select, SelectContent, type SelectContentProps, SelectEmpty, type SelectEmptyProps, SelectGroup, type SelectGroupProps, SelectInput, type SelectInputProps, SelectItem, type SelectItemProps, SelectLoading, type SelectLoadingProps, type SelectProps, SelectRadioGroup, SelectRadioItem, type SelectRadioItemProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenuItem, SidebarProvider, SidebarSection, SidebarToggle, SingleSelect, Skeleton, SortIcon, Spinner, type SpinnerProps, Stack, type StringOperator, Switch, SwitchSection, type SwitchSectionProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFilterDateRangeSelect, TableFilterDateSelect, MultiSelect as TableFilterMultiSelect, TableFilterSingleSelect, FilterTitle as TableFilterTitle, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextField, type TextFieldProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, type TimeValue12, type TimeValue24, Toaster, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseFloatingLabelOptions, type UseFloatingLabelReturn, type UseRangeValueOptions, type UseRangeValueReturn, type ValueSuggestion, alignFromClassName, clamp, cn, fixPrecision, getDecimals, getPaginationRange, getSortedColumnState, normalize, sanitizeUserText, snap, tagVariants, toast, useColumnFilter, useFloatingLabel, useFormControlContext, useFormField, useMultiSelectContext, useOptionalTheme, useRangeValue, useSelectContext, useSidebar, useTheme };
|
|
2722
|
+
export { AG_GRID_LOCALE_KR, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgGridContext, type AgGridContextType, Alert, AlertActions, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, type CheckboxProps, CheckboxSection, CheckboxSectionGroup, type CheckboxSectionGroupProps, type CheckboxSectionProps, type ColumnDefinition, ColumnFilter, type ColumnFilterContextType, ColumnFilterInput, type ColumnFilterInputProps, ColumnFilterPopover, type ColumnFilterPopoverProps, type ColumnFilterProps, ColumnFilterTag, type ColumnFilterTagProps, type ColumnType, ColumnVisibilityFilter, type ColumnVisibilityFilterProps, type ColumnVisibilityOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_PARAMETER_TABLE_COLUMNS, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DatePresets, type DatePresetsProps, DateRangePresets, type DateRangePresetsProps, DateRangeSelect, DateSelect, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditingFilter, EmptyBoxIllustration, type EventLevel, EventList, type EventListItem, type EventListProps, FileTree, type FileTreeEventNode, type FileTreeNode, type FileTreeProps, type FilterCondition, Form, FormControl, FormDescription, type FormDescriptionProps, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, type HourType, IconButton, type IconButtonProps, IconSelect, type IconSelectProps, Label, LucideIcon, type LucideIconProps, MetaGroup, MetaItem, type MetaItemProps, MetaList, type MetaListProps, MetaRow, type MetaRowProps, MultiSelect$1 as MultiSelect, SelectContent as MultiSelectContent, type SelectContentProps as MultiSelectContentProps, MultiSelectEmpty, type SelectEmptyProps as MultiSelectEmptyProps, SelectGroup as MultiSelectGroup, type SelectGroupProps as MultiSelectGroupProps, SelectInput as MultiSelectInput, type SelectInputProps as MultiSelectInputProps, MultiSelectItem, type SelectItemProps as MultiSelectItemProps, SelectLoading as MultiSelectLoading, type SelectLoadingProps as MultiSelectLoadingProps, type MultiSelectProps$1 as MultiSelectProps, SelectSeparator as MultiSelectSeparator, type SelectSeparatorProps as MultiSelectSeparatorProps, MultiSelectTrigger, type MultiSelectTriggerProps, NUMBER_COLUMN_CLASS, type NumberOperator, OPERATORS_BY_TYPE, OPERATOR_LABELS, type Operator, type OperatorOverridesByColumn, type OperatorOverridesByType, type Option, PageHeaderRefreshButton, type PageHeaderRefreshButtonProps, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, type PaginationPropsType, PaginationWrapper, Panel, type PanelProps, ParameterTable, type ParameterTableActiveCell, type ParameterTableCanDeleteRow, type ParameterTableCanEditCell, type ParameterTableCellErrors, type ParameterTableColumn, type ParameterTableExtraColumn, type ParameterTableProps, type ParameterTableRow, type ParameterTableSpacing, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PopoverType, Progress, type ProgressProps, Radio, RadioGroup, RadioGroupItem, RadioSection, RadioSectionGroup, type RadioSectionGroupProps, type RadioSectionProps, Range, type RangeBounds, type RangeMark, type RangeProps, RangeSlider, type RangeSliderProps, type ResolvedTheme, Select, SelectContent, type SelectContentProps, SelectEmpty, type SelectEmptyProps, SelectGroup, type SelectGroupProps, SelectInput, type SelectInputProps, SelectItem, type SelectItemProps, SelectLoading, type SelectLoadingProps, type SelectProps, SelectRadioGroup, SelectRadioItem, type SelectRadioItemProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenuItem, SidebarProvider, SidebarSection, SidebarToggle, SingleSelect, Skeleton, SortIcon, Spinner, type SpinnerProps, Stack, type StringOperator, Switch, SwitchSection, type SwitchSectionProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFilterDateRangeSelect, TableFilterDateSelect, MultiSelect as TableFilterMultiSelect, TableFilterSingleSelect, FilterTitle as TableFilterTitle, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextField, type TextFieldProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, type TimeValue12, type TimeValue24, Toaster, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseFloatingLabelOptions, type UseFloatingLabelReturn, type UseRangeValueOptions, type UseRangeValueReturn, type ValueSuggestion, alignFromClassName, clamp, cn, fixPrecision, getDecimals, getPaginationRange, getSortedColumnState, normalize, sanitizeUserText, snap, tagVariants, toast, useColumnFilter, useFloatingLabel, useFormControlContext, useFormField, useMultiSelectContext, useOptionalTheme, useRangeValue, useSelectContext, useSidebar, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1270,15 +1270,37 @@ interface RadioSectionProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
1270
1270
|
*/
|
|
1271
1271
|
declare function RadioSection({ title, description, selected, disabled, onSelect, value, className, onClick, onKeyDown, ...props }: RadioSectionProps): react_jsx_runtime.JSX.Element;
|
|
1272
1272
|
|
|
1273
|
-
|
|
1273
|
+
/** 두 루트가 똑같이 가진 것. 공통 부품(Content·Input·Group·Loading·Separator·Item)은 이것만 읽는다 */
|
|
1274
|
+
interface SelectRootContextBase {
|
|
1274
1275
|
open: boolean;
|
|
1275
1276
|
setOpen: (open: boolean) => void;
|
|
1276
|
-
value: string | undefined;
|
|
1277
|
-
onValueChange: (value: string) => void;
|
|
1278
1277
|
disabled?: boolean;
|
|
1279
|
-
/** value ->
|
|
1278
|
+
/** value -> 화면 글자 (트리거·칩 표시용) */
|
|
1280
1279
|
labelMap: Map<string, string>;
|
|
1281
1280
|
registerLabel: (value: string, label: string) => void;
|
|
1281
|
+
/** 검색어. 검색창·MultiSelect 트리거 입력·cmdk 필터가 함께 쓴다. 목록이 닫히면 비워진다 */
|
|
1282
|
+
searchTerm: string;
|
|
1283
|
+
setSearchTerm: (term: string) => void;
|
|
1284
|
+
/** 이 값이 골라져 있는가 — 하나만 고르기와 여럿 고르기의 차이는 이것과 `selectItem` 에만 있다 */
|
|
1285
|
+
isSelected: (value: string) => boolean;
|
|
1286
|
+
/** 항목을 골랐을 때. Select 는 그 값으로 바꾸고 닫는다, MultiSelect 는 넣거나 빼고 검색어를 비운다 */
|
|
1287
|
+
selectItem: (value: string) => void;
|
|
1288
|
+
}
|
|
1289
|
+
interface SelectContextValue extends SelectRootContextBase {
|
|
1290
|
+
slot: 'select';
|
|
1291
|
+
value: string | undefined;
|
|
1292
|
+
onValueChange: (value: string) => void;
|
|
1293
|
+
}
|
|
1294
|
+
interface MultiSelectContextValue extends SelectRootContextBase {
|
|
1295
|
+
slot: 'multi-select';
|
|
1296
|
+
/** 현재 선택된 값 배열 */
|
|
1297
|
+
values: string[];
|
|
1298
|
+
/** 값을 토글 (선택/해제) */
|
|
1299
|
+
onToggleValue: (value: string) => void;
|
|
1300
|
+
/** 특정 값 제거 */
|
|
1301
|
+
onRemoveValue: (value: string) => void;
|
|
1302
|
+
/** 모든 값 제거 */
|
|
1303
|
+
onClearAll: () => void;
|
|
1282
1304
|
}
|
|
1283
1305
|
interface SelectProps {
|
|
1284
1306
|
value?: string;
|
|
@@ -1313,43 +1335,27 @@ interface SelectItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, '
|
|
|
1313
1335
|
disabled?: boolean;
|
|
1314
1336
|
/** 아이템 하단 설명 텍스트 (trigger에 표시되지 않음) */
|
|
1315
1337
|
description?: string;
|
|
1316
|
-
/** trigger에 표시할 텍스트. 미지정 시 children에서 추출 */
|
|
1317
|
-
textValue?: string;
|
|
1318
|
-
/** title 과 description 사이에 표시할 메타 정보 배열 (라벨/구분자/값) */
|
|
1319
|
-
meta?: MetaItemProps[];
|
|
1320
|
-
/** title row 앞 위치에 렌더될 슬롯 */
|
|
1321
|
-
elemBefore?: React$1.ReactNode;
|
|
1322
1338
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1325
|
-
*
|
|
1339
|
+
* trigger(MultiSelect 는 칩)에 표시하고 검색에 쓰는 텍스트.
|
|
1340
|
+
* 미지정 시 children 의 글자를 쓴다 — `{name} ({code})`·`<b>이름</b>` 처럼 나뉘어 있어도 이어 붙인다.
|
|
1341
|
+
* children 이 글자를 props 로 받는 컴포넌트뿐이면 글자를 알 수 없어 value 를 쓰므로 그때는 지정한다.
|
|
1326
1342
|
*/
|
|
1327
|
-
elemBeforeAlign?: 'center' | 'title';
|
|
1328
|
-
/** title 텍스트 우측에 렌더될 슬롯 */
|
|
1329
|
-
elemAfter?: React$1.ReactNode;
|
|
1330
|
-
children: React$1.ReactNode;
|
|
1331
|
-
}
|
|
1332
|
-
interface SelectRadioItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
1333
|
-
value: string;
|
|
1334
|
-
disabled?: boolean;
|
|
1335
|
-
/** 아이템 하단 설명 텍스트 */
|
|
1336
|
-
description?: string;
|
|
1337
|
-
/** trigger에 표시할 텍스트 */
|
|
1338
1343
|
textValue?: string;
|
|
1339
1344
|
/** title 과 description 사이에 표시할 메타 정보 배열 (라벨/구분자/값) */
|
|
1340
1345
|
meta?: MetaItemProps[];
|
|
1341
|
-
/**
|
|
1346
|
+
/** title row 앞(라디오·체크박스 인디케이터가 있으면 그 다음)에 렌더될 슬롯 */
|
|
1342
1347
|
elemBefore?: React$1.ReactNode;
|
|
1343
1348
|
/**
|
|
1344
1349
|
* elemBefore 배치 방식.
|
|
1345
|
-
* - `'center'`(기본): 선행 컬럼 — 전체
|
|
1346
|
-
* - `'title'`: title 행
|
|
1350
|
+
* - `'center'`(기본): SelectItemContent 바깥 선행 컬럼 — 멀티라인 전체 높이에 중앙 정렬하며 이름·meta 를 모두 우측으로 밀어냄.
|
|
1351
|
+
* - `'title'`: title 행 안에 인라인 — 이름만 우측으로 밀고 meta/description 행은 콘텐츠 좌측 정렬 유지(항목 간 meta 시작 위치 일치).
|
|
1347
1352
|
*/
|
|
1348
1353
|
elemBeforeAlign?: 'center' | 'title';
|
|
1349
1354
|
/** title 텍스트 우측에 렌더될 슬롯 */
|
|
1350
1355
|
elemAfter?: React$1.ReactNode;
|
|
1351
1356
|
children: React$1.ReactNode;
|
|
1352
1357
|
}
|
|
1358
|
+
type SelectRadioItemProps = SelectItemProps;
|
|
1353
1359
|
interface SelectInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
1354
1360
|
onChange?: (value: string) => void;
|
|
1355
1361
|
}
|
|
@@ -1372,25 +1378,6 @@ declare const selectTriggerVariants: (props?: ({
|
|
|
1372
1378
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1373
1379
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1374
1380
|
|
|
1375
|
-
interface MultiSelectContextValue {
|
|
1376
|
-
open: boolean;
|
|
1377
|
-
setOpen: (open: boolean) => void;
|
|
1378
|
-
/** 현재 선택된 값 배열 */
|
|
1379
|
-
values: string[];
|
|
1380
|
-
/** 값을 토글 (선택/해제) */
|
|
1381
|
-
onToggleValue: (value: string) => void;
|
|
1382
|
-
/** 특정 값 제거 */
|
|
1383
|
-
onRemoveValue: (value: string) => void;
|
|
1384
|
-
/** 모든 값 제거 */
|
|
1385
|
-
onClearAll: () => void;
|
|
1386
|
-
disabled?: boolean;
|
|
1387
|
-
/** value -> display text 매핑 (trigger 태그 표시용) */
|
|
1388
|
-
labelMap: Map<string, string>;
|
|
1389
|
-
registerLabel: (value: string, label: string) => void;
|
|
1390
|
-
/** 인라인 검색어 (trigger input과 content cmdk 필터 간 공유) */
|
|
1391
|
-
searchTerm: string;
|
|
1392
|
-
setSearchTerm: (term: string) => void;
|
|
1393
|
-
}
|
|
1394
1381
|
interface MultiSelectProps$1 {
|
|
1395
1382
|
value?: string[];
|
|
1396
1383
|
defaultValue?: string[];
|
|
@@ -1421,48 +1408,6 @@ interface MultiSelectTriggerProps extends Omit<React$1.HTMLAttributes<HTMLDivEle
|
|
|
1421
1408
|
/** 입력 영역 우측 아이콘 (chevron 앞) */
|
|
1422
1409
|
elemAfterInput?: React$1.ReactNode;
|
|
1423
1410
|
}
|
|
1424
|
-
interface MultiSelectContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1425
|
-
/** Popover 정렬 */
|
|
1426
|
-
align?: 'start' | 'center' | 'end';
|
|
1427
|
-
/** Popover 오프셋 (px) */
|
|
1428
|
-
sideOffset?: number;
|
|
1429
|
-
}
|
|
1430
|
-
interface MultiSelectItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
1431
|
-
value: string;
|
|
1432
|
-
disabled?: boolean;
|
|
1433
|
-
/** 아이템 하단 설명 텍스트 */
|
|
1434
|
-
description?: string;
|
|
1435
|
-
/** trigger 태그에 표시할 텍스트. 미지정 시 children에서 추출 */
|
|
1436
|
-
textValue?: string;
|
|
1437
|
-
/** title 과 description 사이에 표시할 메타 정보 배열 (라벨/구분자/값) */
|
|
1438
|
-
meta?: MetaItemProps[];
|
|
1439
|
-
/** checkbox indicator 다음, title row 앞에 렌더될 슬롯 */
|
|
1440
|
-
elemBefore?: React$1.ReactNode;
|
|
1441
|
-
/**
|
|
1442
|
-
* elemBefore 배치 방식.
|
|
1443
|
-
* - `'center'`(기본): 선행 컬럼 — 전체 높이 중앙 정렬(이름·meta 우측 이동)
|
|
1444
|
-
* - `'title'`: title 행 안 인라인 — 이름만 밀고 meta 는 콘텐츠 좌측 유지
|
|
1445
|
-
*/
|
|
1446
|
-
elemBeforeAlign?: 'center' | 'title';
|
|
1447
|
-
/** title 텍스트 우측에 렌더될 슬롯 */
|
|
1448
|
-
elemAfter?: React$1.ReactNode;
|
|
1449
|
-
children: React$1.ReactNode;
|
|
1450
|
-
}
|
|
1451
|
-
interface MultiSelectInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
1452
|
-
onChange?: (value: string) => void;
|
|
1453
|
-
}
|
|
1454
|
-
interface MultiSelectGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1455
|
-
/** 그룹 제목 (cmdk Group heading 으로 렌더) */
|
|
1456
|
-
heading?: React$1.ReactNode;
|
|
1457
|
-
children: React$1.ReactNode;
|
|
1458
|
-
}
|
|
1459
|
-
interface MultiSelectLoadingProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1460
|
-
children?: React$1.ReactNode;
|
|
1461
|
-
}
|
|
1462
|
-
interface MultiSelectEmptyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1463
|
-
children?: React$1.ReactNode;
|
|
1464
|
-
}
|
|
1465
|
-
type MultiSelectSeparatorProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
1466
1411
|
|
|
1467
1412
|
/**
|
|
1468
1413
|
* 드롭다운에서 여러 개를 고르는 폼 입력. 선택한 항목은 칩으로 보여 준다.
|
|
@@ -1471,24 +1416,27 @@ type MultiSelectSeparatorProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
|
1471
1416
|
* 언제 안 쓰나: 하나만 고르는 경우(→ Select), 선택지가 적어 한눈에 보여야 하는 경우(→ Checkbox 묶음), 목록 화면 필터(→ TableFilterMultiSelect).
|
|
1472
1417
|
* 대신/함께: 칩 라벨도 마운트된 아이템에서 얻으므로 미로드 값은 `useMultiSelectContext().registerLabel` 로 등록한다.
|
|
1473
1418
|
*/
|
|
1474
|
-
declare function MultiSelect$1({ value: controlledValue, defaultValue, onValueChange, open
|
|
1419
|
+
declare function MultiSelect$1({ value: controlledValue, defaultValue, onValueChange, open, defaultOpen, onOpenChange, onSearchChange, disabled, className, children, }: MultiSelectProps$1): react_jsx_runtime.JSX.Element;
|
|
1475
1420
|
|
|
1476
|
-
declare const
|
|
1421
|
+
declare const MultiSelectEmpty: React$1.ForwardRefExoticComponent<SelectEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1477
1422
|
|
|
1478
|
-
declare const
|
|
1423
|
+
declare const MultiSelectTrigger: React$1.ForwardRefExoticComponent<MultiSelectTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1479
1424
|
|
|
1480
|
-
declare const
|
|
1425
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1481
1426
|
|
|
1482
|
-
declare const
|
|
1427
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1483
1428
|
|
|
1484
|
-
declare const
|
|
1429
|
+
declare const SelectInput: React$1.ForwardRefExoticComponent<SelectInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1485
1430
|
|
|
1486
|
-
declare const
|
|
1431
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1432
|
+
declare const SelectRadioItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1433
|
+
declare const MultiSelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1487
1434
|
|
|
1488
|
-
declare const
|
|
1435
|
+
declare const SelectLoading: React$1.ForwardRefExoticComponent<SelectLoadingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1489
1436
|
|
|
1490
|
-
declare const
|
|
1437
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1491
1438
|
|
|
1439
|
+
declare function useSelectContext(): SelectContextValue;
|
|
1492
1440
|
declare function useMultiSelectContext(): MultiSelectContextValue;
|
|
1493
1441
|
|
|
1494
1442
|
/**
|
|
@@ -1498,33 +1446,17 @@ declare function useMultiSelectContext(): MultiSelectContextValue;
|
|
|
1498
1446
|
* 언제 안 쓰나: 선택지 2~4개(→ RadioGroup·RadioSection), 여러 개 선택(→ MultiSelect), 목록 화면 상단 필터(→ TableFilterSingleSelect), 켜고 끄기(→ Switch).
|
|
1499
1447
|
* 대신/함께: 트리거 라벨은 `SelectItem` 에서 얻는다 — 닫혀 있어도 항목이 이름을 등록하므로 미리 정한 값도 펼치기 전에 이름으로 보인다. 목록에 아직 없는 값(비동기로 오는 항목)만 `useSelectContext().registerLabel` 로 미리 등록한다.
|
|
1500
1448
|
*/
|
|
1501
|
-
declare function Select({ value: controlledValue, defaultValue, onValueChange, open
|
|
1502
|
-
|
|
1503
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1449
|
+
declare function Select({ value: controlledValue, defaultValue, onValueChange, open, defaultOpen, onOpenChange, disabled, className, children, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
1504
1450
|
|
|
1505
1451
|
declare const SelectEmpty: React$1.ForwardRefExoticComponent<SelectEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1506
1452
|
|
|
1507
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1508
|
-
|
|
1509
|
-
declare const SelectInput: React$1.ForwardRefExoticComponent<SelectInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1510
|
-
|
|
1511
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1512
|
-
|
|
1513
|
-
declare const SelectLoading: React$1.ForwardRefExoticComponent<SelectLoadingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1514
|
-
|
|
1515
1453
|
interface SelectRadioGroupProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Group> {
|
|
1516
1454
|
children: React$1.ReactNode;
|
|
1517
1455
|
}
|
|
1518
1456
|
declare const SelectRadioGroup: React$1.ForwardRefExoticComponent<SelectRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1519
1457
|
|
|
1520
|
-
declare const SelectRadioItem: React$1.ForwardRefExoticComponent<SelectRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1521
|
-
|
|
1522
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1523
|
-
|
|
1524
1458
|
declare function SelectValue({ placeholder }: SelectValueProps): react_jsx_runtime.JSX.Element;
|
|
1525
1459
|
|
|
1526
|
-
declare function useSelectContext(): SelectContextValue;
|
|
1527
|
-
|
|
1528
1460
|
/**
|
|
1529
1461
|
* 가로·세로 1px 구분선.
|
|
1530
1462
|
*
|
|
@@ -2787,4 +2719,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2787
2719
|
*/
|
|
2788
2720
|
declare function sanitizeUserText(node: React$1.ReactNode): React$1.ReactNode;
|
|
2789
2721
|
|
|
2790
|
-
export { AG_GRID_LOCALE_KR, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgGridContext, type AgGridContextType, Alert, AlertActions, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, type CheckboxProps, CheckboxSection, CheckboxSectionGroup, type CheckboxSectionGroupProps, type CheckboxSectionProps, type ColumnDefinition, ColumnFilter, type ColumnFilterContextType, ColumnFilterInput, type ColumnFilterInputProps, ColumnFilterPopover, type ColumnFilterPopoverProps, type ColumnFilterProps, ColumnFilterTag, type ColumnFilterTagProps, type ColumnType, ColumnVisibilityFilter, type ColumnVisibilityFilterProps, type ColumnVisibilityOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_PARAMETER_TABLE_COLUMNS, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DatePresets, type DatePresetsProps, DateRangePresets, type DateRangePresetsProps, DateRangeSelect, DateSelect, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditingFilter, EmptyBoxIllustration, type EventLevel, EventList, type EventListItem, type EventListProps, FileTree, type FileTreeEventNode, type FileTreeNode, type FileTreeProps, type FilterCondition, Form, FormControl, FormDescription, type FormDescriptionProps, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, type HourType, IconButton, type IconButtonProps, IconSelect, type IconSelectProps, Label, LucideIcon, type LucideIconProps, MetaGroup, MetaItem, type MetaItemProps, MetaList, type MetaListProps, MetaRow, type MetaRowProps, MultiSelect$1 as MultiSelect, MultiSelectContent, type MultiSelectContentProps, MultiSelectEmpty, type MultiSelectEmptyProps, MultiSelectGroup, type MultiSelectGroupProps, MultiSelectInput, type MultiSelectInputProps, MultiSelectItem, type MultiSelectItemProps, MultiSelectLoading, type MultiSelectLoadingProps, type MultiSelectProps$1 as MultiSelectProps, MultiSelectSeparator, type MultiSelectSeparatorProps, MultiSelectTrigger, type MultiSelectTriggerProps, NUMBER_COLUMN_CLASS, type NumberOperator, OPERATORS_BY_TYPE, OPERATOR_LABELS, type Operator, type OperatorOverridesByColumn, type OperatorOverridesByType, type Option, PageHeaderRefreshButton, type PageHeaderRefreshButtonProps, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, type PaginationPropsType, PaginationWrapper, Panel, type PanelProps, ParameterTable, type ParameterTableActiveCell, type ParameterTableCanDeleteRow, type ParameterTableCanEditCell, type ParameterTableCellErrors, type ParameterTableColumn, type ParameterTableExtraColumn, type ParameterTableProps, type ParameterTableRow, type ParameterTableSpacing, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PopoverType, Progress, type ProgressProps, Radio, RadioGroup, RadioGroupItem, RadioSection, RadioSectionGroup, type RadioSectionGroupProps, type RadioSectionProps, Range, type RangeBounds, type RangeMark, type RangeProps, RangeSlider, type RangeSliderProps, type ResolvedTheme, Select, SelectContent, type SelectContentProps, SelectEmpty, type SelectEmptyProps, SelectGroup, type SelectGroupProps, SelectInput, type SelectInputProps, SelectItem, type SelectItemProps, SelectLoading, type SelectLoadingProps, type SelectProps, SelectRadioGroup, SelectRadioItem, type SelectRadioItemProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenuItem, SidebarProvider, SidebarSection, SidebarToggle, SingleSelect, Skeleton, SortIcon, Spinner, type SpinnerProps, Stack, type StringOperator, Switch, SwitchSection, type SwitchSectionProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFilterDateRangeSelect, TableFilterDateSelect, MultiSelect as TableFilterMultiSelect, TableFilterSingleSelect, FilterTitle as TableFilterTitle, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextField, type TextFieldProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, type TimeValue12, type TimeValue24, Toaster, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseFloatingLabelOptions, type UseFloatingLabelReturn, type UseRangeValueOptions, type UseRangeValueReturn, type ValueSuggestion, alignFromClassName, clamp, cn, fixPrecision, getDecimals, getPaginationRange, getSortedColumnState, normalize, sanitizeUserText, snap, tagVariants, toast, useColumnFilter, useFloatingLabel, useFormControlContext, useFormField, useMultiSelectContext, useOptionalTheme, useRangeValue, useSelectContext, useSidebar, useTheme };
|
|
2722
|
+
export { AG_GRID_LOCALE_KR, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgGridContext, type AgGridContextType, Alert, AlertActions, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, type CheckboxProps, CheckboxSection, CheckboxSectionGroup, type CheckboxSectionGroupProps, type CheckboxSectionProps, type ColumnDefinition, ColumnFilter, type ColumnFilterContextType, ColumnFilterInput, type ColumnFilterInputProps, ColumnFilterPopover, type ColumnFilterPopoverProps, type ColumnFilterProps, ColumnFilterTag, type ColumnFilterTagProps, type ColumnType, ColumnVisibilityFilter, type ColumnVisibilityFilterProps, type ColumnVisibilityOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_PARAMETER_TABLE_COLUMNS, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DatePresets, type DatePresetsProps, DateRangePresets, type DateRangePresetsProps, DateRangeSelect, DateSelect, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EditingFilter, EmptyBoxIllustration, type EventLevel, EventList, type EventListItem, type EventListProps, FileTree, type FileTreeEventNode, type FileTreeNode, type FileTreeProps, type FilterCondition, Form, FormControl, FormDescription, type FormDescriptionProps, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, type HourType, IconButton, type IconButtonProps, IconSelect, type IconSelectProps, Label, LucideIcon, type LucideIconProps, MetaGroup, MetaItem, type MetaItemProps, MetaList, type MetaListProps, MetaRow, type MetaRowProps, MultiSelect$1 as MultiSelect, SelectContent as MultiSelectContent, type SelectContentProps as MultiSelectContentProps, MultiSelectEmpty, type SelectEmptyProps as MultiSelectEmptyProps, SelectGroup as MultiSelectGroup, type SelectGroupProps as MultiSelectGroupProps, SelectInput as MultiSelectInput, type SelectInputProps as MultiSelectInputProps, MultiSelectItem, type SelectItemProps as MultiSelectItemProps, SelectLoading as MultiSelectLoading, type SelectLoadingProps as MultiSelectLoadingProps, type MultiSelectProps$1 as MultiSelectProps, SelectSeparator as MultiSelectSeparator, type SelectSeparatorProps as MultiSelectSeparatorProps, MultiSelectTrigger, type MultiSelectTriggerProps, NUMBER_COLUMN_CLASS, type NumberOperator, OPERATORS_BY_TYPE, OPERATOR_LABELS, type Operator, type OperatorOverridesByColumn, type OperatorOverridesByType, type Option, PageHeaderRefreshButton, type PageHeaderRefreshButtonProps, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, type PaginationPropsType, PaginationWrapper, Panel, type PanelProps, ParameterTable, type ParameterTableActiveCell, type ParameterTableCanDeleteRow, type ParameterTableCanEditCell, type ParameterTableCellErrors, type ParameterTableColumn, type ParameterTableExtraColumn, type ParameterTableProps, type ParameterTableRow, type ParameterTableSpacing, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PopoverType, Progress, type ProgressProps, Radio, RadioGroup, RadioGroupItem, RadioSection, RadioSectionGroup, type RadioSectionGroupProps, type RadioSectionProps, Range, type RangeBounds, type RangeMark, type RangeProps, RangeSlider, type RangeSliderProps, type ResolvedTheme, Select, SelectContent, type SelectContentProps, SelectEmpty, type SelectEmptyProps, SelectGroup, type SelectGroupProps, SelectInput, type SelectInputProps, SelectItem, type SelectItemProps, SelectLoading, type SelectLoadingProps, type SelectProps, SelectRadioGroup, SelectRadioItem, type SelectRadioItemProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenuItem, SidebarProvider, SidebarSection, SidebarToggle, SingleSelect, Skeleton, SortIcon, Spinner, type SpinnerProps, Stack, type StringOperator, Switch, SwitchSection, type SwitchSectionProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFilterDateRangeSelect, TableFilterDateSelect, MultiSelect as TableFilterMultiSelect, TableFilterSingleSelect, FilterTitle as TableFilterTitle, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextField, type TextFieldProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, type TimeValue12, type TimeValue24, Toaster, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseFloatingLabelOptions, type UseFloatingLabelReturn, type UseRangeValueOptions, type UseRangeValueReturn, type ValueSuggestion, alignFromClassName, clamp, cn, fixPrecision, getDecimals, getPaginationRange, getSortedColumnState, normalize, sanitizeUserText, snap, tagVariants, toast, useColumnFilter, useFloatingLabel, useFormControlContext, useFormField, useMultiSelectContext, useOptionalTheme, useRangeValue, useSelectContext, useSidebar, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -68,28 +68,20 @@ import { OPERATORS_BY_TYPE, OPERATOR_LABELS } from "./components/columnFilter/ty
|
|
|
68
68
|
import { ParameterTable } from "./components/parameterTable/ParameterTable.js";
|
|
69
69
|
import { DEFAULT_PARAMETER_TABLE_COLUMNS } from "./components/parameterTable/types.js";
|
|
70
70
|
import { MultiSelect } from "./components/multiSelect/multiSelect.js";
|
|
71
|
-
import { MultiSelectContent } from "./components/multiSelect/multiSelectContent.js";
|
|
72
71
|
import { MultiSelectEmpty } from "./components/multiSelect/multiSelectEmpty.js";
|
|
73
|
-
import { MultiSelectGroup } from "./components/multiSelect/multiSelectGroup.js";
|
|
74
|
-
import { MultiSelectInput } from "./components/multiSelect/multiSelectInput.js";
|
|
75
|
-
import { MultiSelectItem } from "./components/multiSelect/multiSelectItem.js";
|
|
76
|
-
import { MultiSelectLoading } from "./components/multiSelect/multiSelectLoading.js";
|
|
77
|
-
import { MultiSelectSeparator } from "./components/multiSelect/multiSelectSeparator.js";
|
|
78
72
|
import { MultiSelectTrigger } from "./components/multiSelect/multiSelectTrigger.js";
|
|
79
|
-
import {
|
|
73
|
+
import { SelectContent, SelectContent as SelectContent2 } from "./components/select/selectContent.js";
|
|
74
|
+
import { SelectGroup, SelectGroup as SelectGroup2 } from "./components/select/selectGroup.js";
|
|
75
|
+
import { SelectInput, SelectInput as SelectInput2 } from "./components/select/selectInput.js";
|
|
76
|
+
import { MultiSelectItem, SelectItem, SelectRadioItem } from "./components/select/selectItem.js";
|
|
77
|
+
import { SelectLoading, SelectLoading as SelectLoading2 } from "./components/select/selectLoading.js";
|
|
78
|
+
import { SelectSeparator, SelectSeparator as SelectSeparator2 } from "./components/select/selectSeparator.js";
|
|
79
|
+
import { useMultiSelectContext, useSelectContext } from "./components/select/selectRoot.js";
|
|
80
80
|
import { Select } from "./components/select/select.js";
|
|
81
|
-
import { SelectContent } from "./components/select/selectContent.js";
|
|
82
81
|
import { SelectEmpty } from "./components/select/selectEmpty.js";
|
|
83
|
-
import { SelectGroup } from "./components/select/selectGroup.js";
|
|
84
|
-
import { SelectInput } from "./components/select/selectInput.js";
|
|
85
|
-
import { SelectItem } from "./components/select/selectItem.js";
|
|
86
|
-
import { SelectLoading } from "./components/select/selectLoading.js";
|
|
87
82
|
import { SelectRadioGroup } from "./components/select/selectRadioGroup.js";
|
|
88
|
-
import { SelectRadioItem } from "./components/select/selectRadioItem.js";
|
|
89
|
-
import { SelectSeparator } from "./components/select/selectSeparator.js";
|
|
90
83
|
import { SelectTrigger } from "./components/select/selectTrigger.js";
|
|
91
84
|
import { SelectValue } from "./components/select/selectValue.js";
|
|
92
|
-
import { useSelectContext } from "./components/select/selectContext.js";
|
|
93
85
|
import { Range } from "./components/range/range.js";
|
|
94
86
|
import { RangeSlider } from "./components/range/rangeSlider.js";
|
|
95
87
|
import { clamp, fixPrecision, getDecimals, normalize, snap, useRangeValue } from "./components/range/useRangeValue.js";
|
|
@@ -220,13 +212,13 @@ export {
|
|
|
220
212
|
MetaList,
|
|
221
213
|
MetaRow,
|
|
222
214
|
MultiSelect,
|
|
223
|
-
MultiSelectContent,
|
|
215
|
+
SelectContent as MultiSelectContent,
|
|
224
216
|
MultiSelectEmpty,
|
|
225
|
-
MultiSelectGroup,
|
|
226
|
-
MultiSelectInput,
|
|
217
|
+
SelectGroup as MultiSelectGroup,
|
|
218
|
+
SelectInput as MultiSelectInput,
|
|
227
219
|
MultiSelectItem,
|
|
228
|
-
MultiSelectLoading,
|
|
229
|
-
MultiSelectSeparator,
|
|
220
|
+
SelectLoading as MultiSelectLoading,
|
|
221
|
+
SelectSeparator as MultiSelectSeparator,
|
|
230
222
|
MultiSelectTrigger,
|
|
231
223
|
NUMBER_COLUMN_CLASS,
|
|
232
224
|
NUMBER_COLUMN_WIDTH,
|
|
@@ -261,15 +253,15 @@ export {
|
|
|
261
253
|
RowCheckboxRenderer,
|
|
262
254
|
SORT_ICON_OFFSET_CLASS,
|
|
263
255
|
Select,
|
|
264
|
-
SelectContent,
|
|
256
|
+
SelectContent2 as SelectContent,
|
|
265
257
|
SelectEmpty,
|
|
266
|
-
SelectGroup,
|
|
267
|
-
SelectInput,
|
|
258
|
+
SelectGroup2 as SelectGroup,
|
|
259
|
+
SelectInput2 as SelectInput,
|
|
268
260
|
SelectItem,
|
|
269
|
-
SelectLoading,
|
|
261
|
+
SelectLoading2 as SelectLoading,
|
|
270
262
|
SelectRadioGroup,
|
|
271
263
|
SelectRadioItem,
|
|
272
|
-
SelectSeparator,
|
|
264
|
+
SelectSeparator2 as SelectSeparator,
|
|
273
265
|
SelectTrigger,
|
|
274
266
|
SelectValue,
|
|
275
267
|
Separator,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|