@oliasoft-open-source/react-ui-library 4.13.0 → 4.14.0-beta-1
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/dist/global.css +51 -50
- package/dist/index.d.ts +6 -7
- package/dist/index.js +238 -167
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -1411,17 +1411,17 @@ html[data-theme='dark'] {
|
|
|
1411
1411
|
._actionComponentContainer_1t7vd_14._active_1t7vd_36 {
|
|
1412
1412
|
color: var(--color-text-primary-active);
|
|
1413
1413
|
}
|
|
1414
|
-
.
|
|
1414
|
+
._wrapper_8cxhw_1 {
|
|
1415
1415
|
display: inline-flex;
|
|
1416
1416
|
max-width: 100%;
|
|
1417
1417
|
}
|
|
1418
|
-
.
|
|
1418
|
+
._layer_8cxhw_5 ._wrapper_8cxhw_1 {
|
|
1419
1419
|
width: 100%;
|
|
1420
1420
|
}
|
|
1421
|
-
.
|
|
1421
|
+
._layerContainer_8cxhw_8 {
|
|
1422
1422
|
z-index: var(--zindex-dropdown);
|
|
1423
1423
|
}
|
|
1424
|
-
.
|
|
1424
|
+
._layer_8cxhw_5 {
|
|
1425
1425
|
border: 1px solid var(--color-border);
|
|
1426
1426
|
border-radius: var(--border-radius);
|
|
1427
1427
|
overflow: hidden;
|
|
@@ -1434,97 +1434,98 @@ html[data-theme='dark'] {
|
|
|
1434
1434
|
overflow-y: auto;
|
|
1435
1435
|
max-height: 40vh;
|
|
1436
1436
|
}
|
|
1437
|
-
.
|
|
1437
|
+
._layer_8cxhw_5._nested_8cxhw_24 {
|
|
1438
1438
|
margin: -1px 2px;
|
|
1439
1439
|
}
|
|
1440
|
-
.
|
|
1440
|
+
._layer_8cxhw_5 ul {
|
|
1441
1441
|
margin: 0;
|
|
1442
1442
|
padding: 0;
|
|
1443
1443
|
list-style-type: none;
|
|
1444
1444
|
}
|
|
1445
|
-
.
|
|
1445
|
+
._layer_8cxhw_5 ul li {
|
|
1446
1446
|
list-style: none;
|
|
1447
1447
|
display: block;
|
|
1448
1448
|
}
|
|
1449
|
-
.
|
|
1449
|
+
._fileInput_8cxhw_36 {
|
|
1450
1450
|
opacity: 0;
|
|
1451
1451
|
position: absolute;
|
|
1452
1452
|
inset: 0;
|
|
1453
1453
|
}
|
|
1454
|
-
.
|
|
1454
|
+
._trigger_8cxhw_41 {
|
|
1455
1455
|
display: inline-flex;
|
|
1456
1456
|
align-items: center;
|
|
1457
1457
|
cursor: pointer;
|
|
1458
1458
|
max-width: 100%;
|
|
1459
1459
|
}
|
|
1460
|
-
.
|
|
1460
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41 {
|
|
1461
1461
|
width: 100%;
|
|
1462
1462
|
}
|
|
1463
|
-
.
|
|
1463
|
+
._middleAlignedInline_8cxhw_50 {
|
|
1464
1464
|
display: flex;
|
|
1465
1465
|
align-items: center;
|
|
1466
1466
|
overflow: hidden;
|
|
1467
1467
|
width: 100%;
|
|
1468
1468
|
}
|
|
1469
|
-
.
|
|
1469
|
+
._heading_8cxhw_56 {
|
|
1470
1470
|
color: var(--color-text-muted);
|
|
1471
1471
|
letter-spacing: var(--letter-spacing-wide);
|
|
1472
1472
|
text-transform: uppercase;
|
|
1473
1473
|
font-weight: bold;
|
|
1474
1474
|
}
|
|
1475
|
-
.
|
|
1475
|
+
._heading_8cxhw_56 ._headingIcon_8cxhw_62 {
|
|
1476
1476
|
float: right;
|
|
1477
1477
|
}
|
|
1478
|
-
.
|
|
1478
|
+
._heading_8cxhw_56 ._headingIcon_8cxhw_62 svg {
|
|
1479
1479
|
color: var(--color-text-faint);
|
|
1480
1480
|
}
|
|
1481
|
-
.
|
|
1481
|
+
._heading_8cxhw_56 ._headingIcon_8cxhw_62:hover {
|
|
1482
1482
|
cursor: pointer;
|
|
1483
1483
|
}
|
|
1484
|
-
.
|
|
1484
|
+
._heading_8cxhw_56 ._headingIcon_8cxhw_62:hover svg {
|
|
1485
1485
|
color: var(--color-text-primary-hover);
|
|
1486
1486
|
}
|
|
1487
|
-
.
|
|
1487
|
+
._option_8cxhw_74 {
|
|
1488
1488
|
color: inherit;
|
|
1489
1489
|
display: block;
|
|
1490
1490
|
position: relative;
|
|
1491
1491
|
}
|
|
1492
|
-
.
|
|
1493
|
-
.
|
|
1494
|
-
.
|
|
1492
|
+
._heading_8cxhw_56,
|
|
1493
|
+
._option_8cxhw_74,
|
|
1494
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41 {
|
|
1495
1495
|
padding: var(--padding-input);
|
|
1496
1496
|
border: 1px solid transparent;
|
|
1497
1497
|
}
|
|
1498
|
-
.
|
|
1499
|
-
.
|
|
1498
|
+
._option_8cxhw_74,
|
|
1499
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41 {
|
|
1500
1500
|
line-height: var(--line-height);
|
|
1501
1501
|
display: flex;
|
|
1502
1502
|
align-items: flex-start;
|
|
1503
1503
|
}
|
|
1504
|
-
.
|
|
1505
|
-
.
|
|
1506
|
-
.
|
|
1507
|
-
.
|
|
1504
|
+
._option_8cxhw_74:hover,
|
|
1505
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41:hover,
|
|
1506
|
+
._option_8cxhw_74._active_8cxhw_93,
|
|
1507
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41._active_8cxhw_93 {
|
|
1508
1508
|
background-color: var(--color-background-listitem-hover);
|
|
1509
1509
|
cursor: pointer;
|
|
1510
1510
|
}
|
|
1511
|
-
.
|
|
1511
|
+
._option_8cxhw_74._selected_8cxhw_98,
|
|
1512
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41._selected_8cxhw_98 {
|
|
1512
1513
|
background-color: var(--color-background-listitem-active);
|
|
1513
1514
|
}
|
|
1514
|
-
.
|
|
1515
|
+
._layer_8cxhw_5 ._trigger_8cxhw_41 {
|
|
1515
1516
|
align-items: center;
|
|
1516
1517
|
}
|
|
1517
|
-
.
|
|
1518
|
+
._optionContent_8cxhw_105 {
|
|
1518
1519
|
flex-wrap: wrap;
|
|
1519
1520
|
margin-right: auto;
|
|
1520
1521
|
}
|
|
1521
|
-
.
|
|
1522
|
+
._inline_8cxhw_109 ._optionContent_8cxhw_105 {
|
|
1522
1523
|
display: flex;
|
|
1523
1524
|
justify-content: space-between;
|
|
1524
1525
|
flex-grow: 1;
|
|
1525
1526
|
}
|
|
1526
|
-
.
|
|
1527
|
-
.
|
|
1527
|
+
._icon_8cxhw_114,
|
|
1528
|
+
._check_8cxhw_115 {
|
|
1528
1529
|
display: flex;
|
|
1529
1530
|
flex-shrink: 1;
|
|
1530
1531
|
width: var(--size-xs);
|
|
@@ -1532,83 +1533,83 @@ html[data-theme='dark'] {
|
|
|
1532
1533
|
justify-content: center;
|
|
1533
1534
|
align-items: center;
|
|
1534
1535
|
}
|
|
1535
|
-
.
|
|
1536
|
+
._icon_8cxhw_114 {
|
|
1536
1537
|
margin-right: var(--padding-xs);
|
|
1537
1538
|
color: var(--color-text-primary);
|
|
1538
1539
|
font-size: var(--size-xs);
|
|
1539
1540
|
}
|
|
1540
|
-
.
|
|
1541
|
+
._icon_8cxhw_114:empty {
|
|
1541
1542
|
display: none;
|
|
1542
1543
|
}
|
|
1543
|
-
.
|
|
1544
|
+
._icon_8cxhw_114 img {
|
|
1544
1545
|
max-height: 16px;
|
|
1545
1546
|
max-width: 16px;
|
|
1546
1547
|
width: auto;
|
|
1547
1548
|
height: auto;
|
|
1548
1549
|
}
|
|
1549
|
-
.
|
|
1550
|
+
._check_8cxhw_115 {
|
|
1550
1551
|
margin-left: var(--padding-xs);
|
|
1551
1552
|
color: var(--color-text-primary);
|
|
1552
1553
|
}
|
|
1553
|
-
.
|
|
1554
|
+
._text_8cxhw_141 {
|
|
1554
1555
|
display: inline-flex;
|
|
1555
1556
|
align-items: center;
|
|
1556
1557
|
cursor: pointer;
|
|
1557
1558
|
}
|
|
1558
|
-
.
|
|
1559
|
+
._label_8cxhw_146 {
|
|
1559
1560
|
margin-right: auto;
|
|
1560
1561
|
}
|
|
1561
|
-
.
|
|
1562
|
-
.
|
|
1562
|
+
._label_8cxhw_146,
|
|
1563
|
+
._heading_8cxhw_56 {
|
|
1563
1564
|
max-width: 100%;
|
|
1564
1565
|
display: block;
|
|
1565
1566
|
overflow: hidden;
|
|
1566
1567
|
text-overflow: ellipsis;
|
|
1567
1568
|
white-space: nowrap;
|
|
1568
1569
|
}
|
|
1569
|
-
.
|
|
1570
|
+
._description_8cxhw_157 {
|
|
1570
1571
|
color: #999;
|
|
1571
1572
|
display: block;
|
|
1572
1573
|
}
|
|
1573
|
-
.
|
|
1574
|
+
._arrow_8cxhw_161 {
|
|
1574
1575
|
margin-left: var(--padding-xxs);
|
|
1575
1576
|
display: flex;
|
|
1576
1577
|
}
|
|
1577
|
-
.
|
|
1578
|
+
._divider_8cxhw_165 {
|
|
1578
1579
|
border: 0;
|
|
1579
1580
|
border-top: 1px solid var(--color-border);
|
|
1580
1581
|
}
|
|
1581
|
-
.
|
|
1582
|
+
._deprecatedSemanticIcon_8cxhw_169 {
|
|
1582
1583
|
color: var(--color-text-primary) !important;
|
|
1583
1584
|
margin: -5px 0 0 !important;
|
|
1584
1585
|
}
|
|
1585
|
-
.
|
|
1586
|
+
._disabled_8cxhw_173 {
|
|
1586
1587
|
opacity: 0.2;
|
|
1587
1588
|
pointer-events: none;
|
|
1588
1589
|
cursor: not-allowed !important;
|
|
1589
1590
|
}
|
|
1590
|
-
.
|
|
1591
|
+
._buttonLabel_8cxhw_178 {
|
|
1591
1592
|
overflow: hidden;
|
|
1592
1593
|
text-overflow: ellipsis;
|
|
1593
1594
|
display: block;
|
|
1594
1595
|
margin-right: auto;
|
|
1595
1596
|
}
|
|
1596
|
-
.
|
|
1597
|
+
._buttonCaret_8cxhw_184 {
|
|
1597
1598
|
display: flex;
|
|
1598
1599
|
margin-left: var(--padding-xxs);
|
|
1599
1600
|
}
|
|
1600
|
-
.
|
|
1601
|
+
._component_8cxhw_188 {
|
|
1601
1602
|
display: inline-flex;
|
|
1602
1603
|
align-items: center;
|
|
1603
1604
|
justify-content: center;
|
|
1604
1605
|
cursor: pointer;
|
|
1605
1606
|
}
|
|
1606
|
-
.
|
|
1607
|
+
._right_8cxhw_194 {
|
|
1607
1608
|
margin-left: auto;
|
|
1608
1609
|
display: flex;
|
|
1609
1610
|
align-items: center;
|
|
1610
1611
|
}
|
|
1611
|
-
.
|
|
1612
|
+
._actions_8cxhw_199 {
|
|
1612
1613
|
margin-left: var(--padding-xs);
|
|
1613
1614
|
display: flex;
|
|
1614
1615
|
align-items: center;
|
package/dist/index.d.ts
CHANGED
|
@@ -751,6 +751,7 @@ export declare interface IMenuProps {
|
|
|
751
751
|
error?: any;
|
|
752
752
|
warning?: any;
|
|
753
753
|
title?: string;
|
|
754
|
+
selected?: boolean;
|
|
754
755
|
}
|
|
755
756
|
|
|
756
757
|
declare interface IMenuSection {
|
|
@@ -1038,9 +1039,10 @@ export declare interface IPortalProps {
|
|
|
1038
1039
|
}
|
|
1039
1040
|
|
|
1040
1041
|
declare interface IPredefinedOption {
|
|
1041
|
-
value
|
|
1042
|
+
value: string;
|
|
1042
1043
|
label: string;
|
|
1043
1044
|
valueKey?: string;
|
|
1045
|
+
unit?: string;
|
|
1044
1046
|
}
|
|
1045
1047
|
|
|
1046
1048
|
export declare interface IPrintHeaderProps {
|
|
@@ -1560,17 +1562,14 @@ export declare interface IUnitInputProps {
|
|
|
1560
1562
|
unitkey?: string;
|
|
1561
1563
|
initUnit?: string;
|
|
1562
1564
|
noConversion?: boolean;
|
|
1563
|
-
doNotConvertValue?: boolean;
|
|
1564
1565
|
testId?: string;
|
|
1565
1566
|
warning?: string | boolean | null;
|
|
1566
1567
|
predefinedOptions?: IPredefinedOption[] | null;
|
|
1567
|
-
initialPredefinedOption?:
|
|
1568
|
-
|
|
1569
|
-
selectedPredefinedOptionKey?: string;
|
|
1568
|
+
initialPredefinedOption?: string;
|
|
1569
|
+
predefinedOptionLinked?: boolean;
|
|
1570
1570
|
validationCallback?: (name: string, error: string | null) => any;
|
|
1571
1571
|
disabledValidation?: boolean;
|
|
1572
1572
|
allowEmpty?: boolean;
|
|
1573
|
-
autoValue?: string;
|
|
1574
1573
|
onChange?: TOnChangeEventHandler;
|
|
1575
1574
|
onSwitchUnit?: (unit: string) => void;
|
|
1576
1575
|
onClick?: MouseEventHandler<HTMLInputElement>;
|
|
@@ -1873,7 +1872,7 @@ declare type TUnitTableCellShape = TCellShape | IUnitTableStaticCell | IUnitTabl
|
|
|
1873
1872
|
|
|
1874
1873
|
declare type UnitContextType = any;
|
|
1875
1874
|
|
|
1876
|
-
export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate,
|
|
1875
|
+
export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, predefinedOptionLinked, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, }: IUnitInputProps) => JSX_2.Element;
|
|
1877
1876
|
|
|
1878
1877
|
export declare const UnitTable: ({ table, unitConfig, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, }: IUnitTableProps) => JSX_2.Element;
|
|
1879
1878
|
|