igniteui-webcomponents 4.1.1 → 4.2.0
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/CHANGELOG.md +13 -1
- package/animations/easings.d.ts +31 -0
- package/animations/easings.js +35 -0
- package/animations/easings.js.map +1 -0
- package/animations/index.d.ts +3 -0
- package/animations/index.js +4 -0
- package/animations/index.js.map +1 -0
- package/animations/player.d.ts +9 -0
- package/animations/player.js +47 -0
- package/animations/player.js.map +1 -0
- package/animations/presets/grow/index.d.ts +3 -0
- package/animations/presets/grow/index.js +18 -0
- package/animations/presets/grow/index.js.map +1 -0
- package/animations/presets/index.d.ts +1 -0
- package/animations/presets/index.js +2 -0
- package/animations/presets/index.js.map +1 -0
- package/animations/types.d.ts +5 -0
- package/animations/types.js +7 -0
- package/animations/types.js.map +1 -0
- package/components/accordion/accordion.js +4 -4
- package/components/accordion/accordion.js.map +1 -1
- package/components/accordion/themes/accordion.base.css.js +10 -0
- package/components/accordion/themes/accordion.base.css.js.map +1 -1
- package/components/badge/themes/light/badge.base.css.js +15 -11
- package/components/badge/themes/light/badge.base.css.js.map +1 -1
- package/components/badge/themes/light/badge.bootstrap.css.js +4 -5
- package/components/badge/themes/light/badge.bootstrap.css.js.map +1 -1
- package/components/combo/combo-item.d.ts +2 -0
- package/components/combo/combo-item.js +16 -9
- package/components/combo/combo-item.js.map +1 -1
- package/components/combo/combo.d.ts +56 -8
- package/components/combo/combo.js +99 -17
- package/components/combo/combo.js.map +1 -1
- package/components/combo/controllers/navigation.d.ts +7 -4
- package/components/combo/controllers/navigation.js +37 -5
- package/components/combo/controllers/navigation.js.map +1 -1
- package/components/combo/controllers/selection.d.ts +4 -3
- package/components/combo/controllers/selection.js +21 -10
- package/components/combo/controllers/selection.js.map +1 -1
- package/components/combo/themes/light/combo.base.css.js +23 -16
- package/components/combo/themes/light/combo.base.css.js.map +1 -1
- package/components/combo/themes/light/combo.bootstrap.css.js +32 -0
- package/components/combo/themes/light/combo.bootstrap.css.js.map +1 -1
- package/components/combo/themes/light/combo.fluent.css.js +35 -2
- package/components/combo/themes/light/combo.fluent.css.js.map +1 -1
- package/components/combo/themes/light/combo.indigo.css.js +22 -12
- package/components/combo/themes/light/combo.indigo.css.js.map +1 -1
- package/components/combo/themes/light/combo.material.css.js +47 -3
- package/components/combo/themes/light/combo.material.css.js.map +1 -1
- package/components/combo/types.d.ts +1 -0
- package/components/combo/types.js.map +1 -1
- package/components/expansion-panel/expansion-panel.d.ts +4 -0
- package/components/expansion-panel/expansion-panel.js +32 -6
- package/components/expansion-panel/expansion-panel.js.map +1 -1
- package/components/expansion-panel/themes/light/expansion-panel.base.css.js +49 -2
- package/components/expansion-panel/themes/light/expansion-panel.base.css.js.map +1 -1
- package/components/input/themes/light/input.bootstrap.css.js +20 -3
- package/components/input/themes/light/input.bootstrap.css.js.map +1 -1
- package/components/input/themes/light/input.fluent.css.js +19 -5
- package/components/input/themes/light/input.fluent.css.js.map +1 -1
- package/components/input/themes/light/input.indigo.css.js +31 -7
- package/components/input/themes/light/input.indigo.css.js.map +1 -1
- package/components/input/themes/light/input.material.css.js +5 -7
- package/components/input/themes/light/input.material.css.js.map +1 -1
- package/components/nav-drawer/themes/light/fluent/nav-drawer-item.fluent.css.js +1 -1
- package/components/nav-drawer/themes/light/fluent/nav-drawer-item.fluent.css.js.map +1 -1
- package/components/nav-drawer/themes/light/indigo/nav-drawer-item.indigo.css.js +1 -1
- package/components/nav-drawer/themes/light/indigo/nav-drawer-item.indigo.css.js.map +1 -1
- package/components/nav-drawer/themes/light/nav-drawer-item.base.css.js +11 -11
- package/components/nav-drawer/themes/light/nav-drawer-item.base.css.js.map +1 -1
- package/components/radio/themes/dark/radio.material.css.d.ts +1 -0
- package/components/radio/themes/dark/radio.material.css.js +3 -0
- package/components/radio/themes/dark/radio.material.css.js.map +1 -0
- package/components/radio/themes/light/radio.base.css.js +0 -3
- package/components/radio/themes/light/radio.base.css.js.map +1 -1
- package/components/radio/themes/light/radio.fluent.css.js +10 -9
- package/components/radio/themes/light/radio.fluent.css.js.map +1 -1
- package/components/radio/themes/light/radio.material.css.js +17 -3
- package/components/radio/themes/light/radio.material.css.js.map +1 -1
- package/components/radio-group/radio-group.base.css.js +2 -8
- package/components/radio-group/radio-group.base.css.js.map +1 -1
- package/components/radio-group/radio-group.fluent.css.d.ts +1 -0
- package/components/radio-group/radio-group.fluent.css.js +6 -0
- package/components/radio-group/radio-group.fluent.css.js.map +1 -0
- package/components/radio-group/radio-group.js +9 -2
- package/components/radio-group/radio-group.js.map +1 -1
- package/components/radio-group/radio-group.material.css.d.ts +1 -0
- package/components/radio-group/radio-group.material.css.js +10 -0
- package/components/radio-group/radio-group.material.css.js.map +1 -0
- package/components/select/themes/light/select.base.css.js +16 -15
- package/components/select/themes/light/select.base.css.js.map +1 -1
- package/components/select/themes/light/select.bootstrap.css.js +7 -0
- package/components/select/themes/light/select.bootstrap.css.js.map +1 -1
- package/components/select/themes/light/select.fluent.css.js +11 -0
- package/components/select/themes/light/select.fluent.css.js.map +1 -1
- package/components/select/themes/light/select.indigo.css.js +10 -1
- package/components/select/themes/light/select.indigo.css.js.map +1 -1
- package/components/select/themes/light/select.material.css.js +14 -0
- package/components/select/themes/light/select.material.css.js.map +1 -1
- package/components/toggle/toggle.controller.js.map +1 -1
- package/components/toggle/toggle.directive.js.map +1 -1
- package/custom-elements.json +24 -0
- package/package.json +2 -2
- package/themes/dark/bootstrap.css +3 -1
- package/themes/dark/fluent.css +4 -3
- package/themes/dark/indigo.css +3 -1
- package/themes/dark/material.css +12 -1
- package/vscode-html-custom-data.json +13 -3
|
@@ -10,8 +10,11 @@ import { defineComponents } from '../common/definitions/defineComponents.js';
|
|
|
10
10
|
import { isLTR } from '../common/util.js';
|
|
11
11
|
import IgcRadioComponent from '../radio/radio.js';
|
|
12
12
|
import { styles } from './radio-group.base.css.js';
|
|
13
|
+
import { styles as material } from './radio-group.material.css.js';
|
|
14
|
+
import { styles as fluent } from './radio-group.fluent.css.js';
|
|
15
|
+
import { themes } from '../../theming/theming-decorator.js';
|
|
13
16
|
defineComponents(IgcRadioComponent);
|
|
14
|
-
|
|
17
|
+
let IgcRadioGroupComponent = class IgcRadioGroupComponent extends LitElement {
|
|
15
18
|
constructor() {
|
|
16
19
|
super();
|
|
17
20
|
this.alignment = 'vertical';
|
|
@@ -63,7 +66,7 @@ export default class IgcRadioGroupComponent extends LitElement {
|
|
|
63
66
|
render() {
|
|
64
67
|
return html `<slot @slotchange=${this.updateRequiredState}></slot>`;
|
|
65
68
|
}
|
|
66
|
-
}
|
|
69
|
+
};
|
|
67
70
|
IgcRadioGroupComponent.tagName = 'igc-radio-group';
|
|
68
71
|
IgcRadioGroupComponent.styles = styles;
|
|
69
72
|
__decorate([
|
|
@@ -75,4 +78,8 @@ __decorate([
|
|
|
75
78
|
__decorate([
|
|
76
79
|
property({ reflect: true })
|
|
77
80
|
], IgcRadioGroupComponent.prototype, "alignment", void 0);
|
|
81
|
+
IgcRadioGroupComponent = __decorate([
|
|
82
|
+
themes({ material, fluent })
|
|
83
|
+
], IgcRadioGroupComponent);
|
|
84
|
+
export default IgcRadioGroupComponent;
|
|
78
85
|
//# sourceMappingURL=radio-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/components/radio-group/radio-group.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,iBAAiB,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-group.js","source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,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC;YAEjD,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;YAEtD,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;aACzD;iBAAM;gBACL,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;aAChC;SACF;IACH,CAAC;IAmCkB,MAAM;QACvB,OAAO,IAAI,CAAA,qBAAqB,IAAI,CAAC,mBAAmB,UAAU,CAAC;IACrE,CAAC;;AA1EsB,8BAAO,GAAG,iBAAiB,CAAC;AAE5B,6BAAM,GAAG,MAAM,CAAC;AAMvC;IAJC,qBAAqB,CAAC;QACrB,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,2BAA2B;KACtC,CAAC;sDACwC;AAa1C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDAC6B;AAtBtC,sBAAsB;IAD1C,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;GACR,sBAAsB,CA4E1C;eA5EoB,sBAAsB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { property, queryAssignedElements } from 'lit/decorators.js';\nimport { defineComponents } from '../common/definitions/defineComponents.js';\nimport { isLTR } from '../common/util.js';\nimport IgcRadioComponent from '../radio/radio.js';\nimport { styles } from './radio-group.base.css.js';\nimport { styles as material } from './radio-group.material.css.js';\nimport { styles as fluent } from './radio-group.fluent.css.js';\nimport { themes } from '../../theming/theming-decorator.js';\n\ndefineComponents(IgcRadioComponent);\n\n@themes({ material, fluent })\nexport default class IgcRadioGroupComponent extends LitElement {\n public static readonly tagName = 'igc-radio-group';\n\n public static override styles = styles;\n\n @queryAssignedElements({\n flatten: true,\n selector: 'igc-radio:not([disabled])',\n })\n private radios!: Array<IgcRadioComponent>;\n\n constructor() {\n super();\n this.addEventListener('keydown', this.handleKeydown);\n this.addEventListener('igcChange', this.updateRequiredState);\n }\n\n /**\n * Alignment of the radio controls inside this group.\n * @attr\n */\n @property({ reflect: true })\n public alignment: 'vertical' | 'horizontal' = 'vertical';\n\n private updateRequiredState() {\n const hasRequired = this.radios.some((r) => r.required);\n\n if (hasRequired) {\n this.radios.forEach((r) => (r.required = false));\n\n const hasChecked = this.radios.some((r) => r.checked);\n\n if (hasChecked) {\n this.radios.filter((r) => r.checked)[0].required = true;\n } else {\n this.radios[0].required = true;\n }\n }\n }\n\n private handleKeydown = (event: KeyboardEvent) => {\n const { key } = event;\n\n if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(key)) {\n const checked = this.radios.find((radio) => radio.checked);\n let index = this.radios.indexOf(checked!);\n const ltr = isLTR(this);\n\n switch (key) {\n case 'ArrowUp':\n index += -1;\n break;\n case 'ArrowLeft':\n index += ltr ? -1 : 1;\n break;\n case 'ArrowRight':\n index += ltr ? 1 : -1;\n break;\n default:\n index += 1;\n }\n\n if (index < 0) index = this.radios.length - 1;\n if (index > this.radios.length - 1) index = 0;\n\n this.radios.forEach((radio) => (radio.checked = false));\n this.radios[index].focus();\n this.radios[index].checked = true;\n\n event.preventDefault();\n }\n };\n\n protected override render() {\n return html`<slot @slotchange=${this.updateRequiredState}></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-radio-group': IgcRadioGroupComponent;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */
|
|
3
|
+
:host([alignment=vertical]) {
|
|
4
|
+
gap: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host([alignment=horizontal]) {
|
|
8
|
+
gap: 1rem;
|
|
9
|
+
}`;
|
|
10
|
+
//# sourceMappingURL=radio-group.material.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.material.css.js","sourceRoot":"","sources":["../../../src/components/radio-group/radio-group.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;EAOvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */\n:host([alignment=vertical]) {\n gap: 0;\n}\n\n:host([alignment=horizontal]) {\n gap: 1rem;\n}`;\n"]}
|
|
@@ -67,18 +67,6 @@ export const styles = css `:host {
|
|
|
67
67
|
:host {
|
|
68
68
|
display: block;
|
|
69
69
|
}
|
|
70
|
-
:host ::slotted([slot=helper-text]) {
|
|
71
|
-
font-family: var(--ig-caption-font-family);
|
|
72
|
-
font-size: var(--ig-caption-font-size);
|
|
73
|
-
font-weight: var(--ig-caption-font-weight);
|
|
74
|
-
font-style: var(--ig-caption-font-style);
|
|
75
|
-
line-height: var(--ig-caption-line-height);
|
|
76
|
-
letter-spacing: var(--ig-caption-letter-spacing);
|
|
77
|
-
text-transform: var(--ig-caption-text-transform);
|
|
78
|
-
margin-top: var(--ig-caption-margin-top);
|
|
79
|
-
margin-bottom: var(--ig-caption-margin-bottom);
|
|
80
|
-
color: hsla(var(--ig-gray-600), var(--ig-gray-a));
|
|
81
|
-
}
|
|
82
70
|
|
|
83
71
|
[role=combobox] {
|
|
84
72
|
outline-style: none;
|
|
@@ -88,9 +76,6 @@ export const styles = css `:host {
|
|
|
88
76
|
color: hsla(var(--ig-error-500), var(--ig-error-a));
|
|
89
77
|
}
|
|
90
78
|
|
|
91
|
-
:host([disabled]) ::slotted([slot=helper-text]) {
|
|
92
|
-
color: hsla(var(--ig-gray-400), var(--ig-gray-a));
|
|
93
|
-
}
|
|
94
79
|
:host([disabled]) [role=combobox] {
|
|
95
80
|
pointer-events: none;
|
|
96
81
|
}
|
|
@@ -109,6 +94,22 @@ igc-input::part(input)::selection {
|
|
|
109
94
|
background: transparent;
|
|
110
95
|
}
|
|
111
96
|
|
|
97
|
+
[part=helper-text] {
|
|
98
|
+
line-height: 1;
|
|
99
|
+
}
|
|
100
|
+
[part=helper-text] ::slotted([slot=helper-text]) {
|
|
101
|
+
font-family: var(--ig-caption-font-family);
|
|
102
|
+
font-size: var(--ig-caption-font-size);
|
|
103
|
+
font-weight: var(--ig-caption-font-weight);
|
|
104
|
+
font-style: var(--ig-caption-font-style);
|
|
105
|
+
line-height: var(--ig-caption-line-height);
|
|
106
|
+
letter-spacing: var(--ig-caption-letter-spacing);
|
|
107
|
+
text-transform: var(--ig-caption-text-transform);
|
|
108
|
+
margin-top: var(--ig-caption-margin-top);
|
|
109
|
+
margin-bottom: var(--ig-caption-margin-bottom);
|
|
110
|
+
line-height: inherit;
|
|
111
|
+
}
|
|
112
|
+
|
|
112
113
|
[name=prefix]::slotted(*),
|
|
113
114
|
[name=suffix]::slotted(*) {
|
|
114
115
|
display: -webkit-box;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.base.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.base.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"select.base.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.base.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoHvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n --is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);\n --is-medium:\n min(\n clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1),\n clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1)\n );\n --is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);\n position: relative;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n scrollbar-width: var(--ig-scrollbar-size);\n scrollbar-color: var(--ig-scrollbar-thumb-background) var(--ig-scrollbar-track-background);\n}\n:host *,\n:host *::before,\n:host *::after {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n:host ::-webkit-scrollbar {\n width: var(--ig-scrollbar-size);\n height: var(--ig-scrollbar-size);\n background: var(--ig-scrollbar-track-background);\n}\n:host ::-webkit-scrollbar-thumb {\n background: var(--ig-scrollbar-thumb-background);\n}\n\n[hidden] {\n display: none !important;\n}\n\n/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */\n:host {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n font-family: var(--ig-font-family);\n}\n\n[part=base] {\n border-radius: clamp(0rem, calc(var(--ig-radius-factor) * 0.25rem), 0.25rem);\n overflow-y: auto;\n overflow-x: hidden;\n background: hsla(var(--ig-surface-500), var(--ig-surface-a));\n -webkit-box-shadow: var(--ig-elevation-8);\n box-shadow: var(--ig-elevation-8);\n min-width: 7rem;\n padding: 0.5rem 0;\n z-index: 10005;\n}\n\n:host([size=small]) {\n --component-size: var(--ig-size, var(--ig-size-small));\n}\n\n:host([size=medium]) {\n --component-size: var(--ig-size, var(--ig-size-medium));\n}\n\n:host([size=large]) {\n --component-size: var(--ig-size, var(--ig-size-large));\n}\n\n:host {\n display: block;\n}\n\n[role=combobox] {\n outline-style: none;\n}\n\n:host([invalid]) ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-error-500), var(--ig-error-a));\n}\n\n:host([disabled]) [role=combobox] {\n pointer-events: none;\n}\n\nigc-input {\n cursor: pointer;\n}\n\nigc-input::part(input) {\n cursor: pointer;\n}\nigc-input::part(input)::-moz-selection {\n background: transparent;\n}\nigc-input::part(input)::selection {\n background: transparent;\n}\n\n[part=helper-text] {\n line-height: 1;\n}\n[part=helper-text] ::slotted([slot=helper-text]) {\n font-family: var(--ig-caption-font-family);\n font-size: var(--ig-caption-font-size);\n font-weight: var(--ig-caption-font-weight);\n font-style: var(--ig-caption-font-style);\n line-height: var(--ig-caption-line-height);\n letter-spacing: var(--ig-caption-letter-spacing);\n text-transform: var(--ig-caption-text-transform);\n margin-top: var(--ig-caption-margin-top);\n margin-bottom: var(--ig-caption-margin-bottom);\n line-height: inherit;\n}\n\n[name=prefix]::slotted(*),\n[name=suffix]::slotted(*) {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}`;\n"]}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
2
|
export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */
|
|
3
|
+
:host [part=helper-text] {
|
|
4
|
+
margin-top: 0.25rem;
|
|
5
|
+
}
|
|
3
6
|
:host ::slotted([slot=helper-text]) {
|
|
4
7
|
font-family: var(--ig-body-2-font-family);
|
|
5
8
|
font-size: var(--ig-body-2-font-size);
|
|
@@ -26,6 +29,10 @@ export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-
|
|
|
26
29
|
border-color: hsla(var(--ig-error-500), var(--ig-error-a));
|
|
27
30
|
}
|
|
28
31
|
|
|
32
|
+
:host([disabled]) ::slotted([slot=helper-text]) {
|
|
33
|
+
color: hsla(var(--ig-gray-400), var(--ig-gray-a));
|
|
34
|
+
}
|
|
35
|
+
|
|
29
36
|
igc-input[readonly]:not([disabled])::part(prefix),
|
|
30
37
|
igc-input[readonly]:not([disabled])::part(suffix) {
|
|
31
38
|
color: hsla(var(--ig-gray-800), var(--ig-gray-a));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.bootstrap.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.bootstrap.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"select.bootstrap.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.bootstrap.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */\n:host [part=helper-text] {\n margin-top: 0.25rem;\n}\n:host ::slotted([slot=helper-text]) {\n font-family: var(--ig-body-2-font-family);\n font-size: var(--ig-body-2-font-size);\n font-weight: var(--ig-body-2-font-weight);\n font-style: var(--ig-body-2-font-style);\n line-height: var(--ig-body-2-line-height);\n letter-spacing: var(--ig-body-2-letter-spacing);\n text-transform: var(--ig-body-2-text-transform);\n margin-top: var(--ig-body-2-margin-top);\n margin-bottom: var(--ig-body-2-margin-bottom);\n color: hsla(var(--ig-gray-700), var(--ig-gray-a));\n}\n\n:host(:focus-within) igc-input[readonly]:not([disabled])::part(input) {\n -webkit-box-shadow: 0 0 0 0.25rem hsla(var(--ig-primary-500), 0.38);\n box-shadow: 0 0 0 0.25rem hsla(var(--ig-primary-500), 0.38);\n border-color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n}\n\n:host([invalid]) igc-input[readonly]:not([disabled])::part(input),\n:host([invalid]:focus-within) igc-input[readonly]:not([disabled])::part(input) {\n -webkit-box-shadow: 0 0 0 0.25rem hsla(var(--ig-error-500), 0.38);\n box-shadow: 0 0 0 0.25rem hsla(var(--ig-error-500), 0.38);\n border-color: hsla(var(--ig-error-500), var(--ig-error-a));\n}\n\n:host([disabled]) ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-gray-400), var(--ig-gray-a));\n}\n\nigc-input[readonly]:not([disabled])::part(prefix),\nigc-input[readonly]:not([disabled])::part(suffix) {\n color: hsla(var(--ig-gray-800), var(--ig-gray-a));\n background: hsla(var(--ig-gray-300), var(--ig-gray-a));\n}\n\nigc-input[readonly]:not([disabled])::part(prefix),\nigc-input[readonly]:not([disabled])::part(suffix),\nigc-input[readonly]:not([disabled])::part(container) {\n color: hsla(var(--ig-gray-800), var(--ig-gray-a));\n}\n\nigc-input[readonly]:not([disabled])::part(container) {\n background: var(--input-background, #fff);\n}\n\nigc-input[readonly]:not([disabled])::part(prefix),\nigc-input[readonly]:not([disabled])::part(suffix),\nigc-input[readonly]:not([disabled])::part(input) {\n border-color: hsla(var(--ig-gray-400), var(--ig-gray-a));\n}\n\nigc-input[disabled] {\n pointer-events: none;\n}\n\nigc-input[disabled]::part(prefix),\nigc-input[disabled]::part(suffix),\nigc-input[disabled]::part(container) {\n background: hsla(var(--ig-gray-100), var(--ig-gray-a));\n color: hsla(var(--ig-gray-400), var(--ig-gray-a));\n}\n\nigc-input[disabled]::part(prefix),\nigc-input[disabled]::part(suffix),\nigc-input[disabled]::part(input) {\n border-color: hsla(var(--ig-gray-300), var(--ig-gray-a));\n}`;\n"]}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
2
|
export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */
|
|
3
|
+
[part=helper-text] {
|
|
4
|
+
margin-top: 0.3125rem;
|
|
5
|
+
}
|
|
6
|
+
[part=helper-text] ::slotted([slot=helper-text]) {
|
|
7
|
+
color: hsla(var(--ig-gray-700), var(--ig-gray-a));
|
|
8
|
+
}
|
|
9
|
+
|
|
3
10
|
:host {
|
|
4
11
|
--size: max(var(--is-large, 1) * 3rem, var(--is-medium, 1) * 2.5rem, var(--is-small, 1) * 2rem);
|
|
5
12
|
}
|
|
@@ -22,5 +29,9 @@ export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-
|
|
|
22
29
|
}
|
|
23
30
|
:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(input) {
|
|
24
31
|
height: calc(var(--size) - 0.25rem);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host([disabled]) [part=helper-text] ::slotted([slot=helper-text]) {
|
|
35
|
+
color: hsla(var(--ig-gray-500), var(--ig-gray-a));
|
|
25
36
|
}`;
|
|
26
37
|
//# sourceMappingURL=select.fluent.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.fluent.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.fluent.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"select.fluent.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.fluent.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */\n[part=helper-text] {\n margin-top: 0.3125rem;\n}\n[part=helper-text] ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-gray-700), var(--ig-gray-a));\n}\n\n:host {\n --size: max(var(--is-large, 1) * 3rem, var(--is-medium, 1) * 2.5rem, var(--is-small, 1) * 2rem);\n}\n\n:host(:focus-within) igc-input[readonly]:not([disabled])::part(container) {\n border-width: 0.125rem;\n}\n\n:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(container) {\n border-color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n border-width: 0.125rem;\n}\n:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(prefix) {\n -webkit-margin-start: -0.0625rem;\n margin-inline-start: -0.0625rem;\n}\n:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(suffix) {\n -webkit-margin-end: -0.0625rem;\n margin-inline-end: -0.0625rem;\n}\n:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(input) {\n height: calc(var(--size) - 0.25rem);\n}\n\n:host([disabled]) [part=helper-text] ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-gray-500), var(--ig-gray-a));\n}`;\n"]}
|
|
@@ -4,13 +4,22 @@ export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-
|
|
|
4
4
|
background: hsla(var(--ig-gray-300), var(--ig-gray-a));
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
+
[part=helper-text] {
|
|
8
|
+
margin-top: 0.375rem;
|
|
9
|
+
padding-inline: max(var(--is-large, 1) * 1rem * var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)), var(--is-medium, 1) * 0.75rem * var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)), var(--is-small, 1) * 0.5rem * var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));
|
|
10
|
+
color: hsla(var(--ig-gray-600), var(--ig-gray-a));
|
|
11
|
+
}
|
|
12
|
+
|
|
7
13
|
:host ::slotted([slot=helper-text]) {
|
|
8
14
|
color: hsla(var(--ig-gray-600), var(--ig-gray-a));
|
|
9
15
|
}
|
|
10
16
|
|
|
11
|
-
:host([disabled]) ::slotted([slot=helper-text]) {
|
|
17
|
+
:host([disabled]) [part=helper-text] ::slotted([slot=helper-text]) {
|
|
12
18
|
color: hsla(var(--ig-gray-300), var(--ig-gray-a));
|
|
13
19
|
}
|
|
20
|
+
:host([disabled]) [part=toggle-icon] {
|
|
21
|
+
background: transparent;
|
|
22
|
+
}
|
|
14
23
|
|
|
15
24
|
:host(:focus-within) igc-input[readonly]:not([disabled])::part(container)::after {
|
|
16
25
|
-webkit-transform: scaleY(1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.indigo.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.indigo.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"select.indigo.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.indigo.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */\n[part~=toggle-icon] {\n background: hsla(var(--ig-gray-300), var(--ig-gray-a));\n}\n\n[part=helper-text] {\n margin-top: 0.375rem;\n padding-inline: max(var(--is-large, 1) * 1rem * var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)), var(--is-medium, 1) * 0.75rem * var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)), var(--is-small, 1) * 0.5rem * var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));\n color: hsla(var(--ig-gray-600), var(--ig-gray-a));\n}\n\n:host ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-gray-600), var(--ig-gray-a));\n}\n\n:host([disabled]) [part=helper-text] ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-gray-300), var(--ig-gray-a));\n}\n:host([disabled]) [part=toggle-icon] {\n background: transparent;\n}\n\n:host(:focus-within) igc-input[readonly]:not([disabled])::part(container)::after {\n -webkit-transform: scaleY(1);\n -ms-transform: scaleY(1);\n transform: scaleY(1);\n}\n\n:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(container) {\n background: hsla(var(--ig-gray-100), var(--ig-gray-a));\n}\n:host(:not([invalid]):focus-within) igc-input[readonly]:not([disabled])::part(label) {\n color: var(--label-focus-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n}`;\n"]}
|
|
@@ -54,6 +54,20 @@ export const styles = css `/* stylelint-disable max-line-length */ /* stylelint-
|
|
|
54
54
|
background: hsla(var(--ig-gray-300), var(--ig-gray-a));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
[part=helper-text] {
|
|
58
|
+
color: hsla(var(--ig-gray-700), var(--ig-gray-a));
|
|
59
|
+
margin-top: 0.3125rem;
|
|
60
|
+
padding-inline: max(var(--is-large, 1) * 1.125rem * var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)), var(--is-medium, 1) * 1rem * var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)), var(--is-small, 1) * 0.875rem * var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host([disabled]) [part~=toggle-icon],
|
|
64
|
+
:host([disabled]) ::slotted([slot=helper-text]) {
|
|
65
|
+
color: hsla(var(--ig-gray-500), var(--ig-gray-a));
|
|
66
|
+
}
|
|
67
|
+
:host([disabled]) [part~=toggle-icon] {
|
|
68
|
+
background: hsla(var(--ig-gray-100), var(--ig-gray-a));
|
|
69
|
+
}
|
|
70
|
+
|
|
57
71
|
igc-input:not([outlined]):focus-within [part~=toggle-icon] {
|
|
58
72
|
background: hsla(var(--ig-gray-400), 0.3);
|
|
59
73
|
}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.material.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"select.material.css.js","sourceRoot":"","sources":["../../../../../src/components/select/themes/light/select.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`/* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */\n:host([outlined]:focus-within) igc-input[readonly]:not([disabled])::part(start) {\n border-color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n border-inline-start-width: 0.125rem;\n border-block-start-width: 0.125rem;\n border-block-end-width: 0.125rem;\n}\n:host([outlined]:focus-within) igc-input[readonly]:not([disabled])::part(notch) {\n border-width: 0.125rem;\n border-color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n border-top: 0.0625rem solid transparent;\n}\n:host([outlined]:focus-within) igc-input[readonly]:not([disabled])::part(filler) {\n border-width: 0.125rem;\n border-color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n}\n:host([outlined]:focus-within) igc-input[readonly]:not([disabled])::part(end) {\n border-color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n border-inline-end-width: 0.125rem;\n border-block-start-width: 0.125rem;\n border-block-end-width: 0.125rem;\n}\n:host([outlined]:focus-within) igc-input[readonly]:not([disabled])::part(label) {\n color: hsla(var(--ig-primary-500), var(--ig-primary-a));\n}\n\n:host([outlined][invalid]:focus-within) igc-input[readonly]:not([disabled])::part(start) {\n border-color: hsla(var(--ig-error-500), var(--ig-error-a));\n border-inline-start-width: 0.125rem;\n border-block-start-width: 0.125rem;\n border-block-end-width: 0.125rem;\n}\n:host([outlined][invalid]:focus-within) igc-input[readonly]:not([disabled])::part(notch) {\n border-width: 0.125rem;\n border-color: hsla(var(--ig-error-500), var(--ig-error-a));\n border-top: 0.0625rem solid transparent;\n}\n:host([outlined][invalid]:focus-within) igc-input[readonly]:not([disabled])::part(filler) {\n border-width: 0.125rem;\n border-color: hsla(var(--ig-error-500), var(--ig-error-a));\n}\n:host([outlined][invalid]:focus-within) igc-input[readonly]:not([disabled])::part(end) {\n border-color: hsla(var(--ig-error-500), var(--ig-error-a));\n border-inline-end-width: 0.125rem;\n border-block-start-width: 0.125rem;\n border-block-end-width: 0.125rem;\n}\n:host([outlined][invalid]:focus-within) igc-input[readonly]:not([disabled])::part(label) {\n color: hsla(var(--ig-error-500), var(--ig-error-a));\n}\n\n[part~=toggle-icon] {\n background: hsla(var(--ig-gray-300), var(--ig-gray-a));\n}\n\n[part=helper-text] {\n color: hsla(var(--ig-gray-700), var(--ig-gray-a));\n margin-top: 0.3125rem;\n padding-inline: max(var(--is-large, 1) * 1.125rem * var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)), var(--is-medium, 1) * 1rem * var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)), var(--is-small, 1) * 0.875rem * var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));\n}\n\n:host([disabled]) [part~=toggle-icon],\n:host([disabled]) ::slotted([slot=helper-text]) {\n color: hsla(var(--ig-gray-500), var(--ig-gray-a));\n}\n:host([disabled]) [part~=toggle-icon] {\n background: hsla(var(--ig-gray-100), var(--ig-gray-a));\n}\n\nigc-input:not([outlined]):focus-within [part~=toggle-icon] {\n background: hsla(var(--ig-gray-400), 0.3);\n}`;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.controller.js","sourceRoot":"","sources":["../../../src/components/toggle/toggle.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAsB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"toggle.controller.js","sourceRoot":"","sources":["../../../src/components/toggle/toggle.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAsB,MAAM,uBAAuB,CAAC;AAuBtE,MAAM,OAAO,mBAAmB;IAa9B,IAAc,eAAe;QAC3B,IAAI,IAAI,CAAC,gBA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EAAE,CAAC;IAChB,CAAC;IAEM,gBAAgB;QACrB,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC;IAC/B,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAES,IAAI;QACZ,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAC/C,CAAC;IAEO,iBAAiB;QACvB,MAAM,OAAO,GAA4B;YACvC,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;SACpC,CAAC;QAEF,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE;YACrC,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;SACnE;QAED,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,kBAAkB;QACxB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC;IAC3E,CAAC;CAgDF","sourcesContent":["import { ReactiveController, ReactiveControllerHost } from 'lit';\nimport { igcToggle, IgcToggleDirective } from './toggle.directive.js';\nimport type { DirectiveResult } from 'lit/directive';\nimport type { IgcToggleComponent } from './types.js';\n\ntype ToggleHost = ReactiveControllerHost & IgcToggleComponent & HTMLElement;\n\n/**\n * Toggle controller configuration\n */\ninterface ToggleControllerConfig {\n /** The element, relative to which, the toggle will be positioned. */\n target?: HTMLElement;\n /**\n * The function to call when closing the toggle element from an user interaction (scroll, click).\n */\n closeCallback?: Function;\n}\n\n/* blazorSuppress */\n/**\n * Controller, bundling the creation of a toggle directive and handling global events,\n * related to the configuration of togglable components.\n */\nexport class IgcToggleController implements ReactiveController {\n private host: IgcToggleComponent & HTMLElement;\n private sourceElement?: Element;\n private initialScrollTop = 0;\n private initialScrollLeft = 0;\n private _target!: HTMLElement;\n private _hide?: Function;\n private _abortController = new AbortController();\n\n /**\n * Abort controller used to clean up document level event listeners\n * See https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#add_an_abortable_listener\n */\n protected get abortController() {\n if (this._abortController.signal.aborted) {\n this._abortController = new AbortController();\n }\n return this._abortController;\n }\n\n /** The directive that marks the toggle. */\n public toggleDirective!: DirectiveResult<typeof IgcToggleDirective>;\n public rendered!: Promise<void>;\n\n public set target(value: HTMLElement) {\n this._target = value;\n this.update();\n }\n\n /** The element, relative to which, the toggle will be positioned. */\n public get target() {\n return this._target;\n }\n\n constructor(host: ToggleHost, config?: ToggleControllerConfig) {\n (this.host = host).addController(this);\n\n if (config?.target) {\n this._target = config.target;\n }\n\n if (config?.closeCallback) {\n this._hide = config.closeCallback;\n }\n\n this.update();\n }\n\n public hostDisconnected() {\n this.abortController.abort();\n }\n\n public update() {\n this.toggleDirective = igcToggle(this.target, this.host, this);\n this.configureListeners();\n }\n\n protected hide() {\n this._hide ? this._hide() : this.host.hide();\n }\n\n private addEventListeners() {\n const options: AddEventListenerOptions = {\n capture: true,\n signal: this.abortController.signal,\n };\n\n if (!this.host.keepOpenOnOutsideClick) {\n document.addEventListener('click', this.documentClicked, options);\n }\n\n document.addEventListener('scroll', this.handleScroll, options);\n }\n\n private configureListeners() {\n this.host.open ? this.addEventListeners() : this.abortController.abort();\n }\n\n private blockScroll = (event: Event) => {\n event.preventDefault();\n if (!this.sourceElement || this.sourceElement !== event.target) {\n this.sourceElement = event.target as Element;\n this.initialScrollTop =\n this.sourceElement.scrollTop ??\n this.sourceElement.firstElementChild?.scrollTop;\n this.initialScrollLeft =\n this.sourceElement.scrollLeft ??\n this.sourceElement.firstElementChild?.scrollLeft;\n }\n\n this.sourceElement.scrollTop = this.initialScrollTop;\n this.sourceElement.scrollLeft = this.initialScrollLeft;\n if (this.sourceElement.firstElementChild) {\n this.sourceElement.firstElementChild.scrollTop = this.initialScrollTop;\n this.sourceElement.firstElementChild.scrollLeft = this.initialScrollLeft;\n }\n };\n\n /** The document's click event handler to override in the host component if necessary. */\n private documentClicked = (event: MouseEvent) => {\n if (!this.host.keepOpenOnOutsideClick) {\n const tree = event.composed ? event.composedPath() : [event.target];\n\n if (tree.includes(this.host) || tree.includes(this.target)) {\n return;\n }\n\n this.hide();\n }\n };\n\n /** The document's scroll event handler to override in the host component if necessary. */\n private handleScroll = (event: Event) => {\n switch (this.host.scrollStrategy) {\n case 'scroll':\n break;\n case 'block':\n this.blockScroll(event);\n break;\n case 'close':\n this.hide();\n break;\n }\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.directive.js","sourceRoot":"","sources":["../../../src/components/toggle/toggle.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,IAAI,EACJ,MAAM,EACN,KAAK,EACL,IAAI,GAEL,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EACT,SAAS,EAGT,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toggle.directive.js","sourceRoot":"","sources":["../../../src/components/toggle/toggle.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,IAAI,EACJ,MAAM,EACN,KAAK,EACL,IAAI,GAEL,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EACT,SAAS,EAGT,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,E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,CACb,+DAA+D,CAChE,CAAC;SACH;IACH,CAAC;IAEM,MAAM,CACX,MAAmB,EACnB,OAAyB,EACzB,UAAgC;QAEhC,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAC1D,CAAC;CACF;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import {\n computePosition,\n flip,\n offset,\n shift,\n size,\n Middleware,\n} from '@floating-ui/dom';\nimport {\n directive,\n Directive,\n PartInfo,\n ElementPart,\n PartType,\n} from 'lit/directive.js';\nimport { noChange } from 'lit';\nimport type { IgcToggleOptions } from './types.js';\nimport type { IgcToggleController } from './toggle.controller.js';\n\n/* blazorSuppressComponent */\nexport class IgcToggleDirective extends Directive {\n private part: PartInfo;\n private shiftOptions? = {\n mainAxis: true,\n };\n\n private floatingElement!: HTMLElement;\n\n private updatePosition(\n target: HTMLElement,\n options: IgcToggleOptions,\n controller?: IgcToggleController\n ) {\n this.floatingElement = this.createFloatingElement(options.open);\n\n if (!target) {\n if (controller) {\n controller.rendered = Promise.resolve();\n }\n return noChange;\n }\n\n const promise = computePosition(target, this.floatingElement, {\n placement: options.placement ?? 'bottom-start',\n strategy: options.positionStrategy ?? 'absolute',\n middleware: this.createMiddleware(options),\n }).then(({ x, y }) => {\n Object.assign(this.floatingElement.style, {\n left: 0,\n top: 0,\n transform: `translate(${x}px,${y}px)`,\n });\n });\n\n if (controller) {\n controller.rendered = promise;\n }\n\n return noChange;\n }\n\n private createFloatingElement(open = false) {\n if (!this.floatingElement) {\n this.floatingElement = (this.part as ElementPart).element as HTMLElement;\n }\n\n this.floatingElement.style.display = open ? '' : 'none';\n\n return this.floatingElement;\n }\n\n private createMiddleware(options: IgcToggleOptions) {\n const middleware: Middleware[] = [];\n\n if (options.distance) {\n middleware.push(\n offset({\n mainAxis: options.distance,\n })\n );\n }\n\n if (options.flip) {\n middleware.push(flip());\n }\n\n if (this.shiftOptions) {\n middleware.push(shift(this.shiftOptions));\n }\n\n // Toggling `sameWidth` does not reset the applied style on the floater element\n Object.assign(this.floatingElement.style, { width: '' });\n\n if (options.sameWidth) {\n const floatingElement = this.floatingElement;\n middleware.push(\n size({\n apply({ rects }) {\n Object.assign(floatingElement.style, {\n width: `${rects.reference.width}px`,\n });\n },\n })\n );\n }\n\n return middleware;\n }\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n this.part = partInfo;\n if (partInfo.type !== PartType.ELEMENT) {\n throw new Error(\n 'The `igcToggle` directive must be attached to an element tag.'\n );\n }\n }\n\n public render(\n target: HTMLElement,\n options: IgcToggleOptions,\n controller?: IgcToggleController\n ) {\n return this.updatePosition(target, options, controller);\n }\n}\n\nexport const igcToggle = directive(IgcToggleDirective);\n"]}
|
package/custom-elements.json
CHANGED
|
@@ -1806,6 +1806,11 @@
|
|
|
1806
1806
|
"description": "Determines whether the item is active.",
|
|
1807
1807
|
"type": "boolean",
|
|
1808
1808
|
"default": "false"
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"name": "hide-checkbox",
|
|
1812
|
+
"type": "boolean",
|
|
1813
|
+
"default": "false"
|
|
1809
1814
|
}
|
|
1810
1815
|
],
|
|
1811
1816
|
"properties": [
|
|
@@ -1836,6 +1841,12 @@
|
|
|
1836
1841
|
"description": "Determines whether the item is active.",
|
|
1837
1842
|
"type": "boolean",
|
|
1838
1843
|
"default": "false"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"name": "hideCheckbox",
|
|
1847
|
+
"attribute": "hide-checkbox",
|
|
1848
|
+
"type": "boolean",
|
|
1849
|
+
"default": "false"
|
|
1839
1850
|
}
|
|
1840
1851
|
]
|
|
1841
1852
|
},
|
|
@@ -1908,6 +1919,12 @@
|
|
|
1908
1919
|
"type": "boolean",
|
|
1909
1920
|
"default": "false"
|
|
1910
1921
|
},
|
|
1922
|
+
{
|
|
1923
|
+
"name": "single-select",
|
|
1924
|
+
"description": "Enables single selection mode and moves item filtering to the main input.",
|
|
1925
|
+
"type": "boolean",
|
|
1926
|
+
"default": "false"
|
|
1927
|
+
},
|
|
1911
1928
|
{
|
|
1912
1929
|
"name": "autofocus",
|
|
1913
1930
|
"description": "The autofocus attribute of the control.",
|
|
@@ -2045,6 +2062,13 @@
|
|
|
2045
2062
|
"type": "boolean",
|
|
2046
2063
|
"default": "false"
|
|
2047
2064
|
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "singleSelect",
|
|
2067
|
+
"attribute": "single-select",
|
|
2068
|
+
"description": "Enables single selection mode and moves item filtering to the main input.",
|
|
2069
|
+
"type": "boolean",
|
|
2070
|
+
"default": "false"
|
|
2071
|
+
},
|
|
2048
2072
|
{
|
|
2049
2073
|
"name": "autofocus",
|
|
2050
2074
|
"attribute": "autofocus",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-webcomponents",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.",
|
|
5
5
|
"author": "Infragistics",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@floating-ui/dom": "^1.1.0",
|
|
61
61
|
"@lit-labs/virtualizer": "^1.0.1",
|
|
62
|
-
"lit": "^2.6.
|
|
62
|
+
"lit": "^2.6.1"
|
|
63
63
|
}
|
|
64
64
|
}
|
package/themes/dark/fluent.css
CHANGED
|
@@ -741,15 +741,16 @@ igc-switch {
|
|
|
741
741
|
--disabled-color: hsla(var(--ig-gray-200), var(--ig-gray-a));
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
igc-input
|
|
744
|
+
igc-input,
|
|
745
|
+
igc-mask-input,
|
|
746
|
+
igc-date-time-input {
|
|
745
747
|
--container-background: transparent;
|
|
746
748
|
}
|
|
747
749
|
|
|
748
750
|
igc-radio {
|
|
749
751
|
--hover-color: hsla(var(--ig-gray-500), var(--ig-gray-a));
|
|
750
752
|
--checked-hover-color: hsla(var(--ig-primary-200), var(--ig-primary-a));
|
|
751
|
-
--invalid-color: hsla(var(--ig-error-200), var(--ig-error-a));
|
|
752
|
-
--invalid-hover-color: hsla(var(--ig-error-100), var(--ig-error-a));
|
|
753
|
+
--invalid-hover-color: hsla(var(--ig-error-200), var(--ig-error-a));
|
|
753
754
|
--disabled-color: hsla(var(--ig-gray-200), var(--ig-gray-a));
|
|
754
755
|
}
|
|
755
756
|
|
package/themes/dark/indigo.css
CHANGED
package/themes/dark/material.css
CHANGED
|
@@ -703,7 +703,18 @@
|
|
|
703
703
|
margin-bottom: var(--ig-overline-margin-bottom);
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
igc-
|
|
706
|
+
igc-radio {
|
|
707
|
+
--hover-background: hsla(var(--ig-gray-600), 0.12);
|
|
708
|
+
--focus-background: hsla(var(--ig-gray-600), 0.24);
|
|
709
|
+
--hover-invalid-background: hsla(var(--ig-error-500), 0.12);
|
|
710
|
+
--focus-invalid-background: hsla(var(--ig-error-500), 0.24);
|
|
711
|
+
--hover-selected-background: hsla(var(--ig-secondary-500), 0.12);
|
|
712
|
+
--focus-selected-background: hsla(var(--ig-secondary-500), 0.24);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
igc-input,
|
|
716
|
+
igc-mask-input,
|
|
717
|
+
igc-date-time-input {
|
|
707
718
|
--focus-background: hsla(var(--ig-gray-100), var(--ig-gray-a));
|
|
708
719
|
}
|
|
709
720
|
|
|
@@ -818,7 +818,7 @@
|
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
820
|
"name": "igc-combo-item",
|
|
821
|
-
"description": "Attributes:\n\n * `selected` {`boolean`} - Determines whether the item is selected.\n\n * `active` {`boolean`} - Determines whether the item is active.\n\nProperties:\n\n * `tagName` {`string`} - \n\n * `styles` - \n\n * `index` {`number`} - \n\n * `selected` {`boolean`} - Determines whether the item is selected.\n\n * `active` {`boolean`} - Determines whether the item is active
|
|
821
|
+
"description": "Attributes:\n\n * `selected` {`boolean`} - Determines whether the item is selected.\n\n * `active` {`boolean`} - Determines whether the item is active.\n\n * `hide-checkbox` {`boolean`} - \n\nProperties:\n\n * `tagName` {`string`} - \n\n * `styles` - \n\n * `index` {`number`} - \n\n * `selected` {`boolean`} - Determines whether the item is selected.\n\n * `active` {`boolean`} - Determines whether the item is active.\n\n * `hideCheckbox` {`boolean`} - ",
|
|
822
822
|
"attributes": [
|
|
823
823
|
{
|
|
824
824
|
"name": "selected",
|
|
@@ -829,6 +829,11 @@
|
|
|
829
829
|
"name": "active",
|
|
830
830
|
"description": "`active` {`boolean`} - Determines whether the item is active.\n\nProperty: active\n\nDefault: false",
|
|
831
831
|
"valueSet": "v"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "hide-checkbox",
|
|
835
|
+
"description": "`hide-checkbox` {`boolean`} - \n\nProperty: hideCheckbox\n\nDefault: false",
|
|
836
|
+
"valueSet": "v"
|
|
832
837
|
}
|
|
833
838
|
]
|
|
834
839
|
},
|
|
@@ -839,7 +844,7 @@
|
|
|
839
844
|
},
|
|
840
845
|
{
|
|
841
846
|
"name": "igc-combo",
|
|
842
|
-
"description": "Events:\n\n * `igcFocus` {} - Emitted when the select gains focus.\n\n * `igcBlur` {} - Emitted when the select loses focus.\n\n * `igcChange` {} - Emitted when the control's selection has changed.\n\n * `igcOpening` {} - Emitted just before the list of options is opened.\n\n * `igcOpened` {} - Emitted after the list of options is opened.\n\n * `igcClosing` {} - Emitter just before the list of options is closed.\n\n * `igcClosed` {} - Emitted after the list of options is closed.\n\nSlots:\n\n * `prefix` {} - Renders content before the input.\n\n * `suffix` {} - Renders content after input.\n\n * `header` {} - Renders a container before the list of options.\n\n * `footer` {} - Renders a container after the list of options.\n\n * `helper-text` {} - Renders content below the input.\n\n * `toggle-icon` {} - Renders content inside the suffix container.\n\n * `clear-icon` {} - Renders content inside the suffix container.\n\nAttributes:\n\n * `name` {`string`} - The name attribute of the control.\n\n * `disabled` {`boolean`} - The disabled attribute of the control.\n\n * `required` {`boolean`} - The required attribute of the control.\n\n * `invalid` {`boolean`} - The invalid attribute of the control.\n\n * `outlined` {`boolean`} - The outlined attribute of the control.\n\n * `autofocus` {`boolean`} - The autofocus attribute of the control.\n\n * `autofocus-list` {`boolean`} - Focuses the list of options when the menu opens.\n\n * `label` {`string`} - The label attribute of the control.\n\n * `placeholder` {`string`} - The placeholder attribute of the control.\n\n * `placeholder-search` {`string`} - The placeholder attribute of the search input.\n\n * `dir` {`\"ltr\" | \"rtl\" | \"auto\"`} - The direction attribute of the control.\n\n * `open` {`boolean`} - Sets the open state of the component.\n\n * `flip` {`boolean`} - \n\n * `value-key` - The key in the data source used when selecting items.\n\n * `display-key` - The key in the data source used to display items in the list.\n\n * `group-key` - The key in the data source used to group items in the list.\n\n * `group-sorting` {\"asc\" | \"desc\"} - Sorts the items in each group by ascending or descending order.\n\n * `filtering-options` {FilteringOptions<T>} - An object that configures the filtering of the combo.\n\n * `case-sensitive-icon` {`boolean`} - Enables the case sensitive search icon in the filtering input.\n\n * `disable-filtering` {`boolean`} - Disables the filtering of the list of options.\n\nProperties:\n\n * `tagName` {`\"igc-combo\"`} - \n\n * `styles` - \n\n * `navigationController` - \n\n * `selectionController` - \n\n * `dataController` - \n\n * `themeController` {`ThemeController`} - \n\n * `theme` {`Theme`} - \n\n * `helperText` {`HTMLElement[]`} - \n\n * `inputSuffix` {`HTMLElement[]`} - \n\n * `inputPrefix` {`HTMLElement[]`} - \n\n * `input` - \n\n * `target` - \n\n * `list` - \n\n * `data` {`T[]`} - The data source used to generate the list of options.\n\n * `name` {`string`} - The name attribute of the control.\n\n * `disabled` {`boolean`} - The disabled attribute of the control.\n\n * `required` {`boolean`} - The required attribute of the control.\n\n * `invalid` {`boolean`} - The invalid attribute of the control.\n\n * `outlined` {`boolean`} - The outlined attribute of the control.\n\n * `autofocus` {`boolean`} - The autofocus attribute of the control.\n\n * `autofocusList` {`boolean`} - Focuses the list of options when the menu opens.\n\n * `label` {`string`} - The label attribute of the control.\n\n * `placeholder` {`string`} - The placeholder attribute of the control.\n\n * `placeholderSearch` {`string`} - The placeholder attribute of the search input.\n\n * `dir` {`\"ltr\" | \"rtl\" | \"auto\"`} - The direction attribute of the control.\n\n * `open` {`boolean`} - Sets the open state of the component.\n\n * `flip` {`boolean`} - \n\n * `valueKey` - The key in the data source used when selecting items.\n\n * `displayKey` - The key in the data source used to display items in the list.\n\n * `groupKey` - The key in the data source used to group items in the list.\n\n * `groupSorting` {\"asc\" | \"desc\"} - Sorts the items in each group by ascending or descending order.\n\n * `filteringOptions` {FilteringOptions<T>} - An object that configures the filtering of the combo.\n\n * `caseSensitiveIcon` {`boolean`} - Enables the case sensitive search icon in the filtering input.\n\n * `disableFiltering` {`boolean`} - Disables the filtering of the list of options.\n\n * `itemTemplate` {ComboItemTemplate<T>} - The template used for the content of each combo item.\n\n * `groupHeaderTemplate` {ComboItemTemplate<T>} - The template used for the content of each combo group header.\n\n * `dataState` {`ComboRecord<T>[]`} - \n\n * `value` {`string`} - Returns the current selection as a list of commma separated values,\nrepresented by the display key, when provided.\n\n * `itemRenderer` - \n\n * `hasPrefixes` {`boolean`} - \n\n * `hasSuffixes` {`boolean`} - \n\n * `toggleController` - ",
|
|
847
|
+
"description": "Events:\n\n * `igcFocus` {} - Emitted when the select gains focus.\n\n * `igcBlur` {} - Emitted when the select loses focus.\n\n * `igcChange` {} - Emitted when the control's selection has changed.\n\n * `igcOpening` {} - Emitted just before the list of options is opened.\n\n * `igcOpened` {} - Emitted after the list of options is opened.\n\n * `igcClosing` {} - Emitter just before the list of options is closed.\n\n * `igcClosed` {} - Emitted after the list of options is closed.\n\nSlots:\n\n * `prefix` {} - Renders content before the input.\n\n * `suffix` {} - Renders content after input.\n\n * `header` {} - Renders a container before the list of options.\n\n * `footer` {} - Renders a container after the list of options.\n\n * `helper-text` {} - Renders content below the input.\n\n * `toggle-icon` {} - Renders content inside the suffix container.\n\n * `clear-icon` {} - Renders content inside the suffix container.\n\nAttributes:\n\n * `name` {`string`} - The name attribute of the control.\n\n * `disabled` {`boolean`} - The disabled attribute of the control.\n\n * `required` {`boolean`} - The required attribute of the control.\n\n * `invalid` {`boolean`} - The invalid attribute of the control.\n\n * `outlined` {`boolean`} - The outlined attribute of the control.\n\n * `single-select` {`boolean`} - Enables single selection mode and moves item filtering to the main input.\n\n * `autofocus` {`boolean`} - The autofocus attribute of the control.\n\n * `autofocus-list` {`boolean`} - Focuses the list of options when the menu opens.\n\n * `label` {`string`} - The label attribute of the control.\n\n * `placeholder` {`string`} - The placeholder attribute of the control.\n\n * `placeholder-search` {`string`} - The placeholder attribute of the search input.\n\n * `dir` {`\"ltr\" | \"rtl\" | \"auto\"`} - The direction attribute of the control.\n\n * `open` {`boolean`} - Sets the open state of the component.\n\n * `flip` {`boolean`} - \n\n * `value-key` - The key in the data source used when selecting items.\n\n * `display-key` - The key in the data source used to display items in the list.\n\n * `group-key` - The key in the data source used to group items in the list.\n\n * `group-sorting` {\"asc\" | \"desc\"} - Sorts the items in each group by ascending or descending order.\n\n * `filtering-options` {FilteringOptions<T>} - An object that configures the filtering of the combo.\n\n * `case-sensitive-icon` {`boolean`} - Enables the case sensitive search icon in the filtering input.\n\n * `disable-filtering` {`boolean`} - Disables the filtering of the list of options.\n\nProperties:\n\n * `tagName` {`\"igc-combo\"`} - \n\n * `styles` - \n\n * `_value` {`string`} - \n\n * `navigationController` - \n\n * `selectionController` - \n\n * `dataController` - \n\n * `themeController` {`ThemeController`} - \n\n * `theme` {`Theme`} - \n\n * `helperText` {`HTMLElement[]`} - \n\n * `inputSuffix` {`HTMLElement[]`} - \n\n * `inputPrefix` {`HTMLElement[]`} - \n\n * `input` - \n\n * `target` - \n\n * `list` - \n\n * `data` {`T[]`} - The data source used to generate the list of options.\n\n * `name` {`string`} - The name attribute of the control.\n\n * `disabled` {`boolean`} - The disabled attribute of the control.\n\n * `required` {`boolean`} - The required attribute of the control.\n\n * `invalid` {`boolean`} - The invalid attribute of the control.\n\n * `outlined` {`boolean`} - The outlined attribute of the control.\n\n * `singleSelect` {`boolean`} - Enables single selection mode and moves item filtering to the main input.\n\n * `autofocus` {`boolean`} - The autofocus attribute of the control.\n\n * `autofocusList` {`boolean`} - Focuses the list of options when the menu opens.\n\n * `label` {`string`} - The label attribute of the control.\n\n * `placeholder` {`string`} - The placeholder attribute of the control.\n\n * `placeholderSearch` {`string`} - The placeholder attribute of the search input.\n\n * `dir` {`\"ltr\" | \"rtl\" | \"auto\"`} - The direction attribute of the control.\n\n * `open` {`boolean`} - Sets the open state of the component.\n\n * `flip` {`boolean`} - \n\n * `valueKey` - The key in the data source used when selecting items.\n\n * `displayKey` - The key in the data source used to display items in the list.\n\n * `groupKey` - The key in the data source used to group items in the list.\n\n * `groupSorting` {\"asc\" | \"desc\"} - Sorts the items in each group by ascending or descending order.\n\n * `filteringOptions` {FilteringOptions<T>} - An object that configures the filtering of the combo.\n\n * `caseSensitiveIcon` {`boolean`} - Enables the case sensitive search icon in the filtering input.\n\n * `disableFiltering` {`boolean`} - Disables the filtering of the list of options.\n\n * `itemTemplate` {ComboItemTemplate<T>} - The template used for the content of each combo item.\n\n * `groupHeaderTemplate` {ComboItemTemplate<T>} - The template used for the content of each combo group header.\n\n * `dataState` {`ComboRecord<T>[]`} - \n\n * `value` {`string`} - Returns the current selection as a list of commma separated values,\nrepresented by the display key, when provided.\n\n * `itemRenderer` - \n\n * `hasPrefixes` {`boolean`} - \n\n * `hasSuffixes` {`boolean`} - \n\n * `toggleController` - ",
|
|
843
848
|
"attributes": [
|
|
844
849
|
{
|
|
845
850
|
"name": "name",
|
|
@@ -865,6 +870,11 @@
|
|
|
865
870
|
"description": "`outlined` {`boolean`} - The outlined attribute of the control.\n\nProperty: outlined\n\nDefault: false",
|
|
866
871
|
"valueSet": "v"
|
|
867
872
|
},
|
|
873
|
+
{
|
|
874
|
+
"name": "single-select",
|
|
875
|
+
"description": "`single-select` {`boolean`} - Enables single selection mode and moves item filtering to the main input.\n\nProperty: singleSelect\n\nDefault: false",
|
|
876
|
+
"valueSet": "v"
|
|
877
|
+
},
|
|
868
878
|
{
|
|
869
879
|
"name": "autofocus",
|
|
870
880
|
"description": "`autofocus` {`boolean`} - The autofocus attribute of the control.\n\nProperty: autofocus",
|
|
@@ -1311,7 +1321,7 @@
|
|
|
1311
1321
|
},
|
|
1312
1322
|
{
|
|
1313
1323
|
"name": "igc-expansion-panel",
|
|
1314
|
-
"description": "The Expansion Panel Component provides a way to display information in a toggleable way -\ncompact summary view containing title and description and expanded detail view containing\nadditional content to the summary header.\n\nEvents:\n\n * `igcOpening` {} - Emitted before opening the expansion panel.\n\n * `igcOpened` {} - Emitted after the expansion panel is opened.\n\n * `igcClosing` {} - Emitted before closing the expansion panel.\n\n * `igcClosed` {} - Emitted after the expansion panel is closed.\n\nSlots:\n\n * `title` {} - renders the title of the panel's header\n\n * `subtitle` {} - renders the subtitle of the panel's header\n\n * `indicator` {} - renders the expand/collapsed indicator\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether the contents of the control should be visible.\n\n * `disabled` {`boolean`} - Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions.\n\n * `indicator-position` {`\"none\" | \"start\" | \"end\"`} - The indicator position of the expansion panel.\n\nProperties:\n\n * `tagName` {`\"igc-expansion-panel\"`} - \n\n * `styles` - \n\n * `increment` - \n\n * `open` {`boolean`} - Indicates whether the contents of the control should be visible.\n\n * `disabled` {`boolean`} - Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions.\n\n * `indicatorPosition` {`\"none\" | \"start\" | \"end\"`} - The indicator position of the expansion panel.\n\n * `panelHeader` {`HTMLElement`} - \n\n * `panelId` {`string`} - ",
|
|
1324
|
+
"description": "The Expansion Panel Component provides a way to display information in a toggleable way -\ncompact summary view containing title and description and expanded detail view containing\nadditional content to the summary header.\n\nEvents:\n\n * `igcOpening` {} - Emitted before opening the expansion panel.\n\n * `igcOpened` {} - Emitted after the expansion panel is opened.\n\n * `igcClosing` {} - Emitted before closing the expansion panel.\n\n * `igcClosed` {} - Emitted after the expansion panel is closed.\n\nSlots:\n\n * `title` {} - renders the title of the panel's header\n\n * `subtitle` {} - renders the subtitle of the panel's header\n\n * `indicator` {} - renders the expand/collapsed indicator\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether the contents of the control should be visible.\n\n * `disabled` {`boolean`} - Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions.\n\n * `indicator-position` {`\"none\" | \"start\" | \"end\"`} - The indicator position of the expansion panel.\n\nProperties:\n\n * `tagName` {`\"igc-expansion-panel\"`} - \n\n * `styles` - \n\n * `increment` - \n\n * `animationPlayer` - \n\n * `open` {`boolean`} - Indicates whether the contents of the control should be visible.\n\n * `disabled` {`boolean`} - Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions.\n\n * `indicatorPosition` {`\"none\" | \"start\" | \"end\"`} - The indicator position of the expansion panel.\n\n * `panelHeader` {`HTMLElement`} - \n\n * `panelContent` {`HTMLElement`} - \n\n * `panelId` {`string`} - ",
|
|
1315
1325
|
"attributes": [
|
|
1316
1326
|
{
|
|
1317
1327
|
"name": "open",
|