igniteui-webcomponents
Version:
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.
1,680 lines • 2.63 MB
JSON
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "src/theming/types.ts",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "src/theming/theming-event.ts",
"declarations": [
{
"kind": "variable",
"name": "CHANGE_THEME_EVENT",
"type": {
"text": "string"
},
"default": "'igc-change-theme'"
},
{
"kind": "variable",
"name": "CHANGED_THEME_EVENT",
"type": {
"text": "string"
},
"default": "'igc-changed-theme'"
},
{
"kind": "variable",
"name": "_themeChangedEmitter",
"default": "new ThemeChangedEmitter()"
}
],
"exports": [
{
"kind": "js",
"name": "CHANGE_THEME_EVENT",
"declaration": {
"name": "CHANGE_THEME_EVENT",
"module": "src/theming/theming-event.ts"
}
},
{
"kind": "js",
"name": "CHANGED_THEME_EVENT",
"declaration": {
"name": "CHANGED_THEME_EVENT",
"module": "src/theming/theming-event.ts"
}
},
{
"kind": "js",
"name": "_themeChangedEmitter",
"declaration": {
"name": "_themeChangedEmitter",
"module": "src/theming/theming-event.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/theming/utils.ts",
"declarations": [
{
"kind": "function",
"name": "getAllCssVariables",
"return": {
"type": {
"text": ""
}
},
"description": "Retrieves all CSS custom properties from the document root element.\nProperty names are converted from kebab-case to camelCase."
}
],
"exports": [
{
"kind": "js",
"name": "getAllCssVariables",
"declaration": {
"name": "getAllCssVariables",
"module": "src/theming/utils.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/theming/config.ts",
"declarations": [
{
"kind": "function",
"name": "getTheme"
},
{
"kind": "function",
"name": "setTheme",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "Theme"
}
},
{
"name": "variant",
"type": {
"text": "ThemeVariant"
}
}
]
},
{
"kind": "function",
"name": "configureTheme",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "t",
"type": {
"text": "Theme"
}
},
{
"name": "v",
"default": "'light'",
"type": {
"text": "ThemeVariant"
}
}
],
"description": "Allows the global configuration of the active theme.\n\nUsage:\n ```ts\n import { configureTheme } from 'igniteui-webcomponents';\n\n configureTheme('material', 'light');\n ```"
}
],
"exports": [
{
"kind": "js",
"name": "getTheme",
"declaration": {
"name": "getTheme",
"module": "src/theming/config.ts"
}
},
{
"kind": "js",
"name": "setTheme",
"declaration": {
"name": "setTheme",
"module": "src/theming/config.ts"
}
},
{
"kind": "js",
"name": "configureTheme",
"declaration": {
"name": "configureTheme",
"module": "src/theming/config.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/theming/context.ts",
"declarations": [
{
"kind": "variable",
"name": "themeContext",
"description": "Context for providing theme information to descendant components.\n\nComponents can consume this context to receive theme information from a theme provider\ninstead of relying on global theming events."
}
],
"exports": [
{
"kind": "js",
"name": "themeContext",
"declaration": {
"name": "themeContext",
"module": "src/theming/context.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/theming/theming-controller.ts",
"declarations": [
{
"kind": "class",
"description": "A reactive controller that manages theme adoption for a Lit host element.\n\nIt resolves the active theme from one of two sources, in order of priority:\n\n1. **Context** — provided by an ancestor `<igc-theme-provider>` element via the Lit context API.\n2. **Global** — the application-wide theme set via `configureTheme()`.\n\nWhen a context provider is present, the controller subscribes to its updates\nand stops listening to global theme change events. When the host element is\ndisconnected and reconnected outside a provider, it automatically falls back\nto the global theme.\n\nTheme styles are applied directly to the host's shadow root via `adoptStyles`\nevery time the active theme or variant changes.",
"name": "ThemingController",
"members": [
{
"kind": "field",
"name": "_host",
"type": {
"text": "ReactiveControllerHost & ReactiveElement"
},
"privacy": "private",
"readonly": true,
"default": "host"
},
{
"kind": "field",
"name": "_themes",
"type": {
"text": "Themes"
},
"privacy": "private",
"readonly": true,
"default": "themes"
},
{
"kind": "field",
"name": "_options",
"type": {
"text": "ThemingControllerConfig | undefined"
},
"privacy": "private",
"readonly": true,
"default": "config"
},
{
"kind": "field",
"name": "_contextConsumer",
"type": {
"text": "ContextConsumer<\n typeof themeContext,\n ReactiveElement\n >"
},
"privacy": "private",
"readonly": true,
"default": "new ContextConsumer(this._host, { context: themeContext, callback: (value) => { if (value) { this._applyContextTheme(value); } }, subscribe: true, })"
},
{
"kind": "field",
"name": "_theme",
"type": {
"text": "Theme"
},
"privacy": "private",
"default": "'bootstrap'",
"expandedType": {
"text": "'material' | 'bootstrap' | 'indigo' | 'fluent'"
}
},
{
"kind": "field",
"name": "_variant",
"type": {
"text": "ThemeVariant"
},
"privacy": "private",
"default": "'light'",
"expandedType": {
"text": "'light' | 'dark'"
}
},
{
"kind": "field",
"name": "_themeSource",
"type": {
"text": "ThemeProviderSource"
},
"privacy": "private",
"default": "'uninitialized'",
"expandedType": {
"text": "'uninitialized' | 'context' | 'global'"
}
},
{
"kind": "field",
"name": "theme",
"type": {
"text": "Theme"
},
"privacy": "public",
"description": "Gets the current theme.",
"readonly": true,
"expandedType": {
"text": "'material' | 'bootstrap' | 'indigo' | 'fluent'"
}
},
{
"kind": "field",
"name": "variant",
"type": {
"text": "ThemeVariant"
},
"privacy": "public",
"description": "Gets the current theme variant.",
"readonly": true,
"expandedType": {
"text": "'light' | 'dark'"
}
},
{
"kind": "method",
"name": "_applyContextTheme",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "contextValue",
"type": {
"text": "{\n theme: Theme;\n variant: ThemeVariant;\n }"
}
}
]
},
{
"kind": "method",
"name": "_applyGlobalTheme",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "_applyTheme",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "theme",
"type": {
"text": "Theme"
}
},
{
"name": "variant",
"type": {
"text": "ThemeVariant"
}
}
]
},
{
"kind": "method",
"name": "_adoptStyles",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
}
]
},
{
"kind": "function",
"name": "addThemingController",
"return": {
"type": {
"text": ""
}
},
"parameters": [
{
"name": "host",
"type": {
"text": "ReactiveControllerHost & ReactiveElement"
},
"description": "The Lit element that will host the controller."
},
{
"name": "themes",
"type": {
"text": "Themes"
},
"description": "The theme styles map containing `light` and `dark` variant entries,\neach keyed by theme name (`bootstrap`, `material`, `fluent`, `indigo`) and\nan optional `shared` entry applied regardless of theme."
},
{
"name": "config",
"optional": true,
"type": {
"text": "ThemingControllerConfig"
},
"description": "Optional configuration."
},
{
"description": "Callback invoked on the host whenever the active theme changes.",
"name": "config.themeChange"
}
],
"description": "Creates and attaches a ThemingController to the given host element.\n\nThis is the preferred way to add theming support to a component. The controller\nis registered with the host's reactive controller lifecycle and automatically\nresolves the active theme from an ancestor `<igc-theme-provider>` context or\nfalls back to the application-wide theme set via `configureTheme()`."
}
],
"exports": [
{
"kind": "js",
"name": "addThemingController",
"declaration": {
"name": "addThemingController",
"module": "src/theming/theming-controller.ts"
}
},
{
"kind": "js",
"name": "ThemingController",
"declaration": {
"name": "ThemingController",
"module": "src/theming/theming-controller.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/calendar/model.ts",
"declarations": [
{
"kind": "variable",
"name": "DAYS_IN_WEEK",
"type": {
"text": "number"
},
"default": "7"
},
{
"kind": "function",
"name": "toCalendarDay",
"return": {
"type": {
"text": "CalendarDay"
}
},
"parameters": [
{
"name": "date",
"type": {
"text": "DayParameter"
}
}
]
},
{
"kind": "class",
"description": "",
"name": "CalendarDay",
"members": [
{
"kind": "field",
"name": "_date",
"type": {
"text": "Date"
},
"privacy": "private",
"readonly": true,
"default": "new Date(args.year, args.month, args.date ?? 1)"
},
{
"kind": "field",
"name": "today",
"type": {
"text": "CalendarDay"
},
"privacy": "public",
"static": true,
"description": "Constructs and returns the current day.",
"readonly": true
},
{
"kind": "method",
"name": "from",
"privacy": "public",
"static": true,
"return": {
"type": {
"text": "CalendarDay"
}
},
"parameters": [
{
"name": "date",
"type": {
"text": "Date"
}
}
],
"description": "Constructs a new CalendarDay instance from a Date object."
},
{
"kind": "method",
"name": "compare",
"privacy": "public",
"static": true,
"return": {
"type": {
"text": ""
}
},
"parameters": [
{
"name": "first",
"type": {
"text": "DayParameter"
}
},
{
"name": "second",
"type": {
"text": "DayParameter"
}
}
],
"description": "Compares the date portion of two date objects."
},
{
"kind": "method",
"name": "clone",
"privacy": "public",
"return": {
"type": {
"text": "CalendarDay"
}
},
"description": "Returns a copy of this instance."
},
{
"kind": "method",
"name": "set",
"privacy": "public",
"return": {
"type": {
"text": "CalendarDay"
}
},
"parameters": [
{
"name": "args",
"type": {
"text": "Partial<CalendarDayParams>"
}
}
],
"description": "Returns a new instance with values replaced."
},
{
"kind": "method",
"name": "add",
"privacy": "public",
"return": {
"type": {
"text": "CalendarDay"
}
},
"parameters": [
{
"name": "unit",
"type": {
"text": "DayInterval"
}
},
{
"name": "value",
"type": {
"text": "number"
}
}
]
},
{
"kind": "field",
"name": "day",
"type": {
"text": "number"
},
"privacy": "public",
"description": "Returns the day of the week (Sunday = 0).",
"readonly": true
},
{
"kind": "field",
"name": "year",
"type": {
"text": "number"
},
"privacy": "public",
"description": "Returns the full year.",
"readonly": true
},
{
"kind": "field",
"name": "month",
"type": {
"text": "number"
},
"privacy": "public",
"description": "Returns the month.",
"readonly": true
},
{
"kind": "field",
"name": "date",
"type": {
"text": "number"
},
"privacy": "public",
"description": "Returns the date",
"readonly": true
},
{
"kind": "field",
"name": "timestamp",
"type": {
"text": "number"
},
"privacy": "public",
"description": "Returns the timestamp since epoch in milliseconds.",
"readonly": true
},
{
"kind": "field",
"name": "week",
"type": {
"text": "number"
},
"privacy": "public",
"description": "Returns the ISO 8601 week number.",
"readonly": true
},
{
"kind": "field",
"name": "native",
"type": {
"text": "Date"
},
"privacy": "public",
"description": "Returns the underlying native date instance.",
"readonly": true
},
{
"kind": "field",
"name": "weekend",
"type": {
"text": "boolean"
},
"privacy": "public",
"description": "Whether the current date is a weekend day.",
"readonly": true
},
{
"kind": "method",
"name": "equalTo",
"privacy": "public",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "DayParameter"
}
}
]
},
{
"kind": "method",
"name": "greaterThan",
"privacy": "public",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "DayParameter"
}
}
]
},
{
"kind": "method",
"name": "greaterThanOrEqual",
"privacy": "public",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "DayParameter"
}
}
]
},
{
"kind": "method",
"name": "lessThan",
"privacy": "public",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "DayParameter"
}
}
]
},
{
"kind": "method",
"name": "lessThanOrEqual",
"privacy": "public",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "DayParameter"
}
}
]
},
{
"kind": "method",
"name": "toString",
"privacy": "public",
"return": {
"type": {
"text": "string"
}
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "DAYS_IN_WEEK",
"declaration": {
"name": "DAYS_IN_WEEK",
"module": "src/components/calendar/model.ts"
}
},
{
"kind": "js",
"name": "toCalendarDay",
"declaration": {
"name": "toCalendarDay",
"module": "src/components/calendar/model.ts"
}
},
{
"kind": "js",
"name": "CalendarDay",
"declaration": {
"name": "CalendarDay",
"module": "src/components/calendar/model.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/definitions/register.ts",
"declarations": [
{
"kind": "function",
"name": "registerComponent",
"parameters": [
{
"name": "component",
"type": {
"text": "IgniteComponent"
}
},
{
"name": "dependencies",
"type": {
"text": "IgniteComponent[]"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "registerComponent",
"declaration": {
"name": "registerComponent",
"module": "src/components/common/definitions/register.ts"
}
},
{
"kind": "custom-element-definition",
"declaration": {
"name": "component",
"module": "src/components/common/definitions/register.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/types.ts",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "src/components/common/abort-handler.ts",
"declarations": [
{
"kind": "function",
"name": "createAbortHandle",
"return": {
"type": {
"text": "AbortHandle"
}
},
"description": "Creates and returns an `AbortHandle` object that wraps an AbortController,\nproviding a resettable AbortSignal. This allows you to use the signal for event\nlisteners, fetch requests, or other cancellable operations, and then\nreset the underlying AbortController to get a fresh signal without\nneeding to create a new wrapper object."
}
],
"exports": [
{
"kind": "js",
"name": "createAbortHandle",
"declaration": {
"name": "createAbortHandle",
"module": "src/components/common/abort-handler.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/controllers/focus-ring.ts",
"declarations": [
{
"kind": "class",
"description": "A controller class which determines whether a focus ring should be shown to indicate keyboard focus.\nFocus rings are visible only when the user is interacting with a keyboard, not with a mouse, touch, or other input methods.\n\nBy default the class attaches a keyup event handler on the component host and will update its keyboard focus\nstate based on it.\n\n**Important Note:** This controller is designed for use with **atomic web components** that represent single,\ninteractive elements (e.g., buttons, form fields, interactive icons). It helps these components correctly\ndisplay a focus indicator *only* when keyboard navigation is occurring, improving accessibility without\nvisual clutter during mouse or touch interactions.\n\n**Do not use this controller as a general-purpose shortcut for managing focus state in complex components or layouts.**\nMisusing it in this way can lead to incorrect focus ring behavior, accessibility issues, and make your\napplication harder to maintain. For managing focus within larger, composite components, consider alternative\nstrategies like ARIA attributes, managing `tabindex`, or a bespoke implementation if needed.",
"name": "KeyboardFocusRingController",
"members": [
{
"kind": "field",
"name": "_events",
"privacy": "private",
"static": true,
"readonly": true,
"default": "['keyup', 'focusout', 'pointerup']",
"type": {
"text": "['keyup', 'focusout', 'pointerup']"
}
},
{
"kind": "field",
"name": "_host",
"type": {
"text": "ReactiveControllerHost & HTMLElement"
},
"privacy": "private",
"readonly": true,
"default": "host"
},
{
"kind": "field",
"name": "_abortHandle",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "_isKeyboardFocused",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false"
},
{
"kind": "field",
"name": "focused",
"type": {
"text": "boolean"
},
"privacy": "public",
"description": "Gets whether the current focus state is activated through a keyboard interaction.",
"readonly": true
}
]
},
{
"kind": "function",
"name": "addKeyboardFocusRing",
"return": {
"type": {
"text": "KeyboardFocusRingController"
}
},
"parameters": [
{
"name": "host",
"type": {
"text": "ReactiveControllerHost & HTMLElement"
}
}
],
"description": "Adds a KeyboardFocusRingController responsible for managing keyboard focus state.\n\nThis utility function is intended for use with **atomic web components** that require\ndynamic focus ring visibility based on keyboard interaction."
}
],
"exports": [
{
"kind": "js",
"name": "KeyboardFocusRingController",
"declaration": {
"name": "KeyboardFocusRingController",
"module": "src/components/common/controllers/focus-ring.ts"
}
},
{
"kind": "js",
"name": "addKeyboardFocusRing",
"declaration": {
"name": "addKeyboardFocusRing",
"module": "src/components/common/controllers/focus-ring.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/controllers/id-resolver.ts",
"declarations": [
{
"kind": "class",
"description": "Reactive controller that allows a host component to resolve ID references\nscoped to its root node, and react to changes in those references.",
"name": "IdRefResolverController",
"members": [
{
"kind": "field",
"name": "_host",
"type": {
"text": "LitElement"
},
"privacy": "private",
"readonly": true,
"default": "host"
},
{
"kind": "field",
"name": "_callback",
"type": {
"text": "(ids: Set<string>) => unknown"
},
"privacy": "private",
"readonly": true,
"default": "callback"
},
{
"kind": "field",
"name": "_active",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false"
},
{
"kind": "field",
"name": "_connected",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false"
},
{
"kind": "field",
"name": "_emitter",
"type": {
"text": "IdRefChangeEmitter | null"
},
"privacy": "private",
"default": "null"
},
{
"kind": "method",
"name": "_observe",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "_unobserve",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "observe",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"description": "Start tracking ID reference changes in the document."
},
{
"kind": "method",
"name": "unobserve",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"description": "Stop tracking ID reference changes in the document."
}
]
},
{
"kind": "function",
"name": "addIdRefResolver",
"return": {
"type": {
"text": "IdRefResolverController"
}
},
"parameters": [
{
"name": "host",
"type": {
"text": "LitElement"
}
},
{
"name": "callback",
"type": {
"text": "(ids: Set<string>) => unknown"
}
}
],
"description": "Adds an ID reference resolver controller to the host component, allowing it to resolve ID references scoped to\nits root node and react to changes in those references."
}
],
"exports": [
{
"kind": "js",
"name": "addIdRefResolver",
"declaration": {
"name": "addIdRefResolver",
"module": "src/components/common/controllers/id-resolver.ts"
}
},
{
"kind": "js",
"name": "IdRefResolverController",
"declaration": {
"name": "IdRefResolverController",
"module": "src/components/common/controllers/id-resolver.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/mixins/constructor.ts",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "src/components/common/decorators/blazorDeepImport.ts",
"declarations": [
{
"kind": "function",
"name": "blazorDeepImport",
"parameters": [
{
"name": "_constructor",
"type": {
"text": "Constructor | AbstractConstructor"
}
}
],
"description": "Indicates a class isn't imported at the root of the API, so needs to be referred to with a deep import in the wrappers."
}
],
"exports": [
{
"kind": "js",
"name": "blazorDeepImport",
"declaration": {
"name": "blazorDeepImport",
"module": "src/components/common/decorators/blazorDeepImport.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/decorators/shadow-options.ts",
"declarations": [
{
"kind": "function",
"name": "shadowOptions",
"return": {
"type": {
"text": "(proto: unknown) => void"
}
},
"parameters": [
{
"name": "options",
"type": {
"text": "Partial<ShadowRootInit>"
}
}
],
"description": "TypeScript decorator that allows customizing the Shadow DOM options for a LitElement component.\n\nThis decorator merges the provided `options` with LitElement's default `shadowRootOptions`,\nproviding a convenient way to configure the Shadow DOM, such as its `mode` (e.g., 'open' or 'closed')\nor `delegatesFocus` property.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow#options"
}
],
"exports": [
{
"kind": "js",
"name": "shadowOptions",
"declaration": {
"name": "shadowOptions",
"module": "src/components/common/decorators/shadow-options.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/mixins/event-emitter.ts",
"declarations": [
{
"kind": "class",
"description": "",
"name": "EventEmitterInterface",
"members": [
{
"kind": "method",
"name": "addEventListener",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "K"
}
},
{
"name": "listener",
"type": {
"text": "(this: HTMLElement, ev: M[K]) => any"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | AddEventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "addEventListener",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "string"
}
},
{
"name": "listener",
"type": {
"text": "EventListenerOrEventListenerObject"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | AddEventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "removeEventListener",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "K"
}
},
{
"name": "listener",
"type": {
"text": "(this: HTMLElement, ev: M[K]) => any"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | EventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "removeEventListener",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "string"
}
},
{
"name": "listener",
"type": {
"text": "EventListenerOrEventListenerObject"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | EventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "emitEvent",
"privacy": "public",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "K"
}
},
{
"name": "eventInitDict",
"optional": true,
"type": {
"text": "CustomEventInit<D>"
}
}
]
}
]
},
{
"kind": "function",
"name": "EventEmitterMixin",
"return": {
"type": {
"text": "Constructor<EventEmitterInterface<E>> & T"
}
},
"parameters": [
{
"name": "superClass",
"type": {
"text": "T"
}
}
]
},
{
"kind": "mixin",
"description": "",
"name": "EventEmitterMixin",
"members": [
{
"kind": "method",
"name": "addEventListener",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "K"
}
},
{
"name": "listener",
"type": {
"text": "(this: HTMLElement, ev: M[K]) => any"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | AddEventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "addEventListener",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "string"
}
},
{
"name": "listener",
"type": {
"text": "EventListenerOrEventListenerObject"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | AddEventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "removeEventListener",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "K"
}
},
{
"name": "listener",
"type": {
"text": "(this: HTMLElement, ev: M[K]) => any"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | EventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "removeEventListener",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "string"
}
},
{
"name": "listener",
"type": {
"text": "EventListenerOrEventListenerObject"
}
},
{
"name": "options",
"optional": true,
"type": {
"text": "boolean | EventListenerOptions"
}
}
]
},
{
"kind": "method",
"name": "emitEvent",
"privacy": "private",
"return": {
"type": {
"text": "boolean"
}
},
"parameters": [
{
"name": "type",
"type": {
"text": "K"
}
},
{
"name": "eventInitDict",
"optional": true,
"type": {
"text": "CustomEventInit<D>"
}
}
]
}
],
"events": [
{
"type": {
"text": "CustomEvent"
}
}
],
"parameters": [
{
"name": "superClass",
"type": {
"text": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "EventEmitterInterface",
"declaration": {
"name": "EventEmitterInterface",
"module": "src/components/common/mixins/event-emitter.ts"
}
},
{
"kind": "js",
"name": "EventEmitterMixin",
"declaration": {
"name": "EventEmitterMixin",
"module": "src/components/common/mixins/event-emitter.ts"
}
},
{
"kind": "js",
"name": "EventEmitterMixin",
"declaration": {
"name": "EventEmitterMixin",
"module": "src/components/common/mixins/event-emitter.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/common/part-map.ts",
"declarations": [
{
"kind": "class",
"description": "",
"name": "PartMapDirective",
"members": [
{
"kind": "field",
"name": "_previousParts",
"type": {
"text": "Set<string> | undefined"
},
"privacy": "private"
}
],
"superclass": {
"name": "Directive",
"package": "lit/directive.js"
}
},
{
"kind": "variable",
"name": "partMap",
"description": "Similar to Lit's https://lit.dev/docs/templates/directives/#classmap | `classMap` and\nhttps://lit.dev/docs/templates/directives/#stylemap | `styleMap` but for `part` attributes."
}
],
"exports": [
{
"kind": "js",
"name": "partMap",
"declaration": {
"name": "partMap",
"module": "src/components/common/part-map.ts"
}
},
{
"kind": "js",
"name": "PartMapDirective",
"declaration": {
"name": "PartMapDirective",
"module": "src/components/common/part-map.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/components/button/button-base.ts",
"declarations": [
{
"kind": "class",
"description": "Abstract base class shared by `igc-button` and `igc-icon-button`.\n\nProvides common form-association behavior, link-button rendering\n(renders as `<a>` when `href` is set), keyboard focus-ring management,\nand the Invoker Commands API (`command` / `commandfor`).\n\nConcrete subclasses must implement `_renderContent()` to supply the\nvisual content projected inside the native `<button>` or `<a>` element.",
"name": "IgcButtonBaseComponent",
"members": [
{
"kind": "field",
"name": "formAssociated",
"type": {
"text": "boolean"
},
"privacy": "public",
"static": true,
"readonly": true,
"default": "true"
},
{
"kind": "field",
"name": "_focusRingManager",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "_internals",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "_resolver",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "_disabled",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false"
},
{
"kind": "field",
"name": "_commandfor",
"type": {
"text": "string | null"
},
"privacy": "private",
"default": "null"
},
{
"kind": "field",
"name": "_commandForElement",
"type": {
"text": "Element | null"
},
"privacy": "private",
"default": "null"
},
{
"kind": "field",
"name": "_nativeButton",
"type": {
"text": "HTMLButtonElement | HTMLAnchorElement | undefined"
},
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "type",
"type": {
"text": "'button' | 'reset' | 'submit'"
},
"privacy": "public",
"default": "'button'",
"description": "The type of the button, which determines its behavior and semantics.\n- `'button'` – no default action; useful for custom JavaScript handlers.\n- `'submit'` – submits the associated form when clicked.\n- `'reset'` – resets the associated form fields to their initial values.\n\nIgnored when the button is rendered as a link (i.e. `href` is set).",