@cscfi/csc-ui 3.0.18 → 3.0.19
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/c-text-field-open.cjs.entry.js +152 -0
- package/dist/cjs/c-text-field-open.cjs.entry.js.map +1 -0
- package/dist/cjs/c-text-field-open.entry.cjs.js.map +1 -0
- package/dist/cjs/csc-ui.cjs.js +1 -1
- package/dist/cjs/index-BTBT6v3v.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/c-text-field-open/c-text-field-open.css +81 -0
- package/dist/collection/components/c-text-field-open/c-text-field-open.js +718 -0
- package/dist/collection/components/c-text-field-open/c-text-field-open.js.map +1 -0
- package/dist/components/c-text-field-open.d.ts +11 -0
- package/dist/components/c-text-field-open.js +204 -0
- package/dist/components/c-text-field-open.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/csc-ui/c-text-field-open.entry.esm.js.map +1 -0
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/{p-781cde9c.entry.js → p-04f010cd.entry.js} +2 -2
- package/dist/csc-ui/{p-ad4cba6c.entry.js → p-13976903.entry.js} +2 -2
- package/dist/csc-ui/{p-74dfa0e1.entry.js → p-2acf252a.entry.js} +2 -2
- package/dist/csc-ui/p-9806cee5.entry.js +2 -0
- package/dist/csc-ui/p-9806cee5.entry.js.map +1 -0
- package/dist/csc-ui/{p-Cb-CImk5.js → p-RscoPQxP.js} +2 -2
- package/dist/csc-ui/{p-Cb-CImk5.js.map → p-RscoPQxP.js.map} +1 -1
- package/dist/csc-ui/{p-82038174.entry.js → p-a0129d80.entry.js} +2 -2
- package/dist/csc-ui/{p-516daf81.entry.js → p-b0e03fea.entry.js} +2 -2
- package/dist/csc-ui/p-cbafc9a2.entry.js +2 -0
- package/dist/csc-ui/{p-73c56177.entry.js.map → p-cbafc9a2.entry.js.map} +1 -1
- package/dist/csc-ui/p-e1cec030.entry.js +2 -0
- package/dist/csc-ui/{p-2b012d43.entry.js.map → p-e1cec030.entry.js.map} +1 -1
- package/dist/csc-ui/{p-3ab98b9a.entry.js → p-e48d90fa.entry.js} +2 -2
- package/dist/csc-ui/{p-0b56450b.entry.js → p-ea26b8b0.entry.js} +2 -2
- package/dist/csc-ui/{p-0e4d4890.entry.js → p-f62b6b95.entry.js} +2 -2
- package/dist/esm/c-accordion-item.entry.js +1 -1
- package/dist/esm/c-alert.entry.js +1 -1
- package/dist/esm/c-autocomplete_35.entry.js +1 -1
- package/dist/esm/c-data-table.entry.js +1 -1
- package/dist/esm/c-menu_2.entry.js +1 -1
- package/dist/esm/c-pagination.entry.js +1 -1
- package/dist/esm/c-swiper.entry.js +1 -1
- package/dist/esm/c-tabs.entry.js +1 -1
- package/dist/esm/c-tag.entry.js +1 -1
- package/dist/esm/c-text-field-open.entry.js +150 -0
- package/dist/esm/c-text-field-open.entry.js.map +1 -0
- package/dist/esm/c-toast.entry.js +1 -1
- package/dist/esm/csc-ui.js +1 -1
- package/dist/esm/index-gSzSMY-c.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{mdi-Cb-CImk5.js → mdi-RscoPQxP.js} +3 -3
- package/dist/esm/{mdi-Cb-CImk5.js.map → mdi-RscoPQxP.js.map} +1 -1
- package/dist/types/components/c-text-field-open/c-text-field-open.d.ts +52 -0
- package/dist/types/components.d.ts +270 -0
- package/package.json +1 -1
- package/vscode-data.json +117 -0
- package/dist/csc-ui/p-2b012d43.entry.js +0 -2
- package/dist/csc-ui/p-73c56177.entry.js +0 -2
- /package/dist/csc-ui/{p-781cde9c.entry.js.map → p-04f010cd.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-ad4cba6c.entry.js.map → p-13976903.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-74dfa0e1.entry.js.map → p-2acf252a.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-82038174.entry.js.map → p-a0129d80.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-516daf81.entry.js.map → p-b0e03fea.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-3ab98b9a.entry.js.map → p-e48d90fa.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-0b56450b.entry.js.map → p-ea26b8b0.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-0e4d4890.entry.js.map → p-f62b6b95.entry.js.map} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class CTextFieldOpen {
|
|
3
|
+
internals: ElementInternals;
|
|
4
|
+
automaticFocus: boolean;
|
|
5
|
+
automaticCapitalize: string;
|
|
6
|
+
autocorrect: string;
|
|
7
|
+
autocomplete: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
hideDetails: boolean;
|
|
10
|
+
hint: string;
|
|
11
|
+
hostId: string;
|
|
12
|
+
trimWhitespace: boolean;
|
|
13
|
+
label: string;
|
|
14
|
+
labelOnTop: boolean;
|
|
15
|
+
max: number;
|
|
16
|
+
min: number;
|
|
17
|
+
name: string;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
required: boolean;
|
|
21
|
+
rows: number;
|
|
22
|
+
shadow: boolean;
|
|
23
|
+
step: number;
|
|
24
|
+
type: string;
|
|
25
|
+
valid: boolean;
|
|
26
|
+
validate: boolean;
|
|
27
|
+
validateOnBlur: boolean;
|
|
28
|
+
validation: string;
|
|
29
|
+
value: string;
|
|
30
|
+
renderOutsideShadow: boolean;
|
|
31
|
+
changeValue: EventEmitter;
|
|
32
|
+
isFocused: boolean;
|
|
33
|
+
labelWidth: number;
|
|
34
|
+
preSlotWidth: number;
|
|
35
|
+
hiddenEl: HTMLCTextFieldOpenElement;
|
|
36
|
+
private _inputElement;
|
|
37
|
+
private _originalType;
|
|
38
|
+
private _inputId;
|
|
39
|
+
private static _uniqueId;
|
|
40
|
+
componentWillLoad(): void;
|
|
41
|
+
get isActive(): boolean;
|
|
42
|
+
get passwordIcon(): string;
|
|
43
|
+
private _handleChange;
|
|
44
|
+
private _handleBlur;
|
|
45
|
+
private _renderInputElement;
|
|
46
|
+
private _isFirefox;
|
|
47
|
+
private _renderDateToggle;
|
|
48
|
+
private _toggleDatepicker;
|
|
49
|
+
private _renderPasswordToggle;
|
|
50
|
+
private _togglePasswordVisibility;
|
|
51
|
+
render(): any;
|
|
52
|
+
}
|
|
@@ -1884,6 +1884,123 @@ export namespace Components {
|
|
|
1884
1884
|
*/
|
|
1885
1885
|
"value": string;
|
|
1886
1886
|
}
|
|
1887
|
+
/**
|
|
1888
|
+
* Text field component without shadow dom
|
|
1889
|
+
* @group Form
|
|
1890
|
+
*/
|
|
1891
|
+
interface CTextFieldOpen {
|
|
1892
|
+
/**
|
|
1893
|
+
* HTML input autocomplete
|
|
1894
|
+
*/
|
|
1895
|
+
"autocomplete": string;
|
|
1896
|
+
/**
|
|
1897
|
+
* HTML input autocorrect
|
|
1898
|
+
*/
|
|
1899
|
+
"autocorrect": string;
|
|
1900
|
+
/**
|
|
1901
|
+
* HTML input autocapitalize
|
|
1902
|
+
* @name autocapitalize
|
|
1903
|
+
*/
|
|
1904
|
+
"automaticCapitalize": string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Auto focus the input
|
|
1907
|
+
* @name autofocus
|
|
1908
|
+
*/
|
|
1909
|
+
"automaticFocus": boolean;
|
|
1910
|
+
/**
|
|
1911
|
+
* Disable the input
|
|
1912
|
+
*/
|
|
1913
|
+
"disabled": boolean;
|
|
1914
|
+
/**
|
|
1915
|
+
* Hide the hint and error messages
|
|
1916
|
+
*/
|
|
1917
|
+
"hideDetails": boolean;
|
|
1918
|
+
/**
|
|
1919
|
+
* Hint text for the input
|
|
1920
|
+
*/
|
|
1921
|
+
"hint": string;
|
|
1922
|
+
/**
|
|
1923
|
+
* Id of the input
|
|
1924
|
+
* @name id
|
|
1925
|
+
*/
|
|
1926
|
+
"hostId": string;
|
|
1927
|
+
/**
|
|
1928
|
+
* Label of the input
|
|
1929
|
+
*/
|
|
1930
|
+
"label": string;
|
|
1931
|
+
/**
|
|
1932
|
+
* Label on top of the input
|
|
1933
|
+
*/
|
|
1934
|
+
"labelOnTop": boolean;
|
|
1935
|
+
/**
|
|
1936
|
+
* Maximum value on a numeric input
|
|
1937
|
+
*/
|
|
1938
|
+
"max": number;
|
|
1939
|
+
/**
|
|
1940
|
+
* Minimum value on a numeric input
|
|
1941
|
+
*/
|
|
1942
|
+
"min": number;
|
|
1943
|
+
/**
|
|
1944
|
+
* Name of the input
|
|
1945
|
+
*/
|
|
1946
|
+
"name": string;
|
|
1947
|
+
/**
|
|
1948
|
+
* Placeholder of the input
|
|
1949
|
+
*/
|
|
1950
|
+
"placeholder": string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Mark as readonly
|
|
1953
|
+
*/
|
|
1954
|
+
"readonly": boolean;
|
|
1955
|
+
/**
|
|
1956
|
+
* Render input element outside shadow DOM for maximum compatibility
|
|
1957
|
+
*/
|
|
1958
|
+
"renderOutsideShadow": boolean;
|
|
1959
|
+
/**
|
|
1960
|
+
* Set the input as required
|
|
1961
|
+
*/
|
|
1962
|
+
"required": boolean;
|
|
1963
|
+
/**
|
|
1964
|
+
* Rows on the input
|
|
1965
|
+
*/
|
|
1966
|
+
"rows": number;
|
|
1967
|
+
/**
|
|
1968
|
+
* Shadow variant of the input
|
|
1969
|
+
*/
|
|
1970
|
+
"shadow": boolean;
|
|
1971
|
+
/**
|
|
1972
|
+
* Step size on a numeric input
|
|
1973
|
+
*/
|
|
1974
|
+
"step": number;
|
|
1975
|
+
/**
|
|
1976
|
+
* Trim whitespace from the return value
|
|
1977
|
+
*/
|
|
1978
|
+
"trimWhitespace": boolean;
|
|
1979
|
+
/**
|
|
1980
|
+
* Type of the input
|
|
1981
|
+
*/
|
|
1982
|
+
"type": string;
|
|
1983
|
+
/**
|
|
1984
|
+
* Set the validity of the input
|
|
1985
|
+
*/
|
|
1986
|
+
"valid": boolean;
|
|
1987
|
+
/**
|
|
1988
|
+
* Manual validation
|
|
1989
|
+
*/
|
|
1990
|
+
"validate": boolean;
|
|
1991
|
+
/**
|
|
1992
|
+
* Validate the input on blur
|
|
1993
|
+
*/
|
|
1994
|
+
"validateOnBlur": boolean;
|
|
1995
|
+
/**
|
|
1996
|
+
* Custom validation message
|
|
1997
|
+
*/
|
|
1998
|
+
"validation": string;
|
|
1999
|
+
/**
|
|
2000
|
+
* Value of the input
|
|
2001
|
+
*/
|
|
2002
|
+
"value": string;
|
|
2003
|
+
}
|
|
1887
2004
|
/**
|
|
1888
2005
|
* @parent none
|
|
1889
2006
|
*/
|
|
@@ -2033,6 +2150,10 @@ export interface CTextFieldCustomEvent<T> extends CustomEvent<T> {
|
|
|
2033
2150
|
detail: T;
|
|
2034
2151
|
target: HTMLCTextFieldElement;
|
|
2035
2152
|
}
|
|
2153
|
+
export interface CTextFieldOpenCustomEvent<T> extends CustomEvent<T> {
|
|
2154
|
+
detail: T;
|
|
2155
|
+
target: HTMLCTextFieldOpenElement;
|
|
2156
|
+
}
|
|
2036
2157
|
export interface CToastCustomEvent<T> extends CustomEvent<T> {
|
|
2037
2158
|
detail: T;
|
|
2038
2159
|
target: HTMLCToastElement;
|
|
@@ -2955,6 +3076,27 @@ declare global {
|
|
|
2955
3076
|
prototype: HTMLCTextFieldElement;
|
|
2956
3077
|
new (): HTMLCTextFieldElement;
|
|
2957
3078
|
};
|
|
3079
|
+
interface HTMLCTextFieldOpenElementEventMap {
|
|
3080
|
+
"changeValue": any;
|
|
3081
|
+
}
|
|
3082
|
+
/**
|
|
3083
|
+
* Text field component without shadow dom
|
|
3084
|
+
* @group Form
|
|
3085
|
+
*/
|
|
3086
|
+
interface HTMLCTextFieldOpenElement extends Components.CTextFieldOpen, HTMLStencilElement {
|
|
3087
|
+
addEventListener<K extends keyof HTMLCTextFieldOpenElementEventMap>(type: K, listener: (this: HTMLCTextFieldOpenElement, ev: CTextFieldOpenCustomEvent<HTMLCTextFieldOpenElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3088
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3089
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3090
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3091
|
+
removeEventListener<K extends keyof HTMLCTextFieldOpenElementEventMap>(type: K, listener: (this: HTMLCTextFieldOpenElement, ev: CTextFieldOpenCustomEvent<HTMLCTextFieldOpenElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3092
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3093
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3094
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3095
|
+
}
|
|
3096
|
+
var HTMLCTextFieldOpenElement: {
|
|
3097
|
+
prototype: HTMLCTextFieldOpenElement;
|
|
3098
|
+
new (): HTMLCTextFieldOpenElement;
|
|
3099
|
+
};
|
|
2958
3100
|
interface HTMLCToastElementEventMap {
|
|
2959
3101
|
"close": CToastMessage;
|
|
2960
3102
|
}
|
|
@@ -3062,6 +3204,7 @@ declare global {
|
|
|
3062
3204
|
"c-tag": HTMLCTagElement;
|
|
3063
3205
|
"c-tags": HTMLCTagsElement;
|
|
3064
3206
|
"c-text-field": HTMLCTextFieldElement;
|
|
3207
|
+
"c-text-field-open": HTMLCTextFieldOpenElement;
|
|
3065
3208
|
"c-toast": HTMLCToastElement;
|
|
3066
3209
|
"c-toasts": HTMLCToastsElement;
|
|
3067
3210
|
"c-toolbar": HTMLCToolbarElement;
|
|
@@ -5051,6 +5194,127 @@ declare namespace LocalJSX {
|
|
|
5051
5194
|
*/
|
|
5052
5195
|
"value"?: string;
|
|
5053
5196
|
}
|
|
5197
|
+
/**
|
|
5198
|
+
* Text field component without shadow dom
|
|
5199
|
+
* @group Form
|
|
5200
|
+
*/
|
|
5201
|
+
interface CTextFieldOpen {
|
|
5202
|
+
/**
|
|
5203
|
+
* HTML input autocomplete
|
|
5204
|
+
*/
|
|
5205
|
+
"autocomplete"?: string;
|
|
5206
|
+
/**
|
|
5207
|
+
* HTML input autocorrect
|
|
5208
|
+
*/
|
|
5209
|
+
"autocorrect"?: string;
|
|
5210
|
+
/**
|
|
5211
|
+
* HTML input autocapitalize
|
|
5212
|
+
* @name autocapitalize
|
|
5213
|
+
*/
|
|
5214
|
+
"automaticCapitalize"?: string;
|
|
5215
|
+
/**
|
|
5216
|
+
* Auto focus the input
|
|
5217
|
+
* @name autofocus
|
|
5218
|
+
*/
|
|
5219
|
+
"automaticFocus"?: boolean;
|
|
5220
|
+
/**
|
|
5221
|
+
* Disable the input
|
|
5222
|
+
*/
|
|
5223
|
+
"disabled"?: boolean;
|
|
5224
|
+
/**
|
|
5225
|
+
* Hide the hint and error messages
|
|
5226
|
+
*/
|
|
5227
|
+
"hideDetails"?: boolean;
|
|
5228
|
+
/**
|
|
5229
|
+
* Hint text for the input
|
|
5230
|
+
*/
|
|
5231
|
+
"hint"?: string;
|
|
5232
|
+
/**
|
|
5233
|
+
* Id of the input
|
|
5234
|
+
* @name id
|
|
5235
|
+
*/
|
|
5236
|
+
"hostId"?: string;
|
|
5237
|
+
/**
|
|
5238
|
+
* Label of the input
|
|
5239
|
+
*/
|
|
5240
|
+
"label"?: string;
|
|
5241
|
+
/**
|
|
5242
|
+
* Label on top of the input
|
|
5243
|
+
*/
|
|
5244
|
+
"labelOnTop"?: boolean;
|
|
5245
|
+
/**
|
|
5246
|
+
* Maximum value on a numeric input
|
|
5247
|
+
*/
|
|
5248
|
+
"max"?: number;
|
|
5249
|
+
/**
|
|
5250
|
+
* Minimum value on a numeric input
|
|
5251
|
+
*/
|
|
5252
|
+
"min"?: number;
|
|
5253
|
+
/**
|
|
5254
|
+
* Name of the input
|
|
5255
|
+
*/
|
|
5256
|
+
"name"?: string;
|
|
5257
|
+
/**
|
|
5258
|
+
* Emit changes to the parent
|
|
5259
|
+
*/
|
|
5260
|
+
"onChangeValue"?: (event: CTextFieldOpenCustomEvent<any>) => void;
|
|
5261
|
+
/**
|
|
5262
|
+
* Placeholder of the input
|
|
5263
|
+
*/
|
|
5264
|
+
"placeholder"?: string;
|
|
5265
|
+
/**
|
|
5266
|
+
* Mark as readonly
|
|
5267
|
+
*/
|
|
5268
|
+
"readonly"?: boolean;
|
|
5269
|
+
/**
|
|
5270
|
+
* Render input element outside shadow DOM for maximum compatibility
|
|
5271
|
+
*/
|
|
5272
|
+
"renderOutsideShadow"?: boolean;
|
|
5273
|
+
/**
|
|
5274
|
+
* Set the input as required
|
|
5275
|
+
*/
|
|
5276
|
+
"required"?: boolean;
|
|
5277
|
+
/**
|
|
5278
|
+
* Rows on the input
|
|
5279
|
+
*/
|
|
5280
|
+
"rows"?: number;
|
|
5281
|
+
/**
|
|
5282
|
+
* Shadow variant of the input
|
|
5283
|
+
*/
|
|
5284
|
+
"shadow"?: boolean;
|
|
5285
|
+
/**
|
|
5286
|
+
* Step size on a numeric input
|
|
5287
|
+
*/
|
|
5288
|
+
"step"?: number;
|
|
5289
|
+
/**
|
|
5290
|
+
* Trim whitespace from the return value
|
|
5291
|
+
*/
|
|
5292
|
+
"trimWhitespace"?: boolean;
|
|
5293
|
+
/**
|
|
5294
|
+
* Type of the input
|
|
5295
|
+
*/
|
|
5296
|
+
"type"?: string;
|
|
5297
|
+
/**
|
|
5298
|
+
* Set the validity of the input
|
|
5299
|
+
*/
|
|
5300
|
+
"valid"?: boolean;
|
|
5301
|
+
/**
|
|
5302
|
+
* Manual validation
|
|
5303
|
+
*/
|
|
5304
|
+
"validate"?: boolean;
|
|
5305
|
+
/**
|
|
5306
|
+
* Validate the input on blur
|
|
5307
|
+
*/
|
|
5308
|
+
"validateOnBlur"?: boolean;
|
|
5309
|
+
/**
|
|
5310
|
+
* Custom validation message
|
|
5311
|
+
*/
|
|
5312
|
+
"validation"?: string;
|
|
5313
|
+
/**
|
|
5314
|
+
* Value of the input
|
|
5315
|
+
*/
|
|
5316
|
+
"value"?: string;
|
|
5317
|
+
}
|
|
5054
5318
|
/**
|
|
5055
5319
|
* @parent none
|
|
5056
5320
|
*/
|
|
@@ -5155,6 +5419,7 @@ declare namespace LocalJSX {
|
|
|
5155
5419
|
"c-tag": CTag;
|
|
5156
5420
|
"c-tags": CTags;
|
|
5157
5421
|
"c-text-field": CTextField;
|
|
5422
|
+
"c-text-field-open": CTextFieldOpen;
|
|
5158
5423
|
"c-toast": CToast;
|
|
5159
5424
|
"c-toasts": CToasts;
|
|
5160
5425
|
"c-toolbar": CToolbar;
|
|
@@ -5431,6 +5696,11 @@ declare module "@stencil/core" {
|
|
|
5431
5696
|
* @group Form
|
|
5432
5697
|
*/
|
|
5433
5698
|
"c-text-field": LocalJSX.CTextField & JSXBase.HTMLAttributes<HTMLCTextFieldElement>;
|
|
5699
|
+
/**
|
|
5700
|
+
* Text field component without shadow dom
|
|
5701
|
+
* @group Form
|
|
5702
|
+
*/
|
|
5703
|
+
"c-text-field-open": LocalJSX.CTextFieldOpen & JSXBase.HTMLAttributes<HTMLCTextFieldOpenElement>;
|
|
5434
5704
|
/**
|
|
5435
5705
|
* @parent none
|
|
5436
5706
|
*/
|
package/package.json
CHANGED
package/vscode-data.json
CHANGED
|
@@ -2224,6 +2224,123 @@
|
|
|
2224
2224
|
}
|
|
2225
2225
|
]
|
|
2226
2226
|
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "c-text-field-open",
|
|
2229
|
+
"description": {
|
|
2230
|
+
"kind": "markdown",
|
|
2231
|
+
"value": "Text field component without shadow dom"
|
|
2232
|
+
},
|
|
2233
|
+
"attributes": [
|
|
2234
|
+
{
|
|
2235
|
+
"name": "autocomplete",
|
|
2236
|
+
"description": "HTML input autocomplete"
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"name": "autocorrect",
|
|
2240
|
+
"description": "HTML input autocorrect"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "autocapitalize",
|
|
2244
|
+
"description": "HTML input autocapitalize"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "autofocus",
|
|
2248
|
+
"description": "Auto focus the input"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "disabled",
|
|
2252
|
+
"description": "Disable the input"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"name": "hide-details",
|
|
2256
|
+
"description": "Hide the hint and error messages"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "hint",
|
|
2260
|
+
"description": "Hint text for the input"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
"name": "id",
|
|
2264
|
+
"description": "Id of the input"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "label",
|
|
2268
|
+
"description": "Label of the input"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"name": "label-on-top",
|
|
2272
|
+
"description": "Label on top of the input"
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "max",
|
|
2276
|
+
"description": "Maximum value on a numeric input"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "min",
|
|
2280
|
+
"description": "Minimum value on a numeric input"
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"name": "name",
|
|
2284
|
+
"description": "Name of the input"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"name": "placeholder",
|
|
2288
|
+
"description": "Placeholder of the input"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "readonly",
|
|
2292
|
+
"description": "Mark as readonly"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"name": "render-outside-shadow",
|
|
2296
|
+
"description": "Render input element outside shadow DOM for maximum compatibility"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"name": "required",
|
|
2300
|
+
"description": "Set the input as required"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"name": "rows",
|
|
2304
|
+
"description": "Rows on the input"
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "shadow",
|
|
2308
|
+
"description": "Shadow variant of the input"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"name": "step",
|
|
2312
|
+
"description": "Step size on a numeric input"
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"name": "trim-whitespace",
|
|
2316
|
+
"description": "Trim whitespace from the return value"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "type",
|
|
2320
|
+
"description": "Type of the input"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
"name": "valid",
|
|
2324
|
+
"description": "Set the validity of the input"
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"name": "validate",
|
|
2328
|
+
"description": "Manual validation"
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"name": "validate-on-blur",
|
|
2332
|
+
"description": "Validate the input on blur"
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "validation",
|
|
2336
|
+
"description": "Custom validation message"
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"name": "value",
|
|
2340
|
+
"description": "Value of the input"
|
|
2341
|
+
}
|
|
2342
|
+
]
|
|
2343
|
+
},
|
|
2227
2344
|
{
|
|
2228
2345
|
"name": "c-toast",
|
|
2229
2346
|
"description": {
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r,h as e,H as t}from"./p-gSzSMY-c.js";import{a,b as c,c as o,d as l}from"./p-Cb-CImk5.js";const s="html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}.c-alert{--c-alert-color:var(--c-primary-600);display:grid;gap:16px;grid-template-columns:1fr;color:var(--c-alert-color);border:2px solid currentColor;border-left-width:12px;border-radius:6px;padding:12px}.c-alert--info,.c-alert--error,.c-alert--success,.c-alert--warning{grid-template-columns:auto 1fr}.c-alert--info{--c-alert-color:var(--c-info-600)}.c-alert--error{--c-alert-color:var(--c-error-600)}.c-alert--success{--c-alert-color:var(--c-success-600)}.c-alert--warning{--c-alert-color:var(--c-warning-600)}.c-alert__content{color:rgba(0, 0, 0, 0.87);display:grid;align-items:center;grid-template-columns:1fr;gap:8px}svg{fill:currentColor}::slotted(*[slot=title]){margin:0 !important;font-size:18px;font-weight:600;line-height:24px}";const i=class{constructor(e){r(this,e);this._icons={warning:l,error:o,success:c,info:a}}render(){const r=Object.assign({"c-alert":true},!!this.type&&{[`c-alert--${this.type}`]:true});return e(t,{key:"0482a87b1be3c3f0f1bf4947d66156ea05804b1b"},e("div",{key:"f8c1fe4db0759447256e4179db6174476b18551f",class:r},!!this.type&&e("svg",{key:"1a2d83007ebc97ca6e3e49055065ce7af705b588",width:"22",height:"22",viewBox:"0 0 24 24"},e("path",{key:"a1ea5ec0302045d8d0833bc0dc1b740d0340d0f4",d:this._icons[this.type]})),e("div",{key:"d5722cc91b636efc9fe166fd41d29bcc6f1344cb",class:"c-alert__content"},e("slot",{key:"f9fda967fe8adb0941bb22da2b29a5bcde77d295",name:"title"}),e("slot",{key:"979334753f81f8f4905230c0192283e01bbcb361"}))))}};i.style=s;export{i as c_alert};
|
|
2
|
-
//# sourceMappingURL=p-2b012d43.entry.js.map
|