@datability/8ui 1.3.0 → 1.4.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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [Link Demo](https://main.d3pr0z4u32aahy.amplifyapp.com/)
2
+
1
3
  # Commit Message Format
2
4
 
3
5
  We have very precise rules over how our Git commit messages must be formatted.
@@ -24,6 +24,6 @@
24
24
  flex-shrink: 0;
25
25
  width: var(--input-icon-size);
26
26
  height: var(--input-icon-size);
27
- color: var(--textInputColorDefaultLabelIconText);
27
+ color: var(--textInputColorDefaultIconDefault);
28
28
  pointer-events: none;
29
29
  }
@@ -2,6 +2,18 @@
2
2
 
3
3
  .DBui-phoneInput {
4
4
  @include input-field-container;
5
+ gap: var(--textInputGapSm);
6
+
7
+ .DBui-phoneInputFlag {
8
+ display: flex;
9
+ align-items: center;
10
+ flex-shrink: 0;
11
+
12
+ svg {
13
+ width: var(--input-icon-size);
14
+ height: auto;
15
+ }
16
+ }
5
17
 
6
18
  .DBui-phoneInputActions {
7
19
  display: flex;
@@ -166,6 +166,8 @@
166
166
  align-items: stretch;
167
167
  justify-content: center;
168
168
  height: 10px;
169
+ min-height: 10px;
170
+ flex-shrink: 0;
169
171
  overflow: clip;
170
172
  position: relative;
171
173
 
@@ -0,0 +1,70 @@
1
+ .DBui-quantity {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ background: #ebebeb;
5
+ border-radius: var(--radiusMd);
6
+
7
+ &[data-disabled="true"] {
8
+ opacity: 0.5;
9
+ pointer-events: none;
10
+ }
11
+
12
+ &[data-size="sm"] {
13
+ .DBui-quantityButton {
14
+ width: 28px;
15
+ height: 28px;
16
+
17
+ svg {
18
+ width: 16px;
19
+ height: 16px;
20
+ }
21
+ }
22
+
23
+ .DBui-quantityValue {
24
+ width: 28px;
25
+ }
26
+ }
27
+
28
+ &[data-size="md"] {
29
+ .DBui-quantityButton {
30
+ width: 32px;
31
+ height: 32px;
32
+
33
+ svg {
34
+ width: 20px;
35
+ height: 20px;
36
+ }
37
+ }
38
+
39
+ .DBui-quantityValue {
40
+ width: 28px;
41
+ }
42
+ }
43
+
44
+ .DBui-quantityButton {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ background: transparent;
49
+ border: none;
50
+ border-radius: var(--radiusMd);
51
+ cursor: pointer;
52
+ color: black;
53
+ padding: 0;
54
+
55
+ &:hover:not(:disabled) {
56
+ background: rgba(0, 0, 0, 0.08);
57
+ }
58
+
59
+ &:disabled {
60
+ opacity: 0.4;
61
+ cursor: not-allowed;
62
+ }
63
+ }
64
+
65
+ .DBui-quantityValue {
66
+ text-align: center;
67
+ color: black;
68
+ user-select: none;
69
+ }
70
+ }