@egovernments/digit-ui-components-css 0.0.2-beta.27 → 0.0.2-beta.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.2-beta.28] - 2024-09-04
4
+ ### Changed
5
+ - Added BottomSheet styles
6
+
3
7
  ## [0.0.2-beta.27] - 2024-09-04
4
8
  ### Changed
5
9
  - Updated Tooltip styles
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @egovernments/digit-ui-components-css - 0.0.2-beta.27
2
+ * @egovernments/digit-ui-components-css - 0.0.2-beta.28
3
3
  *
4
4
  * Copyright (c) 2024 Jagankumar <jagan.kumar@egovernments.org>
5
5
  *
@@ -1503,45 +1503,45 @@ body {
1503
1503
  .digit-bottom-sheet.full {
1504
1504
  border-radius: 0; }
1505
1505
 
1506
- .digit-bottom-sheet.closed {
1507
- height: 2.5rem; }
1508
- .digit-bottom-sheet.closed.actionsEnabled {
1509
- height: -webkit-fit-content;
1510
- height: -moz-fit-content;
1511
- height: fit-content; }
1512
-
1513
- .digit-bottom-sheet.fixed {
1514
- height: 30vh; }
1515
-
1516
- .digit-bottom-sheet.quarter {
1517
- height: 50vh; }
1518
-
1519
- .digit-bottom-sheet.intermediate {
1520
- height: 75vh; }
1521
-
1522
- .digit-bottom-sheet.full {
1523
- height: calc(100vh - 3.5rem); }
1506
+ .digit-bottom-sheet.closed.actionsEnabled {
1507
+ height: -webkit-fit-content;
1508
+ height: -moz-fit-content;
1509
+ height: fit-content; }
1524
1510
 
1525
1511
  .digit-bottom-sheet-header {
1526
1512
  display: -webkit-box;
1527
1513
  display: -ms-flexbox;
1528
1514
  display: flex;
1515
+ -webkit-box-align: center;
1516
+ -ms-flex-align: center;
1517
+ align-items: center;
1529
1518
  -webkit-box-pack: center;
1530
1519
  -ms-flex-pack: center;
1531
1520
  justify-content: center;
1532
- height: 2.5rem;
1533
- cursor: pointer; }
1534
- .digit-bottom-sheet-header.fixed, .digit-bottom-sheet-header.full, .digit-bottom-sheet-header.intermediate, .digit-bottom-sheet-header.quarter {
1535
- height: 1.875rem; }
1521
+ height: 2.5rem; }
1536
1522
  .digit-bottom-sheet-header.actionsEnabled {
1537
1523
  height: 1.5rem; }
1538
1524
 
1525
+ .digit-bottom-sheet-drag-cursor {
1526
+ position: absolute;
1527
+ top: 0;
1528
+ left: 50%;
1529
+ -webkit-transform: translateX(-50%);
1530
+ transform: translateX(-50%);
1531
+ width: 100%;
1532
+ height: 100%;
1533
+ background-color: initial;
1534
+ cursor: ns-resize; }
1535
+
1536
+ .digit-bottom-sheet-handle-indicator {
1537
+ width: 6.25rem;
1538
+ height: .375rem;
1539
+ border-radius: .25rem;
1540
+ background-color: #d9d9d9;
1541
+ margin: .5rem 0; }
1542
+
1539
1543
  .digit-bottom-sheet-content {
1540
- padding: 1rem;
1541
1544
  overflow-y: scroll;
1542
- display: -webkit-box;
1543
- display: -ms-flexbox;
1544
- display: flex;
1545
1545
  -webkit-box-orient: vertical;
1546
1546
  -webkit-box-direction: normal;
1547
1547
  -ms-flex-direction: column;
@@ -1559,18 +1559,13 @@ body {
1559
1559
  grid-gap: 1.5rem;
1560
1560
  gap: 1.5rem; } }
1561
1561
 
1562
- .digit-bottom-sheet-handle-indicator {
1563
- width: 6.25rem;
1564
- height: .375rem;
1565
- border-radius: .25rem;
1566
- background-color: #d9d9d9;
1567
- margin: .5rem 0; }
1568
-
1569
- .digit-bottom-sheet-actions {
1562
+ .digit-bottom-sheet-actions, .digit-bottom-sheet-content {
1570
1563
  padding: 1rem;
1571
1564
  display: -webkit-box;
1572
1565
  display: -ms-flexbox;
1573
- display: flex;
1566
+ display: flex; }
1567
+
1568
+ .digit-bottom-sheet-actions {
1574
1569
  grid-gap: 1.5rem;
1575
1570
  gap: 1.5rem;
1576
1571
  background-color: #fff;
@@ -1581,11 +1576,11 @@ body {
1581
1576
  -webkit-box-pack: end;
1582
1577
  -ms-flex-pack: end;
1583
1578
  justify-content: flex-end; }
1584
- .digit-bottom-sheet-actions.equallButtons {
1579
+ .digit-bottom-sheet-actions.equalButtons {
1585
1580
  -webkit-box-pack: start;
1586
1581
  -ms-flex-pack: start;
1587
1582
  justify-content: flex-start; }
1588
- .digit-bottom-sheet-actions.equallButtons button {
1583
+ .digit-bottom-sheet-actions.equalButtons button {
1589
1584
  -webkit-box-flex: 1;
1590
1585
  -ms-flex: 1;
1591
1586
  flex: 1; }