@lumx/core 4.14.0-next.3 → 4.14.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.
@@ -31,4 +31,10 @@ export declare function setup({ component: InputLabel }: SetupStoriesOptions): {
31
31
  typography: "subtitle1";
32
32
  };
33
33
  };
34
+ /** Input label as legend */
35
+ AsLegend: {
36
+ args: {
37
+ as: string;
38
+ };
39
+ };
34
40
  };
@@ -15,6 +15,8 @@ export interface InputLabelProps extends HasClassName, HasTheme {
15
15
  isRequired?: boolean;
16
16
  /** ref to the root element */
17
17
  ref?: CommonRef;
18
+ /** HTML tag for rendering the label, defaults to `label` */
19
+ as?: 'label' | 'legend';
18
20
  }
19
21
  /**
20
22
  * InputLabel component.
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "dependencies": {
9
9
  "@floating-ui/dom": "^1.7.5",
10
- "@lumx/icons": "^4.14.0-next.3",
10
+ "@lumx/icons": "^4.14.0",
11
11
  "classnames": "^2.3.2",
12
12
  "focus-visible": "^5.0.2",
13
13
  "lodash": "4.18.1",
@@ -69,7 +69,7 @@
69
69
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
70
70
  },
71
71
  "sideEffects": false,
72
- "version": "4.14.0-next.3",
72
+ "version": "4.14.0",
73
73
  "devDependencies": {
74
74
  "@rollup/plugin-typescript": "^12.3.0",
75
75
  "@testing-library/dom": "^10.4.1",
@@ -92,6 +92,5 @@
92
92
  "vite": "^7.3.2",
93
93
  "vite-tsconfig-paths": "^5.1.4",
94
94
  "vitest": "^4.0.18"
95
- },
96
- "stableVersion": "4.13.0"
95
+ }
97
96
  }