@base-framework/ui 1.0.305 → 1.0.307
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/index.es.js +97 -93
- package/dist/organisms.es.js +59 -55
- package/dist/{signature-panel-CEqzd6Sa.js → signature-panel-DWBWqY8V.js} +471 -165
- package/dist/types/components/organisms/organisms.d.ts +4 -0
- package/dist/types/components/organisms/tabs/underlined-button-tab.d.ts +60 -0
- package/dist/types/components/organisms/tabs/underlined-tab-examples.d.ts +2 -0
- package/dist/types/components/organisms/tabs/underlined-tab-group.d.ts +48 -0
- package/dist/types/components/organisms/tabs/underlined-tab-navigation.d.ts +63 -0
- package/dist/types/components/organisms/tabs/underlined-tab.d.ts +36 -0
- package/package.json +1 -1
|
@@ -40,4 +40,8 @@ export * from "./tabs/button-tab.js";
|
|
|
40
40
|
export * from "./tabs/tab-group.js";
|
|
41
41
|
export * from "./tabs/tab-navigation.js";
|
|
42
42
|
export * from "./tabs/tab.js";
|
|
43
|
+
export * from "./tabs/underlined-button-tab.js";
|
|
44
|
+
export * from "./tabs/underlined-tab-group.js";
|
|
45
|
+
export * from "./tabs/underlined-tab-navigation.js";
|
|
46
|
+
export * from "./tabs/underlined-tab.js";
|
|
43
47
|
export * from "./signature/signature-panel.js";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UnderlinedButtonTab
|
|
3
|
+
*
|
|
4
|
+
* This will create an underlined button tab component with content switching.
|
|
5
|
+
*
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export class UnderlinedButtonTab extends Component {
|
|
9
|
+
/**
|
|
10
|
+
* This will set the options.
|
|
11
|
+
* @member {array} options
|
|
12
|
+
* @default []
|
|
13
|
+
*/
|
|
14
|
+
options: any[];
|
|
15
|
+
/**
|
|
16
|
+
* This will set the class.
|
|
17
|
+
* @member {string} class
|
|
18
|
+
* @default ''
|
|
19
|
+
*/
|
|
20
|
+
class: string;
|
|
21
|
+
/**
|
|
22
|
+
* This will set the select call back.
|
|
23
|
+
* @member {function} callBack
|
|
24
|
+
*/
|
|
25
|
+
onSelect: any;
|
|
26
|
+
/**
|
|
27
|
+
* This will render the component.
|
|
28
|
+
*
|
|
29
|
+
* @returns {object}
|
|
30
|
+
*/
|
|
31
|
+
render(): object;
|
|
32
|
+
/**
|
|
33
|
+
* This will get the first value.
|
|
34
|
+
*
|
|
35
|
+
* @returns {*}
|
|
36
|
+
*/
|
|
37
|
+
getFirstValue(): any;
|
|
38
|
+
/**
|
|
39
|
+
* This will select an option.
|
|
40
|
+
*
|
|
41
|
+
* @param {*} value
|
|
42
|
+
* @returns {void}
|
|
43
|
+
*/
|
|
44
|
+
select(value: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* This will update the content.
|
|
47
|
+
*
|
|
48
|
+
* @param {*} value
|
|
49
|
+
* @returns {object}
|
|
50
|
+
*/
|
|
51
|
+
updateContent(value: any): object;
|
|
52
|
+
/**
|
|
53
|
+
* This will setup the states.
|
|
54
|
+
*
|
|
55
|
+
* @returns {object}
|
|
56
|
+
*/
|
|
57
|
+
setupStates(): object;
|
|
58
|
+
}
|
|
59
|
+
export default UnderlinedButtonTab;
|
|
60
|
+
import { Component } from "@base-framework/base";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UnderlinedTabGroup
|
|
3
|
+
*
|
|
4
|
+
* This will create an underlined tab group with bottom border indicators.
|
|
5
|
+
*
|
|
6
|
+
* @class
|
|
7
|
+
* @extends Component
|
|
8
|
+
*/
|
|
9
|
+
export class UnderlinedTabGroup extends Component {
|
|
10
|
+
/**
|
|
11
|
+
* This will set the options.
|
|
12
|
+
* @member {array} options
|
|
13
|
+
* @default []
|
|
14
|
+
*/
|
|
15
|
+
options: any[];
|
|
16
|
+
/**
|
|
17
|
+
* This will set the class.
|
|
18
|
+
* @member {string} class
|
|
19
|
+
* @default ''
|
|
20
|
+
*/
|
|
21
|
+
class: string;
|
|
22
|
+
/**
|
|
23
|
+
* This will set the select call back.
|
|
24
|
+
* @member {function} callBack
|
|
25
|
+
*/
|
|
26
|
+
onSelect: any;
|
|
27
|
+
/**
|
|
28
|
+
* This will render the component.
|
|
29
|
+
*
|
|
30
|
+
* @returns {object}
|
|
31
|
+
*/
|
|
32
|
+
render(): object;
|
|
33
|
+
/**
|
|
34
|
+
* This will select an option.
|
|
35
|
+
*
|
|
36
|
+
* @param {*} value
|
|
37
|
+
* @returns {void}
|
|
38
|
+
*/
|
|
39
|
+
select(value: any): void;
|
|
40
|
+
/**
|
|
41
|
+
* This will setup the states.
|
|
42
|
+
*
|
|
43
|
+
* @returns {object}
|
|
44
|
+
*/
|
|
45
|
+
setupStates(): object;
|
|
46
|
+
}
|
|
47
|
+
export default UnderlinedTabGroup;
|
|
48
|
+
import { Component } from '@base-framework/base';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UnderlinedTabNavigation
|
|
3
|
+
*
|
|
4
|
+
* This will create an underlined tab navigation component with active bottom border.
|
|
5
|
+
*
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export class UnderlinedTabNavigation extends Component {
|
|
9
|
+
/**
|
|
10
|
+
* This will set the options.
|
|
11
|
+
* @member {array} options
|
|
12
|
+
* @default []
|
|
13
|
+
*/
|
|
14
|
+
options: any[];
|
|
15
|
+
/**
|
|
16
|
+
* This will set the class.
|
|
17
|
+
* @member {string} class
|
|
18
|
+
* @default ''
|
|
19
|
+
*/
|
|
20
|
+
class: string;
|
|
21
|
+
/**
|
|
22
|
+
* This will set the select call back.
|
|
23
|
+
* @member {function} callBack
|
|
24
|
+
*/
|
|
25
|
+
onSelect: any;
|
|
26
|
+
links: any[];
|
|
27
|
+
/**
|
|
28
|
+
* This will render the component.
|
|
29
|
+
*
|
|
30
|
+
* @returns {object}
|
|
31
|
+
*/
|
|
32
|
+
render(): object;
|
|
33
|
+
/**
|
|
34
|
+
* This will update the links.
|
|
35
|
+
*
|
|
36
|
+
* @param {string} value
|
|
37
|
+
* @returns {void}
|
|
38
|
+
*/
|
|
39
|
+
updateLinks(value: string): void;
|
|
40
|
+
/**
|
|
41
|
+
* This will deactivate all links.
|
|
42
|
+
*
|
|
43
|
+
* @returns {void}
|
|
44
|
+
*/
|
|
45
|
+
deactivateAllLinks(): void;
|
|
46
|
+
/**
|
|
47
|
+
* This will update the link.
|
|
48
|
+
*
|
|
49
|
+
* @param {object} link
|
|
50
|
+
* @param {boolean} selected
|
|
51
|
+
* @returns {void}
|
|
52
|
+
*/
|
|
53
|
+
updateLink(link: object, selected: boolean): void;
|
|
54
|
+
/**
|
|
55
|
+
* This will add a link.
|
|
56
|
+
*
|
|
57
|
+
* @param {object} option
|
|
58
|
+
* @returns {object}
|
|
59
|
+
*/
|
|
60
|
+
addLink({ label: text, href, exact }: object): object;
|
|
61
|
+
}
|
|
62
|
+
export default UnderlinedTabNavigation;
|
|
63
|
+
import { Component } from "@base-framework/base";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UnderlinedTab
|
|
3
|
+
*
|
|
4
|
+
* This will create an underlined tab component that can route
|
|
5
|
+
* to tab panels with an active bottom border indicator.
|
|
6
|
+
*
|
|
7
|
+
* @class
|
|
8
|
+
*/
|
|
9
|
+
export class UnderlinedTab extends Component {
|
|
10
|
+
/**
|
|
11
|
+
* This will set the options.
|
|
12
|
+
* @member {array} options
|
|
13
|
+
* @default []
|
|
14
|
+
*/
|
|
15
|
+
options: any[];
|
|
16
|
+
/**
|
|
17
|
+
* This will set the class.
|
|
18
|
+
* @member {string} class
|
|
19
|
+
* @default ''
|
|
20
|
+
*/
|
|
21
|
+
class: string;
|
|
22
|
+
/**
|
|
23
|
+
* This will render the component.
|
|
24
|
+
*
|
|
25
|
+
* @returns {object}
|
|
26
|
+
*/
|
|
27
|
+
render(): object;
|
|
28
|
+
/**
|
|
29
|
+
* This will add the group.
|
|
30
|
+
*
|
|
31
|
+
* @returns {array}
|
|
32
|
+
*/
|
|
33
|
+
addGroup(): any[];
|
|
34
|
+
}
|
|
35
|
+
export default UnderlinedTab;
|
|
36
|
+
import { Component } from "@base-framework/base";
|
package/package.json
CHANGED