@oliasoft-open-source/react-ui-library 5.0.2-beta-2 → 5.0.2-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/global.css CHANGED
@@ -1409,17 +1409,17 @@ html[data-theme='dark'] {
1409
1409
  ._actionComponentContainer_1t7vd_14._active_1t7vd_36 {
1410
1410
  color: var(--color-text-primary-active);
1411
1411
  }
1412
- ._wrapper_k08fp_1 {
1412
+ ._wrapper_9g7i6_1 {
1413
1413
  display: inline-flex;
1414
1414
  max-width: 100%;
1415
1415
  }
1416
- ._layer_k08fp_5 ._wrapper_k08fp_1 {
1416
+ ._layer_9g7i6_5 ._wrapper_9g7i6_1 {
1417
1417
  width: 100%;
1418
1418
  }
1419
- ._layerContainer_k08fp_8 {
1419
+ ._layerContainer_9g7i6_8 {
1420
1420
  z-index: var(--zindex-dropdown);
1421
1421
  }
1422
- ._layer_k08fp_5 {
1422
+ ._layer_9g7i6_5 {
1423
1423
  border: 1px solid var(--color-border);
1424
1424
  border-radius: var(--border-radius);
1425
1425
  overflow: hidden;
@@ -1432,94 +1432,101 @@ html[data-theme='dark'] {
1432
1432
  overflow-y: auto;
1433
1433
  max-height: 40vh;
1434
1434
  }
1435
- ._layer_k08fp_5._nested_k08fp_24 {
1435
+ ._layer_9g7i6_5._nested_9g7i6_24 {
1436
1436
  margin: -1px 2px;
1437
1437
  }
1438
- ._layer_k08fp_5 ul {
1438
+ ._layer_9g7i6_5 ul {
1439
1439
  margin: 0;
1440
1440
  padding: 0;
1441
1441
  list-style-type: none;
1442
1442
  }
1443
- ._layer_k08fp_5 ul li {
1443
+ ._layer_9g7i6_5 ul li {
1444
1444
  list-style: none;
1445
1445
  display: block;
1446
1446
  }
1447
- ._fileInput_k08fp_36 {
1447
+ ._fileInput_9g7i6_36 {
1448
1448
  opacity: 0;
1449
1449
  position: absolute;
1450
1450
  inset: 0;
1451
1451
  }
1452
- ._trigger_k08fp_41 {
1452
+ ._trigger_9g7i6_41 {
1453
1453
  display: inline-flex;
1454
1454
  align-items: center;
1455
1455
  cursor: pointer;
1456
1456
  max-width: 100%;
1457
1457
  }
1458
- ._layer_k08fp_5 ._trigger_k08fp_41 {
1458
+ ._layer_9g7i6_5 ._trigger_9g7i6_41 {
1459
1459
  width: 100%;
1460
1460
  }
1461
- ._middleAlignedInline_k08fp_50 {
1461
+ ._middleAlignedInline_9g7i6_50 {
1462
1462
  display: flex;
1463
1463
  align-items: center;
1464
1464
  overflow: hidden;
1465
1465
  width: 100%;
1466
1466
  }
1467
- ._heading_k08fp_56 {
1467
+ ._heading_9g7i6_56 {
1468
1468
  color: var(--color-text-muted);
1469
1469
  letter-spacing: var(--letter-spacing-wide);
1470
1470
  text-transform: uppercase;
1471
1471
  font-weight: bold;
1472
- display: flex;
1473
1472
  }
1474
- ._heading_k08fp_56 ._icon_k08fp_63 {
1473
+ ._heading_9g7i6_56 ._headingIcon_9g7i6_62 {
1474
+ float: right;
1475
1475
  color: inherit;
1476
+ display: flex;
1477
+ align-items: center;
1478
+ height: var(--line-height);
1476
1479
  }
1477
- ._option_k08fp_66 {
1480
+ ._heading_9g7i6_56 ._headingIcon_9g7i6_62._clickable_9g7i6_69:hover {
1481
+ cursor: pointer;
1482
+ color: var(--color-text-primary-hover);
1483
+ }
1484
+ ._option_9g7i6_73 {
1478
1485
  color: inherit;
1479
1486
  display: block;
1480
1487
  position: relative;
1481
1488
  }
1482
- ._heading_k08fp_56,
1483
- ._option_k08fp_66,
1484
- ._layer_k08fp_5 ._trigger_k08fp_41 {
1489
+ ._heading_9g7i6_56,
1490
+ ._option_9g7i6_73,
1491
+ ._layer_9g7i6_5 ._trigger_9g7i6_41 {
1485
1492
  padding: var(--padding-input);
1486
1493
  border: 1px solid transparent;
1487
1494
  }
1488
- ._option_k08fp_66,
1489
- ._layer_k08fp_5 ._trigger_k08fp_41 {
1495
+ ._option_9g7i6_73,
1496
+ ._layer_9g7i6_5 ._trigger_9g7i6_41 {
1490
1497
  line-height: var(--line-height);
1491
1498
  display: flex;
1492
1499
  align-items: flex-start;
1493
1500
  }
1494
- ._option_k08fp_66:hover,
1495
- ._layer_k08fp_5 ._trigger_k08fp_41:hover,
1496
- ._option_k08fp_66._active_k08fp_85,
1497
- ._layer_k08fp_5 ._trigger_k08fp_41._active_k08fp_85 {
1501
+ ._option_9g7i6_73:hover,
1502
+ ._layer_9g7i6_5 ._trigger_9g7i6_41:hover,
1503
+ ._option_9g7i6_73._active_9g7i6_92,
1504
+ ._layer_9g7i6_5 ._trigger_9g7i6_41._active_9g7i6_92 {
1498
1505
  background-color: var(--color-background-listitem-hover);
1499
1506
  cursor: pointer;
1500
1507
  }
1501
- ._option_k08fp_66._disabled_k08fp_90,
1502
- ._layer_k08fp_5 ._trigger_k08fp_41._disabled_k08fp_90 {
1508
+ ._option_9g7i6_73._disabled_9g7i6_97,
1509
+ ._layer_9g7i6_5 ._trigger_9g7i6_41._disabled_9g7i6_97 {
1503
1510
  opacity: 0.2;
1504
1511
  }
1505
- ._option_k08fp_66._selected_k08fp_94,
1506
- ._layer_k08fp_5 ._trigger_k08fp_41._selected_k08fp_94 {
1512
+ ._option_9g7i6_73._selected_9g7i6_101,
1513
+ ._layer_9g7i6_5 ._trigger_9g7i6_41._selected_9g7i6_101 {
1507
1514
  background-color: var(--color-background-listitem-active);
1508
1515
  }
1509
- ._layer_k08fp_5 ._trigger_k08fp_41 {
1516
+ ._layer_9g7i6_5 ._trigger_9g7i6_41 {
1510
1517
  align-items: center;
1511
1518
  }
1512
- ._optionContent_k08fp_101 {
1519
+ ._optionContent_9g7i6_108 {
1513
1520
  flex-wrap: wrap;
1514
1521
  margin-right: auto;
1515
1522
  }
1516
- ._inline_k08fp_105 ._optionContent_k08fp_101 {
1523
+ ._inline_9g7i6_112 ._optionContent_9g7i6_108 {
1517
1524
  display: flex;
1518
1525
  justify-content: space-between;
1519
1526
  flex-grow: 1;
1520
1527
  }
1521
- ._icon_k08fp_63,
1522
- ._check_k08fp_111 {
1528
+ ._icon_9g7i6_117,
1529
+ ._check_9g7i6_118 {
1523
1530
  display: flex;
1524
1531
  flex-shrink: 1;
1525
1532
  width: var(--size-xs);
@@ -1527,82 +1534,82 @@ html[data-theme='dark'] {
1527
1534
  justify-content: center;
1528
1535
  align-items: center;
1529
1536
  }
1530
- ._icon_k08fp_63 {
1537
+ ._icon_9g7i6_117 {
1531
1538
  margin-right: var(--padding-xs);
1532
1539
  color: var(--color-text-primary);
1533
1540
  font-size: var(--size-xs);
1534
1541
  }
1535
- ._icon_k08fp_63:empty {
1542
+ ._icon_9g7i6_117:empty {
1536
1543
  display: none;
1537
1544
  }
1538
- ._icon_k08fp_63 img {
1545
+ ._icon_9g7i6_117 img {
1539
1546
  max-height: 16px;
1540
1547
  max-width: 16px;
1541
1548
  width: auto;
1542
1549
  height: auto;
1543
1550
  }
1544
- ._check_k08fp_111 {
1551
+ ._check_9g7i6_118 {
1545
1552
  margin-left: var(--padding-xs);
1546
1553
  color: var(--color-text-primary);
1547
1554
  }
1548
- ._text_k08fp_137 {
1555
+ ._text_9g7i6_144 {
1549
1556
  display: inline-flex;
1550
1557
  align-items: center;
1551
1558
  cursor: pointer;
1552
1559
  }
1553
- ._label_k08fp_142 {
1560
+ ._label_9g7i6_149 {
1554
1561
  margin-right: auto;
1555
1562
  }
1556
- ._label_k08fp_142,
1557
- ._heading_k08fp_56 {
1563
+ ._label_9g7i6_149,
1564
+ ._heading_9g7i6_56 {
1558
1565
  max-width: 100%;
1559
- display: flex;
1566
+ display: block;
1560
1567
  overflow: hidden;
1561
1568
  text-overflow: ellipsis;
1562
1569
  white-space: nowrap;
1563
1570
  }
1564
- ._description_k08fp_153 {
1571
+ ._description_9g7i6_160 {
1565
1572
  color: #999;
1566
1573
  display: block;
1567
1574
  }
1568
- ._arrow_k08fp_157 {
1575
+ ._arrow_9g7i6_164 {
1569
1576
  margin-left: var(--padding-xxs);
1570
1577
  display: flex;
1571
1578
  }
1572
- ._divider_k08fp_161 {
1579
+ ._divider_9g7i6_168 {
1573
1580
  border: 0;
1574
1581
  border-top: 1px solid var(--color-border);
1575
1582
  }
1576
- ._deprecatedSemanticIcon_k08fp_165 {
1583
+ ._deprecatedSemanticIcon_9g7i6_172 {
1577
1584
  color: var(--color-text-primary) !important;
1578
1585
  margin: -5px 0 0 !important;
1579
1586
  }
1580
- ._disabled_k08fp_90 {
1587
+ ._disabled_9g7i6_97 {
1581
1588
  pointer-events: none;
1582
1589
  cursor: not-allowed !important;
1583
1590
  }
1584
- ._buttonLabel_k08fp_173 {
1591
+ ._buttonLabel_9g7i6_180 {
1585
1592
  overflow: hidden;
1586
1593
  text-overflow: ellipsis;
1587
1594
  display: block;
1588
1595
  margin-right: auto;
1589
1596
  }
1590
- ._buttonCaret_k08fp_179 {
1597
+ ._buttonCaret_9g7i6_186 {
1591
1598
  display: flex;
1592
1599
  margin-left: var(--padding-xxs);
1593
1600
  }
1594
- ._component_k08fp_183 {
1601
+ ._component_9g7i6_190 {
1595
1602
  display: inline-flex;
1596
1603
  align-items: center;
1597
1604
  justify-content: center;
1598
1605
  cursor: pointer;
1599
1606
  }
1600
- ._right_k08fp_189 {
1607
+ ._right_9g7i6_196 {
1601
1608
  margin-left: auto;
1602
1609
  display: flex;
1603
1610
  align-items: center;
1604
1611
  }
1605
- ._actions_k08fp_194 {
1612
+ ._actions_9g7i6_201 {
1606
1613
  margin-left: var(--padding-xs);
1607
1614
  display: flex;
1608
1615
  align-items: center;
package/dist/index.js CHANGED
@@ -858,12 +858,12 @@ const DisabledContext = React__default.createContext(false);
858
858
  const wrapper$5 = "_wrapper_18jt2_1";
859
859
  const customSvg = "_customSvg_18jt2_8";
860
860
  const customPng = "_customPng_18jt2_11";
861
- const clickable$2 = "_clickable_18jt2_16";
861
+ const clickable$3 = "_clickable_18jt2_16";
862
862
  const styles$U = {
863
863
  wrapper: wrapper$5,
864
864
  customSvg,
865
865
  customPng,
866
- clickable: clickable$2
866
+ clickable: clickable$3
867
867
  };
868
868
  var DefaultContext = {
869
869
  color: void 0,
@@ -1566,7 +1566,7 @@ const Chevron = ({ expanded: expanded2 }) => {
1566
1566
  const accordion = "_accordion_15p8j_1";
1567
1567
  const accordionHeader = "_accordionHeader_15p8j_5";
1568
1568
  const heading$6 = "_heading_15p8j_9";
1569
- const clickable$1 = "_clickable_15p8j_12";
1569
+ const clickable$2 = "_clickable_15p8j_12";
1570
1570
  const bordered$4 = "_bordered_15p8j_18";
1571
1571
  const accordionContent = "_accordionContent_15p8j_18";
1572
1572
  const expanded$1 = "_expanded_15p8j_36";
@@ -1576,7 +1576,7 @@ const styles$T = {
1576
1576
  accordion,
1577
1577
  accordionHeader,
1578
1578
  heading: heading$6,
1579
- clickable: clickable$1,
1579
+ clickable: clickable$2,
1580
1580
  bordered: bordered$4,
1581
1581
  accordionContent,
1582
1582
  expanded: expanded$1,
@@ -3804,11 +3804,11 @@ const Tooltip = ({
3804
3804
  };
3805
3805
  const helpIcon = "_helpIcon_hd0z2_1";
3806
3806
  const active$8 = "_active_hd0z2_9";
3807
- const clickable = "_clickable_hd0z2_12";
3807
+ const clickable$1 = "_clickable_hd0z2_12";
3808
3808
  const styles$Q = {
3809
3809
  helpIcon,
3810
3810
  active: active$8,
3811
- clickable
3811
+ clickable: clickable$1
3812
3812
  };
3813
3813
  const HelpIconTooltip = ({
3814
3814
  children,
@@ -4165,31 +4165,33 @@ const styles$N = {
4165
4165
  actions: actions$2,
4166
4166
  childComponent
4167
4167
  };
4168
- const wrapper$4 = "_wrapper_k08fp_1";
4169
- const layer$1 = "_layer_k08fp_5";
4170
- const layerContainer$1 = "_layerContainer_k08fp_8";
4171
- const nested = "_nested_k08fp_24";
4172
- const fileInput$1 = "_fileInput_k08fp_36";
4173
- const trigger$2 = "_trigger_k08fp_41";
4174
- const middleAlignedInline = "_middleAlignedInline_k08fp_50";
4175
- const heading$5 = "_heading_k08fp_56";
4176
- const icon$4 = "_icon_k08fp_63";
4177
- const option$1 = "_option_k08fp_66";
4178
- const active$6 = "_active_k08fp_85";
4179
- const disabled$8 = "_disabled_k08fp_90";
4180
- const selected$1 = "_selected_k08fp_94";
4181
- const optionContent$1 = "_optionContent_k08fp_101";
4182
- const inline$4 = "_inline_k08fp_105";
4183
- const check$1 = "_check_k08fp_111";
4184
- const label$9 = "_label_k08fp_142";
4185
- const description = "_description_k08fp_153";
4186
- const arrow$1 = "_arrow_k08fp_157";
4187
- const divider$1 = "_divider_k08fp_161";
4188
- const buttonLabel = "_buttonLabel_k08fp_173";
4189
- const buttonCaret = "_buttonCaret_k08fp_179";
4190
- const component = "_component_k08fp_183";
4191
- const right$7 = "_right_k08fp_189";
4192
- const actions$1 = "_actions_k08fp_194";
4168
+ const wrapper$4 = "_wrapper_9g7i6_1";
4169
+ const layer$1 = "_layer_9g7i6_5";
4170
+ const layerContainer$1 = "_layerContainer_9g7i6_8";
4171
+ const nested = "_nested_9g7i6_24";
4172
+ const fileInput$1 = "_fileInput_9g7i6_36";
4173
+ const trigger$2 = "_trigger_9g7i6_41";
4174
+ const middleAlignedInline = "_middleAlignedInline_9g7i6_50";
4175
+ const heading$5 = "_heading_9g7i6_56";
4176
+ const headingIcon = "_headingIcon_9g7i6_62";
4177
+ const clickable = "_clickable_9g7i6_69";
4178
+ const option$1 = "_option_9g7i6_73";
4179
+ const active$6 = "_active_9g7i6_92";
4180
+ const disabled$8 = "_disabled_9g7i6_97";
4181
+ const selected$1 = "_selected_9g7i6_101";
4182
+ const optionContent$1 = "_optionContent_9g7i6_108";
4183
+ const inline$4 = "_inline_9g7i6_112";
4184
+ const icon$4 = "_icon_9g7i6_117";
4185
+ const check$1 = "_check_9g7i6_118";
4186
+ const label$9 = "_label_9g7i6_149";
4187
+ const description = "_description_9g7i6_160";
4188
+ const arrow$1 = "_arrow_9g7i6_164";
4189
+ const divider$1 = "_divider_9g7i6_168";
4190
+ const buttonLabel = "_buttonLabel_9g7i6_180";
4191
+ const buttonCaret = "_buttonCaret_9g7i6_186";
4192
+ const component = "_component_9g7i6_190";
4193
+ const right$7 = "_right_9g7i6_196";
4194
+ const actions$1 = "_actions_9g7i6_201";
4193
4195
  const styles$M = {
4194
4196
  wrapper: wrapper$4,
4195
4197
  layer: layer$1,
@@ -4199,13 +4201,15 @@ const styles$M = {
4199
4201
  trigger: trigger$2,
4200
4202
  middleAlignedInline,
4201
4203
  heading: heading$5,
4202
- icon: icon$4,
4204
+ headingIcon,
4205
+ clickable,
4203
4206
  option: option$1,
4204
4207
  active: active$6,
4205
4208
  disabled: disabled$8,
4206
4209
  selected: selected$1,
4207
4210
  optionContent: optionContent$1,
4208
4211
  inline: inline$4,
4212
+ icon: icon$4,
4209
4213
  check: check$1,
4210
4214
  label: label$9,
4211
4215
  description,
@@ -4224,8 +4228,15 @@ const Heading$3 = ({ label: label2, onClick, icon: icon2, testId }) => /* @__PUR
4224
4228
  className: styles$M.heading,
4225
4229
  "data-testid": testId,
4226
4230
  children: [
4227
- !!icon2 && /* @__PURE__ */ jsx("span", { className: styles$M.icon, onClick, children: /* @__PURE__ */ jsx(Icon, { icon: icon2 }) }),
4228
- label2
4231
+ label2,
4232
+ !!icon2 && /* @__PURE__ */ jsx(
4233
+ "span",
4234
+ {
4235
+ className: cx$2(styles$M.headingIcon, onClick ? styles$M.clickable : ""),
4236
+ onClick,
4237
+ children: /* @__PURE__ */ jsx(Icon, { icon: icon2 })
4238
+ }
4239
+ )
4229
4240
  ]
4230
4241
  }
4231
4242
  );