igniteui-webcomponents 3.1.0 → 3.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 +16 -0
- package/README.md +6 -1
- package/components/button/button-base.d.ts +5 -0
- package/components/button/button-base.js +4 -0
- package/components/button/button-base.js.map +1 -1
- package/components/button/icon-button.js +10 -8
- package/components/button/icon-button.js.map +1 -1
- package/components/button/themes/button/light/button.base.css.js +1 -1
- package/components/button/themes/button/light/button.base.css.js.map +1 -1
- package/components/button/themes/button/light/button.material.css.js +1 -1
- package/components/button/themes/button/light/button.material.css.js.map +1 -1
- package/components/button/themes/icon-button/light/icon-button.base.css.js +1 -1
- package/components/button/themes/icon-button/light/icon-button.base.css.js.map +1 -1
- package/components/button/themes/icon-button/light/icon-button.bootstrap.css.js +1 -1
- package/components/button/themes/icon-button/light/icon-button.bootstrap.css.js.map +1 -1
- package/components/button/themes/icon-button/light/icon-button.fluent.css.js +1 -1
- package/components/button/themes/icon-button/light/icon-button.fluent.css.js.map +1 -1
- package/components/button/themes/icon-button/light/icon-button.indigo.css.js +1 -1
- package/components/button/themes/icon-button/light/icon-button.indigo.css.js.map +1 -1
- package/components/button/themes/icon-button/light/icon-button.material.css.js +1 -1
- package/components/button/themes/icon-button/light/icon-button.material.css.js.map +1 -1
- package/components/calendar/common/calendar-base.js +16 -12
- package/components/calendar/common/calendar-base.js.map +1 -1
- package/components/checkbox/themes/light/switch.base.css.js +1 -1
- package/components/checkbox/themes/light/switch.base.css.js.map +1 -1
- package/components/common/definitions/defineAllComponents.js +8 -0
- package/components/common/definitions/defineAllComponents.js.map +1 -1
- package/components/expansion-panel/expansion-panel.d.ts +72 -0
- package/components/expansion-panel/expansion-panel.js +167 -0
- package/components/expansion-panel/expansion-panel.js.map +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.base.css.d.ts +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.base.css.js +3 -0
- package/components/expansion-panel/themes/light/expansion-panel.base.css.js.map +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.bootstrap.css.d.ts +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.bootstrap.css.js +3 -0
- package/components/expansion-panel/themes/light/expansion-panel.bootstrap.css.js.map +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.fluent.css.d.ts +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.fluent.css.js +3 -0
- package/components/expansion-panel/themes/light/expansion-panel.fluent.css.js.map +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.indigo.css.d.ts +1 -0
- package/components/expansion-panel/themes/light/expansion-panel.indigo.css.js +3 -0
- package/components/expansion-panel/themes/light/expansion-panel.indigo.css.js.map +1 -0
- package/components/form/form.js +10 -2
- package/components/form/form.js.map +1 -1
- package/components/icon/icon.registry.js +3 -0
- package/components/icon/icon.registry.js.map +1 -1
- package/components/input/themes/light/input.base.css.js +1 -1
- package/components/input/themes/light/input.base.css.js.map +1 -1
- package/components/list/themes/light/list.base.css.js +1 -1
- package/components/list/themes/light/list.base.css.js.map +1 -1
- package/components/mask-input/mask-input.d.ts +102 -0
- package/components/mask-input/mask-input.js +260 -0
- package/components/mask-input/mask-input.js.map +1 -0
- package/components/mask-input/mask-parser.d.ts +30 -0
- package/components/mask-input/mask-parser.js +167 -0
- package/components/mask-input/mask-parser.js.map +1 -0
- package/components/nav-drawer/nav-drawer-item.d.ts +1 -0
- package/components/nav-drawer/nav-drawer-item.js +5 -2
- package/components/nav-drawer/nav-drawer-item.js.map +1 -1
- package/components/nav-drawer/styles/indigo/nav-drawer-item.indigo.css.js +1 -1
- package/components/nav-drawer/styles/indigo/nav-drawer-item.indigo.css.js.map +1 -1
- package/components/nav-drawer/styles/nav-drawer-item.base.css.js +1 -1
- package/components/nav-drawer/styles/nav-drawer-item.base.css.js.map +1 -1
- package/components/nav-drawer/styles/nav-drawer.base.css.js +1 -1
- package/components/nav-drawer/styles/nav-drawer.base.css.js.map +1 -1
- package/components/navbar/navbar.js +2 -1
- package/components/navbar/navbar.js.map +1 -1
- package/components/navbar/themes/light/navbar.base.css.js +1 -1
- package/components/navbar/themes/light/navbar.base.css.js.map +1 -1
- package/components/navbar/themes/light/navbar.bootstrap.css.js +1 -1
- package/components/navbar/themes/light/navbar.bootstrap.css.js.map +1 -1
- package/components/navbar/themes/light/navbar.fluent.css.d.ts +1 -0
- package/components/navbar/themes/light/navbar.fluent.css.js +3 -0
- package/components/navbar/themes/light/navbar.fluent.css.js.map +1 -0
- package/components/rating/rating.base.css.js +1 -1
- package/components/rating/rating.base.css.js.map +1 -1
- package/components/rating/rating.fluent.css.js +1 -1
- package/components/rating/rating.fluent.css.js.map +1 -1
- package/components/rating/rating.js +1 -1
- package/components/rating/rating.js.map +1 -1
- package/components/toggle/toggle.directive.js +5 -4
- package/components/toggle/toggle.directive.js.map +1 -1
- package/components/tree/themes/dark/tree-item.bootstrap.css.d.ts +1 -0
- package/components/tree/themes/dark/tree-item.bootstrap.css.js +3 -0
- package/components/tree/themes/dark/tree-item.bootstrap.css.js.map +1 -0
- package/components/tree/themes/dark/tree-item.fluent.css.d.ts +1 -0
- package/components/tree/themes/dark/tree-item.fluent.css.js +3 -0
- package/components/tree/themes/dark/tree-item.fluent.css.js.map +1 -0
- package/components/tree/themes/dark/tree-item.indigo.css.d.ts +1 -0
- package/components/tree/themes/dark/tree-item.indigo.css.js +3 -0
- package/components/tree/themes/dark/tree-item.indigo.css.js.map +1 -0
- package/components/tree/themes/light/tree-item.base.css.d.ts +1 -0
- package/components/tree/themes/light/tree-item.base.css.js +3 -0
- package/components/tree/themes/light/tree-item.base.css.js.map +1 -0
- package/components/tree/themes/light/tree-item.bootstrap.css.d.ts +1 -0
- package/components/tree/themes/light/tree-item.bootstrap.css.js +3 -0
- package/components/tree/themes/light/tree-item.bootstrap.css.js.map +1 -0
- package/components/tree/themes/light/tree-item.fluent.css.d.ts +1 -0
- package/components/tree/themes/light/tree-item.fluent.css.js +3 -0
- package/components/tree/themes/light/tree-item.fluent.css.js.map +1 -0
- package/components/tree/themes/light/tree-item.indigo.css.d.ts +1 -0
- package/components/tree/themes/light/tree-item.indigo.css.js +3 -0
- package/components/tree/themes/light/tree-item.indigo.css.js.map +1 -0
- package/components/tree/themes/light/tree.base.css.d.ts +1 -0
- package/components/tree/themes/light/tree.base.css.js +3 -0
- package/components/tree/themes/light/tree.base.css.js.map +1 -0
- package/components/tree/tree-item.d.ts +116 -0
- package/components/tree/tree-item.js +447 -0
- package/components/tree/tree-item.js.map +1 -0
- package/components/tree/tree.common.d.ts +17 -0
- package/components/tree/tree.common.js +2 -0
- package/components/tree/tree.common.js.map +1 -0
- package/components/tree/tree.d.ts +71 -0
- package/components/tree/tree.js +139 -0
- package/components/tree/tree.js.map +1 -0
- package/components/tree/tree.navigation.d.ts +41 -0
- package/components/tree/tree.navigation.js +260 -0
- package/components/tree/tree.navigation.js.map +1 -0
- package/components/tree/tree.selection.d.ts +55 -0
- package/components/tree/tree.selection.js +265 -0
- package/components/tree/tree.selection.js.map +1 -0
- package/custom-elements.json +632 -2
- package/index.d.ts +4 -0
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/themes/dark/bootstrap.css +1 -1
- package/themes/dark/fluent.css +1 -1
- package/themes/dark/indigo.css +1 -1
- package/themes/light/bootstrap.css +1 -1
- package/themes/light/fluent.css +1 -1
- package/vscode-html-custom-data.json +313 -45
package/custom-elements.json
CHANGED
|
@@ -2064,6 +2064,118 @@
|
|
|
2064
2064
|
}
|
|
2065
2065
|
]
|
|
2066
2066
|
},
|
|
2067
|
+
{
|
|
2068
|
+
"name": "igc-expansion-panel",
|
|
2069
|
+
"path": "./src/components/expansion-panel/expansion-panel.ts",
|
|
2070
|
+
"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.",
|
|
2071
|
+
"attributes": [
|
|
2072
|
+
{
|
|
2073
|
+
"name": "open",
|
|
2074
|
+
"description": "Indicates whether the contents of the control should be visible.",
|
|
2075
|
+
"type": "boolean",
|
|
2076
|
+
"default": "false"
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "disabled",
|
|
2080
|
+
"description": "Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions.",
|
|
2081
|
+
"type": "boolean",
|
|
2082
|
+
"default": "false"
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"name": "indicator-position",
|
|
2086
|
+
"description": "The indicator position of the expansion panel.",
|
|
2087
|
+
"type": "\"start\" | \"end\" | \"none\"",
|
|
2088
|
+
"default": "\"start\""
|
|
2089
|
+
}
|
|
2090
|
+
],
|
|
2091
|
+
"properties": [
|
|
2092
|
+
{
|
|
2093
|
+
"name": "tagName",
|
|
2094
|
+
"type": "\"igc-expansion-panel\"",
|
|
2095
|
+
"default": "\"igc-expansion-panel\""
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "styles",
|
|
2099
|
+
"type": "CSSResult",
|
|
2100
|
+
"default": "\"styles\""
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "open",
|
|
2104
|
+
"attribute": "open",
|
|
2105
|
+
"description": "Indicates whether the contents of the control should be visible.",
|
|
2106
|
+
"type": "boolean",
|
|
2107
|
+
"default": "false"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"name": "disabled",
|
|
2111
|
+
"attribute": "disabled",
|
|
2112
|
+
"description": "Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions.",
|
|
2113
|
+
"type": "boolean",
|
|
2114
|
+
"default": "false"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"name": "indicatorPosition",
|
|
2118
|
+
"attribute": "indicator-position",
|
|
2119
|
+
"description": "The indicator position of the expansion panel.",
|
|
2120
|
+
"type": "\"start\" | \"end\" | \"none\"",
|
|
2121
|
+
"default": "\"start\""
|
|
2122
|
+
}
|
|
2123
|
+
],
|
|
2124
|
+
"events": [
|
|
2125
|
+
{
|
|
2126
|
+
"name": "igcOpening",
|
|
2127
|
+
"description": "Emitted before opening the expansion panel."
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"name": "igcOpened",
|
|
2131
|
+
"description": "Emitted after the expansion panel is opened."
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "igcClosing",
|
|
2135
|
+
"description": "Emitted before closing the expansion panel."
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"name": "igcClosed",
|
|
2139
|
+
"description": "Emitted after the expansion panel is closed."
|
|
2140
|
+
}
|
|
2141
|
+
],
|
|
2142
|
+
"slots": [
|
|
2143
|
+
{
|
|
2144
|
+
"name": "title",
|
|
2145
|
+
"description": "renders the title of the panel's header"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"name": "subtitle",
|
|
2149
|
+
"description": "renders the subtitle of the panel's header"
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"name": "indicator",
|
|
2153
|
+
"description": "renders the expand/collapsed indicator"
|
|
2154
|
+
}
|
|
2155
|
+
],
|
|
2156
|
+
"cssParts": [
|
|
2157
|
+
{
|
|
2158
|
+
"name": "header",
|
|
2159
|
+
"description": "The container of the expansion indicator, title and subtitle."
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"name": "title",
|
|
2163
|
+
"description": "The title container."
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "subtitle",
|
|
2167
|
+
"description": "The subtitle container."
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"name": "indicator",
|
|
2171
|
+
"description": "The indicator container."
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"name": "content",
|
|
2175
|
+
"description": "The expansion panel's content wrapper."
|
|
2176
|
+
}
|
|
2177
|
+
]
|
|
2178
|
+
},
|
|
2067
2179
|
{
|
|
2068
2180
|
"name": "igc-form",
|
|
2069
2181
|
"path": "./src/components/form/form.ts",
|
|
@@ -2202,7 +2314,7 @@
|
|
|
2202
2314
|
{
|
|
2203
2315
|
"name": "inputmode",
|
|
2204
2316
|
"description": "The input mode attribute of the control.",
|
|
2205
|
-
"type": "\"numeric\" | \"
|
|
2317
|
+
"type": "\"numeric\" | \"none\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"txt\" | \"decimal\""
|
|
2206
2318
|
},
|
|
2207
2319
|
{
|
|
2208
2320
|
"name": "pattern",
|
|
@@ -2325,7 +2437,7 @@
|
|
|
2325
2437
|
"name": "inputmode",
|
|
2326
2438
|
"attribute": "inputmode",
|
|
2327
2439
|
"description": "The input mode attribute of the control.",
|
|
2328
|
-
"type": "\"numeric\" | \"
|
|
2440
|
+
"type": "\"numeric\" | \"none\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"txt\" | \"decimal\""
|
|
2329
2441
|
},
|
|
2330
2442
|
{
|
|
2331
2443
|
"name": "pattern",
|
|
@@ -2632,6 +2744,251 @@
|
|
|
2632
2744
|
}
|
|
2633
2745
|
]
|
|
2634
2746
|
},
|
|
2747
|
+
{
|
|
2748
|
+
"name": "igc-mask-input",
|
|
2749
|
+
"path": "./src/components/mask-input/mask-input.ts",
|
|
2750
|
+
"description": "A masked input is an input field where a developer can control user input and format the visible value,\nbased on configurable rules",
|
|
2751
|
+
"attributes": [
|
|
2752
|
+
{
|
|
2753
|
+
"name": "dir",
|
|
2754
|
+
"description": "The direction attribute of the control.",
|
|
2755
|
+
"type": "\"ltr\" | \"rtl\" | \"auto\"",
|
|
2756
|
+
"default": "\"auto\""
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"name": "invalid",
|
|
2760
|
+
"description": "Controls the validity of the control.",
|
|
2761
|
+
"type": "boolean",
|
|
2762
|
+
"default": "false"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"name": "value-mode",
|
|
2766
|
+
"description": "Dictates the behavior when retrieving the value of the control:\n\n- `raw` will return the clean user input.\n- `withFormatting` will return the value with all literals and prompts.",
|
|
2767
|
+
"type": "\"raw\" | \"withFormatting\"",
|
|
2768
|
+
"default": "\"raw\""
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"name": "mask",
|
|
2772
|
+
"description": "The mask pattern to apply on the input.",
|
|
2773
|
+
"type": "string"
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"name": "prompt",
|
|
2777
|
+
"description": "The prompt symbol to use for unfilled parts of the mask.",
|
|
2778
|
+
"type": "string"
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"name": "value",
|
|
2782
|
+
"description": "The value of the input.\n\nRegardless of the currently set `value-mode`, an empty value will return an empty string.",
|
|
2783
|
+
"type": "string"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "name",
|
|
2787
|
+
"description": "The name attribute of the control.",
|
|
2788
|
+
"type": "string"
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"name": "outlined",
|
|
2792
|
+
"type": "boolean",
|
|
2793
|
+
"default": "false"
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
"name": "required",
|
|
2797
|
+
"description": "Makes the control a required field.",
|
|
2798
|
+
"type": "boolean",
|
|
2799
|
+
"default": "false"
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"name": "disabled",
|
|
2803
|
+
"description": "Makes the control a disabled field.",
|
|
2804
|
+
"type": "boolean",
|
|
2805
|
+
"default": "false"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"name": "readonly",
|
|
2809
|
+
"description": "Makes the control a readonly field.",
|
|
2810
|
+
"type": "boolean",
|
|
2811
|
+
"default": "false"
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
"name": "placeholder",
|
|
2815
|
+
"description": "The placeholder attribute of the control.",
|
|
2816
|
+
"type": "string"
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
"name": "label",
|
|
2820
|
+
"description": "The label for the control.",
|
|
2821
|
+
"type": "string"
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"name": "size",
|
|
2825
|
+
"description": "Determines the size of the component.",
|
|
2826
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
2827
|
+
"default": "\"medium\""
|
|
2828
|
+
}
|
|
2829
|
+
],
|
|
2830
|
+
"properties": [
|
|
2831
|
+
{
|
|
2832
|
+
"name": "tagName",
|
|
2833
|
+
"type": "\"igc-mask-input\"",
|
|
2834
|
+
"default": "\"igc-mask-input\""
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"name": "dir",
|
|
2838
|
+
"attribute": "dir",
|
|
2839
|
+
"description": "The direction attribute of the control.",
|
|
2840
|
+
"type": "\"ltr\" | \"rtl\" | \"auto\"",
|
|
2841
|
+
"default": "\"auto\""
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "invalid",
|
|
2845
|
+
"attribute": "invalid",
|
|
2846
|
+
"description": "Controls the validity of the control.",
|
|
2847
|
+
"type": "boolean",
|
|
2848
|
+
"default": "false"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"name": "valueMode",
|
|
2852
|
+
"attribute": "value-mode",
|
|
2853
|
+
"description": "Dictates the behavior when retrieving the value of the control:\n\n- `raw` will return the clean user input.\n- `withFormatting` will return the value with all literals and prompts.",
|
|
2854
|
+
"type": "\"raw\" | \"withFormatting\"",
|
|
2855
|
+
"default": "\"raw\""
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"name": "mask",
|
|
2859
|
+
"attribute": "mask",
|
|
2860
|
+
"description": "The mask pattern to apply on the input.",
|
|
2861
|
+
"type": "string"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "prompt",
|
|
2865
|
+
"attribute": "prompt",
|
|
2866
|
+
"description": "The prompt symbol to use for unfilled parts of the mask.",
|
|
2867
|
+
"type": "string"
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"name": "styles",
|
|
2871
|
+
"type": "CSSResult",
|
|
2872
|
+
"default": "\"styles\""
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"name": "value",
|
|
2876
|
+
"attribute": "value",
|
|
2877
|
+
"description": "The value of the input.\n\nRegardless of the currently set `value-mode`, an empty value will return an empty string.",
|
|
2878
|
+
"type": "string"
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"name": "name",
|
|
2882
|
+
"attribute": "name",
|
|
2883
|
+
"description": "The name attribute of the control.",
|
|
2884
|
+
"type": "string"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"name": "outlined",
|
|
2888
|
+
"attribute": "outlined",
|
|
2889
|
+
"type": "boolean",
|
|
2890
|
+
"default": "false"
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
"name": "required",
|
|
2894
|
+
"attribute": "required",
|
|
2895
|
+
"description": "Makes the control a required field.",
|
|
2896
|
+
"type": "boolean",
|
|
2897
|
+
"default": "false"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"name": "disabled",
|
|
2901
|
+
"attribute": "disabled",
|
|
2902
|
+
"description": "Makes the control a disabled field.",
|
|
2903
|
+
"type": "boolean",
|
|
2904
|
+
"default": "false"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "readonly",
|
|
2908
|
+
"attribute": "readonly",
|
|
2909
|
+
"description": "Makes the control a readonly field.",
|
|
2910
|
+
"type": "boolean",
|
|
2911
|
+
"default": "false"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "placeholder",
|
|
2915
|
+
"attribute": "placeholder",
|
|
2916
|
+
"description": "The placeholder attribute of the control.",
|
|
2917
|
+
"type": "string"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "label",
|
|
2921
|
+
"attribute": "label",
|
|
2922
|
+
"description": "The label for the control.",
|
|
2923
|
+
"type": "string"
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"name": "size",
|
|
2927
|
+
"attribute": "size",
|
|
2928
|
+
"description": "Determines the size of the component.",
|
|
2929
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
2930
|
+
"default": "\"medium\""
|
|
2931
|
+
}
|
|
2932
|
+
],
|
|
2933
|
+
"events": [
|
|
2934
|
+
{
|
|
2935
|
+
"name": "igcInput",
|
|
2936
|
+
"description": "Emitted when the control receives user input"
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"name": "igcChange",
|
|
2940
|
+
"description": "Emitted when an alteration of the control's value is committed by the user"
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"name": "igcFocus",
|
|
2944
|
+
"description": "Emitted when the control gains focus"
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"name": "igcBlur",
|
|
2948
|
+
"description": "Emitted when the control loses focus"
|
|
2949
|
+
}
|
|
2950
|
+
],
|
|
2951
|
+
"slots": [
|
|
2952
|
+
{
|
|
2953
|
+
"name": "prefix",
|
|
2954
|
+
"description": "Renders content before the input"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"name": "suffix",
|
|
2958
|
+
"description": "Renders content after the input"
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"name": "helper-text",
|
|
2962
|
+
"description": "Renders content below the input"
|
|
2963
|
+
}
|
|
2964
|
+
],
|
|
2965
|
+
"cssParts": [
|
|
2966
|
+
{
|
|
2967
|
+
"name": "container",
|
|
2968
|
+
"description": "The main wrapper that holds all main input elements"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"name": "input",
|
|
2972
|
+
"description": "The native input element"
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"name": "label",
|
|
2976
|
+
"description": "The native label element"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"name": "prefix",
|
|
2980
|
+
"description": "The prefix wrapper"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "suffix",
|
|
2984
|
+
"description": "The suffix wrapper"
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"name": "helper-text",
|
|
2988
|
+
"description": "The helper text wrapper"
|
|
2989
|
+
}
|
|
2990
|
+
]
|
|
2991
|
+
},
|
|
2635
2992
|
{
|
|
2636
2993
|
"name": "igc-nav-drawer-header-item",
|
|
2637
2994
|
"path": "./src/components/nav-drawer/nav-drawer-header-item.ts",
|
|
@@ -4438,6 +4795,279 @@
|
|
|
4438
4795
|
{
|
|
4439
4796
|
"name": "test-popper",
|
|
4440
4797
|
"path": "./src/components/toggle/toggle.spec.ts"
|
|
4798
|
+
},
|
|
4799
|
+
{
|
|
4800
|
+
"name": "igc-tree-item",
|
|
4801
|
+
"path": "./src/components/tree/tree-item.ts",
|
|
4802
|
+
"description": "The tree-item component represents a child item of the tree component or another tree item.",
|
|
4803
|
+
"attributes": [
|
|
4804
|
+
{
|
|
4805
|
+
"name": "label",
|
|
4806
|
+
"description": "The tree item label.",
|
|
4807
|
+
"type": "string",
|
|
4808
|
+
"default": "\"\""
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
"name": "expanded",
|
|
4812
|
+
"description": "The tree item expansion state.",
|
|
4813
|
+
"type": "boolean",
|
|
4814
|
+
"default": "false"
|
|
4815
|
+
},
|
|
4816
|
+
{
|
|
4817
|
+
"name": "active",
|
|
4818
|
+
"description": "Marks the item as the tree's active item.",
|
|
4819
|
+
"type": "boolean",
|
|
4820
|
+
"default": "false"
|
|
4821
|
+
},
|
|
4822
|
+
{
|
|
4823
|
+
"name": "disabled",
|
|
4824
|
+
"description": "Get/Set whether the tree item is disabled. Disabled items are ignored for user interactions.",
|
|
4825
|
+
"type": "boolean",
|
|
4826
|
+
"default": "false"
|
|
4827
|
+
},
|
|
4828
|
+
{
|
|
4829
|
+
"name": "selected",
|
|
4830
|
+
"description": "The tree item selection state.",
|
|
4831
|
+
"type": "boolean",
|
|
4832
|
+
"default": "false"
|
|
4833
|
+
},
|
|
4834
|
+
{
|
|
4835
|
+
"name": "loading",
|
|
4836
|
+
"description": "To be used for load-on-demand scenarios in order to specify whether the item is loading data.",
|
|
4837
|
+
"type": "boolean",
|
|
4838
|
+
"default": "false"
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
"name": "value",
|
|
4842
|
+
"description": "The value entry that the tree item is visualizing. Required for searching through items.",
|
|
4843
|
+
"default": "\"undefined\""
|
|
4844
|
+
}
|
|
4845
|
+
],
|
|
4846
|
+
"properties": [
|
|
4847
|
+
{
|
|
4848
|
+
"name": "tree",
|
|
4849
|
+
"description": "A reference to the tree the item is a part of.",
|
|
4850
|
+
"type": "IgcTreeComponent | undefined"
|
|
4851
|
+
},
|
|
4852
|
+
{
|
|
4853
|
+
"name": "parent",
|
|
4854
|
+
"description": "The parent item of the current tree item (if any)",
|
|
4855
|
+
"type": "IgcTreeItemComponent | null"
|
|
4856
|
+
},
|
|
4857
|
+
{
|
|
4858
|
+
"name": "level",
|
|
4859
|
+
"description": "The depth of the item, relative to the root.",
|
|
4860
|
+
"type": "number",
|
|
4861
|
+
"default": "0"
|
|
4862
|
+
},
|
|
4863
|
+
{
|
|
4864
|
+
"name": "label",
|
|
4865
|
+
"attribute": "label",
|
|
4866
|
+
"description": "The tree item label.",
|
|
4867
|
+
"type": "string",
|
|
4868
|
+
"default": "\"\""
|
|
4869
|
+
},
|
|
4870
|
+
{
|
|
4871
|
+
"name": "expanded",
|
|
4872
|
+
"attribute": "expanded",
|
|
4873
|
+
"description": "The tree item expansion state.",
|
|
4874
|
+
"type": "boolean",
|
|
4875
|
+
"default": "false"
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
"name": "active",
|
|
4879
|
+
"attribute": "active",
|
|
4880
|
+
"description": "Marks the item as the tree's active item.",
|
|
4881
|
+
"type": "boolean",
|
|
4882
|
+
"default": "false"
|
|
4883
|
+
},
|
|
4884
|
+
{
|
|
4885
|
+
"name": "disabled",
|
|
4886
|
+
"attribute": "disabled",
|
|
4887
|
+
"description": "Get/Set whether the tree item is disabled. Disabled items are ignored for user interactions.",
|
|
4888
|
+
"type": "boolean",
|
|
4889
|
+
"default": "false"
|
|
4890
|
+
},
|
|
4891
|
+
{
|
|
4892
|
+
"name": "selected",
|
|
4893
|
+
"attribute": "selected",
|
|
4894
|
+
"description": "The tree item selection state.",
|
|
4895
|
+
"type": "boolean",
|
|
4896
|
+
"default": "false"
|
|
4897
|
+
},
|
|
4898
|
+
{
|
|
4899
|
+
"name": "loading",
|
|
4900
|
+
"attribute": "loading",
|
|
4901
|
+
"description": "To be used for load-on-demand scenarios in order to specify whether the item is loading data.",
|
|
4902
|
+
"type": "boolean",
|
|
4903
|
+
"default": "false"
|
|
4904
|
+
},
|
|
4905
|
+
{
|
|
4906
|
+
"name": "value",
|
|
4907
|
+
"attribute": "value",
|
|
4908
|
+
"description": "The value entry that the tree item is visualizing. Required for searching through items.",
|
|
4909
|
+
"default": "\"undefined\""
|
|
4910
|
+
},
|
|
4911
|
+
{
|
|
4912
|
+
"name": "path",
|
|
4913
|
+
"description": "The full path to the tree item, starting from the top-most ancestor.",
|
|
4914
|
+
"type": "IgcTreeItemComponent[]"
|
|
4915
|
+
}
|
|
4916
|
+
],
|
|
4917
|
+
"slots": [
|
|
4918
|
+
{
|
|
4919
|
+
"name": "",
|
|
4920
|
+
"description": "Renders nested tree-item component."
|
|
4921
|
+
},
|
|
4922
|
+
{
|
|
4923
|
+
"name": "label",
|
|
4924
|
+
"description": "Renders the tree item container."
|
|
4925
|
+
},
|
|
4926
|
+
{
|
|
4927
|
+
"name": "indicator",
|
|
4928
|
+
"description": "Renders the expand indicator container."
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
"name": "loading",
|
|
4932
|
+
"description": "Renders the tree item loading indicator container."
|
|
4933
|
+
},
|
|
4934
|
+
{
|
|
4935
|
+
"name": "indentation",
|
|
4936
|
+
"description": "Renders the container (by default the space) before the tree item."
|
|
4937
|
+
}
|
|
4938
|
+
],
|
|
4939
|
+
"cssParts": [
|
|
4940
|
+
{
|
|
4941
|
+
"name": "wrapper",
|
|
4942
|
+
"description": "The wrapper for the tree item."
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
"name": "selected",
|
|
4946
|
+
"description": "Indicates selected state. Applies to `wrapper`."
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"name": "focused",
|
|
4950
|
+
"description": "Indicates focused state. Applies to `wrapper`."
|
|
4951
|
+
},
|
|
4952
|
+
{
|
|
4953
|
+
"name": "active",
|
|
4954
|
+
"description": "Indicates an active state. Applies to `wrapper`."
|
|
4955
|
+
},
|
|
4956
|
+
{
|
|
4957
|
+
"name": "indicator",
|
|
4958
|
+
"description": "The expand indicator of the tree item."
|
|
4959
|
+
},
|
|
4960
|
+
{
|
|
4961
|
+
"name": "label",
|
|
4962
|
+
"description": "The tree item content."
|
|
4963
|
+
},
|
|
4964
|
+
{
|
|
4965
|
+
"name": "text",
|
|
4966
|
+
"description": "The tree item displayed text."
|
|
4967
|
+
},
|
|
4968
|
+
{
|
|
4969
|
+
"name": "select",
|
|
4970
|
+
"description": "The checkbox of the tree item when selection is enabled."
|
|
4971
|
+
}
|
|
4972
|
+
]
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
"name": "igc-tree",
|
|
4976
|
+
"path": "./src/components/tree/tree.ts",
|
|
4977
|
+
"description": "The tree allows users to represent hierarchical data in a tree-view structure,\nmaintaining parent-child relationships, as well as to define static tree-view structure without a corresponding data model.",
|
|
4978
|
+
"attributes": [
|
|
4979
|
+
{
|
|
4980
|
+
"name": "single-branch-expand",
|
|
4981
|
+
"description": "Whether a single or multiple of a parent's child items can be expanded.",
|
|
4982
|
+
"type": "boolean",
|
|
4983
|
+
"default": "false"
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"name": "selection",
|
|
4987
|
+
"description": "The selection state of the tree.",
|
|
4988
|
+
"type": "\"multiple\" | \"none\" | \"cascade\"",
|
|
4989
|
+
"default": "\"none\""
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
"name": "dir",
|
|
4993
|
+
"description": "The direction attribute of the control.",
|
|
4994
|
+
"type": "Direction",
|
|
4995
|
+
"default": "\"auto\""
|
|
4996
|
+
},
|
|
4997
|
+
{
|
|
4998
|
+
"name": "size",
|
|
4999
|
+
"description": "Determines the size of the component.",
|
|
5000
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
5001
|
+
"default": "\"large\""
|
|
5002
|
+
}
|
|
5003
|
+
],
|
|
5004
|
+
"properties": [
|
|
5005
|
+
{
|
|
5006
|
+
"name": "singleBranchExpand",
|
|
5007
|
+
"attribute": "single-branch-expand",
|
|
5008
|
+
"description": "Whether a single or multiple of a parent's child items can be expanded.",
|
|
5009
|
+
"type": "boolean",
|
|
5010
|
+
"default": "false"
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
"name": "selection",
|
|
5014
|
+
"attribute": "selection",
|
|
5015
|
+
"description": "The selection state of the tree.",
|
|
5016
|
+
"type": "\"multiple\" | \"none\" | \"cascade\"",
|
|
5017
|
+
"default": "\"none\""
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"name": "dir",
|
|
5021
|
+
"attribute": "dir",
|
|
5022
|
+
"description": "The direction attribute of the control.",
|
|
5023
|
+
"type": "Direction",
|
|
5024
|
+
"default": "\"auto\""
|
|
5025
|
+
},
|
|
5026
|
+
{
|
|
5027
|
+
"name": "items",
|
|
5028
|
+
"description": "Returns all of the tree's items.",
|
|
5029
|
+
"type": "IgcTreeItemComponent[]"
|
|
5030
|
+
},
|
|
5031
|
+
{
|
|
5032
|
+
"name": "size",
|
|
5033
|
+
"attribute": "size",
|
|
5034
|
+
"description": "Determines the size of the component.",
|
|
5035
|
+
"type": "\"small\" | \"medium\" | \"large\"",
|
|
5036
|
+
"default": "\"large\""
|
|
5037
|
+
}
|
|
5038
|
+
],
|
|
5039
|
+
"events": [
|
|
5040
|
+
{
|
|
5041
|
+
"name": "igcSelection",
|
|
5042
|
+
"description": "Emitted when item selection is changing, before the selection completes."
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
"name": "igcItemCollapsed",
|
|
5046
|
+
"description": "Emitted when tree item is collapsed."
|
|
5047
|
+
},
|
|
5048
|
+
{
|
|
5049
|
+
"name": "igcItemCollapsing",
|
|
5050
|
+
"description": "Emitted when tree item is about to collapse."
|
|
5051
|
+
},
|
|
5052
|
+
{
|
|
5053
|
+
"name": "igcItemExpanded",
|
|
5054
|
+
"description": "Emitted when tree item is expanded."
|
|
5055
|
+
},
|
|
5056
|
+
{
|
|
5057
|
+
"name": "igcItemExpanding",
|
|
5058
|
+
"description": "Emitted when tree item is about to expand."
|
|
5059
|
+
},
|
|
5060
|
+
{
|
|
5061
|
+
"name": "igcItemActivated",
|
|
5062
|
+
"description": "Emitted when the tree's `active` item changes."
|
|
5063
|
+
}
|
|
5064
|
+
],
|
|
5065
|
+
"slots": [
|
|
5066
|
+
{
|
|
5067
|
+
"name": "",
|
|
5068
|
+
"description": "Renders the tree items inside default slot."
|
|
5069
|
+
}
|
|
5070
|
+
]
|
|
4441
5071
|
}
|
|
4442
5072
|
]
|
|
4443
5073
|
}
|
package/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { default as IgcDropdownComponent } from './components/dropdown/dropdown.
|
|
|
15
15
|
export { default as IgcDropdownGroupComponent } from './components/dropdown/dropdown-group.js';
|
|
16
16
|
export { default as IgcDropdownHeaderComponent } from './components/dropdown/dropdown-header.js';
|
|
17
17
|
export { default as IgcDropdownItemComponent } from './components/dropdown/dropdown-item.js';
|
|
18
|
+
export { default as IgcExpansionPanelComponent } from './components/expansion-panel/expansion-panel.js';
|
|
18
19
|
export { default as IgcIconComponent } from './components/icon/icon.js';
|
|
19
20
|
export { default as IgcIconButtonComponent } from './components/button/icon-button.js';
|
|
20
21
|
export { default as IgcInputComponent } from './components/input/input.js';
|
|
@@ -23,6 +24,7 @@ export { default as IgcLinearProgressComponent } from './components/progress/lin
|
|
|
23
24
|
export { default as IgcListComponent } from './components/list/list.js';
|
|
24
25
|
export { default as IgcListHeaderComponent } from './components/list/list-header.js';
|
|
25
26
|
export { default as IgcListItemComponent } from './components/list/list-item.js';
|
|
27
|
+
export { default as IgcMaskInputComponent } from './components/mask-input/mask-input.js';
|
|
26
28
|
export { default as IgcNavDrawerComponent } from './components/nav-drawer/nav-drawer.js';
|
|
27
29
|
export { default as IgcNavDrawerHeaderItemComponent } from './components/nav-drawer/nav-drawer-header-item.js';
|
|
28
30
|
export { default as IgcNavDrawerItemComponent } from './components/nav-drawer/nav-drawer-item.js';
|
|
@@ -38,6 +40,8 @@ export { default as IgcSliderComponent } from './components/slider/slider.js';
|
|
|
38
40
|
export { default as IgcSliderLabelComponent } from './components/slider/slider-label.js';
|
|
39
41
|
export { default as IgcToastComponent } from './components/toast/toast.js';
|
|
40
42
|
export { default as IgcSwitchComponent } from './components/checkbox/switch.js';
|
|
43
|
+
export { default as IgcTreeComponent } from './components/tree/tree.js';
|
|
44
|
+
export { default as IgcTreeItemComponent } from './components/tree/tree-item.js';
|
|
41
45
|
export { defineComponents } from './components/common/definitions/defineComponents.js';
|
|
42
46
|
export { defineAllComponents } from './components/common/definitions/defineAllComponents.js';
|
|
43
47
|
export { registerIcon, registerIconFromText, } from './components/icon/icon.registry.js';
|