igniteui-webcomponents 3.3.0-beta.0 → 3.3.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 +28 -20
- package/components/accordion/accordion.d.ts +36 -0
- package/components/accordion/accordion.js +127 -0
- package/components/accordion/accordion.js.map +1 -0
- package/components/accordion/themes/accordion.base.css.d.ts +1 -0
- package/components/accordion/themes/accordion.base.css.js +3 -0
- package/components/accordion/themes/accordion.base.css.js.map +1 -0
- package/components/button/icon-button.d.ts +0 -1
- package/components/button/icon-button.js +3 -1
- package/components/button/icon-button.js.map +1 -1
- package/components/calendar/calendar.d.ts +0 -4
- package/components/calendar/calendar.js +6 -4
- package/components/calendar/calendar.js.map +1 -1
- package/components/calendar/common/calendar.model.js.map +1 -1
- package/components/calendar/days-view/days-view.d.ts +1 -0
- package/components/calendar/days-view/days-view.js +2 -2
- package/components/calendar/days-view/days-view.js.map +1 -1
- package/components/calendar/months-view/months-view.d.ts +1 -0
- package/components/calendar/months-view/months-view.js +2 -2
- package/components/calendar/months-view/months-view.js.map +1 -1
- package/components/calendar/years-view/years-view.d.ts +1 -0
- package/components/calendar/years-view/years-view.js +2 -2
- package/components/calendar/years-view/years-view.js.map +1 -1
- package/components/card/card.js +6 -0
- package/components/card/card.js.map +1 -1
- package/components/checkbox/checkbox.d.ts +1 -0
- package/components/checkbox/checkbox.js +6 -5
- package/components/checkbox/checkbox.js.map +1 -1
- package/components/checkbox/switch.d.ts +1 -0
- package/components/checkbox/switch.js +6 -5
- package/components/checkbox/switch.js.map +1 -1
- package/components/chip/chip.d.ts +0 -1
- package/components/chip/chip.js +3 -1
- package/components/chip/chip.js.map +1 -1
- package/components/common/decorators/blazorAdditionalDependencies.d.ts +5 -0
- package/components/common/decorators/blazorAdditionalDependencies.js +6 -0
- package/components/common/decorators/blazorAdditionalDependencies.js.map +1 -0
- package/components/common/decorators/index.d.ts +1 -0
- package/components/common/decorators/index.js +1 -0
- package/components/common/decorators/index.js.map +1 -1
- package/components/common/definitions/defineAllComponents.js +2 -0
- package/components/common/definitions/defineAllComponents.js.map +1 -1
- package/components/common/i18n/calendar.resources.js.map +1 -1
- package/components/common/types.d.ts +1 -0
- package/components/common/types.js +2 -0
- package/components/common/types.js.map +1 -0
- package/components/common/util.d.ts +1 -1
- package/components/common/util.js +2 -2
- package/components/common/util.js.map +1 -1
- package/components/date-time-input/date-time-input.d.ts +2 -0
- package/components/date-time-input/date-time-input.js +12 -2
- package/components/date-time-input/date-time-input.js.map +1 -1
- package/components/dropdown/dropdown-group.d.ts +3 -2
- package/components/dropdown/dropdown-group.js +7 -10
- package/components/dropdown/dropdown-group.js.map +1 -1
- package/components/dropdown/dropdown.d.ts +24 -20
- package/components/dropdown/dropdown.js +63 -79
- package/components/dropdown/dropdown.js.map +1 -1
- package/components/expansion-panel/expansion-panel.d.ts +1 -1
- package/components/expansion-panel/expansion-panel.js +11 -6
- package/components/expansion-panel/expansion-panel.js.map +1 -1
- package/components/expansion-panel/themes/light/expansion-panel.base.css.js +1 -1
- package/components/expansion-panel/themes/light/expansion-panel.base.css.js.map +1 -1
- package/components/icon/icon.js +3 -7
- package/components/icon/icon.js.map +1 -1
- package/components/icon/icon.registry.js +2 -0
- package/components/icon/icon.registry.js.map +1 -1
- package/components/input/input-base.d.ts +2 -1
- package/components/input/input-base.js +6 -5
- package/components/input/input-base.js.map +1 -1
- package/components/list/list.js +4 -0
- package/components/list/list.js.map +1 -1
- package/components/nav-drawer/nav-drawer.js +4 -0
- package/components/nav-drawer/nav-drawer.js.map +1 -1
- package/components/progress/circular-progress.d.ts +1 -1
- package/components/progress/circular-progress.js +3 -0
- package/components/progress/circular-progress.js.map +1 -1
- package/components/radio/radio.d.ts +1 -0
- package/components/radio/radio.js +6 -5
- package/components/radio/radio.js.map +1 -1
- package/components/rating/rating-symbol.base.css.d.ts +1 -0
- package/components/rating/rating-symbol.base.css.js +3 -0
- package/components/rating/rating-symbol.base.css.js.map +1 -0
- package/components/rating/rating-symbol.d.ts +8 -2
- package/components/rating/rating-symbol.js +12 -3
- package/components/rating/rating-symbol.js.map +1 -1
- package/components/rating/rating.base.css.js +1 -1
- package/components/rating/rating.base.css.js.map +1 -1
- package/components/rating/rating.bootstrap.css.js +1 -1
- package/components/rating/rating.bootstrap.css.js.map +1 -1
- package/components/rating/rating.d.ts +18 -13
- package/components/rating/rating.fluent.css.js +1 -1
- package/components/rating/rating.fluent.css.js.map +1 -1
- package/components/rating/rating.indigo.css.js +1 -1
- package/components/rating/rating.indigo.css.js.map +1 -1
- package/components/rating/rating.js +86 -44
- package/components/rating/rating.js.map +1 -1
- package/components/slider/range-slider.js.map +1 -1
- package/components/slider/slider-base.js +4 -1
- package/components/slider/slider-base.js.map +1 -1
- package/components/slider/themes/light/slider.base.css.js +1 -1
- package/components/slider/themes/light/slider.base.css.js.map +1 -1
- package/components/slider/themes/light/slider.bootstrap.css.js +1 -1
- package/components/slider/themes/light/slider.bootstrap.css.js.map +1 -1
- package/components/slider/themes/light/slider.fluent.css.js +1 -1
- package/components/slider/themes/light/slider.fluent.css.js.map +1 -1
- package/components/slider/themes/light/slider.indigo.css.js +1 -1
- package/components/slider/themes/light/slider.indigo.css.js.map +1 -1
- package/components/slider/themes/light/slider.material.css.js +1 -1
- package/components/slider/themes/light/slider.material.css.js.map +1 -1
- package/components/snackbar/snackbar.js +3 -0
- package/components/snackbar/snackbar.js.map +1 -1
- package/components/tabs/tab-panel.js +2 -3
- package/components/tabs/tab-panel.js.map +1 -1
- package/components/tabs/tab.js +1 -1
- package/components/tabs/tab.js.map +1 -1
- package/components/tabs/tabs.d.ts +2 -3
- package/components/tabs/tabs.js +10 -2
- package/components/tabs/tabs.js.map +1 -1
- package/components/tabs/themes/light/tab.base.css.js +1 -1
- package/components/tabs/themes/light/tab.base.css.js.map +1 -1
- package/components/toggle/toggle.controller.d.ts +17 -2
- package/components/toggle/toggle.controller.js +16 -11
- package/components/toggle/toggle.controller.js.map +1 -1
- package/components/toggle/toggle.directive.d.ts +1 -1
- package/components/toggle/toggle.directive.js +1 -0
- package/components/toggle/toggle.directive.js.map +1 -1
- package/components/tree/tree-item.d.ts +0 -1
- package/components/tree/tree-item.js +8 -1
- package/components/tree/tree-item.js.map +1 -1
- package/components/tree/tree.common.js.map +1 -1
- package/components/tree/tree.d.ts +2 -2
- package/components/tree/tree.js +22 -2
- package/components/tree/tree.js.map +1 -1
- package/custom-elements.json +125 -28
- package/index.d.ts +7 -12
- package/index.js +4 -11
- package/index.js.map +1 -1
- package/package.json +10 -8
- package/vscode-html-custom-data.json +31 -35
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../src/components/tree/tree.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAmBxE,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,YAAY,CACxD,iBAAiB,CAA2C,UAAU,CAAC,CACxE;IAsEC;QACE,KAAK,EAAE,CAAC;QAxDH,uBAAkB,GAAG,KAAK,CAAC;QAI3B,cAAS,GAAoC,MAAM,CAAC;QAI3C,QAAG,GAAc,MAAM,CAAC;QAiDtC,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,IAA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,CAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4DAC5C;AAIlC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAC+B;AAI3D;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACY;AAGxC;IADC,KAAK,CAAC,KAAK,CAAC;mDAKZ;AAGD;IADC,KAAK,CAAC,MAAM,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;oDAU7C;AAGD;IADC,KAAK,CAAC,WAAW,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;2DAMlD;AAGD;IADC,KAAK,CAAC,oBAAoB,CAAC;gEAgB3B;AA2BD;IADC,cAAc,EAAE;6CAGhB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { watch } from '../common/decorators/watch.js';\nimport { styles } from './themes/light/tree.base.css.js';\nimport { Constructor } from '../common/mixins/constructor.js';\nimport { EventEmitterMixin } from '../common/mixins/event-emitter.js';\nimport { SizableMixin } from '../common/mixins/sizable.js';\nimport IgcTreeItemComponent from './tree-item.js';\nimport { IgcTreeEventMap } from './tree.common.js';\nimport { IgcTreeNavigationService } from './tree.navigation.js';\nimport { IgcTreeSelectionService } from './tree.selection.js';\nimport { blazorSuppress } from '../common/decorators/blazorSuppress.js';\n\ntype Direction = 'ltr' | 'rtl' | 'auto';\n\n/**\n * The tree allows users to represent hierarchical data in a tree-view structure,\n * maintaining parent-child relationships, as well as to define static tree-view structure without a corresponding data model.\n *\n * @element igc-tree\n *\n * @slot - Renders the tree items inside default slot.\n *\n * @fires igcSelection - Emitted when item selection is changing, before the selection completes.\n * @fires igcItemCollapsed - Emitted when tree item is collapsed.\n * @fires igcItemCollapsing - Emitted when tree item is about to collapse.\n * @fires igcItemExpanded - Emitted when tree item is expanded.\n * @fires igcItemExpanding - Emitted when tree item is about to expand.\n * @fires igcItemActivated - Emitted when the tree's `active` item changes.\n */\nexport default class IgcTreeComponent extends SizableMixin(\n EventEmitterMixin<IgcTreeEventMap, Constructor<LitElement>>(LitElement)\n) {\n /** @private */\n public static readonly tagName = 'igc-tree';\n /** @private */\n public static styles = styles;\n\n /** @private */\n @blazorSuppress()\n public selectionService!: IgcTreeSelectionService;\n /** @private */\n @blazorSuppress()\n public navService!: IgcTreeNavigationService;\n\n /** Whether a single or multiple of a parent's child items can be expanded. */\n @property({ attribute: 'single-branch-expand', reflect: true, type: Boolean })\n public singleBranchExpand = false;\n\n /** The selection state of the tree. */\n @property({ reflect: true })\n public selection: 'none' | 'multiple' | 'cascade' = 'none';\n\n /** The direction attribute of the control. */\n @property({ reflect: true })\n public override dir: Direction = 'auto';\n\n @watch('dir')\n protected onDirChange(): void {\n this.items?.forEach((item: IgcTreeItemComponent) => {\n item.requestUpdate();\n });\n }\n\n @watch('size', { waitUntilFirstUpdate: true })\n protected onSizeChange(): void {\n this.items?.forEach((item: IgcTreeItemComponent) => {\n item.requestUpdate();\n });\n this.navService.activeItem?.wrapper?.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'nearest',\n });\n }\n\n @watch('selection', { waitUntilFirstUpdate: true })\n protected selectionModeChange(): void {\n this.selectionService.clearItemsSelection();\n this.items?.forEach((item: IgcTreeItemComponent) => {\n item.requestUpdate();\n });\n }\n\n @watch('singleBranchExpand')\n protected singleBranchExpandChange(): void {\n if (this.singleBranchExpand) {\n // if activeItem -> do not collapse its branch\n if (this.navService.activeItem) {\n const path = this.navService.activeItem.path;\n const remainExpanded = new Set(path.splice(0, path.length - 1));\n this.items.forEach((item) => {\n if (!remainExpanded.has(item)) {\n item.collapseWithEvent();\n }\n });\n } else {\n this.items.forEach((item) => item.collapseWithEvent());\n }\n }\n }\n\n constructor() {\n super();\n this.selectionService = new IgcTreeSelectionService(this);\n this.navService = new IgcTreeNavigationService(this, this.selectionService);\n }\n\n public override connectedCallback(): void {\n super.connectedCallback();\n this.setAttribute('role', 'tree');\n this.addEventListener('keydown', this.handleKeydown);\n // set init to true for all items which are rendered along with the tree\n this.items.forEach((i: IgcTreeItemComponent) => {\n i.init = true;\n });\n const firstNotDisabledItem = this.items.find(\n (i: IgcTreeItemComponent) => !i.disabled\n );\n if (firstNotDisabledItem) {\n firstNotDisabledItem.tabIndex = 0;\n this.navService.focusItem(firstNotDisabledItem);\n }\n }\n\n /** Returns all of the tree's items. */\n @blazorSuppress()\n public get items(): Array<IgcTreeItemComponent> {\n return Array.from(this.querySelectorAll(`igc-tree-item`));\n }\n\n private handleKeydown(event: KeyboardEvent) {\n this.navService.handleKeydown(event);\n }\n\n /** @private */\n public expandToItem(item: IgcTreeItemComponent): void {\n if (item && item.parent) {\n item.path.forEach((i) => {\n if (i !== item && !i.expanded) {\n i.expanded = true;\n }\n });\n }\n }\n\n /** Select all items if the items collection is empty. Otherwise, select the items in the items collection. */\n public select(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n if (!items) {\n items =\n this.selection === 'cascade'\n ? this.items.filter((item: IgcTreeItemComponent) => item.level === 0)\n : this.items;\n }\n this.selectionService.selectItemsWithNoEvent(items);\n }\n\n /** Deselect all items if the items collection is empty. Otherwise, deselect the items in the items collection. */\n public deselect(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n this.selectionService.deselectItemsWithNoEvent(items);\n }\n\n /**\n * Expands all of the passed items.\n * If no items are passed, expands ALL items.\n */\n public expand(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n items = items || this.items;\n items.forEach((item) => (item.expanded = true));\n }\n\n /**\n * Collapses all of the passed items.\n * If no items are passed, collapses ALL items.\n */\n public collapse(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n items = items || this.items;\n items.forEach((item) => (item.expanded = false));\n }\n\n protected override render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-tree': IgcTreeComponent;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../src/components/tree/tree.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAGpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,oBAAoB,MAAM,gBAAgB,CAAC;AAElD,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAkBvC,IAAqB,gBAAgB,GAArC,MAAqB,gBAAiB,SAAQ,YAAY,CACxD,iBAAiB,CAA2C,UAAU,CAAC,CACxE;IAsEC;QACE,KAAK,EAAE,CAAC;QAxDH,uBAAkB,GAAG,KAAK,CAAC;QAI3B,cAAS,GAAoC,MAAM,CAAC;QAI3C,QAAG,GAAc,MAAM,CAAC;QAiDtC,IAAI,CAAC,gBAAgB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC1D,IAAI,CAAC,UAAU,GAAG,IAAI,wBAAwB,CAAC,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC9E,CAAC;IAhD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,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAC+B;AAI3D;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACY;AAGxC;IADC,KAAK,CAAC,KAAK,CAAC;mDAKZ;AAGD;IADC,KAAK,CAAC,MAAM,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;oDAU7C;AAGD;IADC,KAAK,CAAC,WAAW,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;2DAMlD;AAGD;IADC,KAAK,CAAC,oBAAoB,CAAC;gEAgB3B;AA2BD;IADC,cAAc,EAAE;6CAGhB;AAmBD;IADC,cAAc,EAAE;8CAYhB;AAID;IADC,cAAc,EAAE;gDAMhB;AAOD;IADC,cAAc,EAAE;8CAOhB;AAOD;IADC,cAAc,EAAE;gDAOhB;AApKkB,gBAAgB;IADpC,4BAA4B,CAAC,sBAAsB,CAAC;GAChC,gBAAgB,CAyKpC;eAzKoB,gBAAgB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { watch } from '../common/decorators/watch.js';\nimport { styles } from './themes/light/tree.base.css.js';\nimport { Constructor } from '../common/mixins/constructor.js';\nimport { EventEmitterMixin } from '../common/mixins/event-emitter.js';\nimport { SizableMixin } from '../common/mixins/sizable.js';\nimport { IgcTreeEventMap } from './tree.common.js';\nimport { IgcTreeNavigationService } from './tree.navigation.js';\nimport { IgcTreeSelectionService } from './tree.selection.js';\nimport { blazorSuppress } from '../common/decorators/blazorSuppress.js';\nimport { blazorAdditionalDependencies } from '../common/decorators/blazorAdditionalDependencies.js';\nimport { Direction } from '../common/types.js';\n\nimport { defineComponents } from '../common/definitions/defineComponents.js';\nimport IgcTreeItemComponent from './tree-item.js';\n\ndefineComponents(IgcTreeItemComponent);\n\n/**\n * The tree allows users to represent hierarchical data in a tree-view structure,\n * maintaining parent-child relationships, as well as to define static tree-view structure without a corresponding data model.\n *\n * @element igc-tree\n *\n * @slot - Renders the tree items inside default slot.\n *\n * @fires igcSelection - Emitted when item selection is changing, before the selection completes.\n * @fires igcItemCollapsed - Emitted when tree item is collapsed.\n * @fires igcItemCollapsing - Emitted when tree item is about to collapse.\n * @fires igcItemExpanded - Emitted when tree item is expanded.\n * @fires igcItemExpanding - Emitted when tree item is about to expand.\n * @fires igcItemActivated - Emitted when the tree's `active` item changes.\n */\n@blazorAdditionalDependencies('IgcTreeItemComponent')\nexport default class IgcTreeComponent extends SizableMixin(\n EventEmitterMixin<IgcTreeEventMap, Constructor<LitElement>>(LitElement)\n) {\n /** @private */\n public static readonly tagName = 'igc-tree';\n /** @private */\n public static styles = styles;\n\n /** @private */\n @blazorSuppress()\n public selectionService!: IgcTreeSelectionService;\n /** @private */\n @blazorSuppress()\n public navService!: IgcTreeNavigationService;\n\n /** Whether a single or multiple of a parent's child items can be expanded. */\n @property({ attribute: 'single-branch-expand', reflect: true, type: Boolean })\n public singleBranchExpand = false;\n\n /** The selection state of the tree. */\n @property({ reflect: true })\n public selection: 'none' | 'multiple' | 'cascade' = 'none';\n\n /** The direction attribute of the control. */\n @property({ reflect: true })\n public override dir: Direction = 'auto';\n\n @watch('dir')\n protected onDirChange(): void {\n this.items?.forEach((item: IgcTreeItemComponent) => {\n item.requestUpdate();\n });\n }\n\n @watch('size', { waitUntilFirstUpdate: true })\n protected onSizeChange(): void {\n this.items?.forEach((item: IgcTreeItemComponent) => {\n item.requestUpdate();\n });\n this.navService.activeItem?.wrapper?.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'nearest',\n });\n }\n\n @watch('selection', { waitUntilFirstUpdate: true })\n protected selectionModeChange(): void {\n this.selectionService.clearItemsSelection();\n this.items?.forEach((item: IgcTreeItemComponent) => {\n item.requestUpdate();\n });\n }\n\n @watch('singleBranchExpand')\n protected singleBranchExpandChange(): void {\n if (this.singleBranchExpand) {\n // if activeItem -> do not collapse its branch\n if (this.navService.activeItem) {\n const path = this.navService.activeItem.path;\n const remainExpanded = new Set(path.splice(0, path.length - 1));\n this.items.forEach((item) => {\n if (!remainExpanded.has(item)) {\n item.collapseWithEvent();\n }\n });\n } else {\n this.items.forEach((item) => item.collapseWithEvent());\n }\n }\n }\n\n constructor() {\n super();\n this.selectionService = new IgcTreeSelectionService(this);\n this.navService = new IgcTreeNavigationService(this, this.selectionService);\n }\n\n public override connectedCallback(): void {\n super.connectedCallback();\n this.setAttribute('role', 'tree');\n this.addEventListener('keydown', this.handleKeydown);\n // set init to true for all items which are rendered along with the tree\n this.items.forEach((i: IgcTreeItemComponent) => {\n i.init = true;\n });\n const firstNotDisabledItem = this.items.find(\n (i: IgcTreeItemComponent) => !i.disabled\n );\n if (firstNotDisabledItem) {\n firstNotDisabledItem.tabIndex = 0;\n this.navService.focusItem(firstNotDisabledItem);\n }\n }\n\n /** Returns all of the tree's items. */\n @blazorSuppress()\n public get items(): Array<IgcTreeItemComponent> {\n return Array.from(this.querySelectorAll(`igc-tree-item`));\n }\n\n private handleKeydown(event: KeyboardEvent) {\n this.navService.handleKeydown(event);\n }\n\n /** @private */\n public expandToItem(item: IgcTreeItemComponent): void {\n if (item && item.parent) {\n item.path.forEach((i) => {\n if (i !== item && !i.expanded) {\n i.expanded = true;\n }\n });\n }\n }\n\n /** Select all items if the items collection is empty. Otherwise, select the items in the items collection. */\n @blazorSuppress()\n public select(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n if (!items) {\n items =\n this.selection === 'cascade'\n ? this.items.filter((item: IgcTreeItemComponent) => item.level === 0)\n : this.items;\n }\n this.selectionService.selectItemsWithNoEvent(items);\n }\n\n /** Deselect all items if the items collection is empty. Otherwise, deselect the items in the items collection. */\n @blazorSuppress()\n public deselect(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n this.selectionService.deselectItemsWithNoEvent(items);\n }\n\n /**\n * Expands all of the passed items.\n * If no items are passed, expands ALL items.\n */\n @blazorSuppress()\n public expand(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n items = items || this.items;\n items.forEach((item) => (item.expanded = true));\n }\n\n /**\n * Collapses all of the passed items.\n * If no items are passed, collapses ALL items.\n */\n @blazorSuppress()\n public collapse(\n /* alternateType: TreeItemCollection */\n items?: IgcTreeItemComponent[]\n ): void {\n items = items || this.items;\n items.forEach((item) => (item.expanded = false));\n }\n\n protected override render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-tree': IgcTreeComponent;\n }\n}\n"]}
|
package/custom-elements.json
CHANGED
|
@@ -1,6 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "experimental",
|
|
3
3
|
"tags": [
|
|
4
|
+
{
|
|
5
|
+
"name": "igc-accordion",
|
|
6
|
+
"path": "./src/components/accordion/accordion.ts",
|
|
7
|
+
"description": "The Accordion is a container-based component that can house multiple expansion panels\nand offers keyboard navigation.",
|
|
8
|
+
"attributes": [
|
|
9
|
+
{
|
|
10
|
+
"name": "single-expand",
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": "false"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"properties": [
|
|
16
|
+
{
|
|
17
|
+
"name": "tagName",
|
|
18
|
+
"type": "\"igc-accordion\"",
|
|
19
|
+
"default": "\"igc-accordion\""
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "styles",
|
|
23
|
+
"type": "CSSResult",
|
|
24
|
+
"default": "\"styles\""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "singleExpand",
|
|
28
|
+
"attribute": "single-expand",
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"default": "false"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "panels",
|
|
34
|
+
"description": "Returns all of the accordions's direct igc-expansion-panel children.",
|
|
35
|
+
"type": "IgcExpansionPanelComponent[]"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"slots": [
|
|
39
|
+
{
|
|
40
|
+
"name": "",
|
|
41
|
+
"description": "Renders the expansion panels inside default slot."
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
4
45
|
{
|
|
5
46
|
"name": "igc-avatar",
|
|
6
47
|
"path": "./src/components/avatar/avatar.ts",
|
|
@@ -853,6 +894,11 @@
|
|
|
853
894
|
}
|
|
854
895
|
],
|
|
855
896
|
"properties": [
|
|
897
|
+
{
|
|
898
|
+
"name": "tagName",
|
|
899
|
+
"type": "\"igc-days-view\"",
|
|
900
|
+
"default": "\"igc-days-view\""
|
|
901
|
+
},
|
|
856
902
|
{
|
|
857
903
|
"name": "styles",
|
|
858
904
|
"type": "CSSResult",
|
|
@@ -1007,6 +1053,11 @@
|
|
|
1007
1053
|
}
|
|
1008
1054
|
],
|
|
1009
1055
|
"properties": [
|
|
1056
|
+
{
|
|
1057
|
+
"name": "tagName",
|
|
1058
|
+
"type": "\"igc-months-view\"",
|
|
1059
|
+
"default": "\"igc-months-view\""
|
|
1060
|
+
},
|
|
1010
1061
|
{
|
|
1011
1062
|
"name": "styles",
|
|
1012
1063
|
"type": "CSSResult",
|
|
@@ -1061,6 +1112,11 @@
|
|
|
1061
1112
|
}
|
|
1062
1113
|
],
|
|
1063
1114
|
"properties": [
|
|
1115
|
+
{
|
|
1116
|
+
"name": "tagName",
|
|
1117
|
+
"type": "\"igc-years-view\"",
|
|
1118
|
+
"default": "\"igc-years-view\""
|
|
1119
|
+
},
|
|
1064
1120
|
{
|
|
1065
1121
|
"name": "styles",
|
|
1066
1122
|
"type": "CSSResult",
|
|
@@ -4065,12 +4121,35 @@
|
|
|
4065
4121
|
"name": "tagName",
|
|
4066
4122
|
"type": "\"igc-rating-symbol\"",
|
|
4067
4123
|
"default": "\"igc-rating-symbol\""
|
|
4124
|
+
},
|
|
4125
|
+
{
|
|
4126
|
+
"name": "styles",
|
|
4127
|
+
"type": "CSSResult[]",
|
|
4128
|
+
"default": "[\"styles\"]"
|
|
4068
4129
|
}
|
|
4069
4130
|
],
|
|
4070
4131
|
"slots": [
|
|
4071
4132
|
{
|
|
4072
4133
|
"name": "",
|
|
4073
|
-
"description": "Default slot for projected symbols/icons."
|
|
4134
|
+
"description": "Default slot for projected full symbols/icons."
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
"name": "empty",
|
|
4138
|
+
"description": "Default slot for projected empty symbols/icons."
|
|
4139
|
+
}
|
|
4140
|
+
],
|
|
4141
|
+
"cssParts": [
|
|
4142
|
+
{
|
|
4143
|
+
"name": "symbol",
|
|
4144
|
+
"description": "The symbol wrapping container."
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"name": "full",
|
|
4148
|
+
"description": "The full symbol wrapping container."
|
|
4149
|
+
},
|
|
4150
|
+
{
|
|
4151
|
+
"name": "empty",
|
|
4152
|
+
"description": "The empty symbol wrapping container."
|
|
4074
4153
|
}
|
|
4075
4154
|
]
|
|
4076
4155
|
},
|
|
@@ -4091,12 +4170,6 @@
|
|
|
4091
4170
|
"type": "number",
|
|
4092
4171
|
"default": "1"
|
|
4093
4172
|
},
|
|
4094
|
-
{
|
|
4095
|
-
"name": "symbol",
|
|
4096
|
-
"description": "The symbol which the rating will display.",
|
|
4097
|
-
"type": "string",
|
|
4098
|
-
"default": "\"⭐\""
|
|
4099
|
-
},
|
|
4100
4173
|
{
|
|
4101
4174
|
"name": "name",
|
|
4102
4175
|
"description": "The name attribute of the control",
|
|
@@ -4136,6 +4209,12 @@
|
|
|
4136
4209
|
"type": "boolean",
|
|
4137
4210
|
"default": "false"
|
|
4138
4211
|
},
|
|
4212
|
+
{
|
|
4213
|
+
"name": "single",
|
|
4214
|
+
"description": "Toggles single selection visual mode.",
|
|
4215
|
+
"type": "boolean",
|
|
4216
|
+
"default": "false"
|
|
4217
|
+
},
|
|
4139
4218
|
{
|
|
4140
4219
|
"name": "size",
|
|
4141
4220
|
"description": "Determines the size of the component.",
|
|
@@ -4168,13 +4247,6 @@
|
|
|
4168
4247
|
"type": "number",
|
|
4169
4248
|
"default": "1"
|
|
4170
4249
|
},
|
|
4171
|
-
{
|
|
4172
|
-
"name": "symbol",
|
|
4173
|
-
"attribute": "symbol",
|
|
4174
|
-
"description": "The symbol which the rating will display.",
|
|
4175
|
-
"type": "string",
|
|
4176
|
-
"default": "\"⭐\""
|
|
4177
|
-
},
|
|
4178
4250
|
{
|
|
4179
4251
|
"name": "name",
|
|
4180
4252
|
"attribute": "name",
|
|
@@ -4221,6 +4293,13 @@
|
|
|
4221
4293
|
"type": "boolean",
|
|
4222
4294
|
"default": "false"
|
|
4223
4295
|
},
|
|
4296
|
+
{
|
|
4297
|
+
"name": "single",
|
|
4298
|
+
"attribute": "single",
|
|
4299
|
+
"description": "Toggles single selection visual mode.",
|
|
4300
|
+
"type": "boolean",
|
|
4301
|
+
"default": "false"
|
|
4302
|
+
},
|
|
4224
4303
|
{
|
|
4225
4304
|
"name": "size",
|
|
4226
4305
|
"attribute": "size",
|
|
@@ -4239,6 +4318,28 @@
|
|
|
4239
4318
|
"description": "Emitted when hover is enabled and the user mouses over a symbol of the rating."
|
|
4240
4319
|
}
|
|
4241
4320
|
],
|
|
4321
|
+
"cssProperties": [
|
|
4322
|
+
{
|
|
4323
|
+
"name": "--symbol-size",
|
|
4324
|
+
"description": "The size of the symbols."
|
|
4325
|
+
},
|
|
4326
|
+
{
|
|
4327
|
+
"name": "--symbol-full-color",
|
|
4328
|
+
"description": "The color of the filled symbol."
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"name": "--symbol-empty-color",
|
|
4332
|
+
"description": "The color of the empty symbol."
|
|
4333
|
+
},
|
|
4334
|
+
{
|
|
4335
|
+
"name": "--symbol-full-filter",
|
|
4336
|
+
"description": "The filter(s) used for the filled symbol."
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
"name": "--symbol-empty-filter",
|
|
4340
|
+
"description": "The filter(s) used for the empty symbol."
|
|
4341
|
+
}
|
|
4342
|
+
],
|
|
4242
4343
|
"cssParts": [
|
|
4243
4344
|
{
|
|
4244
4345
|
"name": "base",
|
|
@@ -4249,28 +4350,24 @@
|
|
|
4249
4350
|
"description": "The label part."
|
|
4250
4351
|
},
|
|
4251
4352
|
{
|
|
4252
|
-
"name": "
|
|
4253
|
-
"description": "The
|
|
4353
|
+
"name": "value-label",
|
|
4354
|
+
"description": "The value label part."
|
|
4254
4355
|
},
|
|
4255
4356
|
{
|
|
4256
|
-
"name": "
|
|
4257
|
-
"description": "
|
|
4357
|
+
"name": "symbols",
|
|
4358
|
+
"description": "A wrapper for all rating symbols."
|
|
4258
4359
|
},
|
|
4259
4360
|
{
|
|
4260
|
-
"name": "
|
|
4261
|
-
"description": "The
|
|
4262
|
-
},
|
|
4263
|
-
{
|
|
4264
|
-
"name": "large",
|
|
4265
|
-
"description": "A part responsible for the symbols size."
|
|
4361
|
+
"name": "symbol",
|
|
4362
|
+
"description": "The part of the encapsulated default symbol."
|
|
4266
4363
|
},
|
|
4267
4364
|
{
|
|
4268
|
-
"name": "
|
|
4269
|
-
"description": "
|
|
4365
|
+
"name": "full",
|
|
4366
|
+
"description": "The part of the encapsulated full symbols."
|
|
4270
4367
|
},
|
|
4271
4368
|
{
|
|
4272
|
-
"name": "
|
|
4273
|
-
"description": "
|
|
4369
|
+
"name": "empty",
|
|
4370
|
+
"description": "The part of the encapsulated empty symbols."
|
|
4274
4371
|
}
|
|
4275
4372
|
]
|
|
4276
4373
|
},
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as IgcAvatarComponent } from './components/avatar/avatar.js';
|
|
2
|
+
export { default as IgcAccordionComponent } from './components/accordion/accordion.js';
|
|
2
3
|
export { default as IgcBadgeComponent } from './components/badge/badge.js';
|
|
3
4
|
export { default as IgcButtonComponent } from './components/button/button.js';
|
|
4
5
|
export { default as IgcCalendarComponent } from './components/calendar/calendar.js';
|
|
@@ -39,9 +40,9 @@ export { default as IgcRangeSliderComponent } from './components/slider/range-sl
|
|
|
39
40
|
export { default as IgcSnackbarComponent } from './components/snackbar/snackbar.js';
|
|
40
41
|
export { default as IgcSliderComponent } from './components/slider/slider.js';
|
|
41
42
|
export { default as IgcSliderLabelComponent } from './components/slider/slider-label.js';
|
|
42
|
-
export { default as IgcTabsComponent } from './components/tabs/tabs';
|
|
43
|
-
export { default as IgcTabComponent } from './components/tabs/tab';
|
|
44
|
-
export { default as IgcTabPanelComponent } from './components/tabs/tab-panel';
|
|
43
|
+
export { default as IgcTabsComponent } from './components/tabs/tabs.js';
|
|
44
|
+
export { default as IgcTabComponent } from './components/tabs/tab.js';
|
|
45
|
+
export { default as IgcTabPanelComponent } from './components/tabs/tab-panel.js';
|
|
45
46
|
export { default as IgcToastComponent } from './components/toast/toast.js';
|
|
46
47
|
export { default as IgcSwitchComponent } from './components/checkbox/switch.js';
|
|
47
48
|
export { default as IgcTreeComponent } from './components/tree/tree.js';
|
|
@@ -51,12 +52,6 @@ export { defineAllComponents } from './components/common/definitions/defineAllCo
|
|
|
51
52
|
export { registerIcon, registerIconFromText, } from './components/icon/icon.registry.js';
|
|
52
53
|
export { configureTheme } from './theming/config.js';
|
|
53
54
|
export { IgcCalendarResourceStrings } from './components/common/i18n/calendar.resources.js';
|
|
54
|
-
export { DateRangeDescriptor, DateRangeType, } from './components/calendar/common/calendar.model.js';
|
|
55
|
-
export { DatePart, DatePartDeltas, } from './components/date-time-input/date-util.js';
|
|
56
|
-
export { IgcRangeSliderValue } from './components/slider/range-slider.js';
|
|
57
|
-
export { SizableMixin } from './components/common/mixins/sizable.js';
|
|
58
|
-
export { IgcCheckboxBaseComponent } from './components/checkbox/checkbox-base.js';
|
|
59
|
-
export { IgcInputBaseComponent } from './components/input/input-base.js';
|
|
60
|
-
export { IgcSliderBaseComponent } from './components/slider/slider-base.js';
|
|
61
|
-
export { IgcButtonBaseComponent } from './components/button/button-base.js';
|
|
62
|
-
export { IgcCalendarBaseComponent } from './components/calendar/common/calendar-base.js';
|
|
55
|
+
export type { DateRangeDescriptor, DateRangeType, } from './components/calendar/common/calendar.model.js';
|
|
56
|
+
export type { DatePart, DatePartDeltas, } from './components/date-time-input/date-util.js';
|
|
57
|
+
export type { IgcRangeSliderValue } from './components/slider/range-slider.js';
|
package/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as IgcAvatarComponent } from './components/avatar/avatar.js';
|
|
2
|
+
export { default as IgcAccordionComponent } from './components/accordion/accordion.js';
|
|
2
3
|
export { default as IgcBadgeComponent } from './components/badge/badge.js';
|
|
3
4
|
export { default as IgcButtonComponent } from './components/button/button.js';
|
|
4
5
|
export { default as IgcCalendarComponent } from './components/calendar/calendar.js';
|
|
@@ -39,9 +40,9 @@ export { default as IgcRangeSliderComponent } from './components/slider/range-sl
|
|
|
39
40
|
export { default as IgcSnackbarComponent } from './components/snackbar/snackbar.js';
|
|
40
41
|
export { default as IgcSliderComponent } from './components/slider/slider.js';
|
|
41
42
|
export { default as IgcSliderLabelComponent } from './components/slider/slider-label.js';
|
|
42
|
-
export { default as IgcTabsComponent } from './components/tabs/tabs';
|
|
43
|
-
export { default as IgcTabComponent } from './components/tabs/tab';
|
|
44
|
-
export { default as IgcTabPanelComponent } from './components/tabs/tab-panel';
|
|
43
|
+
export { default as IgcTabsComponent } from './components/tabs/tabs.js';
|
|
44
|
+
export { default as IgcTabComponent } from './components/tabs/tab.js';
|
|
45
|
+
export { default as IgcTabPanelComponent } from './components/tabs/tab-panel.js';
|
|
45
46
|
export { default as IgcToastComponent } from './components/toast/toast.js';
|
|
46
47
|
export { default as IgcSwitchComponent } from './components/checkbox/switch.js';
|
|
47
48
|
export { default as IgcTreeComponent } from './components/tree/tree.js';
|
|
@@ -50,12 +51,4 @@ export { defineComponents } from './components/common/definitions/defineComponen
|
|
|
50
51
|
export { defineAllComponents } from './components/common/definitions/defineAllComponents.js';
|
|
51
52
|
export { registerIcon, registerIconFromText, } from './components/icon/icon.registry.js';
|
|
52
53
|
export { configureTheme } from './theming/config.js';
|
|
53
|
-
export { DateRangeType, } from './components/calendar/common/calendar.model.js';
|
|
54
|
-
export { DatePart, } from './components/date-time-input/date-util.js';
|
|
55
|
-
export { SizableMixin } from './components/common/mixins/sizable.js';
|
|
56
|
-
export { IgcCheckboxBaseComponent } from './components/checkbox/checkbox-base.js';
|
|
57
|
-
export { IgcInputBaseComponent } from './components/input/input-base.js';
|
|
58
|
-
export { IgcSliderBaseComponent } from './components/slider/slider-base.js';
|
|
59
|
-
export { IgcButtonBaseComponent } from './components/button/button-base.js';
|
|
60
|
-
export { IgcCalendarBaseComponent } from './components/calendar/common/calendar-base.js';
|
|
61
54
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,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ACxE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAGjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wDAAwD,CAAC;AAG7F,OAAO,EACL,YAAY,EACZ,oBAAoB,GACrB,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["// Components\nexport { default as IgcAvatarComponent } from './components/avatar/avatar.js';\nexport { default as IgcAccordionComponent } from './components/accordion/accordion.js';\nexport { default as IgcBadgeComponent } from './components/badge/badge.js';\nexport { default as IgcButtonComponent } from './components/button/button.js';\nexport { default as IgcCalendarComponent } from './components/calendar/calendar.js';\nexport { default as IgcCardComponent } from './components/card/card.js';\nexport { default as IgcCardActionsComponent } from './components/card/card.actions.js';\nexport { default as IgcCardContentComponent } from './components/card/card.content.js';\nexport { default as IgcCardHeaderComponent } from './components/card/card.header.js';\nexport { default as IgcCardMediaComponent } from './components/card/card.media.js';\nexport { default as IgcCheckboxComponent } from './components/checkbox/checkbox.js';\nexport { default as IgcCircularProgressComponent } from './components/progress/circular-progress.js';\nexport { default as IgcCircularGradientComponent } from './components/progress/circular-gradient.js';\nexport { default as IgcChipComponent } from './components/chip/chip.js';\nexport { default as IgcDateTimeInputComponent } from './components/date-time-input/date-time-input.js';\nexport { default as IgcDropdownComponent } from './components/dropdown/dropdown.js';\nexport { default as IgcDropdownGroupComponent } from './components/dropdown/dropdown-group.js';\nexport { default as IgcDropdownHeaderComponent } from './components/dropdown/dropdown-header.js';\nexport { default as IgcDropdownItemComponent } from './components/dropdown/dropdown-item.js';\nexport { default as IgcExpansionPanelComponent } from './components/expansion-panel/expansion-panel.js';\nexport { default as IgcIconComponent } from './components/icon/icon.js';\nexport { default as IgcIconButtonComponent } from './components/button/icon-button.js';\nexport { default as IgcInputComponent } from './components/input/input.js';\nexport { default as IgcFormComponent } from './components/form/form.js';\nexport { default as IgcLinearProgressComponent } from './components/progress/linear-progress.js';\nexport { default as IgcListComponent } from './components/list/list.js';\nexport { default as IgcListHeaderComponent } from './components/list/list-header.js';\nexport { default as IgcListItemComponent } from './components/list/list-item.js';\nexport { default as IgcMaskInputComponent } from './components/mask-input/mask-input.js';\nexport { default as IgcNavDrawerComponent } from './components/nav-drawer/nav-drawer.js';\nexport { default as IgcNavDrawerHeaderItemComponent } from './components/nav-drawer/nav-drawer-header-item.js';\nexport { default as IgcNavDrawerItemComponent } from './components/nav-drawer/nav-drawer-item.js';\nexport { default as IgcNavbarComponent } from './components/navbar/navbar.js';\nexport { default as IgcRadioGroupComponent } from './components/radio-group/radio-group.js';\nexport { default as IgcRadioComponent } from './components/radio/radio.js';\nexport { default as IgcRatingComponent } from './components/rating/rating.js';\nexport { default as IgcRatingSymbolComponent } from './components/rating/rating-symbol.js';\nexport { default as IgcRippleComponent } from './components/ripple/ripple.js';\nexport { default as IgcRangeSliderComponent } from './components/slider/range-slider.js';\nexport { default as IgcSnackbarComponent } from './components/snackbar/snackbar.js';\nexport { default as IgcSliderComponent } from './components/slider/slider.js';\nexport { default as IgcSliderLabelComponent } from './components/slider/slider-label.js';\nexport { default as IgcTabsComponent } from './components/tabs/tabs.js';\nexport { default as IgcTabComponent } from './components/tabs/tab.js';\nexport { default as IgcTabPanelComponent } from './components/tabs/tab-panel.js';\nexport { default as IgcToastComponent } from './components/toast/toast.js';\nexport { default as IgcSwitchComponent } from './components/checkbox/switch.js';\nexport { default as IgcTreeComponent } from './components/tree/tree.js';\nexport { default as IgcTreeItemComponent } from './components/tree/tree-item.js';\n\n// definitions\nexport { defineComponents } from './components/common/definitions/defineComponents.js';\nexport { defineAllComponents } from './components/common/definitions/defineAllComponents.js';\n\n// icon registration\nexport {\n registerIcon,\n registerIconFromText,\n} from './components/icon/icon.registry.js';\n\n// theming configuration\nexport { configureTheme } from './theming/config.js';\n\n// localization objects\nexport { IgcCalendarResourceStrings } from './components/common/i18n/calendar.resources.js';\n\n// Types\nexport type {\n DateRangeDescriptor,\n DateRangeType,\n} from './components/calendar/common/calendar.model.js';\nexport type {\n DatePart,\n DatePartDeltas,\n} from './components/date-time-input/date-util.js';\nexport type { IgcRangeSliderValue } from './components/slider/range-slider.js';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-webcomponents",
|
|
3
|
-
"version": "3.3.0
|
|
3
|
+
"version": "3.3.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",
|
|
@@ -10,10 +10,6 @@
|
|
|
10
10
|
"module": "index.js",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
12
|
"sideEffects": [
|
|
13
|
-
"components/calendar/days-view/days-view.js",
|
|
14
|
-
"components/calendar/months-view/months-view.js",
|
|
15
|
-
"components/calendar/years-view/years-view.js",
|
|
16
|
-
"components/icon/icon.js",
|
|
17
13
|
"*.css"
|
|
18
14
|
],
|
|
19
15
|
"repository": {
|
|
@@ -27,6 +23,7 @@
|
|
|
27
23
|
"webcomponents",
|
|
28
24
|
"web components",
|
|
29
25
|
"UI components",
|
|
26
|
+
"accordion",
|
|
30
27
|
"avatar",
|
|
31
28
|
"badge",
|
|
32
29
|
"button",
|
|
@@ -35,13 +32,16 @@
|
|
|
35
32
|
"circular progress",
|
|
36
33
|
"checkbox",
|
|
37
34
|
"chip",
|
|
35
|
+
"date input",
|
|
38
36
|
"dropdown",
|
|
37
|
+
"expansion panel",
|
|
39
38
|
"form",
|
|
40
39
|
"icon",
|
|
41
40
|
"input",
|
|
42
41
|
"linear progress",
|
|
43
42
|
"list",
|
|
44
43
|
"mask",
|
|
44
|
+
"mask input",
|
|
45
45
|
"navbar",
|
|
46
46
|
"navdrawer",
|
|
47
47
|
"progress",
|
|
@@ -51,10 +51,12 @@
|
|
|
51
51
|
"snackbar",
|
|
52
52
|
"switch",
|
|
53
53
|
"slider",
|
|
54
|
-
"
|
|
54
|
+
"tabs",
|
|
55
|
+
"toast",
|
|
56
|
+
"tree"
|
|
55
57
|
],
|
|
56
58
|
"dependencies": {
|
|
57
|
-
"@floating-ui/dom": "^0.
|
|
58
|
-
"lit": "^2.2.
|
|
59
|
+
"@floating-ui/dom": "^1.0.0",
|
|
60
|
+
"lit": "^2.2.8"
|
|
59
61
|
}
|
|
60
62
|
}
|