@progress/kendo-react-labels 7.2.4-develop.2 → 7.2.4-develop.4

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/index.d.ts CHANGED
@@ -1,9 +1,331 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Label, type LabelProps } from './Label';
6
- import { Error, type ErrorProps } from './Error';
7
- import { Hint, type HintProps } from './Hint';
8
- import { FloatingLabel, type FloatingLabelProps } from './FloatingLabel';
9
- export { FloatingLabel, FloatingLabelProps, Label, LabelProps, Error, ErrorProps, Hint, HintProps };
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
9
+ import { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
10
+ import PropTypes from 'prop-types';
11
+ import * as React_2 from 'react';
12
+
13
+ /**
14
+ * Represents the KendoReact Error component.
15
+ * Render the error text that will be shown underneath the form editor after a validation.
16
+ */
17
+ declare const Error_2: {
18
+ (props: ErrorProps): JSX_2.Element;
19
+ propTypes: {
20
+ id: PropTypes.Requireable<string>;
21
+ direction: PropTypes.Requireable<string>;
22
+ children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
23
+ style: PropTypes.Requireable<object>;
24
+ className: PropTypes.Requireable<string>;
25
+ };
26
+ displayName: string;
27
+ };
28
+ export { Error_2 as Error }
29
+
30
+ /**
31
+ * Represents the props of the KendoReact Error component.
32
+ */
33
+ export declare interface ErrorProps {
34
+ /**
35
+ * Represents the id of the Error element.
36
+ * The value should be also set to the editor's `ariaDescribedBy` property.
37
+ */
38
+ id?: string;
39
+ /**
40
+ * Specifies the alignment of the Error text.
41
+ *
42
+ * The possible values are:
43
+ * * (Default) `start`
44
+ * * `end`
45
+ */
46
+ direction?: 'start' | 'end';
47
+ /**
48
+ * Determines the children nodes.
49
+ */
50
+ children: any;
51
+ /**
52
+ * The styles that are applied to the Error.
53
+ */
54
+ style?: React_2.CSSProperties;
55
+ /**
56
+ * Sets a class of the Error DOM element.
57
+ */
58
+ className?: string;
59
+ }
60
+
61
+ /**
62
+ * Represents the KendoReact FloatingLabel component.
63
+ *
64
+ * @example
65
+ * ```jsx
66
+ * const sizes = ["X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large"];
67
+ * const App = () => {
68
+ * const [ddlState, setDdlState] = React.useState();
69
+ * const editorId = 'ddl-sizes';
70
+ * return (
71
+ * <FloatingLabel label={'Shirt Size:'} editorId={editorId} editorValue={ddlState}>
72
+ * <DropDownList
73
+ * id={editorId}
74
+ * value={ddlState}
75
+ * data={sizes}
76
+ * onChange={(e) => setDdlState(e.target.value)}
77
+ * />
78
+ * </FloatingLabel>
79
+ * );
80
+ * };
81
+ *
82
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
83
+ * ```
84
+ */
85
+ export declare class FloatingLabel extends React_2.Component<FloatingLabelProps, FloatingLabelState> {
86
+ /**
87
+ * @hidden
88
+ */
89
+ static propTypes: {
90
+ label: PropTypes.Requireable<string>;
91
+ editorId: PropTypes.Requireable<string>;
92
+ editorValue: PropTypes.Requireable<NonNullable<string | number | boolean | null | undefined>>;
93
+ editorPlaceholder: PropTypes.Requireable<string>;
94
+ editorValid: PropTypes.Requireable<boolean>;
95
+ editorDisabled: PropTypes.Requireable<boolean>;
96
+ id: PropTypes.Requireable<string>;
97
+ style: PropTypes.Requireable<object>;
98
+ className: PropTypes.Requireable<string>;
99
+ labelClassName: PropTypes.Requireable<string>;
100
+ optional: PropTypes.Requireable<boolean>;
101
+ };
102
+ /**
103
+ * @hidden
104
+ */
105
+ readonly state: FloatingLabelState;
106
+ constructor(props: FloatingLabelProps);
107
+ /**
108
+ * @hidden
109
+ */
110
+ handleFocus: (_: React_2.SyntheticEvent<HTMLSpanElement>) => void;
111
+ /**
112
+ * @hidden
113
+ */
114
+ handleBlur: (_: React_2.SyntheticEvent<HTMLSpanElement>) => void;
115
+ /**
116
+ * @hidden
117
+ */
118
+ render(): JSX_2.Element;
119
+ }
120
+
121
+ /**
122
+ * Represents the props of the KendoReact FloatingLabel component.
123
+ */
124
+ export declare interface FloatingLabelProps extends KendoReactComponentBaseProps {
125
+ /**
126
+ * Represent the [`htmlFor`](https://reactjs.org/docs/dom-elements.html#htmlfor) property, which will be set to the `label` element.
127
+ */
128
+ editorId?: string;
129
+ /**
130
+ * Specifies the value of the editor. Used to define if the editor is empty.
131
+ */
132
+ editorValue?: any;
133
+ /**
134
+ * Specifies the placeholder of the editor. Used to define if the editor is empty.
135
+ */
136
+ editorPlaceholder?: string;
137
+ /**
138
+ * Specifies if the validity of the editor. Used to define the editor is invalid.
139
+ */
140
+ editorValid?: boolean;
141
+ /**
142
+ * Specifies if the editor is disabled.
143
+ */
144
+ editorDisabled?: boolean;
145
+ /**
146
+ * Adds a floating label that describes the editor.
147
+ */
148
+ label?: string;
149
+ /**
150
+ * The styles that are applied to the FloatingLabel.
151
+ */
152
+ style?: React_2.CSSProperties;
153
+ /**
154
+ * Sets a class of the FloatingLabel DOM element.
155
+ */
156
+ className?: string;
157
+ /**
158
+ * Sets the `className` of the label DOM element.
159
+ */
160
+ labelClassName?: string;
161
+ /**
162
+ * Specifies the direction of the label.
163
+ */
164
+ dir?: string;
165
+ /**
166
+ * Represents the id of the label element.
167
+ * The value should be also set to the editor's `ariaLabelledBy` property.
168
+ * Can be used when the editor is not containing native form element.
169
+ */
170
+ id?: string;
171
+ /**
172
+ * If enabled, marks the label as optional.
173
+ */
174
+ optional?: boolean;
175
+ }
176
+
177
+ /**
178
+ * @hidden
179
+ */
180
+ declare interface FloatingLabelState {
181
+ focused?: boolean;
182
+ }
183
+
184
+ /**
185
+ * Represents the KendoReact Hint component.
186
+ * Render the hint text that will be shown underneath the form editor.
187
+ */
188
+ export declare const Hint: {
189
+ (props: HintProps): JSX_2.Element;
190
+ propTypes: {
191
+ id: PropTypes.Requireable<string>;
192
+ direction: PropTypes.Requireable<string>;
193
+ children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
194
+ style: PropTypes.Requireable<object>;
195
+ className: PropTypes.Requireable<string>;
196
+ editorDisabled: PropTypes.Requireable<boolean>;
197
+ };
198
+ displayName: string;
199
+ };
200
+
201
+ /**
202
+ * Represents the props of the KendoReact Hint component.
203
+ */
204
+ export declare interface HintProps {
205
+ /**
206
+ * Represents the id of the Hint element.
207
+ * The value should be set to the editor `ariaDescribedBy` property.
208
+ */
209
+ id?: string;
210
+ /**
211
+ * Spcifies the alignment of the Hint text.
212
+ *
213
+ * The possible values are:
214
+ * *(Default) `start`
215
+ * * `end`
216
+ */
217
+ direction?: 'start' | 'end';
218
+ /**
219
+ * @hidden
220
+ */
221
+ children: any;
222
+ /**
223
+ * The styles that are applied to the Hint.
224
+ */
225
+ style?: React_2.CSSProperties;
226
+ /**
227
+ * Sets a class of the Hint DOM element.
228
+ */
229
+ className?: string;
230
+ /**
231
+ * Specifies if the editor is disabled.
232
+ */
233
+ editorDisabled?: boolean;
234
+ }
235
+
236
+ /**
237
+ * Represents the KendoReact Label component.
238
+ *
239
+ * @example
240
+ * ```jsx
241
+ * const sizes = ["X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large"];
242
+ * const App = () => {
243
+ * const ddlRef = React.useRef(null);
244
+ * const labelId = 'ddl-sizes-label';
245
+ * const editorId = 'ddl-sizes';
246
+ *
247
+ * return (
248
+ * <div>
249
+ * <Label id={labelId} editorId={editorId} editorRef={ddlRef}>
250
+ * Shirt Size:
251
+ * </Label>
252
+ * <DropDownList
253
+ * ref={ddlRef}
254
+ * id={editorId}
255
+ * ariaLabelledBy={labelId}
256
+ * data={sizes}
257
+ * />
258
+ * <br />
259
+ * </div>
260
+ * );
261
+ * };
262
+ *
263
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
264
+ * ```
265
+ */
266
+ export declare const Label: {
267
+ (props: LabelProps): JSX_2.Element;
268
+ propTypes: {
269
+ id: PropTypes.Requireable<string>;
270
+ editorId: PropTypes.Requireable<string>;
271
+ editorRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
272
+ current: PropTypes.Requireable<any>;
273
+ }> | null | undefined>>;
274
+ editorValid: PropTypes.Requireable<boolean>;
275
+ editorDisabled: PropTypes.Requireable<boolean>;
276
+ style: PropTypes.Requireable<object>;
277
+ className: PropTypes.Requireable<string>;
278
+ optional: PropTypes.Requireable<boolean>;
279
+ };
280
+ displayName: string;
281
+ };
282
+
283
+ /**
284
+ * Represents the props of the KendoReact Label component.
285
+ */
286
+ export declare interface LabelProps {
287
+ /**
288
+ * Represents the id of the label element.
289
+ * The value should be set to the editor `ariaLabelledBy` property.
290
+ * Can be used when the editor is not containing native form element.
291
+ */
292
+ id?: string;
293
+ /**
294
+ * The id of the editor.
295
+ * Represent the [`htmlFor`](https://reactjs.org/docs/dom-elements.html#htmlfor) property, which will be set to the `label` element.
296
+ */
297
+ editorId?: string;
298
+ /**
299
+ * An optional React ref to the editor.
300
+ * Used to redirect the click event to the editor when it does not contain native form element.
301
+ * To be able to work, the editor should have `focus` method or `actionElement` prop on it's ref.
302
+ */
303
+ editorRef?: any;
304
+ /**
305
+ * The text that will be rendered inside the label element.
306
+ * Can be omitted for editors without label to keep form layout.
307
+ */
308
+ children?: any;
309
+ /**
310
+ * Specifies the validity of the editor. Used to define the editor is invalid.
311
+ */
312
+ editorValid?: boolean;
313
+ /**
314
+ * Specifies if the editor is disabled.
315
+ */
316
+ editorDisabled?: boolean;
317
+ /**
318
+ * If enabled marks the label as optional.
319
+ */
320
+ optional?: boolean;
321
+ /**
322
+ * The styles that are applied to the Label.
323
+ */
324
+ style?: React_2.CSSProperties;
325
+ /**
326
+ * Sets a class of the Label DOM element.
327
+ */
328
+ className?: string;
329
+ }
330
+
331
+ export { }
package/index.js CHANGED
@@ -1,5 +1,8 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("react"),e=require("prop-types"),r=require("@progress/kendo-react-common"),O=require("@progress/kendo-react-intl");function x(s){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const a in s)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(s,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>s[a]})}}return t.default=s,Object.freeze(t)}const l=x(L),c="labels.optional",T={[c]:"(Optional)"},k={name:"@progress/kendo-react-labels",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"},v=s=>{r.validatePackage(k);const{id:t,editorId:a,editorRef:o,editorDisabled:d,children:n,editorValid:N,style:h,className:p,optional:y}=s,m=O.useLocalization(),u=y?m.toLanguageString(c,T[c]):"",E=u&&l.createElement("span",{className:"k-label-optional"},u),b=l.useCallback(f=>{if(o&&o.current&&!d){o.current.focus&&(f.preventDefault(),o.current.focus());const i=o.current.actionElement;i&&(f.preventDefault(),i.click())}},[o]),g=r.classNames({"k-label":!0,"k-label-empty":!n,"k-text-error":N===!1,"k-text-disabled":d===!0},p);return l.createElement("label",{id:t,htmlFor:a,onClick:b,style:h,className:g},n,E)};v.propTypes={id:e.string,editorId:e.string,editorRef:e.oneOfType([e.func,e.shape({current:e.any})]),editorValid:e.bool,editorDisabled:e.bool,style:e.object,className:e.string,optional:e.bool};v.displayName="KendoReactLabel";const C=s=>{const t={direction:"start",...s};r.validatePackage(k);const a=r.classNames({"k-form-error":!0,"k-text-start":t.direction==="start","k-text-end":t.direction==="end"},t.className);return l.createElement("div",{id:t.id,role:"alert",style:t.style,className:a},t.children)};C.propTypes={id:e.string,direction:e.oneOf(["start","end"]),children:e.oneOfType([e.element,e.node]),style:e.object,className:e.string};C.displayName="KendoReactError";const D=s=>{const t={direction:"start",...s};r.validatePackage(k);const a=r.classNames({"k-form-hint":!0,"k-text-start":t.direction==="start","k-text-end":t.direction==="end","k-text-disabled":t.editorDisabled===!0},t.className);return l.createElement("div",{id:t.id,style:t.style,className:a},t.children)};D.propTypes={id:e.string,direction:e.oneOf(["start","end"]),children:e.oneOfType([e.element,e.node]),style:e.object,className:e.string,editorDisabled:e.bool};D.displayName="KendoReactHint";class P extends l.Component{constructor(t){super(t),this.state={focused:!1},this.handleFocus=a=>{this.setState({focused:!0})},this.handleBlur=a=>{this.setState({focused:!1})},r.validatePackage(k)}render(){const{label:t,editorId:a,className:o,labelClassName:d,editorValue:n,editorPlaceholder:N,editorValid:h,editorDisabled:p,style:y,id:m,optional:u}=this.props,E=O.provideLocalizationService(this),b=u?E.toLanguageString(c,T[c]):"",g=b&&l.createElement("span",{className:"k-label-optional"},b),f=r.classNames({"k-floating-label-container":!0,"k-focus":this.state.focused,"k-empty":!N&&!n&&n!==0,"k-text-disabled":p,"k-rtl":this.props.dir==="rtl"},o),i=r.classNames({"k-label":!0,"k-text-error":h===!1,"k-text-disabled":p},d);return l.createElement("span",{id:this.props.id,className:f,onFocus:this.handleFocus,onBlur:this.handleBlur,style:y,dir:this.props.dir},this.props.children,t?a?l.createElement("label",{id:m,htmlFor:a,className:i},t,g):l.createElement("span",{id:m,className:i},t,g):null)}}P.propTypes={label:e.string,editorId:e.string,editorValue:e.oneOfType([e.string,e.bool,e.number]),editorPlaceholder:e.string,editorValid:e.bool,editorDisabled:e.bool,id:e.string,style:e.object,className:e.string,labelClassName:e.string,optional:e.bool};O.registerForLocalization(P);exports.Error=C;exports.FloatingLabel=P;exports.Hint=D;exports.Label=v;
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Label.js"),r=require("./Error.js"),t=require("./Hint.js"),i=require("./FloatingLabel.js");exports.Label=e.Label;exports.Error=r.Error;exports.Hint=t.Hint;exports.FloatingLabel=i.FloatingLabel;
package/index.mjs CHANGED
@@ -1,204 +1,18 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
5
8
  "use client";
6
- import * as o from "react";
7
- import e from "prop-types";
8
- import { validatePackage as k, classNames as n } from "@progress/kendo-react-common";
9
- import { useLocalization as L, provideLocalizationService as R, registerForLocalization as z } from "@progress/kendo-react-intl";
10
- const c = "labels.optional", O = {
11
- [c]: "(Optional)"
12
- }, N = {
13
- name: "@progress/kendo-react-labels",
14
- productName: "KendoReact",
15
- productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
16
- publishDate: 1709197925,
17
- version: "",
18
- licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
19
- }, x = (l) => {
20
- k(N);
21
- const { id: t, editorId: s, editorRef: a, editorDisabled: d, children: r, editorValid: g, style: y, className: p, optional: E } = l, m = L(), b = E ? m.toLanguageString(c, O[c]) : "", C = b && /* @__PURE__ */ o.createElement("span", { className: "k-label-optional" }, b), u = o.useCallback(
22
- (f) => {
23
- if (a && a.current && !d) {
24
- a.current.focus && (f.preventDefault(), a.current.focus());
25
- const i = a.current.actionElement;
26
- i && (f.preventDefault(), i.click());
27
- }
28
- },
29
- [a]
30
- ), h = n(
31
- {
32
- "k-label": !0,
33
- "k-label-empty": !r,
34
- "k-text-error": g === !1,
35
- "k-text-disabled": d === !0
36
- },
37
- p
38
- );
39
- return /* @__PURE__ */ o.createElement(
40
- "label",
41
- {
42
- id: t,
43
- htmlFor: s,
44
- onClick: u,
45
- style: y,
46
- className: h
47
- },
48
- r,
49
- C
50
- );
51
- };
52
- x.propTypes = {
53
- id: e.string,
54
- editorId: e.string,
55
- editorRef: e.oneOfType([
56
- e.func,
57
- e.shape({ current: e.any })
58
- ]),
59
- editorValid: e.bool,
60
- editorDisabled: e.bool,
61
- style: e.object,
62
- className: e.string,
63
- optional: e.bool
64
- };
65
- x.displayName = "KendoReactLabel";
66
- const D = (l) => {
67
- const t = {
68
- direction: "start",
69
- ...l
70
- };
71
- k(N);
72
- const s = n(
73
- {
74
- "k-form-error": !0,
75
- "k-text-start": t.direction === "start",
76
- "k-text-end": t.direction === "end"
77
- },
78
- t.className
79
- );
80
- return /* @__PURE__ */ o.createElement(
81
- "div",
82
- {
83
- id: t.id,
84
- role: "alert",
85
- style: t.style,
86
- className: s
87
- },
88
- t.children
89
- );
90
- };
91
- D.propTypes = {
92
- id: e.string,
93
- direction: e.oneOf(["start", "end"]),
94
- children: e.oneOfType([
95
- e.element,
96
- e.node
97
- ]),
98
- style: e.object,
99
- className: e.string
100
- };
101
- D.displayName = "KendoReactError";
102
- const T = (l) => {
103
- const t = {
104
- direction: "start",
105
- ...l
106
- };
107
- k(N);
108
- const s = n(
109
- {
110
- "k-form-hint": !0,
111
- "k-text-start": t.direction === "start",
112
- "k-text-end": t.direction === "end",
113
- "k-text-disabled": t.editorDisabled === !0
114
- },
115
- t.className
116
- );
117
- return /* @__PURE__ */ o.createElement(
118
- "div",
119
- {
120
- id: t.id,
121
- style: t.style,
122
- className: s
123
- },
124
- t.children
125
- );
126
- };
127
- T.propTypes = {
128
- id: e.string,
129
- direction: e.oneOf(["start", "end"]),
130
- children: e.oneOfType([
131
- e.element,
132
- e.node
133
- ]),
134
- style: e.object,
135
- className: e.string,
136
- editorDisabled: e.bool
137
- };
138
- T.displayName = "KendoReactHint";
139
- class v extends o.Component {
140
- constructor(t) {
141
- super(t), this.state = {
142
- focused: !1
143
- }, this.handleFocus = (s) => {
144
- this.setState({ focused: !0 });
145
- }, this.handleBlur = (s) => {
146
- this.setState({ focused: !1 });
147
- }, k(N);
148
- }
149
- /**
150
- * @hidden
151
- */
152
- render() {
153
- const { label: t, editorId: s, className: a, labelClassName: d, editorValue: r, editorPlaceholder: g, editorValid: y, editorDisabled: p, style: E, id: m, optional: b } = this.props, C = R(this), u = b ? C.toLanguageString(c, O[c]) : "", h = u && /* @__PURE__ */ o.createElement("span", { className: "k-label-optional" }, u), f = n(
154
- {
155
- "k-floating-label-container": !0,
156
- "k-focus": this.state.focused,
157
- "k-empty": !g && !r && r !== 0,
158
- "k-text-disabled": p,
159
- "k-rtl": this.props.dir === "rtl"
160
- },
161
- a
162
- ), i = n(
163
- {
164
- "k-label": !0,
165
- "k-text-error": y === !1,
166
- "k-text-disabled": p
167
- },
168
- d
169
- );
170
- return /* @__PURE__ */ o.createElement(
171
- "span",
172
- {
173
- id: this.props.id,
174
- className: f,
175
- onFocus: this.handleFocus,
176
- onBlur: this.handleBlur,
177
- style: E,
178
- dir: this.props.dir
179
- },
180
- this.props.children,
181
- t ? s ? /* @__PURE__ */ o.createElement("label", { id: m, htmlFor: s, className: i }, t, h) : /* @__PURE__ */ o.createElement("span", { id: m, className: i }, t, h) : null
182
- );
183
- }
184
- }
185
- v.propTypes = {
186
- label: e.string,
187
- editorId: e.string,
188
- editorValue: e.oneOfType([e.string, e.bool, e.number]),
189
- editorPlaceholder: e.string,
190
- editorValid: e.bool,
191
- editorDisabled: e.bool,
192
- id: e.string,
193
- style: e.object,
194
- className: e.string,
195
- labelClassName: e.string,
196
- optional: e.bool
197
- };
198
- z(v);
9
+ import { Label as e } from "./Label.mjs";
10
+ import { Error as f } from "./Error.mjs";
11
+ import { Hint as m } from "./Hint.mjs";
12
+ import { FloatingLabel as x } from "./FloatingLabel.mjs";
199
13
  export {
200
- D as Error,
201
- v as FloatingLabel,
202
- T as Hint,
203
- x as Label
14
+ f as Error,
15
+ x as FloatingLabel,
16
+ m as Hint,
17
+ e as Label
204
18
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="labels.optional",l={[e]:"(Optional)"};exports.labelsOptional=e;exports.messages=l;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ const l = "labels.optional", s = {
10
+ [l]: "(Optional)"
11
+ };
12
+ export {
13
+ l as labelsOptional,
14
+ s as messages
15
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-labels",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ const e = {
10
+ name: "@progress/kendo-react-labels",
11
+ productName: "KendoReact",
12
+ productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
+ publishDate: 1709713959,
14
+ version: "",
15
+ licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
+ };
17
+ export {
18
+ e as packageMetadata
19
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-labels",
3
- "version": "7.2.4-develop.2",
3
+ "version": "7.2.4-develop.4",
4
4
  "description": "React Labels package provides components for labelling form editors. KendoReact Labels package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,8 +23,8 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-licensing": "^1.3.4",
26
- "@progress/kendo-react-common": "7.2.4-develop.2",
27
- "@progress/kendo-react-intl": "7.2.4-develop.2",
26
+ "@progress/kendo-react-common": "7.2.4-develop.4",
27
+ "@progress/kendo-react-intl": "7.2.4-develop.4",
28
28
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
29
29
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
30
30
  },