@usecapsule/core-components 3.3.1-dev.0 → 3.4.0-dev.1
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/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/p-9e64a60e.entry.js +2 -0
- package/dist/capsule/p-9e64a60e.entry.js.map +1 -0
- package/dist/capsule/p-afbb1e6f.entry.js +20 -0
- package/dist/capsule/p-afbb1e6f.entry.js.map +1 -0
- package/dist/capsule/{p-32cdf894.entry.js → p-b96e357a.entry.js} +2 -2
- package/dist/capsule/p-b96e357a.entry.js.map +1 -0
- package/dist/capsule/p-cfc382c0.entry.js +2 -0
- package/dist/capsule/{p-de2a16e4.entry.js → p-d165df27.entry.js} +2 -2
- package/dist/capsule/{p-41bc3c58.entry.js → p-f0cd0482.entry.js} +2 -2
- package/dist/cjs/capsule.cjs.js +1 -1
- package/dist/cjs/cpsl-alert_34.cjs.entry.js +74 -65
- package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-col.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-grid.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-hero.cjs.entry.js +4 -3
- package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-nav-button.cjs.entry.js +40 -0
- package/dist/cjs/cpsl-nav-button.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
- package/dist/cjs/index-65f57499.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/icons/folder.svg +5 -0
- package/dist/collection/assets/icons/hero-plus-circle-capsule.svg +14 -0
- package/dist/collection/assets/icons/hero-plus-circle.svg +7 -0
- package/dist/collection/assets/icons/index.js +4 -1
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/plus-circle.svg +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +44 -104
- package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +3 -3
- package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.css +3 -0
- package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js +1 -1
- package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +1 -1
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.js +2 -2
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +2 -2
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +1 -1
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.css +29 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.js +6 -5
- package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.js +1 -1
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.css +107 -0
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js +175 -0
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +0 -42
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +2 -50
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- 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.js +2 -2
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/esm/capsule.js +1 -1
- package/dist/esm/cpsl-alert_34.entry.js +74 -65
- package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
- package/dist/esm/cpsl-col.entry.js +1 -1
- package/dist/esm/cpsl-grid.entry.js +2 -2
- package/dist/esm/cpsl-hero.entry.js +4 -3
- package/dist/esm/cpsl-hero.entry.js.map +1 -1
- package/dist/esm/cpsl-nav-button.entry.js +36 -0
- package/dist/esm/cpsl-nav-button.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +1 -1
- package/dist/esm/index-91db3414.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/assets/icons/index.d.ts +3 -0
- package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +0 -15
- package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +2 -2
- package/dist/types/components/cpsl-nav-button/cpsl-nav-button.d.ts +43 -0
- package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +0 -6
- package/dist/types/components.d.ts +85 -33
- package/package.json +2 -3
- package/dist/capsule/p-0e558c7f.entry.js +0 -10
- package/dist/capsule/p-0e558c7f.entry.js.map +0 -1
- package/dist/capsule/p-32cdf894.entry.js.map +0 -1
- package/dist/capsule/p-3b042fd1.entry.js +0 -2
- package/dist/capsule/p-60508b1e.entry.js +0 -20
- package/dist/capsule/p-60508b1e.entry.js.map +0 -1
- package/dist/cjs/cpsl-animation.cjs.entry.js +0 -20133
- package/dist/cjs/cpsl-animation.cjs.entry.js.map +0 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.css +0 -17
- package/dist/esm/cpsl-animation.entry.js +0 -20129
- package/dist/esm/cpsl-animation.entry.js.map +0 -1
- /package/dist/capsule/{p-3b042fd1.entry.js.map → p-cfc382c0.entry.js.map} +0 -0
- /package/dist/capsule/{p-de2a16e4.entry.js.map → p-d165df27.entry.js.map} +0 -0
- /package/dist/capsule/{p-41bc3c58.entry.js.map → p-f0cd0482.entry.js.map} +0 -0
- /package/dist/types/Users/{taylorbosch/Documents/GitHub/Capsule → norwood/capsule-repos}/web-sdk/packages/core-components/.stencil/scripts/buildAssets.d.ts +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class CpslNavButton {
|
|
3
|
+
el: HTMLCpslNavButtonElement;
|
|
4
|
+
/**
|
|
5
|
+
* If the button is disabled.
|
|
6
|
+
* Default is: false.
|
|
7
|
+
*/
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether or not to use exact matching for the selected main route.
|
|
11
|
+
*/
|
|
12
|
+
exactMainRouteMatch?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether or not to use exact matching for the selected sub route.
|
|
15
|
+
*/
|
|
16
|
+
exactSubRouteMatch?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The route for the button.
|
|
19
|
+
*/
|
|
20
|
+
route: string;
|
|
21
|
+
/**
|
|
22
|
+
* The id of the selected button.
|
|
23
|
+
*/
|
|
24
|
+
subRoutes?: {
|
|
25
|
+
label: string;
|
|
26
|
+
value: string;
|
|
27
|
+
}[];
|
|
28
|
+
/**
|
|
29
|
+
* Path used to determine what button is selected
|
|
30
|
+
*/
|
|
31
|
+
path?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Called when the nav button is clicked.
|
|
34
|
+
*/
|
|
35
|
+
cpslNavButtonClick: EventEmitter<string>;
|
|
36
|
+
private handleNavButtonClick;
|
|
37
|
+
/**
|
|
38
|
+
* Called when a nav button sub route is clicked.
|
|
39
|
+
*/
|
|
40
|
+
cpslNavButtonSubRouteClick: EventEmitter<string>;
|
|
41
|
+
private handleSubRouteClick;
|
|
42
|
+
render(): any;
|
|
43
|
+
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
export declare class CpslNavButtonGroup {
|
|
2
2
|
el: HTMLCpslNavButtonGroupElement;
|
|
3
|
-
/**
|
|
4
|
-
* The id of the selected button.
|
|
5
|
-
*/
|
|
6
|
-
selectedId?: string;
|
|
7
|
-
selectItem(): void;
|
|
8
3
|
componentWillRender(): void;
|
|
9
|
-
private get buttonSlots();
|
|
10
4
|
private get otherSlots();
|
|
11
5
|
render(): any;
|
|
12
6
|
}
|
|
@@ -28,16 +28,6 @@ export namespace Components {
|
|
|
28
28
|
*/
|
|
29
29
|
"variant"?: 'error' | 'warning' | 'success' | 'custom';
|
|
30
30
|
}
|
|
31
|
-
interface CpslAnimation {
|
|
32
|
-
/**
|
|
33
|
-
* Will replay the animation
|
|
34
|
-
*/
|
|
35
|
-
"replayAnimation": () => Promise<void>;
|
|
36
|
-
/**
|
|
37
|
-
* Source of the Lottie animation file.
|
|
38
|
-
*/
|
|
39
|
-
"src": string;
|
|
40
|
-
}
|
|
41
31
|
interface CpslAppBar {
|
|
42
32
|
/**
|
|
43
33
|
* Height of the app bar.
|
|
@@ -366,9 +356,9 @@ export namespace Components {
|
|
|
366
356
|
"subtitle"?: string;
|
|
367
357
|
"title": string;
|
|
368
358
|
/**
|
|
369
|
-
* The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed". Default is: `"connection"`.
|
|
359
|
+
* The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved",`"add", `"failed". Default is: `"connection"`.
|
|
370
360
|
*/
|
|
371
|
-
"variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
|
|
361
|
+
"variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'add' | 'failed';
|
|
372
362
|
/**
|
|
373
363
|
* Whether to use the Capsule custom theming or use the provided theme Default is: `false`.
|
|
374
364
|
*/
|
|
@@ -555,11 +545,33 @@ export namespace Components {
|
|
|
555
545
|
*/
|
|
556
546
|
"zIndexOverride"?: number;
|
|
557
547
|
}
|
|
558
|
-
interface
|
|
548
|
+
interface CpslNavButton {
|
|
549
|
+
/**
|
|
550
|
+
* If the button is disabled. Default is: false.
|
|
551
|
+
*/
|
|
552
|
+
"disabled"?: boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Whether or not to use exact matching for the selected main route.
|
|
555
|
+
*/
|
|
556
|
+
"exactMainRouteMatch"?: boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Whether or not to use exact matching for the selected sub route.
|
|
559
|
+
*/
|
|
560
|
+
"exactSubRouteMatch"?: boolean;
|
|
561
|
+
/**
|
|
562
|
+
* Path used to determine what button is selected
|
|
563
|
+
*/
|
|
564
|
+
"path"?: string;
|
|
565
|
+
/**
|
|
566
|
+
* The route for the button.
|
|
567
|
+
*/
|
|
568
|
+
"route": string;
|
|
559
569
|
/**
|
|
560
570
|
* The id of the selected button.
|
|
561
571
|
*/
|
|
562
|
-
"
|
|
572
|
+
"subRoutes"?: { label: string; value: string }[];
|
|
573
|
+
}
|
|
574
|
+
interface CpslNavButtonGroup {
|
|
563
575
|
}
|
|
564
576
|
interface CpslOverlay {
|
|
565
577
|
/**
|
|
@@ -870,6 +882,10 @@ export interface CpslModalV2CustomEvent<T> extends CustomEvent<T> {
|
|
|
870
882
|
detail: T;
|
|
871
883
|
target: HTMLCpslModalV2Element;
|
|
872
884
|
}
|
|
885
|
+
export interface CpslNavButtonCustomEvent<T> extends CustomEvent<T> {
|
|
886
|
+
detail: T;
|
|
887
|
+
target: HTMLCpslNavButtonElement;
|
|
888
|
+
}
|
|
873
889
|
export interface CpslPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
874
890
|
detail: T;
|
|
875
891
|
target: HTMLCpslPaginationElement;
|
|
@@ -913,12 +929,6 @@ declare global {
|
|
|
913
929
|
prototype: HTMLCpslAlertElement;
|
|
914
930
|
new (): HTMLCpslAlertElement;
|
|
915
931
|
};
|
|
916
|
-
interface HTMLCpslAnimationElement extends Components.CpslAnimation, HTMLStencilElement {
|
|
917
|
-
}
|
|
918
|
-
var HTMLCpslAnimationElement: {
|
|
919
|
-
prototype: HTMLCpslAnimationElement;
|
|
920
|
-
new (): HTMLCpslAnimationElement;
|
|
921
|
-
};
|
|
922
932
|
interface HTMLCpslAppBarElement extends Components.CpslAppBar, HTMLStencilElement {
|
|
923
933
|
}
|
|
924
934
|
var HTMLCpslAppBarElement: {
|
|
@@ -1137,6 +1147,24 @@ declare global {
|
|
|
1137
1147
|
prototype: HTMLCpslModalV2Element;
|
|
1138
1148
|
new (): HTMLCpslModalV2Element;
|
|
1139
1149
|
};
|
|
1150
|
+
interface HTMLCpslNavButtonElementEventMap {
|
|
1151
|
+
"cpslNavButtonClick": string;
|
|
1152
|
+
"cpslNavButtonSubRouteClick": string;
|
|
1153
|
+
}
|
|
1154
|
+
interface HTMLCpslNavButtonElement extends Components.CpslNavButton, HTMLStencilElement {
|
|
1155
|
+
addEventListener<K extends keyof HTMLCpslNavButtonElementEventMap>(type: K, listener: (this: HTMLCpslNavButtonElement, ev: CpslNavButtonCustomEvent<HTMLCpslNavButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1156
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1157
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1158
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1159
|
+
removeEventListener<K extends keyof HTMLCpslNavButtonElementEventMap>(type: K, listener: (this: HTMLCpslNavButtonElement, ev: CpslNavButtonCustomEvent<HTMLCpslNavButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1160
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1161
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1162
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1163
|
+
}
|
|
1164
|
+
var HTMLCpslNavButtonElement: {
|
|
1165
|
+
prototype: HTMLCpslNavButtonElement;
|
|
1166
|
+
new (): HTMLCpslNavButtonElement;
|
|
1167
|
+
};
|
|
1140
1168
|
interface HTMLCpslNavButtonGroupElement extends Components.CpslNavButtonGroup, HTMLStencilElement {
|
|
1141
1169
|
}
|
|
1142
1170
|
var HTMLCpslNavButtonGroupElement: {
|
|
@@ -1357,7 +1385,6 @@ declare global {
|
|
|
1357
1385
|
};
|
|
1358
1386
|
interface HTMLElementTagNameMap {
|
|
1359
1387
|
"cpsl-alert": HTMLCpslAlertElement;
|
|
1360
|
-
"cpsl-animation": HTMLCpslAnimationElement;
|
|
1361
1388
|
"cpsl-app-bar": HTMLCpslAppBarElement;
|
|
1362
1389
|
"cpsl-auth-modal": HTMLCpslAuthModalElement;
|
|
1363
1390
|
"cpsl-avatar": HTMLCpslAvatarElement;
|
|
@@ -1379,6 +1406,7 @@ declare global {
|
|
|
1379
1406
|
"cpsl-info-box": HTMLCpslInfoBoxElement;
|
|
1380
1407
|
"cpsl-input": HTMLCpslInputElement;
|
|
1381
1408
|
"cpsl-modal-v2": HTMLCpslModalV2Element;
|
|
1409
|
+
"cpsl-nav-button": HTMLCpslNavButtonElement;
|
|
1382
1410
|
"cpsl-nav-button-group": HTMLCpslNavButtonGroupElement;
|
|
1383
1411
|
"cpsl-overlay": HTMLCpslOverlayElement;
|
|
1384
1412
|
"cpsl-pagination": HTMLCpslPaginationElement;
|
|
@@ -1411,12 +1439,6 @@ declare namespace LocalJSX {
|
|
|
1411
1439
|
*/
|
|
1412
1440
|
"variant"?: 'error' | 'warning' | 'success' | 'custom';
|
|
1413
1441
|
}
|
|
1414
|
-
interface CpslAnimation {
|
|
1415
|
-
/**
|
|
1416
|
-
* Source of the Lottie animation file.
|
|
1417
|
-
*/
|
|
1418
|
-
"src"?: string;
|
|
1419
|
-
}
|
|
1420
1442
|
interface CpslAppBar {
|
|
1421
1443
|
/**
|
|
1422
1444
|
* Height of the app bar.
|
|
@@ -1797,9 +1819,9 @@ declare namespace LocalJSX {
|
|
|
1797
1819
|
"subtitle"?: string;
|
|
1798
1820
|
"title"?: string;
|
|
1799
1821
|
/**
|
|
1800
|
-
* The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved", `"failed". Default is: `"connection"`.
|
|
1822
|
+
* The variant of the button. Options are: `"customContent"`, `"connection"`, `"externalWalletConnection"`, `"pending", `"approved",`"add", `"failed". Default is: `"connection"`.
|
|
1801
1823
|
*/
|
|
1802
|
-
"variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'failed';
|
|
1824
|
+
"variant"?: 'customContent' | 'connection' | 'externalWalletConnection' | 'pending' | 'approved' | 'add' | 'failed';
|
|
1803
1825
|
/**
|
|
1804
1826
|
* Whether to use the Capsule custom theming or use the provided theme Default is: `false`.
|
|
1805
1827
|
*/
|
|
@@ -2022,11 +2044,41 @@ declare namespace LocalJSX {
|
|
|
2022
2044
|
*/
|
|
2023
2045
|
"zIndexOverride"?: number;
|
|
2024
2046
|
}
|
|
2025
|
-
interface
|
|
2047
|
+
interface CpslNavButton {
|
|
2048
|
+
/**
|
|
2049
|
+
* If the button is disabled. Default is: false.
|
|
2050
|
+
*/
|
|
2051
|
+
"disabled"?: boolean;
|
|
2052
|
+
/**
|
|
2053
|
+
* Whether or not to use exact matching for the selected main route.
|
|
2054
|
+
*/
|
|
2055
|
+
"exactMainRouteMatch"?: boolean;
|
|
2056
|
+
/**
|
|
2057
|
+
* Whether or not to use exact matching for the selected sub route.
|
|
2058
|
+
*/
|
|
2059
|
+
"exactSubRouteMatch"?: boolean;
|
|
2060
|
+
/**
|
|
2061
|
+
* Called when the nav button is clicked.
|
|
2062
|
+
*/
|
|
2063
|
+
"onCpslNavButtonClick"?: (event: CpslNavButtonCustomEvent<string>) => void;
|
|
2064
|
+
/**
|
|
2065
|
+
* Called when a nav button sub route is clicked.
|
|
2066
|
+
*/
|
|
2067
|
+
"onCpslNavButtonSubRouteClick"?: (event: CpslNavButtonCustomEvent<string>) => void;
|
|
2068
|
+
/**
|
|
2069
|
+
* Path used to determine what button is selected
|
|
2070
|
+
*/
|
|
2071
|
+
"path"?: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* The route for the button.
|
|
2074
|
+
*/
|
|
2075
|
+
"route"?: string;
|
|
2026
2076
|
/**
|
|
2027
2077
|
* The id of the selected button.
|
|
2028
2078
|
*/
|
|
2029
|
-
"
|
|
2079
|
+
"subRoutes"?: { label: string; value: string }[];
|
|
2080
|
+
}
|
|
2081
|
+
interface CpslNavButtonGroup {
|
|
2030
2082
|
}
|
|
2031
2083
|
interface CpslOverlay {
|
|
2032
2084
|
/**
|
|
@@ -2350,7 +2402,6 @@ declare namespace LocalJSX {
|
|
|
2350
2402
|
}
|
|
2351
2403
|
interface IntrinsicElements {
|
|
2352
2404
|
"cpsl-alert": CpslAlert;
|
|
2353
|
-
"cpsl-animation": CpslAnimation;
|
|
2354
2405
|
"cpsl-app-bar": CpslAppBar;
|
|
2355
2406
|
"cpsl-auth-modal": CpslAuthModal;
|
|
2356
2407
|
"cpsl-avatar": CpslAvatar;
|
|
@@ -2372,6 +2423,7 @@ declare namespace LocalJSX {
|
|
|
2372
2423
|
"cpsl-info-box": CpslInfoBox;
|
|
2373
2424
|
"cpsl-input": CpslInput;
|
|
2374
2425
|
"cpsl-modal-v2": CpslModalV2;
|
|
2426
|
+
"cpsl-nav-button": CpslNavButton;
|
|
2375
2427
|
"cpsl-nav-button-group": CpslNavButtonGroup;
|
|
2376
2428
|
"cpsl-overlay": CpslOverlay;
|
|
2377
2429
|
"cpsl-pagination": CpslPagination;
|
|
@@ -2398,7 +2450,6 @@ declare module "@stencil/core" {
|
|
|
2398
2450
|
export namespace JSX {
|
|
2399
2451
|
interface IntrinsicElements {
|
|
2400
2452
|
"cpsl-alert": LocalJSX.CpslAlert & JSXBase.HTMLAttributes<HTMLCpslAlertElement>;
|
|
2401
|
-
"cpsl-animation": LocalJSX.CpslAnimation & JSXBase.HTMLAttributes<HTMLCpslAnimationElement>;
|
|
2402
2453
|
"cpsl-app-bar": LocalJSX.CpslAppBar & JSXBase.HTMLAttributes<HTMLCpslAppBarElement>;
|
|
2403
2454
|
"cpsl-auth-modal": LocalJSX.CpslAuthModal & JSXBase.HTMLAttributes<HTMLCpslAuthModalElement>;
|
|
2404
2455
|
"cpsl-avatar": LocalJSX.CpslAvatar & JSXBase.HTMLAttributes<HTMLCpslAvatarElement>;
|
|
@@ -2420,6 +2471,7 @@ declare module "@stencil/core" {
|
|
|
2420
2471
|
"cpsl-info-box": LocalJSX.CpslInfoBox & JSXBase.HTMLAttributes<HTMLCpslInfoBoxElement>;
|
|
2421
2472
|
"cpsl-input": LocalJSX.CpslInput & JSXBase.HTMLAttributes<HTMLCpslInputElement>;
|
|
2422
2473
|
"cpsl-modal-v2": LocalJSX.CpslModalV2 & JSXBase.HTMLAttributes<HTMLCpslModalV2Element>;
|
|
2474
|
+
"cpsl-nav-button": LocalJSX.CpslNavButton & JSXBase.HTMLAttributes<HTMLCpslNavButtonElement>;
|
|
2423
2475
|
"cpsl-nav-button-group": LocalJSX.CpslNavButtonGroup & JSXBase.HTMLAttributes<HTMLCpslNavButtonGroupElement>;
|
|
2424
2476
|
"cpsl-overlay": LocalJSX.CpslOverlay & JSXBase.HTMLAttributes<HTMLCpslOverlayElement>;
|
|
2425
2477
|
"cpsl-pagination": LocalJSX.CpslPagination & JSXBase.HTMLAttributes<HTMLCpslPaginationElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usecapsule/core-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0-dev.1",
|
|
4
4
|
"description": "Capsule Core Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -60,6 +60,5 @@
|
|
|
60
60
|
"storybook": "^8.1.11",
|
|
61
61
|
"storybook-addon-stencil": "^0.2.1",
|
|
62
62
|
"ts-node": "^10.9.2"
|
|
63
|
-
}
|
|
64
|
-
"gitHead": "644b75f792982fd7c593301c4b3e980377706de8"
|
|
63
|
+
}
|
|
65
64
|
}
|