@capillarytech/creatives-library 8.0.300-alpha.0 → 8.0.301

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": "8.0.300-alpha.0",
4
+ "version": "8.0.301",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -71,9 +71,7 @@
71
71
  }
72
72
 
73
73
  /* Input text color and font to match standalone (lib mode can lose host styles) */
74
- .customer-creation-modal-input.customer-creation-modal-input {
75
- border: none !important;
76
-
74
+ .customer-creation-modal-input {
77
75
  /* Sizes in em for 14px base: same px as .5rem 2.5rem 1.5rem .875rem at 16px (8px, 40px, 24px, 14px) */
78
76
  .ant-input {
79
77
  color: $CAP_G01;
@@ -97,7 +95,7 @@
97
95
  }
98
96
 
99
97
  /* Error state: single clean red border, no double line or focus ring */
100
- &.has-error {
98
+ &.has-input-error {
101
99
  .ant-input-affix-wrapper {
102
100
  border: 1px solid $CAP_COLOR_03;
103
101
  border-radius: $CAP_SPACE_04;
@@ -112,10 +110,6 @@
112
110
  .ant-input-affix-wrapper .ant-input {
113
111
  border: none !important;
114
112
  }
115
-
116
- .ant-input {
117
- border: 1px solid $CAP_COLOR_03;
118
- }
119
113
  }
120
114
  }
121
115
 
@@ -644,8 +638,10 @@
644
638
 
645
639
  .test-customer-add-btn {
646
640
  width: 100%;
647
- background-color: transparent !important;
648
- color: $FONT_COLOR_05 !important;
641
+ &.ant-btn.cap-button-v2.flat-btn {
642
+ background-color: transparent;
643
+ color: $FONT_COLOR_05;
644
+ }
649
645
  white-space: normal;
650
646
  word-break: normal;
651
647
  overflow-wrap: break-word;
@@ -121,7 +121,7 @@ export const IDENTIFIER_TYPE_MOBILE = 'mobile';
121
121
  export const IDENTIFIER_TYPE_PHONE = 'phone';
122
122
 
123
123
  // Customer creation modal – input error state class suffix (used with customer-creation-modal-input)
124
- export const INPUT_HAS_ERROR_CLASS = ' has-error';
124
+ export const INPUT_HAS_ERROR_CLASS = ' has-input-error';
125
125
 
126
126
  // ============================================
127
127
  // CHANNEL NAME CONSTANTS (for CDN and other utilities)
@@ -232,7 +232,7 @@ describe('CommonTestAndPreview Constants', () => {
232
232
 
233
233
  describe('Input has error class', () => {
234
234
  it('should export INPUT_HAS_ERROR_CLASS', () => {
235
- expect(INPUT_HAS_ERROR_CLASS).toBe(' has-error');
235
+ expect(INPUT_HAS_ERROR_CLASS).toBe(' has-input-error');
236
236
  });
237
237
  });
238
238