@ncino/web-components 5.1.0-preview.10 → 5.1.0-preview.12
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/components/boolean/boolean.gator.js +8 -9
- package/dist/components/checkbox/checkbox.gator.js +26 -23
- package/dist/components/checkbox-group/checkbox-group.gator.js +7 -8
- package/dist/components/input/gator/input-text/input-text.gator.js +13 -13
- package/dist/components/radio/radio.gator.js +28 -22
- package/dist/components/radio-group/radio-group.gator.js +13 -15
- package/dist/components/selection-box-group/selection-box-group.gator.js +10 -12
- package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/help-text/help-text.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/input.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/radio/radio.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/radio-group/radio-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/selection-box/selection-box.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/table/gator/table-bulk-controls/table-bulk-controls.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
- package/dist/types/components/boolean/boolean.gator.d.ts +2 -36
- package/dist/types/components/checkbox/checkbox.gator.d.ts +5 -10
- package/dist/types/components/checkbox-group/checkbox-group.gator.d.ts +2 -30
- package/dist/types/components/progress-bar/gator/progress-bar.gator.d.ts +1 -1
- package/dist/types/components/radio/radio.gator.d.ts +9 -25
- package/dist/types/components/radio-group/radio-group.gator.d.ts +2 -30
- package/dist/types/components/selection-box-group/selection-box-group.gator.d.ts +2 -32
- package/package.json +1 -1
- package/web-types.json +674 -212
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NgcSelectionBox } from '../selection-box/selection-box.gator';
|
|
2
|
-
import {
|
|
2
|
+
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
3
3
|
export type NGC_SELECTION_BOX_GROUP_OPTION = {
|
|
4
4
|
title: string;
|
|
5
5
|
subtitle?: string;
|
|
@@ -8,47 +8,17 @@ export type NGC_SELECTION_BOX_GROUP_OPTION = {
|
|
|
8
8
|
/**
|
|
9
9
|
* @slot - The selection boxes within the group
|
|
10
10
|
*/
|
|
11
|
-
export declare class NgcSelectionBoxGroup extends
|
|
11
|
+
export declare class NgcSelectionBoxGroup extends NgcInputText {
|
|
12
12
|
static styles: import('lit').CSSResult[];
|
|
13
|
-
/**
|
|
14
|
-
* @property {string} id - The id for the selection group. If one is not provided, a random id will be generated.
|
|
15
|
-
*/
|
|
16
|
-
id: string;
|
|
17
13
|
/**
|
|
18
14
|
* @property {NGC_SELECTION_BOX_GROUP_OPTION[]} options - Options to render as radio buttons. Each option must have a title and value property and can optionally have a subtitle property.
|
|
19
15
|
*/
|
|
20
16
|
options: NGC_SELECTION_BOX_GROUP_OPTION[];
|
|
21
|
-
/**
|
|
22
|
-
* @property {boolean} disabled - Defines if the selection group should be disabled. Disabled selection groups cannot be selected.
|
|
23
|
-
*/
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @property {string} value - Defines the current value of the selection group.
|
|
27
|
-
*/
|
|
28
|
-
value: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* @property {string} label - Defines the visible label of the selection group.
|
|
31
|
-
*/
|
|
32
|
-
label: string;
|
|
33
|
-
/**
|
|
34
|
-
* @property {string} helpText - Defines optional help text to be displayed below the selection group.
|
|
35
|
-
*/
|
|
36
|
-
helpText: string;
|
|
37
17
|
/**
|
|
38
18
|
* @property {string} type - Defines if the selection box group should be multi-select or single-select.
|
|
39
19
|
*/
|
|
40
20
|
type: string;
|
|
41
|
-
/**
|
|
42
|
-
* @property {boolean} hasError - Defines if the selection group should be rendered in an error state.
|
|
43
|
-
*/
|
|
44
|
-
hasError: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @property {string} errorMessage - Defines an optional error message to be displayed below the selection group when in an error state.
|
|
47
|
-
*/
|
|
48
|
-
errorMessage: string;
|
|
49
|
-
private _randomId;
|
|
50
21
|
render(): import('lit').TemplateResult<1>;
|
|
51
|
-
get elementId(): string;
|
|
52
22
|
get radioGroupMarkup(): import('lit').TemplateResult<1>;
|
|
53
23
|
get checkboxGroupMarkup(): import('lit').TemplateResult<1>;
|
|
54
24
|
get optionsMarkup(): import('lit').TemplateResult<1>;
|
package/package.json
CHANGED