@linzjs/lui 11.4.0 → 11.8.0

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,31 @@
1
+ # [11.8.0](https://github.com/linz/lui/compare/v11.7.0...v11.8.0) (2022-01-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * Badges component ([#505](https://github.com/linz/lui/issues/505)) ([eff22b7](https://github.com/linz/lui/commit/eff22b7aba29a7e82e59c3a46204e3953047800e))
7
+
8
+ # [11.7.0](https://github.com/linz/lui/compare/v11.6.0...v11.7.0) (2022-01-11)
9
+
10
+
11
+ ### Features
12
+
13
+ * **LuiTextInput:** Label font styling change ([#508](https://github.com/linz/lui/issues/508)) ([460a800](https://github.com/linz/lui/commit/460a80061933f2945fb5f8fb13fc976b581730bc))
14
+
15
+ # [11.6.0](https://github.com/linz/lui/compare/v11.5.0...v11.6.0) (2022-01-11)
16
+
17
+
18
+ ### Features
19
+
20
+ * Consistent placeholder style ([#507](https://github.com/linz/lui/issues/507)) ([f60ff44](https://github.com/linz/lui/commit/f60ff4494af9e1e6c73ba3493ebadf4c7643d3c7))
21
+
22
+ # [11.5.0](https://github.com/linz/lui/compare/v11.4.0...v11.5.0) (2022-01-10)
23
+
24
+
25
+ ### Features
26
+
27
+ * **LuiSelectInput:** Remove width limitation ([#504](https://github.com/linz/lui/issues/504)) ([2531015](https://github.com/linz/lui/commit/253101530422711ae154b1adca32ebbfe1213b13))
28
+
1
29
  # [11.4.0](https://github.com/linz/lui/compare/v11.3.1...v11.4.0) (2022-01-09)
2
30
 
3
31
 
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface ILuiBadge {
3
+ children: React.ReactNode;
4
+ size?: 'sm' | 'default' | 'lg';
5
+ backgroundFill?: boolean;
6
+ variation?: 'default' | 'warning';
7
+ }
8
+ export declare const LuiBadge: (props: ILuiBadge) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import '../../scss/base.scss';
3
+ import './LuiBadgeStory.scss';
4
+ declare const _default: {
5
+ title: string;
6
+ component: (props: import("./LuiBadge").ILuiBadge) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const LuiBadgeStory: (args: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -984,7 +984,7 @@ var LuiTextInput = function LuiTextInput(props) {
984
984
  }, props.mandatory && React__default.createElement("span", {
985
985
  className: "LuiTextInput-mandatory"
986
986
  }, "*"), React__default.createElement("span", {
987
- className: clsx(props.hideLabel ? 'LuiScreenReadersOnly' : '')
987
+ className: 'LuiTextInput-label-text ' + clsx(props.hideLabel ? 'LuiScreenReadersOnly' : '')
988
988
  }, props.label), React__default.createElement("span", {
989
989
  className: "LuiTextInput-inputWrapper"
990
990
  }, React__default.createElement("input", Object.assign({
@@ -18178,7 +18178,12 @@ function LuiComboSelectActual(givenProps, ref) {
18178
18178
  },
18179
18179
  placeholder: function placeholder(provided) {
18180
18180
  return _extends({}, provided, {
18181
- fontWeight: 400
18181
+ /* please keep this in sync with FormVars.scss/mixin.formPlaceholder */
18182
+ fontWeight: 'normal',
18183
+ fontStyle: 'italic',
18184
+ color: '#6b6966'
18185
+ /* same as _LuiColors.scss $input-placeholder */
18186
+
18182
18187
  });
18183
18188
  }
18184
18189
  }