@linzjs/lui 22.10.3-0 → 22.10.3

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,3 +1,11 @@
1
+ ## [22.10.3](https://github.com/linz/lui/compare/v22.10.2...v22.10.3) (2025-04-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * added comments as I suspect build did not work properly ([#1210](https://github.com/linz/lui/issues/1210)) ([9c6aa50](https://github.com/linz/lui/commit/9c6aa50dde0c3ce8630ab1777f39efdacd2a8837))
7
+ * update default colours and column number for colour palette ([#1213](https://github.com/linz/lui/issues/1213)) ([6804a55](https://github.com/linz/lui/commit/6804a55b15abdbaa034fb37fb4a856d20c6ca9dc))
8
+
1
9
  ## [22.10.2](https://github.com/linz/lui/compare/v22.10.1...v22.10.2) (2025-04-09)
2
10
 
3
11
 
package/dist/index.js CHANGED
@@ -59585,24 +59585,22 @@ var LuiBannerV2 = React.forwardRef(function (_a, ref) {
59585
59585
  onDismiss && (React__default["default"].createElement("button", __assign({}, dismissButtonProps, { className: clsx('LuiBannerV2-Dismiss', dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.className), "aria-label": (_b = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps['aria-label']) !== null && _b !== void 0 ? _b : 'Dismiss', type: (_c = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.type) !== null && _c !== void 0 ? _c : 'button', onClick: onDismiss }), (_d = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.children) !== null && _d !== void 0 ? _d : (React__default["default"].createElement(LuiIcon, { size: "md", name: "ic_clear", spanProps: { 'aria-hidden': true }, alt: "Dismiss" }))))));
59586
59586
  });
59587
59587
 
59588
- var css_248z$4 = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.lui-color-picker,\n.lui-input-color-group {\n display: inline-grid;\n gap: 0.5rem;\n grid-template-columns: repeat(7, 1fr);\n}\n\ninput.lui-input-color-radio {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n word-wrap: normal;\n}\ninput.lui-input-color-radio + label {\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 1rem;\n cursor: pointer;\n border: none;\n}\ninput.lui-input-color-radio:checked + label {\n border: 0.125rem solid #ffffff;\n box-shadow: 0 0 0.125rem 0.0625rem rgba(0, 0, 0, 0.2509803922);\n transition: all 0.05s ease;\n}";
59588
+ var css_248z$4 = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.lui-color-picker,\n.lui-input-color-group {\n display: inline-grid;\n gap: 0.5rem;\n grid-template-columns: repeat(6, 1fr);\n}\n\ninput.lui-input-color-radio {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n word-wrap: normal;\n}\ninput.lui-input-color-radio + label {\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 1rem;\n cursor: pointer;\n border: none;\n}\ninput.lui-input-color-radio:checked + label {\n border: 0.125rem solid #ffffff;\n box-shadow: 0 0 0.125rem 0.0625rem rgba(0, 0, 0, 0.2509803922);\n transition: all 0.05s ease;\n}";
59589
59589
  styleInject(css_248z$4);
59590
59590
 
59591
59591
  var defaultColours = [
59592
- { color: '#FF0000', description: 'Red' },
59593
- { color: '#FF9900', description: 'Orange' },
59594
- { color: '#FFFF00', description: 'Yellow' },
59595
- { color: '#00FF00', description: 'Lime' },
59596
- { color: '#00FFFF', description: 'Cyan' },
59597
- { color: '#4A86E8', description: 'Cornflower' },
59598
- { color: '#9900FF', description: 'Violet' },
59599
- { color: '#CC0100', description: 'Scarlet' },
59600
- { color: '#B45F06', description: 'Brown' },
59601
- { color: '#F1C231', description: 'Canary' },
59602
- { color: '#6AA84F', description: 'Olive' },
59603
- { color: '#45818E', description: 'Teal' },
59604
- { color: '#1255CC', description: 'Blue' },
59605
- { color: '#674EA7', description: 'Purple' },
59592
+ { color: '#CD3433', description: 'Raspberry' },
59593
+ { color: '#BA7A36', description: 'Copper' },
59594
+ { color: '#70AC56', description: 'Olive' },
59595
+ { color: '#54B8CD', description: 'Sea' },
59596
+ { color: '#3B6CC0', description: 'Blue' },
59597
+ { color: '#6C55A7', description: 'Purple' },
59598
+ { color: '#F00', description: 'Red' },
59599
+ { color: '#FFAD33', description: 'Orange' },
59600
+ { color: '#39AF4C', description: 'Green' },
59601
+ { color: '#3EEDF3', description: 'Cyan' },
59602
+ { color: '#4F92FF', description: 'Cornflower' },
59603
+ { color: '#AD33FF', description: 'Violet' },
59606
59604
  ];
59607
59605
 
59608
59606
  var ColorInputGroup = React.forwardRef(function (props, ref) {