@public-ui/react-hook-form-adapter 4.0.0-alpha.1 → 4.0.0-alpha.10
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/README.md +8 -13
- package/dist/index.cjs +29 -37
- package/dist/index.d.cts +626 -111
- package/dist/index.d.mts +626 -111
- package/dist/index.d.ts +626 -111
- package/dist/index.mjs +30 -37
- package/package.json +14 -13
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as _public_ui_react_v19 from '@public-ui/react-v19';
|
|
2
|
+
import React, { RefAttributes } from 'react';
|
|
3
|
+
import { Control } from 'react-hook-form';
|
|
3
4
|
|
|
4
5
|
interface ElementDecorator {
|
|
5
6
|
(): PropertyDecorator;
|
|
@@ -1208,13 +1209,13 @@ declare namespace Generic {
|
|
|
1208
1209
|
export type { Common, Element, I18n, Theming };
|
|
1209
1210
|
}
|
|
1210
1211
|
|
|
1212
|
+
type Stringified<T> = string | T;
|
|
1213
|
+
|
|
1211
1214
|
type AccessKeyPropType = string;
|
|
1212
1215
|
type PropAccessKey = {
|
|
1213
1216
|
accessKey: AccessKeyPropType;
|
|
1214
1217
|
};
|
|
1215
1218
|
|
|
1216
|
-
type Stringified<T> = string | T;
|
|
1217
|
-
|
|
1218
1219
|
declare enum Callback$1 {
|
|
1219
1220
|
onBlur = "onBlur",
|
|
1220
1221
|
onChange = "onChange",
|
|
@@ -1250,6 +1251,11 @@ type AccordionCallbacksPropType<T> = {
|
|
|
1250
1251
|
[Callback$1.onClick]?: EventValueOrEventCallback<MouseEvent, T>;
|
|
1251
1252
|
};
|
|
1252
1253
|
|
|
1254
|
+
type AdjustHeightPropType = boolean;
|
|
1255
|
+
type PropAdjustHeight = {
|
|
1256
|
+
adjustHeight: AdjustHeightPropType;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1253
1259
|
type AlertPropType = boolean;
|
|
1254
1260
|
type PropAlert = {
|
|
1255
1261
|
alert: AlertPropType;
|
|
@@ -1301,6 +1307,9 @@ type PropAriaSelected = {
|
|
|
1301
1307
|
|
|
1302
1308
|
declare const autoCompleteOptions: readonly ["on", "off"];
|
|
1303
1309
|
type AutoCompletePropType = (typeof autoCompleteOptions)[number] | string;
|
|
1310
|
+
type PropAutoComplete = {
|
|
1311
|
+
autoComplete: AutoCompletePropType;
|
|
1312
|
+
};
|
|
1304
1313
|
|
|
1305
1314
|
type ShortKeyPropType = string;
|
|
1306
1315
|
type PropShortKey = {
|
|
@@ -1331,6 +1340,11 @@ type PropButtonVariant = {
|
|
|
1331
1340
|
variant: ButtonVariantPropType;
|
|
1332
1341
|
};
|
|
1333
1342
|
|
|
1343
|
+
type CheckedPropType = boolean;
|
|
1344
|
+
type PropChecked = {
|
|
1345
|
+
checked: CheckedPropType;
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1334
1348
|
type RequiredButtonProps$1 = PropLabel & PropButtonCallbacks<StencilUnknown>;
|
|
1335
1349
|
type RequiredLinkProps = PropHref;
|
|
1336
1350
|
type RequiredTextProps = PropLabel;
|
|
@@ -1366,6 +1380,9 @@ type KoliBriVerticalIcons = {
|
|
|
1366
1380
|
top?: IconOrIconClass;
|
|
1367
1381
|
bottom?: IconOrIconClass;
|
|
1368
1382
|
};
|
|
1383
|
+
type KoliBriHIcons = {
|
|
1384
|
+
icons?: KoliBriHorizontalIcons;
|
|
1385
|
+
};
|
|
1369
1386
|
type KoliBriAllIcons = KoliBriHorizontalIcons & KoliBriVerticalIcons;
|
|
1370
1387
|
type KoliBriIconsProp = AnyIconFontClass | KoliBriAllIcons;
|
|
1371
1388
|
type KoliBriHorizontalIconsProp = AnyIconFontClass | KoliBriHorizontalIcons;
|
|
@@ -1401,6 +1418,9 @@ type InputTypeOnFocus = {
|
|
|
1401
1418
|
type InputTypeOnInput = {
|
|
1402
1419
|
[Callback$1.onInput]?: EventValueOrEventCallback<Event, unknown>;
|
|
1403
1420
|
};
|
|
1421
|
+
type InputTypeOnKeyDown = {
|
|
1422
|
+
[Callback$1.onKeyDown]?: EventCallback<KeyboardEvent>;
|
|
1423
|
+
};
|
|
1404
1424
|
type Option<T> = {
|
|
1405
1425
|
disabled?: boolean;
|
|
1406
1426
|
label: string | number;
|
|
@@ -1414,7 +1434,8 @@ type Optgroup<T> = {
|
|
|
1414
1434
|
label: string;
|
|
1415
1435
|
options: Option<T>[];
|
|
1416
1436
|
};
|
|
1417
|
-
type
|
|
1437
|
+
type SelectOption<T> = Option<T> | Optgroup<T> | RadioOption<T>;
|
|
1438
|
+
type InputTypeOnDefault = InputTypeOnBlur & InputTypeOnClick & InputTypeOnChange & InputTypeOnFocus & InputTypeOnInput & InputTypeOnKeyDown;
|
|
1418
1439
|
|
|
1419
1440
|
type KoliBriModalEventCallbacks = {
|
|
1420
1441
|
onClose?: () => void;
|
|
@@ -1424,6 +1445,8 @@ type KoliBriTableRender = <T>(domNode: HTMLElement, cell: KoliBriTableCell, tupe
|
|
|
1424
1445
|
type KoliBriTableCellTextAlign = 'center' | 'left' | 'right' | 'justify';
|
|
1425
1446
|
type KoliBriSortDirection = 'ASC' | 'DESC' | 'NOS';
|
|
1426
1447
|
type KoliBriTableDataType = Record<string, unknown>;
|
|
1448
|
+
type KoliBriTableSelectionKey = string | number;
|
|
1449
|
+
type KoliBriTableSelectionKeys = KoliBriTableSelectionKey[];
|
|
1427
1450
|
type KoliBriTableCell = {
|
|
1428
1451
|
colSpan?: number;
|
|
1429
1452
|
label: string;
|
|
@@ -1437,20 +1460,24 @@ type KoliBriTableHeaderCell = KoliBriTableCell & {
|
|
|
1437
1460
|
key?: string;
|
|
1438
1461
|
sortDirection?: KoliBriSortDirection;
|
|
1439
1462
|
hidable?: boolean;
|
|
1463
|
+
sortable?: boolean;
|
|
1464
|
+
sortOrder?: number;
|
|
1465
|
+
resizable?: boolean;
|
|
1440
1466
|
};
|
|
1441
1467
|
type KoliBriTableSelection = {
|
|
1442
1468
|
label: (row: KoliBriTableDataType) => string;
|
|
1443
1469
|
keyPropertyName?: string;
|
|
1444
1470
|
multiple?: boolean;
|
|
1445
|
-
selectedKeys?:
|
|
1446
|
-
disabledKeys?:
|
|
1471
|
+
selectedKeys?: KoliBriTableSelectionKeys;
|
|
1472
|
+
disabledKeys?: KoliBriTableSelectionKeys;
|
|
1447
1473
|
};
|
|
1448
1474
|
|
|
1449
1475
|
interface ColumnSettings {
|
|
1450
1476
|
hidable?: boolean;
|
|
1451
1477
|
key: string;
|
|
1452
1478
|
label: string;
|
|
1453
|
-
|
|
1479
|
+
sortable?: boolean;
|
|
1480
|
+
resizable?: boolean;
|
|
1454
1481
|
visible: boolean;
|
|
1455
1482
|
width?: number;
|
|
1456
1483
|
}
|
|
@@ -1500,6 +1527,11 @@ type PropHasCloser = {
|
|
|
1500
1527
|
hasCloser: HasCloserPropType;
|
|
1501
1528
|
};
|
|
1502
1529
|
|
|
1530
|
+
type HasCounterPropType = boolean;
|
|
1531
|
+
type PropHasCounter = {
|
|
1532
|
+
hasCounter: HasCounterPropType;
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1503
1535
|
type HasSettingsMenuPropType = boolean;
|
|
1504
1536
|
|
|
1505
1537
|
type HideLabelPropType = boolean;
|
|
@@ -1507,6 +1539,16 @@ type PropHideLabel = {
|
|
|
1507
1539
|
hideLabel: HideLabelPropType;
|
|
1508
1540
|
};
|
|
1509
1541
|
|
|
1542
|
+
type HideMsgPropType = boolean;
|
|
1543
|
+
type PropHideMsg = {
|
|
1544
|
+
hideMsg: HideMsgPropType;
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1547
|
+
type HintPropType = string;
|
|
1548
|
+
type PropHint = {
|
|
1549
|
+
hint: HintPropType;
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1510
1552
|
type HrefPropType = string;
|
|
1511
1553
|
type PropHref = {
|
|
1512
1554
|
href: HrefPropType;
|
|
@@ -1517,6 +1559,9 @@ type IconsHorizontalPropType = Stringified<KoliBriHorizontalIconsProp>;
|
|
|
1517
1559
|
type PropIcons = {
|
|
1518
1560
|
icons: IconsPropType;
|
|
1519
1561
|
};
|
|
1562
|
+
type PropHorizontalIcons = {
|
|
1563
|
+
icons: IconsHorizontalPropType;
|
|
1564
|
+
};
|
|
1520
1565
|
|
|
1521
1566
|
type InputCheckboxIconsProp = {
|
|
1522
1567
|
checked: AnyIconFontClass;
|
|
@@ -1531,6 +1576,11 @@ type InputCheckboxIconsProp = {
|
|
|
1531
1576
|
indeterminate?: AnyIconFontClass;
|
|
1532
1577
|
unchecked: AnyIconFontClass;
|
|
1533
1578
|
};
|
|
1579
|
+
type InputCheckboxIconsState = {
|
|
1580
|
+
checked: AnyIconFontClass;
|
|
1581
|
+
indeterminate: AnyIconFontClass;
|
|
1582
|
+
unchecked: AnyIconFontClass;
|
|
1583
|
+
};
|
|
1534
1584
|
|
|
1535
1585
|
type IdPropType = string;
|
|
1536
1586
|
type PropId = {
|
|
@@ -1539,6 +1589,16 @@ type PropId = {
|
|
|
1539
1589
|
|
|
1540
1590
|
type ImageSourcePropType = string;
|
|
1541
1591
|
|
|
1592
|
+
type IndeterminatePropType = boolean;
|
|
1593
|
+
type PropIndeterminate = {
|
|
1594
|
+
indeterminate: IndeterminatePropType;
|
|
1595
|
+
};
|
|
1596
|
+
|
|
1597
|
+
type InlinePropType = boolean;
|
|
1598
|
+
type PropInline = {
|
|
1599
|
+
inline: InlinePropType;
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1542
1602
|
declare const headingLevelOptions: readonly [0, 1, 2, 3, 4, 5, 6];
|
|
1543
1603
|
type HeadingLevel = (typeof headingLevelOptions)[number];
|
|
1544
1604
|
type LabelPropType = string;
|
|
@@ -1553,6 +1613,9 @@ type LabelProp = Generic.Element.Members<PropLabel, unknown>;
|
|
|
1553
1613
|
|
|
1554
1614
|
declare const labelAlignPropTypeOptions: readonly ["left", "right"];
|
|
1555
1615
|
type LabelAlignPropType = (typeof labelAlignPropTypeOptions)[number];
|
|
1616
|
+
type PropLabelAlign = {
|
|
1617
|
+
labelAlign: LabelAlignPropType;
|
|
1618
|
+
};
|
|
1556
1619
|
|
|
1557
1620
|
type LinkOnCallbacksPropType = {
|
|
1558
1621
|
[Callback$1.onClick]?: EventValueOrEventCallback<Event, string>;
|
|
@@ -1566,16 +1629,13 @@ type PropLinkTarget = {
|
|
|
1566
1629
|
target: LinkTargetPropType;
|
|
1567
1630
|
};
|
|
1568
1631
|
|
|
1569
|
-
declare const linkVariantPropTypeOptions: readonly ["inline", "standalone"];
|
|
1570
|
-
type LinkVariantPropType = (typeof linkVariantPropTypeOptions)[number];
|
|
1571
|
-
type PropLinkVariant = {
|
|
1572
|
-
variant: LinkVariantPropType;
|
|
1573
|
-
};
|
|
1574
|
-
|
|
1575
1632
|
declare const loadingOptions: readonly ["eager", "lazy"];
|
|
1576
1633
|
type Loading = (typeof loadingOptions)[number];
|
|
1577
1634
|
|
|
1578
1635
|
type RowsPropType = number;
|
|
1636
|
+
type PropRows = {
|
|
1637
|
+
rows: RowsPropType;
|
|
1638
|
+
};
|
|
1579
1639
|
|
|
1580
1640
|
type MaxPropType = number;
|
|
1581
1641
|
type PropMax = {
|
|
@@ -1584,10 +1644,21 @@ type PropMax = {
|
|
|
1584
1644
|
|
|
1585
1645
|
declare const maxLengthBehaviorPropTypeOptions: readonly ["hard", "soft"];
|
|
1586
1646
|
type MaxLengthBehaviorPropType = (typeof maxLengthBehaviorPropTypeOptions)[number];
|
|
1647
|
+
type PropMaxLengthBehavior = {
|
|
1648
|
+
maxLengthBehavior: MaxLengthBehaviorPropType;
|
|
1649
|
+
};
|
|
1587
1650
|
|
|
1588
|
-
type MsgPropType = Omit<AlertProps, '_label' | '_variant'> & {
|
|
1651
|
+
type MsgPropType = Omit<AlertProps, '_level' | '_on' | '_label' | '_hasCloser' | '_variant'> & {
|
|
1589
1652
|
_description: string;
|
|
1590
1653
|
};
|
|
1654
|
+
type PropMsg = {
|
|
1655
|
+
msg: Stringified<MsgPropType>;
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
type MultiplePropType = boolean;
|
|
1659
|
+
type PropMultiple = {
|
|
1660
|
+
multiple: MultiplePropType;
|
|
1661
|
+
};
|
|
1591
1662
|
|
|
1592
1663
|
type NamePropType = string;
|
|
1593
1664
|
type PropName = {
|
|
@@ -1599,22 +1670,50 @@ type OpenPropType = boolean;
|
|
|
1599
1670
|
type OptionsPropType = Stringified<Option<StencilUnknown>[]>;
|
|
1600
1671
|
type OptionsWithOptgroupPropType = Stringified<(Option<StencilUnknown> | Optgroup<StencilUnknown>)[]>;
|
|
1601
1672
|
type RadioOptionsPropType = Stringified<RadioOption<StencilUnknown>[]>;
|
|
1673
|
+
type PropOptions = {
|
|
1674
|
+
options: OptionsPropType;
|
|
1675
|
+
};
|
|
1676
|
+
type PropRadioOptions = {
|
|
1677
|
+
options: RadioOptionsPropType;
|
|
1678
|
+
};
|
|
1679
|
+
type PropOptionsWithOptgroup = {
|
|
1680
|
+
options: OptionsWithOptgroupPropType;
|
|
1681
|
+
};
|
|
1602
1682
|
|
|
1603
1683
|
declare const paginationPositionPropTypeOptions: readonly ["top", "bottom", "both"];
|
|
1604
1684
|
type PaginationPositionPropType = (typeof paginationPositionPropTypeOptions)[number];
|
|
1605
1685
|
|
|
1686
|
+
type PlaceholderPropType = string;
|
|
1687
|
+
|
|
1606
1688
|
type PopoverAlignPropType = AlignPropType;
|
|
1607
1689
|
|
|
1690
|
+
type PopoverCloseEvent = MouseEvent | KeyboardEvent | ToggleEvent;
|
|
1608
1691
|
type PopoverCallbacksPropType = {
|
|
1609
|
-
[Callback$1.onClose]?: EventCallback<
|
|
1692
|
+
[Callback$1.onClose]?: EventCallback<PopoverCloseEvent>;
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
type ReadOnlyPropType = boolean;
|
|
1696
|
+
type PropReadOnly = {
|
|
1697
|
+
readOnly: ReadOnlyPropType;
|
|
1698
|
+
};
|
|
1699
|
+
|
|
1700
|
+
type RequiredPropType = boolean;
|
|
1701
|
+
type PropRequired = {
|
|
1702
|
+
required: RequiredPropType;
|
|
1610
1703
|
};
|
|
1611
1704
|
|
|
1612
1705
|
declare const textareaResizeOptions: readonly ["vertical", "none"];
|
|
1613
1706
|
type TextareaResizePropType = (typeof textareaResizeOptions)[number];
|
|
1614
1707
|
|
|
1615
1708
|
type SpellCheckPropType = boolean;
|
|
1709
|
+
type PropSpellCheck = {
|
|
1710
|
+
spellCheck: SpellCheckPropType;
|
|
1711
|
+
};
|
|
1616
1712
|
|
|
1617
1713
|
type SuggestionsPropType = Stringified<W3CInputValue[]>;
|
|
1714
|
+
type PropSuggestions = {
|
|
1715
|
+
suggestions: SuggestionsPropType;
|
|
1716
|
+
};
|
|
1618
1717
|
|
|
1619
1718
|
type SyncValueBySelectorPropType = string;
|
|
1620
1719
|
type PropSyncValueBySelector = {
|
|
@@ -1628,8 +1727,8 @@ type SortEventPayload = {
|
|
|
1628
1727
|
key: string;
|
|
1629
1728
|
currentSortDirection: KoliBriSortDirection;
|
|
1630
1729
|
};
|
|
1631
|
-
type SelectionChangeEventPayload =
|
|
1632
|
-
type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] |
|
|
1730
|
+
type SelectionChangeEventPayload = KoliBriTableSelectionKeys;
|
|
1731
|
+
type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | null;
|
|
1633
1732
|
type TableCallbacksPropType = {
|
|
1634
1733
|
[Callback$1.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;
|
|
1635
1734
|
[Callback$1.onSelectionChange]?: EventValueOrEventCallback<Event, SelectionChangeEventPayload>;
|
|
@@ -1650,7 +1749,11 @@ type TableHeaderCellsPropType = Stringified<TableHeaderCells>;
|
|
|
1650
1749
|
|
|
1651
1750
|
type TableSelectionPropType = Stringified<KoliBriTableSelection>;
|
|
1652
1751
|
|
|
1653
|
-
type ToolbarItemPropType =
|
|
1752
|
+
type ToolbarItemPropType = ({
|
|
1753
|
+
type: 'button';
|
|
1754
|
+
} & ButtonProps) | ({
|
|
1755
|
+
type: 'link';
|
|
1756
|
+
} & LinkProps);
|
|
1654
1757
|
type ToolbarItemsPropType = ToolbarItemPropType[];
|
|
1655
1758
|
|
|
1656
1759
|
type TooltipAlignPropType = AlignPropType;
|
|
@@ -1658,6 +1761,11 @@ type PropTooltipAlign = {
|
|
|
1658
1761
|
tooltipAlign: TooltipAlignPropType;
|
|
1659
1762
|
};
|
|
1660
1763
|
|
|
1764
|
+
type TouchedPropType = boolean;
|
|
1765
|
+
type PropTouched = {
|
|
1766
|
+
touched: TouchedPropType;
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1661
1769
|
declare const inputDateTypeOptions: readonly ["date", "datetime-local", "month", "time", "week"];
|
|
1662
1770
|
type InputDateTypePropType = (typeof inputDateTypeOptions)[number];
|
|
1663
1771
|
|
|
@@ -1694,17 +1802,17 @@ type AlertProps = Generic.Element.Members<RequiredAlertProps, OptionalAlertProps
|
|
|
1694
1802
|
|
|
1695
1803
|
type RequiredButtonProps = PropLabelWithExpertSlot;
|
|
1696
1804
|
type OptionalButtonProps = {
|
|
1805
|
+
ariaExpanded: AriaExpandedPropType;
|
|
1697
1806
|
tabIndex: number;
|
|
1698
1807
|
value: StencilUnknown;
|
|
1699
|
-
|
|
1700
|
-
} & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaControls & PropAriaDescription & PropAriaSelected & PropButtonCallbacks<StencilUnknown> & PropButtonType & PropButtonVariant & PropCustomClass & PropDisabled & PropHideLabel & PropIcons & PropId & PropName & PropShortKey & PropSyncValueBySelector & PropTooltipAlign;
|
|
1808
|
+
} & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaControls & PropAriaDescription & PropAriaSelected & PropButtonCallbacks<StencilUnknown> & PropButtonType & PropButtonVariant & PropCustomClass & PropDisabled & PropHideLabel & PropIcons & PropId & PropInline & PropName & PropShortKey & PropSyncValueBySelector & PropTooltipAlign;
|
|
1701
1809
|
type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonProps>;
|
|
1702
1810
|
|
|
1703
|
-
type RequiredProps$
|
|
1704
|
-
type OptionalProps$
|
|
1811
|
+
type RequiredProps$f = PropHref;
|
|
1812
|
+
type OptionalProps$f = {
|
|
1705
1813
|
tabIndex: number;
|
|
1706
|
-
} & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaControls & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget &
|
|
1707
|
-
type LinkProps = Generic.Element.Members<RequiredProps$
|
|
1814
|
+
} & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaControls & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropInline & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropShortKey & PropTooltipAlign;
|
|
1815
|
+
type LinkProps = Generic.Element.Members<RequiredProps$f, OptionalProps$f>;
|
|
1708
1816
|
|
|
1709
1817
|
type BreadcrumbLinkProps = LinkProps & LabelProp;
|
|
1710
1818
|
|
|
@@ -1712,16 +1820,262 @@ type KoliBriCardEventCallbacks = {
|
|
|
1712
1820
|
onClose?: EventCallback<Event>;
|
|
1713
1821
|
};
|
|
1714
1822
|
|
|
1823
|
+
type RequiredProps$e = PropLabelWithExpertSlot & PropSuggestions;
|
|
1824
|
+
type OptionalProps$e = {
|
|
1825
|
+
hideClearButton: boolean;
|
|
1826
|
+
msg: Stringified<MsgPropType>;
|
|
1827
|
+
on: InputTypeOnDefault;
|
|
1828
|
+
placeholder: string;
|
|
1829
|
+
value: string;
|
|
1830
|
+
} & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
|
|
1831
|
+
type RequiredStates$d = {
|
|
1832
|
+
hasValue: boolean;
|
|
1833
|
+
hideClearButton: boolean;
|
|
1834
|
+
suggestions: W3CInputValue[];
|
|
1835
|
+
value: string;
|
|
1836
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot;
|
|
1837
|
+
type OptionalStates$d = {
|
|
1838
|
+
on: InputTypeOnDefault;
|
|
1839
|
+
placeholder: string;
|
|
1840
|
+
} & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
|
|
1841
|
+
type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$e, OptionalProps$e, RequiredStates$d, OptionalStates$d>;
|
|
1842
|
+
|
|
1715
1843
|
type KoliBriFormCallbacks = {
|
|
1716
1844
|
[Callback$1.onSubmit]?: EventCallback<Event>;
|
|
1717
1845
|
[Callback$1.onReset]?: EventCallback<Event>;
|
|
1718
1846
|
};
|
|
1719
1847
|
|
|
1848
|
+
type RequiredProps$d = PropLabelWithExpertSlot;
|
|
1849
|
+
type OptionalProps$d = {
|
|
1850
|
+
icons: Stringified<InputCheckboxIconsProp>;
|
|
1851
|
+
msg: Stringified<MsgPropType>;
|
|
1852
|
+
on: InputTypeOnDefault;
|
|
1853
|
+
value: StencilUnknown;
|
|
1854
|
+
variant: InputCheckboxVariantPropType;
|
|
1855
|
+
} & PropAccessKey & PropChecked & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropIndeterminate & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched & PropLabelAlign;
|
|
1856
|
+
type RequiredStates$c = {
|
|
1857
|
+
icons: InputCheckboxIconsState;
|
|
1858
|
+
id: string;
|
|
1859
|
+
value: StencilUnknown;
|
|
1860
|
+
variant: InputCheckboxVariantPropType;
|
|
1861
|
+
} & PropChecked & PropHideMsg & PropIndeterminate & PropLabelWithExpertSlot;
|
|
1862
|
+
type OptionalStates$c = {
|
|
1863
|
+
on: InputTypeOnDefault;
|
|
1864
|
+
} & PropAccessKey & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropShortKey & PropTouched & PropLabelAlign;
|
|
1865
|
+
type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$c, OptionalStates$c>;
|
|
1866
|
+
|
|
1867
|
+
type RequiredProps$c = PropLabelWithExpertSlot;
|
|
1868
|
+
type OptionalProps$c = {
|
|
1869
|
+
msg: Stringified<MsgPropType>;
|
|
1870
|
+
on: InputTypeOnDefault;
|
|
1871
|
+
smartButton: Stringified<ButtonProps>;
|
|
1872
|
+
value: string;
|
|
1873
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
|
|
1874
|
+
type RequiredStates$b = {
|
|
1875
|
+
id: string;
|
|
1876
|
+
suggestions: W3CInputValue[];
|
|
1877
|
+
} & PropHideMsg & PropLabelWithExpertSlot;
|
|
1878
|
+
type OptionalStates$b = {
|
|
1879
|
+
on: InputTypeOnDefault;
|
|
1880
|
+
smartButton: ButtonProps;
|
|
1881
|
+
value: string;
|
|
1882
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
|
|
1883
|
+
type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$b, OptionalStates$b>;
|
|
1884
|
+
|
|
1885
|
+
type RequiredProps$b = PropLabelWithExpertSlot;
|
|
1886
|
+
type OptionalProps$b = {
|
|
1887
|
+
max: Iso8601 | Date;
|
|
1888
|
+
min: Iso8601 | Date;
|
|
1889
|
+
msg: Stringified<MsgPropType>;
|
|
1890
|
+
on: InputTypeOnDefault;
|
|
1891
|
+
smartButton: Stringified<ButtonProps>;
|
|
1892
|
+
step: number | NumberString;
|
|
1893
|
+
type: InputDateTypePropType;
|
|
1894
|
+
value: Iso8601 | Date | null;
|
|
1895
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
|
|
1896
|
+
type RequiredStates$a = {
|
|
1897
|
+
hasValue: boolean;
|
|
1898
|
+
suggestions: W3CInputValue[];
|
|
1899
|
+
type: InputDateTypePropType;
|
|
1900
|
+
} & PropLabelWithExpertSlot & PropHideMsg & PropId;
|
|
1901
|
+
type OptionalStates$a = {
|
|
1902
|
+
max: Iso8601;
|
|
1903
|
+
min: Iso8601;
|
|
1904
|
+
on: InputTypeOnDefault;
|
|
1905
|
+
placeholder: string;
|
|
1906
|
+
smartButton: ButtonProps;
|
|
1907
|
+
step: number;
|
|
1908
|
+
value: Iso8601 | null;
|
|
1909
|
+
} & PropAccessKey & PropAutoComplete & PropHint & PropSyncValueBySelector & PropDisabled & PropHideLabel & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
|
|
1910
|
+
type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$a, OptionalStates$a>;
|
|
1911
|
+
|
|
1912
|
+
type RequiredProps$a = PropLabelWithExpertSlot;
|
|
1913
|
+
type OptionalProps$a = {
|
|
1914
|
+
maxLength: number;
|
|
1915
|
+
msg: Stringified<MsgPropType>;
|
|
1916
|
+
on: InputTypeOnDefault;
|
|
1917
|
+
pattern: string;
|
|
1918
|
+
placeholder: string;
|
|
1919
|
+
smartButton: Stringified<ButtonProps>;
|
|
1920
|
+
value: string;
|
|
1921
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
|
|
1922
|
+
type RequiredStates$9 = {
|
|
1923
|
+
hasValue: boolean;
|
|
1924
|
+
suggestions: W3CInputValue[];
|
|
1925
|
+
currentLength: number;
|
|
1926
|
+
currentLengthDebounced: number;
|
|
1927
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot;
|
|
1928
|
+
type OptionalStates$9 = {
|
|
1929
|
+
maxLength: number;
|
|
1930
|
+
on: InputTypeOnDefault;
|
|
1931
|
+
pattern: string;
|
|
1932
|
+
placeholder: string;
|
|
1933
|
+
smartButton: ButtonProps;
|
|
1934
|
+
value: string;
|
|
1935
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
|
|
1936
|
+
type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$9, OptionalStates$9>;
|
|
1937
|
+
|
|
1938
|
+
type RequiredProps$9 = PropLabelWithExpertSlot;
|
|
1939
|
+
type OptionalProps$9 = {
|
|
1940
|
+
accept: string;
|
|
1941
|
+
msg: Stringified<MsgPropType>;
|
|
1942
|
+
on: InputTypeOnDefault;
|
|
1943
|
+
smartButton: Stringified<ButtonProps>;
|
|
1944
|
+
} & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
|
|
1945
|
+
type RequiredStates$8 = PropId & PropLabelWithExpertSlot & PropHideMsg;
|
|
1946
|
+
type OptionalStates$8 = {
|
|
1947
|
+
accept: string;
|
|
1948
|
+
on: InputTypeOnDefault;
|
|
1949
|
+
smartButton: ButtonProps;
|
|
1950
|
+
} & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropMultiple & PropName & PropRequired & PropShortKey & PropTouched;
|
|
1951
|
+
type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$8, OptionalStates$8>;
|
|
1952
|
+
|
|
1953
|
+
type RequiredProps$8 = PropLabelWithExpertSlot;
|
|
1954
|
+
type OptionalProps$8 = {
|
|
1955
|
+
max: number | NumberString;
|
|
1956
|
+
min: number | NumberString;
|
|
1957
|
+
msg: Stringified<MsgPropType>;
|
|
1958
|
+
on: InputTypeOnDefault;
|
|
1959
|
+
placeholder: PlaceholderPropType;
|
|
1960
|
+
smartButton: Stringified<ButtonProps>;
|
|
1961
|
+
step: number | NumberString;
|
|
1962
|
+
value: number | NumberString | null;
|
|
1963
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
|
|
1964
|
+
type RequiredStates$7 = {
|
|
1965
|
+
hasValue: boolean;
|
|
1966
|
+
suggestions: W3CInputValue[];
|
|
1967
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot;
|
|
1968
|
+
type OptionalStates$7 = {
|
|
1969
|
+
max: number;
|
|
1970
|
+
min: number;
|
|
1971
|
+
on: InputTypeOnDefault;
|
|
1972
|
+
placeholder: PlaceholderPropType;
|
|
1973
|
+
smartButton: ButtonProps;
|
|
1974
|
+
step: number;
|
|
1975
|
+
value: number;
|
|
1976
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropSyncValueBySelector & PropShortKey & PropTouched;
|
|
1977
|
+
type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$7, OptionalStates$7>;
|
|
1978
|
+
|
|
1720
1979
|
declare const PasswordVariantPropTypeOptions: readonly ["default", "visibility-toggle"];
|
|
1721
1980
|
type PasswordVariantPropType = (typeof PasswordVariantPropTypeOptions)[number];
|
|
1981
|
+
type PropPasswordVariant = {
|
|
1982
|
+
variant: PasswordVariantPropType;
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
type RequiredProps$7 = PropLabelWithExpertSlot;
|
|
1986
|
+
type OptionalProps$7 = {
|
|
1987
|
+
maxLength: number;
|
|
1988
|
+
on: InputTypeOnDefault;
|
|
1989
|
+
pattern: string;
|
|
1990
|
+
placeholder: string;
|
|
1991
|
+
smartButton: Stringified<ButtonProps>;
|
|
1992
|
+
value: string;
|
|
1993
|
+
msg: Stringified<MsgPropType>;
|
|
1994
|
+
} & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
|
|
1995
|
+
type RequiredStates$6 = {
|
|
1996
|
+
currentLength: number;
|
|
1997
|
+
currentLengthDebounced: number;
|
|
1998
|
+
hasValue: boolean;
|
|
1999
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot;
|
|
2000
|
+
type OptionalStates$6 = {
|
|
2001
|
+
maxLength: number;
|
|
2002
|
+
on: InputTypeOnDefault;
|
|
2003
|
+
pattern: string;
|
|
2004
|
+
placeholder: string;
|
|
2005
|
+
smartButton: ButtonProps;
|
|
2006
|
+
value: string | null;
|
|
2007
|
+
} & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
|
|
2008
|
+
type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$6, OptionalStates$6>;
|
|
1722
2009
|
|
|
1723
2010
|
declare const orientationPropTypeOptions: readonly ["horizontal", "vertical"];
|
|
1724
2011
|
type OrientationPropType = (typeof orientationPropTypeOptions)[number];
|
|
2012
|
+
type PropOrientation = {
|
|
2013
|
+
orientation: OrientationPropType;
|
|
2014
|
+
};
|
|
2015
|
+
|
|
2016
|
+
type RequiredProps$6 = PropLabelWithExpertSlot;
|
|
2017
|
+
type OptionalProps$6 = {
|
|
2018
|
+
msg: Stringified<MsgPropType>;
|
|
2019
|
+
on: InputTypeOnDefault;
|
|
2020
|
+
value: StencilUnknown;
|
|
2021
|
+
} & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropName & PropOrientation & PropRadioOptions & PropRequired & PropSyncValueBySelector & PropTouched & PropTooltipAlign;
|
|
2022
|
+
type RequiredStates$5 = {
|
|
2023
|
+
options: RadioOption<StencilUnknown>[];
|
|
2024
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot & PropOrientation;
|
|
2025
|
+
type OptionalStates$5 = {
|
|
2026
|
+
on: InputTypeOnDefault;
|
|
2027
|
+
value: StencilUnknown;
|
|
2028
|
+
} & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropTouched;
|
|
2029
|
+
type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$5, OptionalStates$5>;
|
|
2030
|
+
|
|
2031
|
+
type RequiredProps$5 = PropLabelWithExpertSlot;
|
|
2032
|
+
type OptionalProps$5 = {
|
|
2033
|
+
max: number | NumberString;
|
|
2034
|
+
min: number | NumberString;
|
|
2035
|
+
msg: Stringified<MsgPropType>;
|
|
2036
|
+
on: InputTypeOnDefault;
|
|
2037
|
+
step: number | NumberString;
|
|
2038
|
+
value: number | NumberString;
|
|
2039
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropSuggestions & PropSyncValueBySelector & PropShortKey & PropTouched;
|
|
2040
|
+
type RequiredStates$4 = {
|
|
2041
|
+
suggestions: W3CInputValue[];
|
|
2042
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot;
|
|
2043
|
+
type OptionalStates$4 = {
|
|
2044
|
+
max: number;
|
|
2045
|
+
min: number;
|
|
2046
|
+
on: InputTypeOnDefault;
|
|
2047
|
+
step: number;
|
|
2048
|
+
value: number;
|
|
2049
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
|
|
2050
|
+
type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$4, OptionalStates$4>;
|
|
2051
|
+
|
|
2052
|
+
type RequiredProps$4 = PropLabelWithExpertSlot;
|
|
2053
|
+
type OptionalProps$4 = {
|
|
2054
|
+
maxLength: number;
|
|
2055
|
+
msg: Stringified<MsgPropType>;
|
|
2056
|
+
on: InputTypeOnDefault;
|
|
2057
|
+
pattern: string;
|
|
2058
|
+
placeholder: string;
|
|
2059
|
+
smartButton: Stringified<ButtonProps>;
|
|
2060
|
+
type: InputTextTypePropType;
|
|
2061
|
+
value: string;
|
|
2062
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropSuggestions & PropSyncValueBySelector & PropTouched;
|
|
2063
|
+
type RequiredStates$3 = {
|
|
2064
|
+
currentLength: number;
|
|
2065
|
+
currentLengthDebounced: number;
|
|
2066
|
+
hasValue: boolean;
|
|
2067
|
+
suggestions: W3CInputValue[];
|
|
2068
|
+
type: InputTextTypePropType;
|
|
2069
|
+
} & PropHideMsg & PropId & PropLabelWithExpertSlot;
|
|
2070
|
+
type OptionalStates$3 = {
|
|
2071
|
+
maxLength: number;
|
|
2072
|
+
on: InputTypeOnDefault;
|
|
2073
|
+
pattern: string;
|
|
2074
|
+
placeholder: string;
|
|
2075
|
+
smartButton: ButtonProps;
|
|
2076
|
+
value: string;
|
|
2077
|
+
} & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropTouched;
|
|
2078
|
+
type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$3, OptionalStates$3>;
|
|
1725
2079
|
|
|
1726
2080
|
declare const ModalVariantPropTypeOptions: readonly ["blank", "card"];
|
|
1727
2081
|
type ModalVariantPropType = (typeof ModalVariantPropTypeOptions)[number];
|
|
@@ -1737,24 +2091,60 @@ type PaginationHasButton = {
|
|
|
1737
2091
|
next: boolean;
|
|
1738
2092
|
previous: boolean;
|
|
1739
2093
|
};
|
|
1740
|
-
type RequiredProps = {
|
|
2094
|
+
type RequiredProps$3 = {
|
|
1741
2095
|
on: KoliBriPaginationButtonCallbacks;
|
|
1742
2096
|
page: number;
|
|
1743
2097
|
} & PropMax;
|
|
1744
|
-
type OptionalProps = {
|
|
2098
|
+
type OptionalProps$3 = {
|
|
1745
2099
|
boundaryCount: number;
|
|
1746
2100
|
hasButtons: boolean | Stringified<PaginationHasButton>;
|
|
1747
2101
|
pageSize: number;
|
|
1748
2102
|
pageSizeOptions: Stringified<number[]>;
|
|
1749
2103
|
siblingCount: number;
|
|
1750
2104
|
} & PropCustomClass & PropLabel & PropTooltipAlign;
|
|
1751
|
-
type KoliBriPaginationProps = RequiredProps & OptionalProps;
|
|
2105
|
+
type KoliBriPaginationProps = RequiredProps$3 & OptionalProps$3;
|
|
2106
|
+
|
|
2107
|
+
type RequiredProps$2 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
|
|
2108
|
+
type OptionalProps$2 = {
|
|
2109
|
+
msg: Stringified<MsgPropType>;
|
|
2110
|
+
on: InputTypeOnDefault;
|
|
2111
|
+
tabIndex: number;
|
|
2112
|
+
value: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;
|
|
2113
|
+
} & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropRows & PropShortKey & PropSyncValueBySelector & PropTouched;
|
|
2114
|
+
type RequiredStates$2 = {
|
|
2115
|
+
hasValue: boolean;
|
|
2116
|
+
options: SelectOption<W3CInputValue>[];
|
|
2117
|
+
value: StencilUnknown[] | StencilUnknown;
|
|
2118
|
+
} & PropId & PropHideMsg & PropMultiple & PropLabelWithExpertSlot;
|
|
2119
|
+
type OptionalStates$2 = {
|
|
2120
|
+
on: InputTypeOnDefault;
|
|
2121
|
+
tabIndex: number;
|
|
2122
|
+
} & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
|
|
2123
|
+
type SelectAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
|
|
2124
|
+
|
|
2125
|
+
type RequiredProps$1 = PropLabelWithExpertSlot & PropOptions;
|
|
2126
|
+
type OptionalProps$1 = {
|
|
2127
|
+
msg: Stringified<MsgPropType>;
|
|
2128
|
+
on: InputTypeOnDefault;
|
|
2129
|
+
placeholder: string;
|
|
2130
|
+
value: StencilUnknown;
|
|
2131
|
+
hideClearButton: boolean;
|
|
2132
|
+
} & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
|
|
2133
|
+
type RequiredStates$1 = {
|
|
2134
|
+
options: Option<StencilUnknown>[];
|
|
2135
|
+
} & PropId & PropHideMsg & PropLabelWithExpertSlot;
|
|
2136
|
+
type OptionalStates$1 = {
|
|
2137
|
+
on: InputTypeOnDefault;
|
|
2138
|
+
placeholder: string;
|
|
2139
|
+
hideClearButton: boolean;
|
|
2140
|
+
} & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
|
|
2141
|
+
type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
|
|
1752
2142
|
|
|
1753
2143
|
type MinWidthPropType = string;
|
|
1754
2144
|
|
|
1755
2145
|
type TableSettingsPropType = TableSettings;
|
|
1756
2146
|
|
|
1757
|
-
type KoliBriDataCompareFn = (a: KoliBriTableDataType, b: KoliBriTableDataType) => number;
|
|
2147
|
+
type KoliBriDataCompareFn = (a: KoliBriTableDataType, b: KoliBriTableDataType, sortDirection?: KoliBriSortDirection) => number;
|
|
1758
2148
|
type KoliBriTableHeaderCellWithLogic = KoliBriTableHeaderCell & {
|
|
1759
2149
|
compareFn?: KoliBriDataCompareFn;
|
|
1760
2150
|
sortDirection?: KoliBriSortDirection;
|
|
@@ -1785,6 +2175,32 @@ type OptionalTabButtonProps = {
|
|
|
1785
2175
|
} & PropDisabled & PropHideLabel & PropTooltipAlign;
|
|
1786
2176
|
type TabButtonProps = Generic.Element.Members<RequiredTabButtonProps, OptionalTabButtonProps>;
|
|
1787
2177
|
|
|
2178
|
+
declare const cssResizeOptions: readonly ["vertical", "none"];
|
|
2179
|
+
type CSSResize = (typeof cssResizeOptions)[number];
|
|
2180
|
+
type RequiredProps = PropLabelWithExpertSlot;
|
|
2181
|
+
type OptionalProps = {
|
|
2182
|
+
maxLength: number;
|
|
2183
|
+
msg: Stringified<MsgPropType>;
|
|
2184
|
+
on: InputTypeOnDefault;
|
|
2185
|
+
placeholder: string;
|
|
2186
|
+
resize: CSSResize;
|
|
2187
|
+
value: string;
|
|
2188
|
+
} & PropAccessKey & PropAdjustHeight & PropDisabled & PropHasCounter & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropSyncValueBySelector & PropTouched;
|
|
2189
|
+
type RequiredStates = {
|
|
2190
|
+
adjustHeight: boolean;
|
|
2191
|
+
currentLength: number;
|
|
2192
|
+
currentLengthDebounced: number;
|
|
2193
|
+
hasValue: boolean;
|
|
2194
|
+
resize: CSSResize;
|
|
2195
|
+
} & PropAdjustHeight & PropHideMsg & PropId & PropLabelWithExpertSlot;
|
|
2196
|
+
type OptionalStates = {
|
|
2197
|
+
maxLength: number;
|
|
2198
|
+
on: InputTypeOnDefault;
|
|
2199
|
+
placeholder: string;
|
|
2200
|
+
value: string;
|
|
2201
|
+
} & PropAccessKey & KoliBriHIcons & PropDisabled & PropHasCounter & PropHideLabel & PropHint & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropTouched;
|
|
2202
|
+
type TextareaAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
|
|
2203
|
+
|
|
1788
2204
|
type ToastRenderFunction = (nodeRef: HTMLElement, options: {
|
|
1789
2205
|
close: () => void;
|
|
1790
2206
|
}) => void;
|
|
@@ -1917,6 +2333,11 @@ declare namespace Components {
|
|
|
1917
2333
|
"_variant"?: AlertVariantPropType;
|
|
1918
2334
|
}
|
|
1919
2335
|
interface KolAvatar {
|
|
2336
|
+
/**
|
|
2337
|
+
* Defines the backgroundColor and foregroundColor.
|
|
2338
|
+
* @default '#d3d3d3'
|
|
2339
|
+
*/
|
|
2340
|
+
"_color"?: Stringified<PropColor>;
|
|
1920
2341
|
/**
|
|
1921
2342
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
1922
2343
|
*/
|
|
@@ -1927,6 +2348,11 @@ declare namespace Components {
|
|
|
1927
2348
|
"_src"?: string;
|
|
1928
2349
|
}
|
|
1929
2350
|
interface KolAvatarWc {
|
|
2351
|
+
/**
|
|
2352
|
+
* Defines the backgroundColor and foregroundColor.
|
|
2353
|
+
* @default '#d3d3d3'
|
|
2354
|
+
*/
|
|
2355
|
+
"_color"?: Stringified<PropColor>;
|
|
1930
2356
|
/**
|
|
1931
2357
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
1932
2358
|
*/
|
|
@@ -1954,6 +2380,10 @@ declare namespace Components {
|
|
|
1954
2380
|
* Allows to add a button with an arbitrary action within the element (_hide-label only).
|
|
1955
2381
|
*/
|
|
1956
2382
|
"_smartButton"?: Stringified<ButtonProps>;
|
|
2383
|
+
/**
|
|
2384
|
+
* Sets focus on the internal element.
|
|
2385
|
+
*/
|
|
2386
|
+
"kolFocus": () => Promise<void>;
|
|
1957
2387
|
}
|
|
1958
2388
|
interface KolBreadcrumb {
|
|
1959
2389
|
/**
|
|
@@ -2010,6 +2440,11 @@ declare namespace Components {
|
|
|
2010
2440
|
* @deprecated Will be removed in the next major version.
|
|
2011
2441
|
*/
|
|
2012
2442
|
"_id"?: string;
|
|
2443
|
+
/**
|
|
2444
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
2445
|
+
* @default false
|
|
2446
|
+
*/
|
|
2447
|
+
"_inline"?: InlinePropType;
|
|
2013
2448
|
/**
|
|
2014
2449
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
2015
2450
|
*/
|
|
@@ -2107,6 +2542,11 @@ declare namespace Components {
|
|
|
2107
2542
|
* @deprecated Will be removed in the next major version.
|
|
2108
2543
|
*/
|
|
2109
2544
|
"_id"?: IdPropType;
|
|
2545
|
+
/**
|
|
2546
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
2547
|
+
* @default true
|
|
2548
|
+
*/
|
|
2549
|
+
"_inline"?: InlinePropType;
|
|
2110
2550
|
/**
|
|
2111
2551
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
2112
2552
|
*/
|
|
@@ -2146,11 +2586,6 @@ declare namespace Components {
|
|
|
2146
2586
|
* Defines the value that the button emits on click.
|
|
2147
2587
|
*/
|
|
2148
2588
|
"_value"?: StencilUnknown;
|
|
2149
|
-
/**
|
|
2150
|
-
* Defines which variant should be used for presentation.
|
|
2151
|
-
* @default 'inline'
|
|
2152
|
-
*/
|
|
2153
|
-
"_variant"?: LinkVariantPropType;
|
|
2154
2589
|
/**
|
|
2155
2590
|
* Returns the current value.
|
|
2156
2591
|
*/
|
|
@@ -2214,13 +2649,14 @@ declare namespace Components {
|
|
|
2214
2649
|
*/
|
|
2215
2650
|
"_id"?: string;
|
|
2216
2651
|
/**
|
|
2217
|
-
* Defines
|
|
2652
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
2653
|
+
* @default false
|
|
2218
2654
|
*/
|
|
2219
|
-
"
|
|
2655
|
+
"_inline"?: InlinePropType;
|
|
2220
2656
|
/**
|
|
2221
|
-
* Defines
|
|
2657
|
+
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
2222
2658
|
*/
|
|
2223
|
-
"
|
|
2659
|
+
"_label": LabelWithExpertSlotPropType;
|
|
2224
2660
|
/**
|
|
2225
2661
|
* Defines the technical name of an input field.
|
|
2226
2662
|
*/
|
|
@@ -2259,10 +2695,6 @@ declare namespace Components {
|
|
|
2259
2695
|
* Defines the value that the button emits on click.
|
|
2260
2696
|
*/
|
|
2261
2697
|
"_value"?: StencilUnknown;
|
|
2262
|
-
/**
|
|
2263
|
-
* Hides the tooltip.
|
|
2264
|
-
*/
|
|
2265
|
-
"hideTooltip": () => Promise<void>;
|
|
2266
2698
|
/**
|
|
2267
2699
|
* Sets focus on the internal element.
|
|
2268
2700
|
*/
|
|
@@ -2320,6 +2752,11 @@ declare namespace Components {
|
|
|
2320
2752
|
* @default false
|
|
2321
2753
|
*/
|
|
2322
2754
|
"_disabled"?: boolean;
|
|
2755
|
+
/**
|
|
2756
|
+
* Hides the clear button.
|
|
2757
|
+
* @default false
|
|
2758
|
+
*/
|
|
2759
|
+
"_hideClearButton"?: boolean;
|
|
2323
2760
|
/**
|
|
2324
2761
|
* Hides the caption by default and displays the caption text with a tooltip when the interactive element is focused or the mouse is over it.
|
|
2325
2762
|
* @TODO : Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.
|
|
@@ -3719,6 +4156,26 @@ declare namespace Components {
|
|
|
3719
4156
|
* Sets focus on the internal element.
|
|
3720
4157
|
*/
|
|
3721
4158
|
"kolFocus": () => Promise<void>;
|
|
4159
|
+
/**
|
|
4160
|
+
* Get selection end of internal element.
|
|
4161
|
+
*/
|
|
4162
|
+
"selectioconEnd": () => Promise<number | null | undefined>;
|
|
4163
|
+
/**
|
|
4164
|
+
* Get selection start of internal element.
|
|
4165
|
+
*/
|
|
4166
|
+
"selectionStart": () => Promise<number | null | undefined>;
|
|
4167
|
+
/**
|
|
4168
|
+
* Add string at position of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText
|
|
4169
|
+
*/
|
|
4170
|
+
"setRangeText": (replacement: string, selectionStart?: number, selectionEnd?: number, selectMode?: "select" | "start" | "end" | "preserve") => Promise<void>;
|
|
4171
|
+
/**
|
|
4172
|
+
* Set selection start and end, and optional in which direction, of internal element; just like https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange
|
|
4173
|
+
*/
|
|
4174
|
+
"setSelectionRange": (selectionStart: number, selectionEnd: number, selectionDirection?: "forward" | "backward" | "none") => Promise<void>;
|
|
4175
|
+
/**
|
|
4176
|
+
* Set selection start (and end = start) of internal element.
|
|
4177
|
+
*/
|
|
4178
|
+
"setSelectionStart": (selectionStart: number) => Promise<void>;
|
|
3722
4179
|
}
|
|
3723
4180
|
interface KolKolibri {
|
|
3724
4181
|
/**
|
|
@@ -3777,6 +4234,11 @@ declare namespace Components {
|
|
|
3777
4234
|
* Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`).
|
|
3778
4235
|
*/
|
|
3779
4236
|
"_icons"?: Stringified<KoliBriIconsProp>;
|
|
4237
|
+
/**
|
|
4238
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
4239
|
+
* @default true
|
|
4240
|
+
*/
|
|
4241
|
+
"_inline"?: InlinePropType;
|
|
3780
4242
|
/**
|
|
3781
4243
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
3782
4244
|
*/
|
|
@@ -3803,11 +4265,6 @@ declare namespace Components {
|
|
|
3803
4265
|
* @default 'right'
|
|
3804
4266
|
*/
|
|
3805
4267
|
"_tooltipAlign"?: TooltipAlignPropType;
|
|
3806
|
-
/**
|
|
3807
|
-
* Defines which variant should be used for presentation.
|
|
3808
|
-
* @default 'inline'
|
|
3809
|
-
*/
|
|
3810
|
-
"_variant"?: LinkVariantPropType;
|
|
3811
4268
|
/**
|
|
3812
4269
|
* Sets focus on the internal element.
|
|
3813
4270
|
*/
|
|
@@ -3952,13 +4409,14 @@ declare namespace Components {
|
|
|
3952
4409
|
*/
|
|
3953
4410
|
"_icons"?: Stringified<KoliBriIconsProp>;
|
|
3954
4411
|
/**
|
|
3955
|
-
* Defines
|
|
4412
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
4413
|
+
* @default true
|
|
3956
4414
|
*/
|
|
3957
|
-
"
|
|
4415
|
+
"_inline"?: InlinePropType;
|
|
3958
4416
|
/**
|
|
3959
|
-
* Defines
|
|
4417
|
+
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
3960
4418
|
*/
|
|
3961
|
-
"
|
|
4419
|
+
"_label"?: LabelWithExpertSlotPropType;
|
|
3962
4420
|
/**
|
|
3963
4421
|
* Defines the callback functions for links.
|
|
3964
4422
|
*/
|
|
@@ -4028,7 +4486,7 @@ declare namespace Components {
|
|
|
4028
4486
|
*/
|
|
4029
4487
|
"_collapsible"?: boolean;
|
|
4030
4488
|
/**
|
|
4031
|
-
* Creates a button below the navigation, that toggles _collapsible.
|
|
4489
|
+
* Creates a button below the navigation, that toggles _collapsible.
|
|
4032
4490
|
* @default false
|
|
4033
4491
|
*/
|
|
4034
4492
|
"_hasCompactButton"?: boolean;
|
|
@@ -4051,12 +4509,6 @@ declare namespace Components {
|
|
|
4051
4509
|
* Defines the list of links, buttons or texts to render.
|
|
4052
4510
|
*/
|
|
4053
4511
|
"_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
|
|
4054
|
-
/**
|
|
4055
|
-
* Defines whether the orientation of the component is horizontal or vertical.
|
|
4056
|
-
* @deprecated Will be removed in the next major version.
|
|
4057
|
-
* @default 'vertical'
|
|
4058
|
-
*/
|
|
4059
|
-
"_orientation"?: OrientationPropType;
|
|
4060
4512
|
}
|
|
4061
4513
|
interface KolPagination {
|
|
4062
4514
|
/**
|
|
@@ -4203,6 +4655,11 @@ declare namespace Components {
|
|
|
4203
4655
|
* @deprecated Will be removed in the next major version.
|
|
4204
4656
|
*/
|
|
4205
4657
|
"_id"?: string;
|
|
4658
|
+
/**
|
|
4659
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
4660
|
+
* @default false
|
|
4661
|
+
*/
|
|
4662
|
+
"_inline"?: InlinePropType;
|
|
4206
4663
|
/**
|
|
4207
4664
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
4208
4665
|
*/
|
|
@@ -4260,6 +4717,14 @@ declare namespace Components {
|
|
|
4260
4717
|
* Hides the popover programmatically by forwarding the call to the web component.
|
|
4261
4718
|
*/
|
|
4262
4719
|
"hidePopover": () => Promise<void>;
|
|
4720
|
+
/**
|
|
4721
|
+
* Sets focus on the internal element.
|
|
4722
|
+
*/
|
|
4723
|
+
"kolFocus": () => Promise<void>;
|
|
4724
|
+
/**
|
|
4725
|
+
* Shows the popover programmatically by forwarding the call to the web component.
|
|
4726
|
+
*/
|
|
4727
|
+
"showPopover": () => Promise<void>;
|
|
4263
4728
|
}
|
|
4264
4729
|
interface KolPopoverButtonWc {
|
|
4265
4730
|
/**
|
|
@@ -4301,6 +4766,11 @@ declare namespace Components {
|
|
|
4301
4766
|
* Defines the internal ID of the primary component element.
|
|
4302
4767
|
*/
|
|
4303
4768
|
"_id"?: string;
|
|
4769
|
+
/**
|
|
4770
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
4771
|
+
* @default false
|
|
4772
|
+
*/
|
|
4773
|
+
"_inline"?: InlinePropType;
|
|
4304
4774
|
/**
|
|
4305
4775
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
4306
4776
|
*/
|
|
@@ -4357,6 +4827,14 @@ declare namespace Components {
|
|
|
4357
4827
|
* Hides the popover programmatically by calling the native hidePopover method.
|
|
4358
4828
|
*/
|
|
4359
4829
|
"hidePopover": () => Promise<void>;
|
|
4830
|
+
/**
|
|
4831
|
+
* Sets focus on the internal element.
|
|
4832
|
+
*/
|
|
4833
|
+
"kolFocus": () => Promise<void>;
|
|
4834
|
+
/**
|
|
4835
|
+
* Show the popover programmatically by calling the native showPopover method.
|
|
4836
|
+
*/
|
|
4837
|
+
"showPopover": () => Promise<void>;
|
|
4360
4838
|
}
|
|
4361
4839
|
interface KolPopoverWc {
|
|
4362
4840
|
/**
|
|
@@ -4528,7 +5006,7 @@ declare namespace Components {
|
|
|
4528
5006
|
}
|
|
4529
5007
|
interface KolSingleSelect {
|
|
4530
5008
|
/**
|
|
4531
|
-
* Defines the key combination that can be used to trigger or focus the component
|
|
5009
|
+
* Defines the key combination that can be used to trigger or focus the component's interactive element.
|
|
4532
5010
|
*/
|
|
4533
5011
|
"_accessKey"?: string;
|
|
4534
5012
|
/**
|
|
@@ -4643,6 +5121,7 @@ declare namespace Components {
|
|
|
4643
5121
|
* Defines the list of links combined with their labels to render.
|
|
4644
5122
|
*/
|
|
4645
5123
|
"_links": Stringified<LinkProps[]>;
|
|
5124
|
+
"kolFocus": () => Promise<void>;
|
|
4646
5125
|
}
|
|
4647
5126
|
interface KolSpin {
|
|
4648
5127
|
/**
|
|
@@ -4822,7 +5301,7 @@ declare namespace Components {
|
|
|
4822
5301
|
/**
|
|
4823
5302
|
* Returns the selected rows.
|
|
4824
5303
|
*/
|
|
4825
|
-
"getSelection": () => Promise<KoliBriTableDataType[] |
|
|
5304
|
+
"getSelection": () => Promise<KoliBriTableDataType[] | null>;
|
|
4826
5305
|
}
|
|
4827
5306
|
interface KolTableStateless {
|
|
4828
5307
|
/**
|
|
@@ -5435,21 +5914,29 @@ declare global {
|
|
|
5435
5914
|
prototype: HTMLKolPaginationWcElement;
|
|
5436
5915
|
new (): HTMLKolPaginationWcElement;
|
|
5437
5916
|
};
|
|
5438
|
-
interface HTMLKolPopoverButtonElement extends Omit<Components.KolPopoverButton, "hidePopover">, HTMLStencilElement {
|
|
5917
|
+
interface HTMLKolPopoverButtonElement extends Omit<Components.KolPopoverButton, "hidePopover" | "showPopover">, HTMLStencilElement {
|
|
5439
5918
|
/**
|
|
5440
5919
|
* Hides the popover programmatically by forwarding the call to the web component.
|
|
5441
5920
|
*/
|
|
5442
5921
|
"hidePopover": () => Promise<void>;
|
|
5922
|
+
/**
|
|
5923
|
+
* Shows the popover programmatically by forwarding the call to the web component.
|
|
5924
|
+
*/
|
|
5925
|
+
"showPopover": () => Promise<void>;
|
|
5443
5926
|
}
|
|
5444
5927
|
var HTMLKolPopoverButtonElement: {
|
|
5445
5928
|
prototype: HTMLKolPopoverButtonElement;
|
|
5446
5929
|
new (): HTMLKolPopoverButtonElement;
|
|
5447
5930
|
};
|
|
5448
|
-
interface HTMLKolPopoverButtonWcElement extends Omit<Components.KolPopoverButtonWc, "hidePopover">, HTMLStencilElement {
|
|
5931
|
+
interface HTMLKolPopoverButtonWcElement extends Omit<Components.KolPopoverButtonWc, "hidePopover" | "showPopover">, HTMLStencilElement {
|
|
5449
5932
|
/**
|
|
5450
5933
|
* Hides the popover programmatically by calling the native hidePopover method.
|
|
5451
5934
|
*/
|
|
5452
5935
|
"hidePopover": () => Promise<void>;
|
|
5936
|
+
/**
|
|
5937
|
+
* Show the popover programmatically by calling the native showPopover method.
|
|
5938
|
+
*/
|
|
5939
|
+
"showPopover": () => Promise<void>;
|
|
5453
5940
|
}
|
|
5454
5941
|
var HTMLKolPopoverButtonWcElement: {
|
|
5455
5942
|
prototype: HTMLKolPopoverButtonWcElement;
|
|
@@ -5765,6 +6252,11 @@ declare namespace LocalJSX {
|
|
|
5765
6252
|
"_variant"?: AlertVariantPropType;
|
|
5766
6253
|
}
|
|
5767
6254
|
interface KolAvatar {
|
|
6255
|
+
/**
|
|
6256
|
+
* Defines the backgroundColor and foregroundColor.
|
|
6257
|
+
* @default '#d3d3d3'
|
|
6258
|
+
*/
|
|
6259
|
+
"_color"?: Stringified<PropColor>;
|
|
5768
6260
|
/**
|
|
5769
6261
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
5770
6262
|
*/
|
|
@@ -5775,6 +6267,11 @@ declare namespace LocalJSX {
|
|
|
5775
6267
|
"_src"?: string;
|
|
5776
6268
|
}
|
|
5777
6269
|
interface KolAvatarWc {
|
|
6270
|
+
/**
|
|
6271
|
+
* Defines the backgroundColor and foregroundColor.
|
|
6272
|
+
* @default '#d3d3d3'
|
|
6273
|
+
*/
|
|
6274
|
+
"_color"?: Stringified<PropColor>;
|
|
5778
6275
|
/**
|
|
5779
6276
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
5780
6277
|
*/
|
|
@@ -5858,6 +6355,11 @@ declare namespace LocalJSX {
|
|
|
5858
6355
|
* @deprecated Will be removed in the next major version.
|
|
5859
6356
|
*/
|
|
5860
6357
|
"_id"?: string;
|
|
6358
|
+
/**
|
|
6359
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
6360
|
+
* @default false
|
|
6361
|
+
*/
|
|
6362
|
+
"_inline"?: InlinePropType;
|
|
5861
6363
|
/**
|
|
5862
6364
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
5863
6365
|
*/
|
|
@@ -5943,6 +6445,11 @@ declare namespace LocalJSX {
|
|
|
5943
6445
|
* @deprecated Will be removed in the next major version.
|
|
5944
6446
|
*/
|
|
5945
6447
|
"_id"?: IdPropType;
|
|
6448
|
+
/**
|
|
6449
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
6450
|
+
* @default true
|
|
6451
|
+
*/
|
|
6452
|
+
"_inline"?: InlinePropType;
|
|
5946
6453
|
/**
|
|
5947
6454
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
5948
6455
|
*/
|
|
@@ -5978,11 +6485,6 @@ declare namespace LocalJSX {
|
|
|
5978
6485
|
* Defines the value that the button emits on click.
|
|
5979
6486
|
*/
|
|
5980
6487
|
"_value"?: StencilUnknown;
|
|
5981
|
-
/**
|
|
5982
|
-
* Defines which variant should be used for presentation.
|
|
5983
|
-
* @default 'inline'
|
|
5984
|
-
*/
|
|
5985
|
-
"_variant"?: LinkVariantPropType;
|
|
5986
6488
|
}
|
|
5987
6489
|
interface KolButtonWc {
|
|
5988
6490
|
/**
|
|
@@ -6024,6 +6526,11 @@ declare namespace LocalJSX {
|
|
|
6024
6526
|
* Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`).
|
|
6025
6527
|
*/
|
|
6026
6528
|
"_icons"?: IconsPropType;
|
|
6529
|
+
/**
|
|
6530
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
6531
|
+
* @default false
|
|
6532
|
+
*/
|
|
6533
|
+
"_inline"?: InlinePropType;
|
|
6027
6534
|
/**
|
|
6028
6535
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
6029
6536
|
*/
|
|
@@ -6115,6 +6622,11 @@ declare namespace LocalJSX {
|
|
|
6115
6622
|
* @default false
|
|
6116
6623
|
*/
|
|
6117
6624
|
"_disabled"?: boolean;
|
|
6625
|
+
/**
|
|
6626
|
+
* Hides the clear button.
|
|
6627
|
+
* @default false
|
|
6628
|
+
*/
|
|
6629
|
+
"_hideClearButton"?: boolean;
|
|
6118
6630
|
/**
|
|
6119
6631
|
* Hides the caption by default and displays the caption text with a tooltip when the interactive element is focused or the mouse is over it.
|
|
6120
6632
|
* @TODO : Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.
|
|
@@ -7416,6 +7928,11 @@ declare namespace LocalJSX {
|
|
|
7416
7928
|
* Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`).
|
|
7417
7929
|
*/
|
|
7418
7930
|
"_icons"?: Stringified<KoliBriIconsProp>;
|
|
7931
|
+
/**
|
|
7932
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
7933
|
+
* @default true
|
|
7934
|
+
*/
|
|
7935
|
+
"_inline"?: InlinePropType;
|
|
7419
7936
|
/**
|
|
7420
7937
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
7421
7938
|
*/
|
|
@@ -7442,11 +7959,6 @@ declare namespace LocalJSX {
|
|
|
7442
7959
|
* @default 'right'
|
|
7443
7960
|
*/
|
|
7444
7961
|
"_tooltipAlign"?: TooltipAlignPropType;
|
|
7445
|
-
/**
|
|
7446
|
-
* Defines which variant should be used for presentation.
|
|
7447
|
-
* @default 'inline'
|
|
7448
|
-
*/
|
|
7449
|
-
"_variant"?: LinkVariantPropType;
|
|
7450
7962
|
}
|
|
7451
7963
|
interface KolLinkButton {
|
|
7452
7964
|
/**
|
|
@@ -7577,6 +8089,11 @@ declare namespace LocalJSX {
|
|
|
7577
8089
|
* Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`).
|
|
7578
8090
|
*/
|
|
7579
8091
|
"_icons"?: Stringified<KoliBriIconsProp>;
|
|
8092
|
+
/**
|
|
8093
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
8094
|
+
* @default true
|
|
8095
|
+
*/
|
|
8096
|
+
"_inline"?: InlinePropType;
|
|
7580
8097
|
/**
|
|
7581
8098
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
7582
8099
|
*/
|
|
@@ -7638,7 +8155,7 @@ declare namespace LocalJSX {
|
|
|
7638
8155
|
*/
|
|
7639
8156
|
"_collapsible"?: boolean;
|
|
7640
8157
|
/**
|
|
7641
|
-
* Creates a button below the navigation, that toggles _collapsible.
|
|
8158
|
+
* Creates a button below the navigation, that toggles _collapsible.
|
|
7642
8159
|
* @default false
|
|
7643
8160
|
*/
|
|
7644
8161
|
"_hasCompactButton"?: boolean;
|
|
@@ -7661,12 +8178,6 @@ declare namespace LocalJSX {
|
|
|
7661
8178
|
* Defines the list of links, buttons or texts to render.
|
|
7662
8179
|
*/
|
|
7663
8180
|
"_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
|
|
7664
|
-
/**
|
|
7665
|
-
* Defines whether the orientation of the component is horizontal or vertical.
|
|
7666
|
-
* @deprecated Will be removed in the next major version.
|
|
7667
|
-
* @default 'vertical'
|
|
7668
|
-
*/
|
|
7669
|
-
"_orientation"?: OrientationPropType;
|
|
7670
8181
|
}
|
|
7671
8182
|
interface KolPagination {
|
|
7672
8183
|
/**
|
|
@@ -7813,6 +8324,11 @@ declare namespace LocalJSX {
|
|
|
7813
8324
|
* @deprecated Will be removed in the next major version.
|
|
7814
8325
|
*/
|
|
7815
8326
|
"_id"?: string;
|
|
8327
|
+
/**
|
|
8328
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
8329
|
+
* @default false
|
|
8330
|
+
*/
|
|
8331
|
+
"_inline"?: InlinePropType;
|
|
7816
8332
|
/**
|
|
7817
8333
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
7818
8334
|
*/
|
|
@@ -7899,6 +8415,11 @@ declare namespace LocalJSX {
|
|
|
7899
8415
|
* Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`).
|
|
7900
8416
|
*/
|
|
7901
8417
|
"_icons"?: IconsPropType;
|
|
8418
|
+
/**
|
|
8419
|
+
* Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.
|
|
8420
|
+
* @default false
|
|
8421
|
+
*/
|
|
8422
|
+
"_inline"?: InlinePropType;
|
|
7902
8423
|
/**
|
|
7903
8424
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.
|
|
7904
8425
|
*/
|
|
@@ -8106,7 +8627,7 @@ declare namespace LocalJSX {
|
|
|
8106
8627
|
}
|
|
8107
8628
|
interface KolSingleSelect {
|
|
8108
8629
|
/**
|
|
8109
|
-
* Defines the key combination that can be used to trigger or focus the component
|
|
8630
|
+
* Defines the key combination that can be used to trigger or focus the component's interactive element.
|
|
8110
8631
|
*/
|
|
8111
8632
|
"_accessKey"?: string;
|
|
8112
8633
|
/**
|
|
@@ -8834,35 +9355,29 @@ declare global {
|
|
|
8834
9355
|
}
|
|
8835
9356
|
}
|
|
8836
9357
|
|
|
8837
|
-
type
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
9358
|
+
type ControllerBaseProps<TControl = Control<any>> = {
|
|
9359
|
+
name: string;
|
|
9360
|
+
control: TControl;
|
|
9361
|
+
rules?: any;
|
|
9362
|
+
defaultValue?: any;
|
|
9363
|
+
shouldUnregister?: boolean;
|
|
9364
|
+
disabled?: boolean;
|
|
8843
9365
|
};
|
|
8844
|
-
type ControllerComponent<P> = React.ForwardRefExoticComponent<P &
|
|
8845
|
-
declare
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
declare const
|
|
8854
|
-
declare const
|
|
8855
|
-
declare const
|
|
8856
|
-
declare const
|
|
8857
|
-
declare const
|
|
8858
|
-
declare const
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
declare const KolComboboxController: ControllerComponent<LocalJSX.KolCombobox & Omit<HTMLAttributes<HTMLKolComboboxElement>, "style"> & StyleReactProps>;
|
|
8863
|
-
declare const KolSelectController: ControllerComponent<LocalJSX.KolSelect & Omit<HTMLAttributes<HTMLKolSelectElement>, "style"> & StyleReactProps>;
|
|
8864
|
-
declare const KolSingleSelectController: ControllerComponent<LocalJSX.KolSingleSelect & Omit<HTMLAttributes<HTMLKolSingleSelectElement>, "style"> & StyleReactProps>;
|
|
8865
|
-
declare const KolInputRadioController: ControllerComponent<LocalJSX.KolInputRadio & Omit<HTMLAttributes<HTMLKolInputRadioElement>, "style"> & StyleReactProps>;
|
|
8866
|
-
declare const KolInputCheckboxController: ControllerComponent<LocalJSX.KolInputCheckbox & Omit<HTMLAttributes<HTMLKolInputCheckboxElement>, "style"> & StyleReactProps>;
|
|
8867
|
-
|
|
8868
|
-
export { KolComboboxController, KolInputCheckboxController, KolInputColorController, KolInputDateController, KolInputEmailController, KolInputFileController, KolInputNumberController, KolInputPasswordController, KolInputRadioController, KolInputRangeController, KolInputTextController, KolSelectController, KolSingleSelectController, KolTextareaController, withController };
|
|
9366
|
+
type ControllerComponent<P> = React.ForwardRefExoticComponent<P & ControllerBaseProps<any> & RefAttributes<HTMLElement>>;
|
|
9367
|
+
declare const KolInputTextController: ControllerComponent<LocalJSX.KolInputText & Omit<React.HTMLAttributes<HTMLKolInputTextElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputTextElement>>;
|
|
9368
|
+
declare const KolInputPasswordController: ControllerComponent<LocalJSX.KolInputPassword & Omit<React.HTMLAttributes<HTMLKolInputPasswordElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputPasswordElement>>;
|
|
9369
|
+
declare const KolInputEmailController: ControllerComponent<LocalJSX.KolInputEmail & Omit<React.HTMLAttributes<HTMLKolInputEmailElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputEmailElement>>;
|
|
9370
|
+
declare const KolInputNumberController: ControllerComponent<LocalJSX.KolInputNumber & Omit<React.HTMLAttributes<HTMLKolInputNumberElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputNumberElement>>;
|
|
9371
|
+
declare const KolInputRangeController: ControllerComponent<LocalJSX.KolInputRange & Omit<React.HTMLAttributes<HTMLKolInputRangeElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputRangeElement>>;
|
|
9372
|
+
declare const KolInputDateController: ControllerComponent<LocalJSX.KolInputDate & Omit<React.HTMLAttributes<HTMLKolInputDateElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputDateElement>>;
|
|
9373
|
+
declare const KolInputColorController: ControllerComponent<LocalJSX.KolInputColor & Omit<React.HTMLAttributes<HTMLKolInputColorElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputColorElement>>;
|
|
9374
|
+
declare const KolInputFileController: ControllerComponent<LocalJSX.KolInputFile & Omit<React.HTMLAttributes<HTMLKolInputFileElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputFileElement>>;
|
|
9375
|
+
declare const KolTextareaController: ControllerComponent<LocalJSX.KolTextarea & Omit<React.HTMLAttributes<HTMLKolTextareaElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolTextareaElement>>;
|
|
9376
|
+
declare const KolComboboxController: ControllerComponent<LocalJSX.KolCombobox & Omit<React.HTMLAttributes<HTMLKolComboboxElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolComboboxElement>>;
|
|
9377
|
+
declare const KolSelectController: ControllerComponent<LocalJSX.KolSelect & Omit<React.HTMLAttributes<HTMLKolSelectElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolSelectElement>>;
|
|
9378
|
+
declare const KolSingleSelectController: ControllerComponent<LocalJSX.KolSingleSelect & Omit<React.HTMLAttributes<HTMLKolSingleSelectElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolSingleSelectElement>>;
|
|
9379
|
+
declare const KolInputRadioController: ControllerComponent<LocalJSX.KolInputRadio & Omit<React.HTMLAttributes<HTMLKolInputRadioElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputRadioElement>>;
|
|
9380
|
+
declare const KolInputCheckboxController: ControllerComponent<LocalJSX.KolInputCheckbox & Omit<React.HTMLAttributes<HTMLKolInputCheckboxElement>, "style"> & _public_ui_react_v19.StyleReactProps & React.RefAttributes<HTMLKolInputCheckboxElement>>;
|
|
9381
|
+
|
|
9382
|
+
export { KolComboboxController, KolInputCheckboxController, KolInputColorController, KolInputDateController, KolInputEmailController, KolInputFileController, KolInputNumberController, KolInputPasswordController, KolInputRadioController, KolInputRangeController, KolInputTextController, KolSelectController, KolSingleSelectController, KolTextareaController };
|
|
9383
|
+
export type { ComboboxAPI, InputCheckboxAPI, InputColorAPI, InputDateAPI, InputEmailAPI, InputFileAPI, InputNumberAPI, InputPasswordAPI, InputRadioAPI, InputRangeAPI, InputTextAPI, SelectAPI, SingleSelectAPI, TextareaAPI };
|