@usecapsule/core-components 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/capsule-core.css +93 -24
- package/css/capsule-core.css.map +1 -1
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/index.esm.js +1 -1
- package/dist/capsule/index.esm.js.map +1 -1
- package/dist/capsule/p-397edab5.entry.js +2 -0
- package/dist/capsule/{p-ad14a817.entry.js.map → p-397edab5.entry.js.map} +1 -1
- package/dist/capsule/p-52d6ebee.entry.js +2 -0
- package/dist/capsule/{p-fcead80b.entry.js.map → p-52d6ebee.entry.js.map} +1 -1
- package/dist/capsule/p-5ed5e96c.entry.js +2 -0
- package/dist/capsule/p-5ed5e96c.entry.js.map +1 -0
- package/dist/capsule/p-6e71539d.js +3 -0
- package/dist/capsule/p-6e71539d.js.map +1 -0
- package/dist/capsule/p-6e900654.entry.js +29 -0
- package/dist/capsule/p-6e900654.entry.js.map +1 -0
- package/dist/capsule/{p-0d0a0037.entry.js → p-70f95c93.entry.js} +2 -2
- package/dist/capsule/{p-0d0a0037.entry.js.map → p-70f95c93.entry.js.map} +1 -1
- package/dist/capsule/p-86e6cba5.entry.js +10 -0
- package/dist/capsule/{p-d28b96ba.entry.js.map → p-86e6cba5.entry.js.map} +1 -1
- package/dist/capsule/p-f2393be6.js +2 -0
- package/dist/capsule/p-f2393be6.js.map +1 -0
- package/dist/capsule/{p-fa078837.entry.js → p-f9351426.entry.js} +2 -2
- package/dist/capsule/{p-fa078837.entry.js.map → p-f9351426.entry.js.map} +1 -1
- package/dist/cjs/capsule.cjs.js +10 -10
- package/dist/cjs/capsule.cjs.js.map +1 -1
- package/dist/cjs/{constants-0869a780.js → constants-9b1b01bb.js} +3 -3
- package/dist/cjs/{constants-0869a780.js.map → constants-9b1b01bb.js.map} +1 -1
- package/dist/cjs/{cpsl-alert_29.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +663 -94
- package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-animation.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +55 -0
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
- package/dist/cjs/index-85125285.js +1414 -0
- package/dist/cjs/index-85125285.js.map +1 -0
- package/dist/cjs/index.cjs.js +116 -107
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/chevron-up.svg +2 -2
- package/dist/collection/assets/icons/close.svg +3 -4
- package/dist/collection/assets/icons/cube.svg +3 -0
- package/dist/collection/assets/icons/farcaster-brand.svg +10 -0
- package/dist/collection/assets/icons/farcaster.svg +10 -0
- package/dist/collection/assets/icons/image.svg +3 -0
- package/dist/collection/assets/icons/index.js +9 -1
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/menu.svg +3 -0
- package/dist/collection/assets/icons/refresh.svg +3 -0
- package/dist/collection/assets/icons/stars.svg +4 -0
- package/dist/collection/assets/icons/x.svg +3 -0
- package/dist/collection/collection-manifest.json +7 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +2 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +20 -4
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.css +113 -17
- package/dist/collection/components/cpsl-button/cpsl-button.js +63 -7
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +1 -0
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.css +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +2 -2
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +84 -11
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +211 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +406 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +29 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +37 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +1 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.css +7 -6
- package/dist/collection/components/cpsl-input/cpsl-input.js +3 -8
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal/cpsl-modal.css +4 -4
- package/dist/collection/components/cpsl-modal/cpsl-modal.js +1 -0
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +224 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +29 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +37 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.css +4 -0
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js.map +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.css +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.css +98 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +511 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +29 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +37 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +1 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.css +2 -2
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.css +229 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js +409 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +29 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +37 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +114 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +29 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +37 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +3 -3
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.css +4 -4
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.css +48 -60
- package/dist/collection/components/cpsl-table/cpsl-table.js +34 -58
- package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +2 -2
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +4 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/constants.js +2 -2
- package/dist/collection/constants.js.map +1 -1
- package/dist/collection/interface.js.map +1 -1
- package/dist/collection/utils/theme/generateBorderRadii.js +40 -39
- package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
- package/dist/collection/utils/theme/generatePalette.js +11 -3
- package/dist/collection/utils/theme/generatePalette.js.map +1 -1
- package/dist/collection/utils/theme/generateTheme.js +2 -2
- package/dist/collection/utils/theme/generateTheme.js.map +1 -1
- package/dist/collection/utils/theme/utils.js +1 -0
- package/dist/collection/utils/theme/utils.js.map +1 -1
- package/dist/esm/capsule.js +11 -11
- package/dist/esm/capsule.js.map +1 -1
- package/dist/esm/{constants-6acf4ea8.js → constants-fce138fa.js} +3 -3
- package/dist/esm/{constants-6acf4ea8.js.map → constants-fce138fa.js.map} +1 -1
- package/dist/esm/{cpsl-alert_29.entry.js → cpsl-alert_33.entry.js} +660 -95
- package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
- package/dist/esm/cpsl-animation.entry.js +2 -2
- package/dist/esm/cpsl-col.entry.js +2 -2
- package/dist/esm/cpsl-grid.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js.map +1 -1
- package/dist/esm/cpsl-modal-v2.entry.js +51 -0
- package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +2 -2
- package/dist/esm/index-b9a060b3.js +1383 -0
- package/dist/esm/index-b9a060b3.js.map +1 -0
- package/dist/esm/index.js +116 -107
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/types/assets/icons/index.d.ts +8 -0
- package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +1 -0
- package/dist/types/components/cpsl-button/cpsl-button.d.ts +4 -1
- package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +10 -1
- package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +34 -0
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +1 -1
- package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +17 -0
- package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +35 -0
- package/dist/types/components/cpsl-select/cpsl-select.d.ts +38 -0
- package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +8 -0
- package/dist/types/components/cpsl-table/cpsl-table.d.ts +6 -3
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
- package/dist/types/components.d.ts +596 -28
- package/dist/types/constants.d.ts +2 -2
- package/dist/types/interface.d.ts +68 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/dist/types/utils/theme/generateBorderRadii.d.ts +1 -1
- package/dist/types/utils/theme/generateTheme.d.ts +1 -1
- package/dist/types/utils/theme/utils.d.ts +4 -1
- package/package.json +2 -2
- package/dist/capsule/p-107e1ff5.entry.js +0 -29
- package/dist/capsule/p-107e1ff5.entry.js.map +0 -1
- package/dist/capsule/p-86e48e61.js +0 -3
- package/dist/capsule/p-86e48e61.js.map +0 -1
- package/dist/capsule/p-ad14a817.entry.js +0 -2
- package/dist/capsule/p-b6b38e73.js +0 -2
- package/dist/capsule/p-b6b38e73.js.map +0 -1
- package/dist/capsule/p-d28b96ba.entry.js +0 -10
- package/dist/capsule/p-fcead80b.entry.js +0 -2
- package/dist/cjs/cpsl-alert_29.cjs.entry.js.map +0 -1
- package/dist/cjs/index-5733071e.js +0 -2020
- package/dist/cjs/index-5733071e.js.map +0 -1
- package/dist/collection/components/cpsl-table/table-interface.js +0 -2
- package/dist/collection/components/cpsl-table/table-interface.js.map +0 -1
- package/dist/esm/cpsl-alert_29.entry.js.map +0 -1
- package/dist/esm/index-8fe9f35e.js +0 -1990
- package/dist/esm/index-8fe9f35e.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/components/cpsl-table/table-interface.d.ts +0 -19
@@ -15,8 +15,31 @@ export type Theme = {
|
|
15
15
|
font?: string;
|
16
16
|
customPalette?: CustomPalette;
|
17
17
|
customFontSizes?: CustomFontSizes;
|
18
|
+
customBorderRadii?: CustomBorderRadii;
|
18
19
|
};
|
19
|
-
export type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
20
|
+
export type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
21
|
+
export interface CustomBorderRadii {
|
22
|
+
input?: string;
|
23
|
+
select?: string;
|
24
|
+
fileSelect?: string;
|
25
|
+
alert?: string;
|
26
|
+
tabs?: string;
|
27
|
+
primaryButton?: string;
|
28
|
+
secondaryButton?: string;
|
29
|
+
destructiveButton?: string;
|
30
|
+
tileButton?: string;
|
31
|
+
modal?: string;
|
32
|
+
pill?: string;
|
33
|
+
qrCode?: string;
|
34
|
+
infoBox?: string;
|
35
|
+
tableContainer?: string;
|
36
|
+
switch?: string;
|
37
|
+
checkbox?: string;
|
38
|
+
radio?: string;
|
39
|
+
avatar?: string;
|
40
|
+
card?: string;
|
41
|
+
buttonGroup?: string;
|
42
|
+
}
|
20
43
|
export interface CustomFontSizes {
|
21
44
|
body2XS?: string;
|
22
45
|
bodyXS?: string;
|
@@ -50,6 +73,7 @@ export interface CustomPalette {
|
|
50
73
|
surface?: {
|
51
74
|
disabled?: string;
|
52
75
|
default?: string;
|
76
|
+
hover?: string;
|
53
77
|
};
|
54
78
|
border?: {
|
55
79
|
placeholder?: string;
|
@@ -57,6 +81,32 @@ export interface CustomPalette {
|
|
57
81
|
error?: string;
|
58
82
|
};
|
59
83
|
};
|
84
|
+
select?: {
|
85
|
+
surface?: {
|
86
|
+
disabled?: string;
|
87
|
+
default?: string;
|
88
|
+
hover?: string;
|
89
|
+
};
|
90
|
+
border?: {
|
91
|
+
placeholder?: string;
|
92
|
+
active?: string;
|
93
|
+
error?: string;
|
94
|
+
};
|
95
|
+
dropdown?: {
|
96
|
+
border?: string;
|
97
|
+
};
|
98
|
+
};
|
99
|
+
file?: {
|
100
|
+
surface?: {
|
101
|
+
disabled?: string;
|
102
|
+
default?: string;
|
103
|
+
drag?: string;
|
104
|
+
};
|
105
|
+
border?: {
|
106
|
+
placeholder?: string;
|
107
|
+
error?: string;
|
108
|
+
};
|
109
|
+
};
|
60
110
|
tileButton?: {
|
61
111
|
surface?: {
|
62
112
|
default?: string;
|
@@ -91,6 +141,19 @@ export interface CustomPalette {
|
|
91
141
|
};
|
92
142
|
outline?: string;
|
93
143
|
};
|
144
|
+
destructiveButton?: {
|
145
|
+
surface?: {
|
146
|
+
default?: string;
|
147
|
+
hover?: string;
|
148
|
+
pressed?: string;
|
149
|
+
disabled?: string;
|
150
|
+
};
|
151
|
+
border?: {
|
152
|
+
default?: string;
|
153
|
+
disabled?: string;
|
154
|
+
};
|
155
|
+
outline?: string;
|
156
|
+
};
|
94
157
|
divider?: string;
|
95
158
|
spinner?: {
|
96
159
|
path?: string;
|
@@ -180,3 +243,7 @@ export interface CustomPalette {
|
|
180
243
|
border?: string;
|
181
244
|
};
|
182
245
|
}
|
246
|
+
export interface InteractionCallback {
|
247
|
+
eventName: string;
|
248
|
+
callback: (ev: any) => void;
|
249
|
+
}
|
@@ -768,6 +768,7 @@ export declare namespace JSXBase {
|
|
768
768
|
hrefLang?: string;
|
769
769
|
hreflang?: string;
|
770
770
|
media?: string;
|
771
|
+
ping?: string;
|
771
772
|
rel?: string;
|
772
773
|
target?: string;
|
773
774
|
referrerPolicy?: ReferrerPolicy;
|
@@ -794,7 +795,6 @@ export declare namespace JSXBase {
|
|
794
795
|
cite?: string;
|
795
796
|
}
|
796
797
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
797
|
-
autoFocus?: boolean;
|
798
798
|
disabled?: boolean;
|
799
799
|
form?: string;
|
800
800
|
formAction?: string;
|
@@ -921,8 +921,6 @@ export declare namespace JSXBase {
|
|
921
921
|
autocapitalize?: string;
|
922
922
|
autoComplete?: string;
|
923
923
|
autocomplete?: string;
|
924
|
-
autoFocus?: boolean;
|
925
|
-
autofocus?: boolean | string;
|
926
924
|
capture?: string;
|
927
925
|
checked?: boolean;
|
928
926
|
crossOrigin?: string;
|
@@ -979,8 +977,6 @@ export declare namespace JSXBase {
|
|
979
977
|
popoverTarget?: string;
|
980
978
|
}
|
981
979
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
982
|
-
autoFocus?: boolean;
|
983
|
-
autofocus?: boolean | string;
|
984
980
|
challenge?: string;
|
985
981
|
disabled?: boolean;
|
986
982
|
form?: string;
|
@@ -1129,7 +1125,6 @@ export declare namespace JSXBase {
|
|
1129
1125
|
type?: string;
|
1130
1126
|
}
|
1131
1127
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
1132
|
-
autoFocus?: boolean;
|
1133
1128
|
disabled?: boolean;
|
1134
1129
|
form?: string;
|
1135
1130
|
multiple?: boolean;
|
@@ -1164,8 +1159,6 @@ export declare namespace JSXBase {
|
|
1164
1159
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
1165
1160
|
autoComplete?: string;
|
1166
1161
|
autocomplete?: string;
|
1167
|
-
autoFocus?: boolean;
|
1168
|
-
autofocus?: boolean | string;
|
1169
1162
|
cols?: number;
|
1170
1163
|
disabled?: boolean;
|
1171
1164
|
form?: string;
|
@@ -1218,6 +1211,8 @@ export declare namespace JSXBase {
|
|
1218
1211
|
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
1219
1212
|
innerHTML?: string;
|
1220
1213
|
accessKey?: string;
|
1214
|
+
autoFocus?: boolean;
|
1215
|
+
autofocus?: boolean | string;
|
1221
1216
|
class?: string | {
|
1222
1217
|
[className: string]: boolean;
|
1223
1218
|
};
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { Theme } from '../../interface';
|
2
|
-
export declare const generateBorderRadii: ({ borderRadius }: Pick<Theme, 'borderRadius'>) => void;
|
2
|
+
export declare const generateBorderRadii: ({ borderRadius, customBorderRadii }: Pick<Theme, 'borderRadius' | 'customBorderRadii'>) => void;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { Theme } from '../../interface';
|
2
|
-
export declare const generateTheme: ({ foregroundColor, backgroundColor, font, customPalette, borderRadius, customFontSizes, }: Theme) => boolean;
|
2
|
+
export declare const generateTheme: ({ foregroundColor, backgroundColor, font, customPalette, borderRadius, customFontSizes, customBorderRadii, }: Theme) => boolean;
|
@@ -1,6 +1,9 @@
|
|
1
|
-
import { CustomPalette } from '../../interface';
|
1
|
+
import { CustomBorderRadii, CustomPalette } from '../../interface';
|
2
2
|
export declare const isColor: (strColor: any) => boolean;
|
3
3
|
export declare const getCssColors: (customPalette: CustomPalette) => {
|
4
4
|
[k: string]: string;
|
5
5
|
};
|
6
|
+
export declare const getCssBorderRadii: (customBorderRadii: CustomBorderRadii) => {
|
7
|
+
[k: string]: string;
|
8
|
+
};
|
6
9
|
export declare const overlayMix: (baseColor: string, overlayColor: string) => string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@usecapsule/core-components",
|
3
|
-
"version": "3.0
|
3
|
+
"version": "3.1.0",
|
4
4
|
"description": "Capsule Core Components",
|
5
5
|
"main": "dist/index.cjs.js",
|
6
6
|
"module": "dist/index.js",
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"stencil-inline-svg": "^1.1.0",
|
52
52
|
"ts-node": "^10.9.2"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "aa59622ddf088e8612d1c09f8d0695ec0f42111f"
|
55
55
|
}
|