@rededor/cura 2.0.0-alpha.13 → 2.0.0-alpha.16
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/dist/cjs/cura-accordion_22.cjs.entry.js +65 -74
- package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/cura-display.cjs.entry.js +1 -1
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +1 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
- package/dist/cjs/cura-input-date.cjs.entry.js +1 -1
- package/dist/cjs/cura-input-textarea.cjs.entry.js +236 -0
- package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
- package/dist/cjs/cura-modal.cjs.entry.js +1 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/cura-radio.cjs.entry.js +1 -1
- package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
- package/dist/cjs/cura-switch.cjs.entry.js +1 -1
- package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
- package/dist/cjs/cura-toast.cjs.entry.js +1 -1
- package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/cura.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/utils-DMHZ2n4p.js +47 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/cura-calendar/cura-calendar.css +13 -1
- package/dist/collection/components/cura-calendar/cura-calendar.js +92 -11
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js +29 -1
- package/dist/collection/components/cura-calendar/cura-calendar.type.js +1 -0
- package/dist/collection/components/cura-card/cura-card.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +1 -1
- package/dist/collection/components/cura-icon/cura-icon.js +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
- package/dist/collection/components/cura-modal/cura-modal.js +1 -1
- package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
- package/dist/collection/components/cura-toast/cura-toast.js +1 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
- package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.css +174 -0
- package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.js +613 -0
- package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.stories.js +222 -0
- package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +1 -1
- package/dist/collection/components/text/cura-display/cura-display.js +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
- package/dist/components/cura-accordion-item.js +1 -1
- package/dist/components/cura-alert.js +1 -1
- package/dist/components/cura-badge-counter.js +1 -1
- package/dist/components/cura-badge-distance.js +1 -1
- package/dist/components/cura-badge-pill.js +1 -1
- package/dist/components/cura-button-outline.js +1 -1
- package/dist/components/cura-button-select.js +1 -1
- package/dist/components/cura-button-transparent.js +1 -1
- package/dist/components/cura-button.js +1 -1
- package/dist/components/cura-calendar.js +1 -1
- package/dist/components/cura-card.js +1 -1
- package/dist/components/cura-checkbox.js +1 -1
- package/dist/components/cura-display.js +1 -1
- package/dist/components/cura-dropdown-search-category.js +1 -1
- package/dist/components/cura-dropdown-search-not-found.js +1 -1
- package/dist/components/cura-dropdown-search-option.js +1 -1
- package/dist/components/cura-dropdown-search.js +1 -1
- package/dist/components/cura-heading.js +1 -1
- package/dist/components/cura-icon.js +1 -1
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-input-date.js +1 -1
- package/dist/components/cura-input-text.js +1 -1
- package/dist/components/cura-input-textarea.d.ts +11 -0
- package/dist/components/cura-input-textarea.js +1 -0
- package/dist/components/cura-label.js +1 -1
- package/dist/components/cura-loader-bar.js +1 -1
- package/dist/components/cura-loader-circle.js +1 -1
- package/dist/components/cura-modal.js +1 -1
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-paragraph.js +1 -1
- package/dist/components/cura-progress-bar.js +1 -1
- package/dist/components/cura-radio.js +1 -1
- package/dist/components/cura-select-option.js +1 -1
- package/dist/components/cura-select.js +1 -1
- package/dist/components/cura-stepper-item.js +1 -1
- package/dist/components/cura-stepper.js +1 -1
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/cura-tabs-button.js +1 -1
- package/dist/components/cura-tabs-group.js +1 -1
- package/dist/components/cura-tabs-transparent.js +1 -1
- package/dist/components/cura-tabs.js +1 -1
- package/dist/components/cura-toast.js +1 -1
- package/dist/components/cura-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-B2TDH4aP.js +1 -0
- package/dist/components/{p-C05r6CQV.js → p-BHVSbubb.js} +1 -1
- package/dist/components/{p-B2RN7oe_.js → p-BKDpza6x.js} +1 -1
- package/dist/components/{p-BYA8glxD.js → p-BuETJyzc.js} +1 -1
- package/dist/components/p-CalvBU-U.js +1 -0
- package/dist/components/{p-CCkEqDZb.js → p-CksTHXxZ.js} +1 -1
- package/dist/components/{p-DxJedO3K.js → p-D4hCuriT.js} +1 -1
- package/dist/components/{p-fn4zJrKE.js → p-DI66_jP6.js} +1 -1
- package/dist/components/{p-Bf21UQXV.js → p-DQP7jRHp.js} +1 -1
- package/dist/components/p-DgK8dEko.js +1 -0
- package/dist/components/{p-DXlGQp3a.js → p-DgQJ968V.js} +1 -1
- package/dist/components/{p-fR02COZb.js → p-Dmalf4Oj.js} +1 -1
- package/dist/components/{p-D6xuYQiO.js → p-KovUKiTX.js} +1 -1
- package/dist/components/{p-D7WNwjv-.js → p-PiUhcFob.js} +1 -1
- package/dist/components/{p-C7so9xnO.js → p-TnCIk87O.js} +1 -1
- package/dist/components/{p-BSdkRryc.js → p-i55vIhdM.js} +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/{p-bf99e8bf.entry.js → p-18a1cadf.entry.js} +1 -1
- package/dist/cura/{p-ddf4d240.entry.js → p-1c48aaa7.entry.js} +1 -1
- package/dist/cura/{p-b7369d04.entry.js → p-4178e3e6.entry.js} +1 -1
- package/dist/cura/p-5b26a166.entry.js +1 -0
- package/dist/cura/{p-42e72d12.entry.js → p-604f1c1d.entry.js} +1 -1
- package/dist/cura/{p-9de85de6.entry.js → p-906c8b66.entry.js} +1 -1
- package/dist/cura/p-CUmwazb8.js +1 -0
- package/dist/cura/p-a305e17a.entry.js +1 -0
- package/dist/cura/{p-3a3202f0.entry.js → p-a72db13d.entry.js} +1 -1
- package/dist/cura/{p-c247c93b.entry.js → p-b157025d.entry.js} +1 -1
- package/dist/cura/{p-f911a6c5.entry.js → p-b447fca2.entry.js} +1 -1
- package/dist/cura/{p-2e2e2b4d.entry.js → p-bd649bed.entry.js} +1 -1
- package/dist/cura/{p-c18d7f16.entry.js → p-c987ddde.entry.js} +1 -1
- package/dist/cura/{p-b14ae206.entry.js → p-d43fb791.entry.js} +1 -1
- package/dist/cura/{p-7965fe63.entry.js → p-d64ef37d.entry.js} +1 -1
- package/dist/cura/{p-1dc9c478.entry.js → p-f072b011.entry.js} +1 -1
- package/dist/cura/{p-5357f7bd.entry.js → p-f407bd73.entry.js} +1 -1
- package/dist/cura/p-f638eda8.entry.js +1 -0
- package/dist/esm/cura-accordion_22.entry.js +58 -67
- package/dist/esm/cura-checkbox.entry.js +1 -1
- package/dist/esm/cura-display.entry.js +1 -1
- package/dist/esm/cura-dropdown-search-not-found.entry.js +1 -1
- package/dist/esm/cura-icons-view.entry.js +1 -1
- package/dist/esm/cura-input-date.entry.js +1 -1
- package/dist/esm/cura-input-textarea.entry.js +234 -0
- package/dist/esm/cura-loader-bar.entry.js +1 -1
- package/dist/esm/cura-modal.entry.js +1 -1
- package/dist/esm/cura-progress-bar_2.entry.js +2 -2
- package/dist/esm/cura-radio.entry.js +1 -1
- package/dist/esm/cura-stepper.entry.js +1 -1
- package/dist/esm/cura-switch.entry.js +1 -1
- package/dist/esm/cura-tabs-button.entry.js +1 -1
- package/dist/esm/cura-tabs-transparent.entry.js +1 -1
- package/dist/esm/cura-toast.entry.js +1 -1
- package/dist/esm/cura-tooltip.entry.js +1 -1
- package/dist/esm/cura.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/utils-BZCR971L.js +41 -0
- package/dist/types/components/cura-calendar/cura-calendar.d.ts +20 -2
- package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +29 -0
- package/dist/types/components/cura-calendar/cura-calendar.type.d.ts +4 -0
- package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.d.ts +116 -0
- package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.stories.d.ts +188 -0
- package/dist/types/components.d.ts +232 -0
- package/package.json +2 -2
- package/dist/components/p-B8xnU6YS.js +0 -1
- package/dist/components/p-CG1lz5DR.js +0 -1
- package/dist/cura/p-47fdb124.entry.js +0 -1
- package/dist/cura/p-cbe8c690.entry.js +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { S as Static } from './static-DfJS7YqS.js';
|
|
2
|
+
|
|
3
|
+
function checkMobile() {
|
|
4
|
+
return (window === null || window === void 0 ? void 0 : window.innerWidth) < Static.breakpoints.medium.min;
|
|
5
|
+
}
|
|
6
|
+
function checkIOS() {
|
|
7
|
+
return [
|
|
8
|
+
'iPad Simulator',
|
|
9
|
+
'iPhone Simulator',
|
|
10
|
+
'iPod Simulator',
|
|
11
|
+
'iPad',
|
|
12
|
+
'iPhone',
|
|
13
|
+
'iPod'
|
|
14
|
+
].includes(navigator.userAgent)
|
|
15
|
+
// iPad on iOS 13 detection
|
|
16
|
+
|| (navigator.userAgent.includes("Mac") && "ontouchend" in document);
|
|
17
|
+
}
|
|
18
|
+
function fakeInputIOSHack(targetElement) {
|
|
19
|
+
if (!checkMobile() || !checkIOS())
|
|
20
|
+
return null;
|
|
21
|
+
const fakeInput = document.createElement('input');
|
|
22
|
+
fakeInput.setAttribute('type', 'text');
|
|
23
|
+
fakeInput.style.position = 'absolute';
|
|
24
|
+
fakeInput.style.opacity = '0';
|
|
25
|
+
fakeInput.style.height = '0';
|
|
26
|
+
fakeInput.style.fontSize = '16px'; // disable auto zoom
|
|
27
|
+
targetElement.prepend(fakeInput);
|
|
28
|
+
// focus so that subsequent async focus will work
|
|
29
|
+
fakeInput.focus();
|
|
30
|
+
return fakeInput;
|
|
31
|
+
}
|
|
32
|
+
function addBodyScrollLockClass() {
|
|
33
|
+
document.body.classList.add("cura-body-scroll-lock");
|
|
34
|
+
}
|
|
35
|
+
function removeBodyScrollLockClass() {
|
|
36
|
+
if (document.body.classList.contains("cura-body-scroll-lock")) {
|
|
37
|
+
document.body.classList.remove("cura-body-scroll-lock");
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { addBodyScrollLockClass as a, checkIOS as b, checkMobile as c, fakeInputIOSHack as f, removeBodyScrollLockClass as r };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ChangeDateInViewEvent } from './cura-calendar.type';
|
|
2
3
|
export declare class CuraCalendar {
|
|
3
4
|
/**
|
|
4
5
|
* Disable component
|
|
@@ -7,6 +8,13 @@ export declare class CuraCalendar {
|
|
|
7
8
|
* @default false
|
|
8
9
|
*/
|
|
9
10
|
isDisabled: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Loading state
|
|
13
|
+
*
|
|
14
|
+
* @type {boolean}
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
isLoading: boolean;
|
|
10
18
|
/**
|
|
11
19
|
* An array of specific dates to be highlighted or processed.
|
|
12
20
|
*
|
|
@@ -176,6 +184,13 @@ export declare class CuraCalendar {
|
|
|
176
184
|
onchangeday: EventEmitter<{
|
|
177
185
|
days: Date[];
|
|
178
186
|
}>;
|
|
187
|
+
/**
|
|
188
|
+
* Event emitted when dates displayed changes
|
|
189
|
+
*
|
|
190
|
+
* @event
|
|
191
|
+
* @type {EventEmitter<ChangeDateInViewEvent>}
|
|
192
|
+
*/
|
|
193
|
+
changeDateInView: EventEmitter<ChangeDateInViewEvent>;
|
|
179
194
|
theme: import("../../api/cura-api.type").APIThemeFunctions;
|
|
180
195
|
weights: {
|
|
181
196
|
[key: string]: string;
|
|
@@ -316,9 +331,9 @@ export declare class CuraCalendar {
|
|
|
316
331
|
*/
|
|
317
332
|
showNotColapsedCalendar(): void;
|
|
318
333
|
showColapsedCalendar(): Date[];
|
|
319
|
-
fetchDaysOfWeek(): Date[];
|
|
334
|
+
fetchDaysOfWeek(currentDate?: Date): Date[];
|
|
320
335
|
updateCurrentWeek(direction: 'prev' | 'next'): void;
|
|
321
|
-
fetchDaysOfMonth(): Date[];
|
|
336
|
+
fetchDaysOfMonth(currentDate?: Date): Date[];
|
|
322
337
|
/**
|
|
323
338
|
* Get the names of all months in the current year.
|
|
324
339
|
*
|
|
@@ -373,8 +388,11 @@ export declare class CuraCalendar {
|
|
|
373
388
|
'--width': string;
|
|
374
389
|
'--min-width': string;
|
|
375
390
|
'--max-width': string;
|
|
391
|
+
'--color-neutral-purewhite': string;
|
|
376
392
|
};
|
|
393
|
+
sendEventChangeDateInView(isCollapsed: boolean, currentDate: Date): void;
|
|
377
394
|
watchDefaultDatesArray(): void;
|
|
378
395
|
handleDefaultDateChange(newValue: string[]): void;
|
|
396
|
+
watchCollapse(isCollapsed: boolean): void;
|
|
379
397
|
render(): any;
|
|
380
398
|
}
|
|
@@ -13,6 +13,16 @@ declare const _default: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
isLoading: {
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
table: {
|
|
20
|
+
category: string;
|
|
21
|
+
defaultValue: {
|
|
22
|
+
summary: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
16
26
|
period: {
|
|
17
27
|
control: string;
|
|
18
28
|
description: string;
|
|
@@ -209,12 +219,30 @@ declare const _default: {
|
|
|
209
219
|
};
|
|
210
220
|
};
|
|
211
221
|
};
|
|
222
|
+
loadingMessage: {
|
|
223
|
+
control: string;
|
|
224
|
+
description: string;
|
|
225
|
+
table: {
|
|
226
|
+
category: string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
changeDateInView: {
|
|
230
|
+
control: string;
|
|
231
|
+
description: string;
|
|
232
|
+
table: {
|
|
233
|
+
category: string;
|
|
234
|
+
defaultValue: {
|
|
235
|
+
summary: any;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
212
239
|
};
|
|
213
240
|
};
|
|
214
241
|
export default _default;
|
|
215
242
|
export declare const Calendar: {
|
|
216
243
|
args: {
|
|
217
244
|
isDisabled: boolean;
|
|
245
|
+
isLoading: boolean;
|
|
218
246
|
period: string[];
|
|
219
247
|
width: string;
|
|
220
248
|
maxWidth: string;
|
|
@@ -234,5 +262,6 @@ export declare const Calendar: {
|
|
|
234
262
|
floating: boolean;
|
|
235
263
|
embedded: boolean;
|
|
236
264
|
selectLabelColorMode: string;
|
|
265
|
+
loadingMessage: string;
|
|
237
266
|
};
|
|
238
267
|
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class CuraInputTextArea {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
/**
|
|
5
|
+
* Indicates input status (default: 'default')
|
|
6
|
+
*/
|
|
7
|
+
status: 'error' | 'success' | 'default' | string;
|
|
8
|
+
/**
|
|
9
|
+
* Size of the textarea: 'small', 'medium', or 'large' (default: 'medium')
|
|
10
|
+
*/
|
|
11
|
+
size: 'small' | 'medium' | 'large' | string;
|
|
12
|
+
/**
|
|
13
|
+
* Label text for the textarea
|
|
14
|
+
*/
|
|
15
|
+
label?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name for the textarea
|
|
18
|
+
*/
|
|
19
|
+
name?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Placeholder text
|
|
22
|
+
*/
|
|
23
|
+
placeholder?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Initial value of the textarea
|
|
26
|
+
*/
|
|
27
|
+
value: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Cura icon name to display
|
|
30
|
+
*/
|
|
31
|
+
iconName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Helper text displayed below the textarea
|
|
34
|
+
*/
|
|
35
|
+
helperText?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the textarea is disabled (default: false)
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the textarea is required (default: false)
|
|
42
|
+
*/
|
|
43
|
+
required?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Maximum length of the textarea value
|
|
46
|
+
*/
|
|
47
|
+
maxlength?: number | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the textarea is read-only (default: false)
|
|
50
|
+
*/
|
|
51
|
+
readOnly?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the textarea is resizable (default: true)
|
|
54
|
+
*/
|
|
55
|
+
resizable?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the textarea is in loading state (default: false)
|
|
58
|
+
*/
|
|
59
|
+
isLoading?: boolean;
|
|
60
|
+
isHovered: boolean;
|
|
61
|
+
isFocused: boolean;
|
|
62
|
+
currentValue: string | number;
|
|
63
|
+
fieldStyles: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Removes the alertCircle icon when necessary (as used in CuraDropdownSearch)
|
|
68
|
+
*/
|
|
69
|
+
hideErrorIcon: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the textarea should have autocomplete
|
|
72
|
+
*/
|
|
73
|
+
autocomplete?: string;
|
|
74
|
+
valueChange: EventEmitter<string | number>;
|
|
75
|
+
inputClear: EventEmitter<string | number>;
|
|
76
|
+
internals: ElementInternals;
|
|
77
|
+
inputRef: HTMLInputElement;
|
|
78
|
+
styles: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
weights: {
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
};
|
|
84
|
+
breakpoints: any;
|
|
85
|
+
setFocus(): Promise<void>;
|
|
86
|
+
formStateRestoreCallback(state: {
|
|
87
|
+
value: string;
|
|
88
|
+
}): void;
|
|
89
|
+
formAssociatedCallback(form: {
|
|
90
|
+
ariaLabel: string;
|
|
91
|
+
}): void;
|
|
92
|
+
formResetCallback(): void;
|
|
93
|
+
formDisabledCallback(disabled: boolean): void;
|
|
94
|
+
connectedCallback(): void;
|
|
95
|
+
componentWillLoad(): void;
|
|
96
|
+
getClasses(): {
|
|
97
|
+
[x: string]: boolean;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
isLoading: boolean;
|
|
100
|
+
isFocused: boolean;
|
|
101
|
+
isHovered: boolean;
|
|
102
|
+
resizable: boolean;
|
|
103
|
+
};
|
|
104
|
+
getLabelColor(): "neutral-black" | "neutral-medium" | "neutral-dark";
|
|
105
|
+
renderIcon(): any;
|
|
106
|
+
renderHelperText(): any;
|
|
107
|
+
renderMaxLength(): any;
|
|
108
|
+
handleMouseEnter(): void;
|
|
109
|
+
handleMouseLeave(): void;
|
|
110
|
+
handleClearInput(): void;
|
|
111
|
+
handleInputFocus(): void;
|
|
112
|
+
handleInputBlur(): void;
|
|
113
|
+
handleInputChange(event: any): void;
|
|
114
|
+
handleTextInputChange(inputValue: string): void;
|
|
115
|
+
render(): any;
|
|
116
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ helperText, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
helperText: any;
|
|
7
|
+
}) => string;
|
|
8
|
+
argTypes: {
|
|
9
|
+
mode: {
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
options: string[];
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
category: string;
|
|
17
|
+
defaultValue: {
|
|
18
|
+
summary: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
status: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
description: string;
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
defaultValue: {
|
|
31
|
+
summary: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
options: string[];
|
|
40
|
+
description: string;
|
|
41
|
+
table: {
|
|
42
|
+
category: string;
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
label: {
|
|
49
|
+
control: string;
|
|
50
|
+
description: string;
|
|
51
|
+
required: boolean;
|
|
52
|
+
table: {
|
|
53
|
+
category: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
name: {
|
|
57
|
+
control: string;
|
|
58
|
+
description: string;
|
|
59
|
+
required: boolean;
|
|
60
|
+
table: {
|
|
61
|
+
category: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
placeholder: {
|
|
65
|
+
control: string;
|
|
66
|
+
description: string;
|
|
67
|
+
required: boolean;
|
|
68
|
+
table: {
|
|
69
|
+
category: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
helperText: {
|
|
73
|
+
control: string;
|
|
74
|
+
description: string;
|
|
75
|
+
table: {
|
|
76
|
+
category: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
value: {
|
|
80
|
+
control: string;
|
|
81
|
+
description: string;
|
|
82
|
+
table: {
|
|
83
|
+
category: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
required: {
|
|
87
|
+
control: string;
|
|
88
|
+
description: string;
|
|
89
|
+
table: {
|
|
90
|
+
category: string;
|
|
91
|
+
defaultValue: {
|
|
92
|
+
summary: boolean;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
maxlength: {
|
|
97
|
+
control: string;
|
|
98
|
+
description: string;
|
|
99
|
+
required: boolean;
|
|
100
|
+
table: {
|
|
101
|
+
category: string;
|
|
102
|
+
defaultValue: {
|
|
103
|
+
summary: any;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
iconName: {
|
|
108
|
+
control: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
options: string[];
|
|
112
|
+
description: string;
|
|
113
|
+
required: boolean;
|
|
114
|
+
table: {
|
|
115
|
+
category: string;
|
|
116
|
+
defaultValue: {
|
|
117
|
+
summary: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
disabled: {
|
|
122
|
+
control: string;
|
|
123
|
+
description: string;
|
|
124
|
+
table: {
|
|
125
|
+
category: string;
|
|
126
|
+
defaultValue: {
|
|
127
|
+
summary: boolean;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
readOnly: {
|
|
132
|
+
control: string;
|
|
133
|
+
description: string;
|
|
134
|
+
category: string;
|
|
135
|
+
required: boolean;
|
|
136
|
+
table: {
|
|
137
|
+
category: string;
|
|
138
|
+
defaultValue: {
|
|
139
|
+
summary: boolean;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
isLoading: {
|
|
144
|
+
control: string;
|
|
145
|
+
description: string;
|
|
146
|
+
table: {
|
|
147
|
+
category: string;
|
|
148
|
+
defaultValue: {
|
|
149
|
+
summary: boolean;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
autocomplete: {
|
|
154
|
+
control: {
|
|
155
|
+
type: string;
|
|
156
|
+
};
|
|
157
|
+
options: string[];
|
|
158
|
+
description: string;
|
|
159
|
+
required: boolean;
|
|
160
|
+
table: {
|
|
161
|
+
category: string;
|
|
162
|
+
defaultValue: {
|
|
163
|
+
summary: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
export default _default;
|
|
170
|
+
export declare const InputTextArea: {
|
|
171
|
+
args: {
|
|
172
|
+
mode: string;
|
|
173
|
+
status: string;
|
|
174
|
+
size: string;
|
|
175
|
+
label: string;
|
|
176
|
+
name: string;
|
|
177
|
+
placeholder: string;
|
|
178
|
+
helperText: string;
|
|
179
|
+
value: string;
|
|
180
|
+
required: boolean;
|
|
181
|
+
maxlength: any;
|
|
182
|
+
iconName: string;
|
|
183
|
+
disabled: boolean;
|
|
184
|
+
readOnly: boolean;
|
|
185
|
+
isLoading: boolean;
|
|
186
|
+
autocomplete: string;
|
|
187
|
+
};
|
|
188
|
+
};
|