@wavelengthusaf/components 3.3.8 → 3.3.10
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 +10 -0
- package/dist/cjs/index.cjs +19 -9
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +19 -9
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,16 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
### 3.3.10
|
|
18
|
+
|
|
19
|
+
- 8/20/2025
|
|
20
|
+
- Fix a margin issue with `WavelengthBanner`.
|
|
21
|
+
|
|
22
|
+
### 3.3.9
|
|
23
|
+
|
|
24
|
+
- 8/18/2025
|
|
25
|
+
- Updated `WlAutoComplete` and `WlDatePicker` to be able to accept percentages values for width, as well as fixing the transperancy issues with the floating label.
|
|
26
|
+
|
|
17
27
|
### 3.3.8
|
|
18
28
|
|
|
19
29
|
- 8/11/2025
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1246,6 +1246,10 @@ var WavelengthBanner = class extends HTMLElement {
|
|
|
1246
1246
|
font-family: sans-serif;
|
|
1247
1247
|
font-size: 1rem;
|
|
1248
1248
|
}
|
|
1249
|
+
|
|
1250
|
+
p {
|
|
1251
|
+
margin: 0;
|
|
1252
|
+
}
|
|
1249
1253
|
`;
|
|
1250
1254
|
this.container = document.createElement("div");
|
|
1251
1255
|
this.container.classList.add("banner");
|
|
@@ -8396,11 +8400,16 @@ var NestedDataTable = ({ data, columns }) => {
|
|
|
8396
8400
|
|
|
8397
8401
|
|
|
8398
8402
|
|
|
8399
|
-
var
|
|
8403
|
+
var AutoContainer = _styledcomponents2.default.div`
|
|
8404
|
+
//position: relative;
|
|
8400
8405
|
position: relative;
|
|
8401
8406
|
width: ${(props) => props.$inputwidth || "320px"};
|
|
8402
8407
|
height: ${(props) => props.$inputheight || "51px"};
|
|
8403
8408
|
`;
|
|
8409
|
+
var InputWrapper = _styledcomponents2.default.div`
|
|
8410
|
+
width: 100%;
|
|
8411
|
+
height: 100%;
|
|
8412
|
+
`;
|
|
8404
8413
|
var Label = _styledcomponents2.default.label`
|
|
8405
8414
|
position: absolute;
|
|
8406
8415
|
top: 50%;
|
|
@@ -8414,8 +8423,8 @@ var Label = _styledcomponents2.default.label`
|
|
|
8414
8423
|
background-color: transparent;
|
|
8415
8424
|
`;
|
|
8416
8425
|
var Input = _styledcomponents2.default.input`
|
|
8417
|
-
width: inherit
|
|
8418
|
-
height:
|
|
8426
|
+
width: 100%; //this must be 100%, as width inherit inherits the litaral experession, not the value
|
|
8427
|
+
height: 100%;
|
|
8419
8428
|
padding: 0.5rem 0.75rem;
|
|
8420
8429
|
border: ${(props) => props.$inputBorderStyling || "2px solid #ccc"};
|
|
8421
8430
|
border-radius: 4px;
|
|
@@ -8448,7 +8457,7 @@ var Input = _styledcomponents2.default.input`
|
|
|
8448
8457
|
return $focusedLabelColor;
|
|
8449
8458
|
}};
|
|
8450
8459
|
transform: translate(0%, -50%) scale(0.8);
|
|
8451
|
-
background: linear-gradient(to bottom, transparent 50%, ${(props) => props.$primary
|
|
8460
|
+
background: linear-gradient(to bottom, transparent 50%, ${(props) => props.$primary ? props.$primary : "#FFFFFF"} 0%);
|
|
8452
8461
|
}
|
|
8453
8462
|
|
|
8454
8463
|
&:not(:focus) + ${Label} {
|
|
@@ -8458,7 +8467,7 @@ var Input = _styledcomponents2.default.input`
|
|
|
8458
8467
|
var DropDownList = _styledcomponents2.default.ul`
|
|
8459
8468
|
position: absolute;
|
|
8460
8469
|
z-index: 5;
|
|
8461
|
-
width:
|
|
8470
|
+
width: 100%;
|
|
8462
8471
|
background-color: white;
|
|
8463
8472
|
border: 1px solid #ccc;
|
|
8464
8473
|
margin-top: 0px;
|
|
@@ -8471,6 +8480,7 @@ var DropDownList = _styledcomponents2.default.ul`
|
|
|
8471
8480
|
`;
|
|
8472
8481
|
var ActiveListItem = _styledcomponents2.default.li`
|
|
8473
8482
|
position: relative;
|
|
8483
|
+
width: 100%;
|
|
8474
8484
|
z-index: 9999;
|
|
8475
8485
|
padding: 10px;
|
|
8476
8486
|
border-radius: 8px;
|
|
@@ -8601,7 +8611,7 @@ var WLAutoComplete = ({
|
|
|
8601
8611
|
break;
|
|
8602
8612
|
}
|
|
8603
8613
|
};
|
|
8604
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8614
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AutoContainer, { $inputheight: height2, $inputwidth: width2, children: [
|
|
8605
8615
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, InputWrapper, { id: `${idName}-inputwrapper`, $inputheight: height2, $inputwidth: width2, children: [
|
|
8606
8616
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8607
8617
|
Input,
|
|
@@ -8716,8 +8726,8 @@ var InputWrapper2 = _styledcomponents2.default.div`
|
|
|
8716
8726
|
height: ${(props) => props.$inputheight || "51px"};
|
|
8717
8727
|
|
|
8718
8728
|
input {
|
|
8719
|
-
width:
|
|
8720
|
-
height:
|
|
8729
|
+
width: 100%;
|
|
8730
|
+
height: 100%;
|
|
8721
8731
|
padding: 0.5rem 0.75rem;
|
|
8722
8732
|
border: ${(props) => props.$inputBorderStyling || "2px solid #ccc"}; //works
|
|
8723
8733
|
border-radius: 4px;
|
|
@@ -8738,7 +8748,7 @@ var InputWrapper2 = _styledcomponents2.default.div`
|
|
|
8738
8748
|
padding: 0 5px;
|
|
8739
8749
|
color: ${(props) => props.$FocusLabelColor || "#4a90e2"};
|
|
8740
8750
|
transform: translate(0%, -50%) scale(0.8);
|
|
8741
|
-
background: linear-gradient(to bottom, transparent 50%, ${(props) => props.$inputBackGroundColor
|
|
8751
|
+
background: linear-gradient(to bottom, transparent 50%, ${(props) => props.$inputBackGroundColor ? props.$inputBackGroundColor : "#FFFFFF"} 0%);
|
|
8742
8752
|
}
|
|
8743
8753
|
|
|
8744
8754
|
&:not(:focus) + ${Label2} {
|