@capillarytech/creatives-library 9.1.4-alpha.sprint-testpreview.27 → 9.1.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "9.1.4-alpha.sprint-testpreview.27",
4
+ "version": "9.1.5",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -36,8 +36,6 @@
36
36
 
37
37
  .ant-modal-footer {
38
38
  text-align: left;
39
- margin-left: 0.625rem;
40
- /* 10px at 16px root */
41
39
  margin-top: 0.9375rem;
42
40
  /* 15px at 16px root */
43
41
  }
@@ -68,24 +66,17 @@
68
66
  font-weight: normal;
69
67
  }
70
68
 
71
- /* Input text color and font to match standalone (lib mode can lose host styles) */
69
+ /* className lands on CapInput's label wrapper; the affix wrapper inside it owns the border */
72
70
  .customer-creation-modal-input {
73
- /* Sizes in em for 14px base: same px as .5rem 2.5rem 1.5rem .875rem at 16px (8px, 40px, 24px, 14px) */
71
+ .ant-input-affix-wrapper:hover,
72
+ .ant-input-affix-wrapper-focused {
73
+ border-color: $CAP_G01;
74
+ }
75
+
74
76
  .ant-input {
75
77
  color: $CAP_G01;
76
78
  font-size: $FONT_SIZE_M;
77
79
  font-weight: normal;
78
- padding: 0.571em;
79
- /* 8px */
80
- height: 2.857em;
81
- /* 40px */
82
- line-height: 1.714em;
83
- /* 24px */
84
- }
85
-
86
- .ant-input:hover,
87
- .ant-input:focus {
88
- border: 1px solid $CAP_G01;
89
80
  }
90
81
 
91
82
  .ant-input::placeholder {
@@ -93,21 +84,10 @@
93
84
  }
94
85
 
95
86
  /* Error state: single clean red border, no double line or focus ring */
96
- &.has-input-error {
97
- .ant-input-affix-wrapper {
98
- border: 1px solid $CAP_COLOR_03;
99
- border-radius: $CAP_SPACE_04;
100
- }
101
-
102
- .ant-input-affix-wrapper:hover,
103
- .ant-input-affix-wrapper:focus,
104
- .ant-input-affix-wrapper-focused {
105
- border: 1px solid $CAP_COLOR_03;
106
- }
107
-
108
- .ant-input-affix-wrapper .ant-input {
109
- border: none !important;
110
- }
87
+ &.has-input-error .ant-input-affix-wrapper,
88
+ &.has-input-error .ant-input-affix-wrapper:hover,
89
+ &.has-input-error .ant-input-affix-wrapper-focused {
90
+ border-color: $CAP_COLOR_03;
111
91
  }
112
92
  }
113
93