@aquera/nile-elements 0.1.7 → 0.1.9
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/README.md +9 -0
- package/demo/index.html +0 -10
- package/demo/variables.css +1 -1
- package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.cjs.js.map +1 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
- package/dist/nile-accordion/nile-accordion.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordion.cjs.js.map +1 -1
- package/dist/nile-accordion/nile-accordion.css.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordion.css.cjs.js.map +1 -1
- package/dist/nile-accordion/nile-accordion.css.esm.js +54 -23
- package/dist/nile-accordion/nile-accordion.esm.js +9 -8
- package/dist/nile-avatar/nile-avatar.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.cjs.js.map +1 -1
- package/dist/nile-avatar/nile-avatar.css.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.css.cjs.js.map +1 -1
- package/dist/nile-avatar/nile-avatar.css.esm.js +2 -0
- package/dist/nile-avatar/nile-avatar.esm.js +25 -19
- package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.cjs.js.map +1 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +11 -1
- package/dist/nile-code-editor/nile-code-editor.css.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.esm.js +3 -3
- package/dist/src/nile-accordion/nile-accordian.test.js +24 -29
- package/dist/src/nile-accordion/nile-accordian.test.js.map +1 -1
- package/dist/src/nile-accordion/nile-accordion.css.js +53 -22
- package/dist/src/nile-accordion/nile-accordion.css.js.map +1 -1
- package/dist/src/nile-accordion/nile-accordion.d.ts +31 -16
- package/dist/src/nile-accordion/nile-accordion.js +68 -34
- package/dist/src/nile-accordion/nile-accordion.js.map +1 -1
- package/dist/src/nile-avatar/nile-avatar.css.js +2 -0
- package/dist/src/nile-avatar/nile-avatar.css.js.map +1 -1
- package/dist/src/nile-avatar/nile-avatar.d.ts +10 -9
- package/dist/src/nile-avatar/nile-avatar.js +78 -61
- package/dist/src/nile-avatar/nile-avatar.js.map +1 -1
- package/dist/src/nile-avatar/nile-avatar.test.d.ts +1 -0
- package/dist/src/nile-avatar/nile-avatar.test.js +64 -30
- package/dist/src/nile-avatar/nile-avatar.test.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.css.js +3 -3
- package/dist/src/nile-code-editor/nile-code-editor.css.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-accordion/nile-accordian.test.ts +30 -57
- package/src/nile-accordion/nile-accordion.css.ts +53 -22
- package/src/nile-accordion/nile-accordion.ts +61 -33
- package/src/nile-avatar/nile-avatar.css.ts +2 -0
- package/src/nile-avatar/nile-avatar.test.ts +84 -33
- package/src/nile-avatar/nile-avatar.ts +79 -72
- package/src/nile-code-editor/nile-code-editor.css.ts +3 -3
- package/vscode-html-custom-data.json +143 -85
@@ -3,20 +3,59 @@
|
|
3
3
|
"tags": [
|
4
4
|
{
|
5
5
|
"name": "nile-accordion",
|
6
|
-
"description": "Nile detail component.\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether or not the
|
6
|
+
"description": "Nile detail component.\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether or not the accordian is open. You can toggle this attribute to show and hide the accordian, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordian' open state.\n\n * `variant` {`\"dark\" | \"light\"`} - Indicates the visual style of the accordian component. Accepted values are `'dark'` or `'light'`.\nDefaults to `'light'`.\n\n * `expandIconPlacement` {`\"left\" | \"right\"`} - Specifies the direction of the arrow indicator. Accepted values are `'left'` or `'right'`.\nDefaults to `'right'`.\n\n * `size` {`\"sm\" | \"md\" | \"lg\"`} - Specifies the size of the accordian component. Accepted values are `'sm'`, `'md'`, or `'lg'`.\nDefaults to `'md'`.\n\n * `summary` {`string`} - The summary to show in the header. If you need to display HTML, use the `summary` slot instead.\n\n * `disabled` {`boolean`} - Disables the accordian so it can't be toggled.\n\nProperties:\n\n * `styles` - \n\n * `accordian` {`HTMLElement`} - \n\n * `header` {`HTMLElement`} - \n\n * `body` {`HTMLElement`} - \n\n * `expandIconSlot` {`HTMLSlotElement`} - \n\n * `open` {`boolean`} - Indicates whether or not the accordian is open. You can toggle this attribute to show and hide the accordian, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordian' open state.\n\n * `variant` {`\"dark\" | \"light\"`} - Indicates the visual style of the accordian component. Accepted values are `'dark'` or `'light'`.\nDefaults to `'light'`.\n\n * `expandIconPlacement` {`\"left\" | \"right\"`} - Specifies the direction of the arrow indicator. Accepted values are `'left'` or `'right'`.\nDefaults to `'right'`.\n\n * `size` {`\"sm\" | \"md\" | \"lg\"`} - Specifies the size of the accordian component. Accepted values are `'sm'`, `'md'`, or `'lg'`.\nDefaults to `'md'`.\n\n * `summary` {`string`} - The summary to show in the header. If you need to display HTML, use the `summary` slot instead.\n\n * `disabled` {`boolean`} - Disables the accordian so it can't be toggled.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
7
7
|
"attributes": [
|
8
8
|
{
|
9
9
|
"name": "open",
|
10
|
-
"description": "`open` {`boolean`} - Indicates whether or not the
|
10
|
+
"description": "`open` {`boolean`} - Indicates whether or not the accordian is open. You can toggle this attribute to show and hide the accordian, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordian' open state.\n\nProperty: open\n\nDefault: false",
|
11
11
|
"valueSet": "v"
|
12
12
|
},
|
13
|
+
{
|
14
|
+
"name": "variant",
|
15
|
+
"description": "`variant` {`\"dark\" | \"light\"`} - Indicates the visual style of the accordian component. Accepted values are `'dark'` or `'light'`.\nDefaults to `'light'`.\n\nProperty: variant\n\nDefault: light",
|
16
|
+
"values": [
|
17
|
+
{
|
18
|
+
"name": "dark"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "light"
|
22
|
+
}
|
23
|
+
]
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"name": "expandIconPlacement",
|
27
|
+
"description": "`expandIconPlacement` {`\"left\" | \"right\"`} - Specifies the direction of the arrow indicator. Accepted values are `'left'` or `'right'`.\nDefaults to `'right'`.\n\nProperty: expandIconPlacement\n\nDefault: right",
|
28
|
+
"values": [
|
29
|
+
{
|
30
|
+
"name": "left"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"name": "right"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "size",
|
39
|
+
"description": "`size` {`\"sm\" | \"md\" | \"lg\"`} - Specifies the size of the accordian component. Accepted values are `'sm'`, `'md'`, or `'lg'`.\nDefaults to `'md'`.\n\nProperty: size\n\nDefault: md",
|
40
|
+
"values": [
|
41
|
+
{
|
42
|
+
"name": "sm"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"name": "md"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": "lg"
|
49
|
+
}
|
50
|
+
]
|
51
|
+
},
|
13
52
|
{
|
14
53
|
"name": "summary",
|
15
54
|
"description": "`summary` {`string`} - The summary to show in the header. If you need to display HTML, use the `summary` slot instead.\n\nProperty: summary"
|
16
55
|
},
|
17
56
|
{
|
18
57
|
"name": "disabled",
|
19
|
-
"description": "`disabled` {`boolean`} - Disables the
|
58
|
+
"description": "`disabled` {`boolean`} - Disables the accordian so it can't be toggled.\n\nProperty: disabled\n\nDefault: false",
|
20
59
|
"valueSet": "v"
|
21
60
|
}
|
22
61
|
]
|
@@ -56,15 +95,34 @@
|
|
56
95
|
},
|
57
96
|
{
|
58
97
|
"name": "nile-avatar",
|
59
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `src` {`string`} - Gives the url to the Avatar\n\n * `
|
98
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `src` {`string`} - Gives the url to the Avatar\n\n * `variant` {`\"icon\" | \"image\" | \"text\"`} - Gives the icon to the Avatar\n\n * `icon` {`string`} - Gives the icon to the Avatar\n\n * `name` {`String`} - Gives the default Image Letters to the Avatar\n\n * `bg-color` {`string`} - Gives the default bg color to the Avatar\n\n * `text-color` {`string`} - Gives the default text color to the Avatar\n\n * `border-color` {`string`} - Gives the default border color to the Avatar\n\n * `size` {`\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\"`} - Size of the Avatar\n\n * `isRounded` {`boolean`} - Gives a border radius of 50% to the Avatar\n\nProperties:\n\n * `src` {`string`} - Gives the url to the Avatar\n\n * `variant` {`\"icon\" | \"image\" | \"text\"`} - Gives the icon to the Avatar\n\n * `icon` {`string`} - Gives the icon to the Avatar\n\n * `name` {`String`} - Gives the default Image Letters to the Avatar\n\n * `bgColor` {`string`} - Gives the default bg color to the Avatar\n\n * `textColor` {`string`} - Gives the default text color to the Avatar\n\n * `borderColor` {`string`} - Gives the default border color to the Avatar\n\n * `size` {`\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\"`} - Size of the Avatar\n\n * `isRounded` {`boolean`} - Gives a border radius of 50% to the Avatar\n\n * `imageError` {`boolean`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
60
99
|
"attributes": [
|
61
100
|
{
|
62
101
|
"name": "src",
|
63
102
|
"description": "`src` {`string`} - Gives the url to the Avatar\n\nProperty: src\n\nDefault: "
|
64
103
|
},
|
104
|
+
{
|
105
|
+
"name": "variant",
|
106
|
+
"description": "`variant` {`\"icon\" | \"image\" | \"text\"`} - Gives the icon to the Avatar\n\nProperty: variant\n\nDefault: text",
|
107
|
+
"values": [
|
108
|
+
{
|
109
|
+
"name": "icon"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"name": "image"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"name": "text"
|
116
|
+
}
|
117
|
+
]
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"name": "icon",
|
121
|
+
"description": "`icon` {`string`} - Gives the icon to the Avatar\n\nProperty: icon\n\nDefault: user"
|
122
|
+
},
|
65
123
|
{
|
66
124
|
"name": "name",
|
67
|
-
"description": "`name` {`
|
125
|
+
"description": "`name` {`String`} - Gives the default Image Letters to the Avatar\n\nProperty: name\n\nDefault: "
|
68
126
|
},
|
69
127
|
{
|
70
128
|
"name": "bg-color",
|
@@ -76,23 +134,23 @@
|
|
76
134
|
},
|
77
135
|
{
|
78
136
|
"name": "border-color",
|
79
|
-
"description": "`border-color` {`string`} - Gives the default border color to the Avatar\n\nProperty: borderColor\n\nDefault:
|
137
|
+
"description": "`border-color` {`string`} - Gives the default border color to the Avatar\n\nProperty: borderColor\n\nDefault: "
|
80
138
|
},
|
81
139
|
{
|
82
140
|
"name": "size",
|
83
|
-
"description": "`size` {`\"
|
141
|
+
"description": "`size` {`\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\"`} - Size of the Avatar\n\nProperty: size\n\nDefault: md",
|
84
142
|
"values": [
|
85
143
|
{
|
86
|
-
"name": "
|
144
|
+
"name": "sm"
|
87
145
|
},
|
88
146
|
{
|
89
|
-
"name": "
|
147
|
+
"name": "md"
|
90
148
|
},
|
91
149
|
{
|
92
|
-
"name": "
|
150
|
+
"name": "lg"
|
93
151
|
},
|
94
152
|
{
|
95
|
-
"name": "
|
153
|
+
"name": "xl"
|
96
154
|
},
|
97
155
|
{
|
98
156
|
"name": "2xl"
|
@@ -101,7 +159,7 @@
|
|
101
159
|
},
|
102
160
|
{
|
103
161
|
"name": "isRounded",
|
104
|
-
"description": "`isRounded` {`boolean`} - Gives a border radius of 50% to the Avatar\n\nProperty: isRounded\n\nDefault:
|
162
|
+
"description": "`isRounded` {`boolean`} - Gives a border radius of 50% to the Avatar\n\nProperty: isRounded\n\nDefault: true",
|
105
163
|
"valueSet": "v"
|
106
164
|
}
|
107
165
|
]
|
@@ -558,7 +616,7 @@
|
|
558
616
|
},
|
559
617
|
{
|
560
618
|
"name": "nile-checkbox",
|
561
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `title` {`string`} - \n\n * `name` {`string`} - The name of the checkbox, submitted as a name/value pair with form data.\n\n * `value` {`boolean`} - The current value of the checkbox, submitted as a name/value pair with form data.\n\n * `size` {`\"
|
619
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `title` {`string`} - \n\n * `name` {`string`} - The name of the checkbox, submitted as a name/value pair with form data.\n\n * `value` {`boolean`} - The current value of the checkbox, submitted as a name/value pair with form data.\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The checkbox's size.\n\n * `disabled` {`boolean`} - Disables the checkbox.\n\n * `checked` {`boolean`} - Draws the checkbox in a checked state.\n\n * `label` {`string`} - Label, declared this property for backward compatibility of old component\n\n * `indeterminate` {`boolean`} - Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.\n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\n * `showHelpText` {`boolean`} - \n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `required` {`boolean`} - Makes the checkbox a required field.\n\nProperties:\n\n * `styles` - \n\n * `input` {`HTMLInputElement`} - \n\n * `hasFocus` {`boolean`} - \n\n * `title` {`string`} - \n\n * `name` {`string`} - The name of the checkbox, submitted as a name/value pair with form data.\n\n * `value` {`boolean`} - The current value of the checkbox, submitted as a name/value pair with form data.\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The checkbox's size.\n\n * `disabled` {`boolean`} - Disables the checkbox.\n\n * `checked` {`boolean`} - Draws the checkbox in a checked state.\n\n * `label` {`string`} - Label, declared this property for backward compatibility of old component\n\n * `indeterminate` {`boolean`} - Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.\n\n * `defaultChecked` {`boolean`} - The default value of the form control. Primarily used for resetting the form control.\n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `showHelpText` {`boolean`} - \n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `required` {`boolean`} - Makes the checkbox a required field.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
562
620
|
"attributes": [
|
563
621
|
{
|
564
622
|
"name": "title",
|
@@ -575,13 +633,13 @@
|
|
575
633
|
},
|
576
634
|
{
|
577
635
|
"name": "size",
|
578
|
-
"description": "`size` {`\"
|
636
|
+
"description": "`size` {`\"medium\" | \"small\" | \"large\"`} - The checkbox's size.\n\nProperty: size\n\nDefault: medium",
|
579
637
|
"values": [
|
580
638
|
{
|
581
|
-
"name": "
|
639
|
+
"name": "medium"
|
582
640
|
},
|
583
641
|
{
|
584
|
-
"name": "
|
642
|
+
"name": "small"
|
585
643
|
},
|
586
644
|
{
|
587
645
|
"name": "large"
|
@@ -1081,7 +1139,7 @@
|
|
1081
1139
|
},
|
1082
1140
|
{
|
1083
1141
|
"name": "nile-dropdown",
|
1084
|
-
"description": "Nile icon component.\n\nEvents:\n\n * `nile-show` {} - Emitted when the dropdown opens.\n\n * `nile-after-show` {} - Emitted after the dropdown opens and all animations are complete.\n\n * `nile-hide` {} - Emitted when the dropdown closes.\n\n * `nile-after-hide` {} - Emitted after the dropdown closes and all animations are complete.\n\nSlots:\n\n * ` ` {} - The dropdown's main content.\n\n * `trigger` {} - The dropdown's trigger, usually a `<nile-button>` element.\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.\n\n * `placement` {`\"
|
1142
|
+
"description": "Nile icon component.\n\nEvents:\n\n * `nile-show` {} - Emitted when the dropdown opens.\n\n * `nile-after-show` {} - Emitted after the dropdown opens and all animations are complete.\n\n * `nile-hide` {} - Emitted when the dropdown closes.\n\n * `nile-after-hide` {} - Emitted after the dropdown closes and all animations are complete.\n\nSlots:\n\n * ` ` {} - The dropdown's main content.\n\n * `trigger` {} - The dropdown's trigger, usually a `<nile-button>` element.\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.\n\n * `disabled` {`boolean`} - Disables the dropdown so the panel will not open.\n\n * `stay-open-on-select` {`boolean`} - By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.\n\n * `distance` {`number`} - The distance in pixels from which to offset the panel away from its trigger.\n\n * `noOpenOnClick` {`boolean`} - \n\n * `skidding` {`number`} - The distance in pixels from which to offset the panel along its trigger.\n\n * `sync` {`\"width\" | \"height\" | \"both\"`} - Syncs the popup's width or height to that of the anchor element.\n\n * `hoist` {`boolean`} - Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n\nProperties:\n\n * `styles` - \n\n * `popup` - \n\n * `trigger` {`HTMLSlotElement`} - \n\n * `panel` {`HTMLSlotElement`} - \n\n * `open` {`boolean`} - Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.\n\n * `disabled` {`boolean`} - Disables the dropdown so the panel will not open.\n\n * `stayOpenOnSelect` {`boolean`} - By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.\n\n * `containingElement` {`HTMLElement | undefined`} - The dropdown will close when the user interacts outside of this element (e.g. clicking). Useful for composing other\ncomponents that use a dropdown internally.\n\n * `distance` {`number`} - The distance in pixels from which to offset the panel away from its trigger.\n\n * `noOpenOnClick` {`boolean`} - \n\n * `skidding` {`number`} - The distance in pixels from which to offset the panel along its trigger.\n\n * `sync` {`\"width\" | \"height\" | \"both\"`} - Syncs the popup's width or height to that of the anchor element.\n\n * `hoist` {`boolean`} - Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
1085
1143
|
"attributes": [
|
1086
1144
|
{
|
1087
1145
|
"name": "open",
|
@@ -1090,8 +1148,14 @@
|
|
1090
1148
|
},
|
1091
1149
|
{
|
1092
1150
|
"name": "placement",
|
1093
|
-
"description": "`placement` {`\"
|
1151
|
+
"description": "`placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.\n\nProperty: placement\n\nDefault: bottom-start",
|
1094
1152
|
"values": [
|
1153
|
+
{
|
1154
|
+
"name": "left"
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"name": "right"
|
1158
|
+
},
|
1095
1159
|
{
|
1096
1160
|
"name": "top"
|
1097
1161
|
},
|
@@ -1110,18 +1174,12 @@
|
|
1110
1174
|
{
|
1111
1175
|
"name": "bottom-end"
|
1112
1176
|
},
|
1113
|
-
{
|
1114
|
-
"name": "right"
|
1115
|
-
},
|
1116
1177
|
{
|
1117
1178
|
"name": "right-start"
|
1118
1179
|
},
|
1119
1180
|
{
|
1120
1181
|
"name": "right-end"
|
1121
1182
|
},
|
1122
|
-
{
|
1123
|
-
"name": "left"
|
1124
|
-
},
|
1125
1183
|
{
|
1126
1184
|
"name": "left-start"
|
1127
1185
|
},
|
@@ -1731,7 +1789,7 @@
|
|
1731
1789
|
},
|
1732
1790
|
{
|
1733
1791
|
"name": "nile-input",
|
1734
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `title` {`string`} - \n\n * `type` {`\"number\" | \"time\" | \"date\" | \"datetime-local\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"
|
1792
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `title` {`string`} - \n\n * `type` {`\"number\" | \"text\" | \"time\" | \"date\" | \"datetime-local\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"url\"`} - The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.\n\n * `checkNonPrintableChar` {`boolean`} - \n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The input's size.\n\n * `filled` {`boolean`} - Draws a filled input.\n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `destructive` {`boolean`} - Sets the input to a Destructive state, changing its visual appearance.\n\n * `pill` {`boolean`} - Draws a pill-style input with rounded edges.\n\n * `label` {`string`} - The input's label. If you need to display HTML, use the `label` slot instead.\n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\n * `clearable` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `readonly` {`boolean`} - Makes the input readonly.\n\n * `password-toggle` {`boolean`} - Adds a button to toggle the password's visibility. Only applies to password types.\n\n * `password-visible` {`boolean`} - Determines whether or not the password is currently visible. Only applies to password input types.\n\n * `no-spin-buttons` {`boolean`} - Hides the browser's built-in increment/decrement spin buttons for number inputs.\n\n * `autocapitalize` {`\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\"`} - Controls whether and how text input is automatically capitalized as it is entered by the user.\n\n * `autocorrect` {`\"off\" | \"on\"`} - Indicates whether the browser's autocorrect feature is on or off.\n\n * `autocomplete` {`string`} - Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n\n * `autofocus` {`boolean`} - Indicates that the input should receive focus on page load.\n\n * `enterkeyhint` {`\"search\" | \"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"send\"`} - Used to customize the label or icon of the Enter key on virtual keyboards.\n\n * `spellcheck` {`boolean`} - Enables spell checking on the input.\n\n * `canSavePassword` {`boolean`} - \n\n * `inputmode` {`\"text\" | \"none\" | \"numeric\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"decimal\"`} - Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.\n\n * `name` {`string`} - The name of the input, submitted as a name/value pair with form data.\n\n * `value` {`string`} - The current value of the input, submitted as a name/value pair with form data.\n\n * `disabled` {`boolean`} - Disables the input.\n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `pattern` {`string`} - A regular expression pattern to validate input against.\n\n * `min` {`string | number`} - The input's minimum value. Only applies to date and number input types.\n\n * `max` {`string | number`} - The input's maximum value. Only applies to date and number input types.\n\n * `step` {`number | \"any\"`} - Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.\n\n * `required` {`boolean`} - Makes the input a required field.\n\n * `minlength` {`number`} - The minimum length of input that will be considered valid.\n\n * `maxlength` {`number`} - The maximum length of input that will be considered valid.\n\nProperties:\n\n * `styles` - \n\n * `formControlController` - \n\n * `hasSlotController` - \n\n * `input` {`HTMLInputElement`} - \n\n * `hasFocus` {`boolean`} - \n\n * `title` {`string`} - \n\n * `type` {`\"number\" | \"text\" | \"time\" | \"date\" | \"datetime-local\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"url\"`} - The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.\n\n * `checkNonPrintableChar` {`boolean`} - \n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The input's size.\n\n * `filled` {`boolean`} - Draws a filled input.\n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `destructive` {`boolean`} - Sets the input to a Destructive state, changing its visual appearance.\n\n * `pill` {`boolean`} - Draws a pill-style input with rounded edges.\n\n * `label` {`string`} - The input's label. If you need to display HTML, use the `label` slot instead.\n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `clearable` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `readonly` {`boolean`} - Makes the input readonly.\n\n * `passwordToggle` {`boolean`} - Adds a button to toggle the password's visibility. Only applies to password types.\n\n * `passwordVisible` {`boolean`} - Determines whether or not the password is currently visible. Only applies to password input types.\n\n * `noSpinButtons` {`boolean`} - Hides the browser's built-in increment/decrement spin buttons for number inputs.\n\n * `autocapitalize` {`\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\"`} - Controls whether and how text input is automatically capitalized as it is entered by the user.\n\n * `autocorrect` {`\"off\" | \"on\"`} - Indicates whether the browser's autocorrect feature is on or off.\n\n * `autocomplete` {`string`} - Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n\n * `autofocus` {`boolean`} - Indicates that the input should receive focus on page load.\n\n * `enterkeyhint` {`\"search\" | \"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"send\"`} - Used to customize the label or icon of the Enter key on virtual keyboards.\n\n * `spellcheck` {`boolean`} - Enables spell checking on the input.\n\n * `canSavePassword` {`boolean`} - \n\n * `inputmode` {`\"text\" | \"none\" | \"numeric\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"decimal\"`} - Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.\n\n * `hasPrintableCharacters` {`boolean`} - \n\n * `markedValue` {`string`} - \n\n * `valueAsDate` {`Date | null`} - Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted.\n\n * `valueAsNumber` {`number`} - Gets or sets the current value as a number. Returns `NaN` if the value can't be converted.\n\n * `name` {`string`} - The name of the input, submitted as a name/value pair with form data.\n\n * `value` {`string`} - The current value of the input, submitted as a name/value pair with form data.\n\n * `disabled` {`boolean`} - Disables the input.\n\n * `defaultValue` {`string`} - The default value of the form control. Primarily used for resetting the form control.\n\n * `defaultChecked` {`boolean | undefined`} - \n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `pattern` {`string`} - A regular expression pattern to validate input against.\n\n * `min` {`string | number`} - The input's minimum value. Only applies to date and number input types.\n\n * `max` {`string | number`} - The input's maximum value. Only applies to date and number input types.\n\n * `step` {`number | \"any\"`} - Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.\n\n * `required` {`boolean`} - Makes the input a required field.\n\n * `minlength` {`number`} - The minimum length of input that will be considered valid.\n\n * `maxlength` {`number`} - The maximum length of input that will be considered valid.\n\n * `validity` {`ValidityState`} - Gets the validity state object\n\n * `validationMessage` {`string`} - Gets the validation message\n\n * `checkValidity` {`() => boolean`} - \n\n * `getForm` {`() => HTMLFormElement | null`} - \n\n * `reportValidity` {`() => boolean`} - \n\n * `setCustomValidity` {`(message: string) => void`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
1735
1793
|
"attributes": [
|
1736
1794
|
{
|
1737
1795
|
"name": "title",
|
@@ -1739,11 +1797,14 @@
|
|
1739
1797
|
},
|
1740
1798
|
{
|
1741
1799
|
"name": "type",
|
1742
|
-
"description": "`type` {`\"number\" | \"time\" | \"date\" | \"datetime-local\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"
|
1800
|
+
"description": "`type` {`\"number\" | \"text\" | \"time\" | \"date\" | \"datetime-local\" | \"email\" | \"password\" | \"search\" | \"tel\" | \"url\"`} - The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.\n\nProperty: type\n\nDefault: text",
|
1743
1801
|
"values": [
|
1744
1802
|
{
|
1745
1803
|
"name": "number"
|
1746
1804
|
},
|
1805
|
+
{
|
1806
|
+
"name": "text"
|
1807
|
+
},
|
1747
1808
|
{
|
1748
1809
|
"name": "time"
|
1749
1810
|
},
|
@@ -1765,9 +1826,6 @@
|
|
1765
1826
|
{
|
1766
1827
|
"name": "tel"
|
1767
1828
|
},
|
1768
|
-
{
|
1769
|
-
"name": "text"
|
1770
|
-
},
|
1771
1829
|
{
|
1772
1830
|
"name": "url"
|
1773
1831
|
}
|
@@ -1780,13 +1838,13 @@
|
|
1780
1838
|
},
|
1781
1839
|
{
|
1782
1840
|
"name": "size",
|
1783
|
-
"description": "`size` {`\"
|
1841
|
+
"description": "`size` {`\"medium\" | \"small\" | \"large\"`} - The input's size.\n\nProperty: size\n\nDefault: medium",
|
1784
1842
|
"values": [
|
1785
1843
|
{
|
1786
|
-
"name": "
|
1844
|
+
"name": "medium"
|
1787
1845
|
},
|
1788
1846
|
{
|
1789
|
-
"name": "
|
1847
|
+
"name": "small"
|
1790
1848
|
},
|
1791
1849
|
{
|
1792
1850
|
"name": "large"
|
@@ -1948,8 +2006,11 @@
|
|
1948
2006
|
},
|
1949
2007
|
{
|
1950
2008
|
"name": "inputmode",
|
1951
|
-
"description": "`inputmode` {`\"
|
2009
|
+
"description": "`inputmode` {`\"text\" | \"none\" | \"numeric\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"decimal\"`} - Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.\n\nProperty: inputmode",
|
1952
2010
|
"values": [
|
2011
|
+
{
|
2012
|
+
"name": "text"
|
2013
|
+
},
|
1953
2014
|
{
|
1954
2015
|
"name": "none"
|
1955
2016
|
},
|
@@ -1965,9 +2026,6 @@
|
|
1965
2026
|
{
|
1966
2027
|
"name": "tel"
|
1967
2028
|
},
|
1968
|
-
{
|
1969
|
-
"name": "text"
|
1970
|
-
},
|
1971
2029
|
{
|
1972
2030
|
"name": "url"
|
1973
2031
|
},
|
@@ -2223,12 +2281,18 @@
|
|
2223
2281
|
},
|
2224
2282
|
{
|
2225
2283
|
"name": "nile-popover",
|
2226
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `placement` {`\"
|
2284
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the popover. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.\n\n * `distance` {`number`} - The distance in pixels from which to offset the popover away from its target.\n\n * `preventOverlayClose` {`boolean`} - \n\n * `arrow` {`boolean`} - \n\n * `title` {`string`} - Gives the title to the popover\n\n * `open` {`boolean`} - \n\n * `arrow-placement` {`\"end\" | \"start\" | \"center\" | \"anchor\"`} - \n\n * `hoist` {`boolean`} - Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n\n * `flip` {`boolean`} - \n\nProperties:\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the popover. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.\n\n * `distance` {`number`} - The distance in pixels from which to offset the popover away from its target.\n\n * `preventOverlayClose` {`boolean`} - \n\n * `arrow` {`boolean`} - \n\n * `title` {`string`} - Gives the title to the popover\n\n * `open` {`boolean`} - \n\n * `isShow` {`boolean`} - \n\n * `arrowPlacement` {`\"end\" | \"start\" | \"center\" | \"anchor\"`} - \n\n * `hoist` {`boolean`} - Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n\n * `flip` {`boolean`} - \n\n * `handleClick` - \n\n * `handleDocumentClick` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2227
2285
|
"attributes": [
|
2228
2286
|
{
|
2229
2287
|
"name": "placement",
|
2230
|
-
"description": "`placement` {`\"
|
2288
|
+
"description": "`placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the popover. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.\n\nProperty: placement\n\nDefault: top",
|
2231
2289
|
"values": [
|
2290
|
+
{
|
2291
|
+
"name": "left"
|
2292
|
+
},
|
2293
|
+
{
|
2294
|
+
"name": "right"
|
2295
|
+
},
|
2232
2296
|
{
|
2233
2297
|
"name": "top"
|
2234
2298
|
},
|
@@ -2247,18 +2311,12 @@
|
|
2247
2311
|
{
|
2248
2312
|
"name": "bottom-end"
|
2249
2313
|
},
|
2250
|
-
{
|
2251
|
-
"name": "right"
|
2252
|
-
},
|
2253
2314
|
{
|
2254
2315
|
"name": "right-start"
|
2255
2316
|
},
|
2256
2317
|
{
|
2257
2318
|
"name": "right-end"
|
2258
2319
|
},
|
2259
|
-
{
|
2260
|
-
"name": "left"
|
2261
|
-
},
|
2262
2320
|
{
|
2263
2321
|
"name": "left-start"
|
2264
2322
|
},
|
@@ -2322,7 +2380,7 @@
|
|
2322
2380
|
},
|
2323
2381
|
{
|
2324
2382
|
"name": "nile-popup",
|
2325
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `anchor` {`string | Element`} - The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide its `id` or a\nreference to it here. If the anchor lives inside the popup, use the `anchor` slot instead.\n\n * `active` {`boolean`} - Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\ndown and the popup will be hidden.\n\n * `placement` {`\"
|
2383
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `anchor` {`string | Element`} - The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide its `id` or a\nreference to it here. If the anchor lives inside the popup, use the `anchor` slot instead.\n\n * `active` {`boolean`} - Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\ndown and the popup will be hidden.\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\npanel inside of the viewport.\n\n * `strategy` {`\"absolute\" | \"fixed\"`} - Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\nclipped, using a `fixed` position strategy can often workaround it.\n\n * `distance` {`number`} - The distance in pixels from which to offset the panel away from its anchor.\n\n * `skidding` {`number`} - The distance in pixels from which to offset the panel along its anchor.\n\n * `arrow` {`boolean`} - Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n`--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n`::part(arrow)` in your stylesheet.\n\n * `arrow-placement` {`\"end\" | \"start\" | \"center\" | \"anchor\"`} - The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.\n\n * `arrow-padding` {`number`} - The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\nthis will prevent it from overflowing the corners.\n\n * `flip` {`boolean`} - When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n`flipFallbackPlacements` to further configure how the fallback placement is determined.\n\n * `flip-fallback-placements` {`string`} - If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\nstring of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\nfallback strategy will be used instead.\n\n * `flip-fallback-strategy` {`\"best-fit\" | \"initial\"`} - When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\nthe popup should be positioned using the best available fit based on available space or as it was initially\npreferred.\n\n * `flipBoundary` {`Element | Element[]`} - The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.\n\n * `flip-padding` {`number`} - The amount of padding, in pixels, to exceed before the flip behavior will occur.\n\n * `shift` {`boolean`} - Moves the popup along the axis to keep it in view when clipped.\n\n * `shiftBoundary` {`Element | Element[]`} - The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.\n\n * `shift-padding` {`number`} - The amount of padding, in pixels, to exceed before the shift behavior will occur.\n\n * `auto-size` {`\"both\" | \"horizontal\" | \"vertical\"`} - When set, this will cause the popup to automatically resize itself to prevent it from overflowing.\n\n * `sync` {`\"width\" | \"height\" | \"both\"`} - Syncs the popup's width or height to that of the anchor element.\n\n * `autoSizeBoundary` {`Element | Element[]`} - The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.\n\n * `auto-size-padding` {`number`} - The amount of padding, in pixels, to exceed before the auto-size behavior will occur.\n\nProperties:\n\n * `styles` - \n\n * `anchorEl` {`Element | null`} - \n\n * `cleanup` {`(() => void) | undefined`} - \n\n * `popup` {`HTMLElement`} - A reference to the internal popup container. Useful for animating and styling the popup with JavaScript.\n\n * `arrowEl` {`HTMLElement`} - \n\n * `anchor` {`string | Element`} - The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide its `id` or a\nreference to it here. If the anchor lives inside the popup, use the `anchor` slot instead.\n\n * `active` {`boolean`} - Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\ndown and the popup will be hidden.\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\npanel inside of the viewport.\n\n * `strategy` {`\"absolute\" | \"fixed\"`} - Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\nclipped, using a `fixed` position strategy can often workaround it.\n\n * `distance` {`number`} - The distance in pixels from which to offset the panel away from its anchor.\n\n * `skidding` {`number`} - The distance in pixels from which to offset the panel along its anchor.\n\n * `arrow` {`boolean`} - Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n`--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n`::part(arrow)` in your stylesheet.\n\n * `arrowPlacement` {`\"end\" | \"start\" | \"center\" | \"anchor\"`} - The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.\n\n * `arrowPadding` {`number`} - The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\nthis will prevent it from overflowing the corners.\n\n * `flip` {`boolean`} - When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n`flipFallbackPlacements` to further configure how the fallback placement is determined.\n\n * `flipFallbackPlacements` {`string`} - If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\nstring of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\nfallback strategy will be used instead.\n\n * `flipFallbackStrategy` {`\"best-fit\" | \"initial\"`} - When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\nthe popup should be positioned using the best available fit based on available space or as it was initially\npreferred.\n\n * `flipBoundary` {`Element | Element[]`} - The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.\n\n * `flipPadding` {`number`} - The amount of padding, in pixels, to exceed before the flip behavior will occur.\n\n * `shift` {`boolean`} - Moves the popup along the axis to keep it in view when clipped.\n\n * `shiftBoundary` {`Element | Element[]`} - The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.\n\n * `shiftPadding` {`number`} - The amount of padding, in pixels, to exceed before the shift behavior will occur.\n\n * `autoSize` {`\"both\" | \"horizontal\" | \"vertical\"`} - When set, this will cause the popup to automatically resize itself to prevent it from overflowing.\n\n * `sync` {`\"width\" | \"height\" | \"both\"`} - Syncs the popup's width or height to that of the anchor element.\n\n * `autoSizeBoundary` {`Element | Element[]`} - The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.\n\n * `autoSizePadding` {`number`} - The amount of padding, in pixels, to exceed before the auto-size behavior will occur.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2326
2384
|
"attributes": [
|
2327
2385
|
{
|
2328
2386
|
"name": "anchor",
|
@@ -2336,8 +2394,14 @@
|
|
2336
2394
|
},
|
2337
2395
|
{
|
2338
2396
|
"name": "placement",
|
2339
|
-
"description": "`placement` {`\"
|
2397
|
+
"description": "`placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\npanel inside of the viewport.\n\nProperty: placement\n\nDefault: top",
|
2340
2398
|
"values": [
|
2399
|
+
{
|
2400
|
+
"name": "left"
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
"name": "right"
|
2404
|
+
},
|
2341
2405
|
{
|
2342
2406
|
"name": "top"
|
2343
2407
|
},
|
@@ -2356,18 +2420,12 @@
|
|
2356
2420
|
{
|
2357
2421
|
"name": "bottom-end"
|
2358
2422
|
},
|
2359
|
-
{
|
2360
|
-
"name": "right"
|
2361
|
-
},
|
2362
2423
|
{
|
2363
2424
|
"name": "right-start"
|
2364
2425
|
},
|
2365
2426
|
{
|
2366
2427
|
"name": "right-end"
|
2367
2428
|
},
|
2368
|
-
{
|
2369
|
-
"name": "left"
|
2370
|
-
},
|
2371
2429
|
{
|
2372
2430
|
"name": "left-start"
|
2373
2431
|
},
|
@@ -2582,7 +2640,7 @@
|
|
2582
2640
|
},
|
2583
2641
|
{
|
2584
2642
|
"name": "nile-radio",
|
2585
|
-
"description": "Nile icon component.\n\nEvents:\n\n * `blur` {} - Emitted when the control loses focus.\n\n * `focus` {} - Emitted when the control gains focus.\n\nSlots:\n\n * ` ` {} - The radio's label.\n\nAttributes:\n\n * `checked` {`boolean`} - \n\n * `value` {`string`} - The radio's value. When selected, the radio group will receive this value.\n\n * `size` {`\"
|
2643
|
+
"description": "Nile icon component.\n\nEvents:\n\n * `blur` {} - Emitted when the control loses focus.\n\n * `focus` {} - Emitted when the control gains focus.\n\nSlots:\n\n * ` ` {} - The radio's label.\n\nAttributes:\n\n * `checked` {`boolean`} - \n\n * `value` {`string`} - The radio's value. When selected, the radio group will receive this value.\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The radio's size.\n\n * `disabled` {`boolean`} - Disables the radio.\n\n * `islabelborder` {`boolean`} - The radio's labelborder.\n\nProperties:\n\n * `styles` - \n\n * `checked` {`boolean`} - \n\n * `hasFocus` {`boolean`} - \n\n * `value` {`string`} - The radio's value. When selected, the radio group will receive this value.\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The radio's size.\n\n * `disabled` {`boolean`} - Disables the radio.\n\n * `islabelborder` {`boolean`} - The radio's labelborder.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2586
2644
|
"attributes": [
|
2587
2645
|
{
|
2588
2646
|
"name": "checked",
|
@@ -2595,13 +2653,13 @@
|
|
2595
2653
|
},
|
2596
2654
|
{
|
2597
2655
|
"name": "size",
|
2598
|
-
"description": "`size` {`\"
|
2656
|
+
"description": "`size` {`\"medium\" | \"small\" | \"large\"`} - The radio's size.\n\nProperty: size\n\nDefault: medium",
|
2599
2657
|
"values": [
|
2600
2658
|
{
|
2601
|
-
"name": "
|
2659
|
+
"name": "medium"
|
2602
2660
|
},
|
2603
2661
|
{
|
2604
|
-
"name": "
|
2662
|
+
"name": "small"
|
2605
2663
|
},
|
2606
2664
|
{
|
2607
2665
|
"name": "large"
|
@@ -2666,17 +2724,17 @@
|
|
2666
2724
|
},
|
2667
2725
|
{
|
2668
2726
|
"name": "nile-select",
|
2669
|
-
"description": "Events:\n\n * `nile-change` {} - Emitted when the control's value changes.\n\n * `nile-clear` {} - Emitted when the control's value is cleared.\n\n * `nile-input` {} - Emitted when the control receives input.\n\n * `nile-focus` {} - Emitted when the control gains focus.\n\n * `nile-blur` {} - Emitted when the control loses focus.\n\n * `nile-show` {} - Emitted when the select's menu opens.\n\n * `nile-after-show` {} - Emitted after the select's menu opens and all animations are complete.\n\n * `nile-hide` {} - Emitted when the select's menu closes.\n\n * `nile-after-hide` {} - Emitted after the select's menu closes and all animations are complete.\n\n * `nile-invalid` {} - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\nSlots:\n\n * ` ` {} - The listbox options. Must be `<nile-option>` elements. You can use `<nile-divider>` to group items visually.\n\n * `label` {} - The input's label. Alternatively, you can use the `label` attribute.\n\n * `prefix` {} - Used to prepend a presentational icon or similar element to the combobox.\n\n * `clear-icon` {} - An icon to use in lieu of the default clear icon.\n\n * `expand-icon` {} - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n * `help-text` {} - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\nAttributes:\n\n * `size` {`\"
|
2727
|
+
"description": "Events:\n\n * `nile-change` {} - Emitted when the control's value changes.\n\n * `nile-clear` {} - Emitted when the control's value is cleared.\n\n * `nile-input` {} - Emitted when the control receives input.\n\n * `nile-focus` {} - Emitted when the control gains focus.\n\n * `nile-blur` {} - Emitted when the control loses focus.\n\n * `nile-show` {} - Emitted when the select's menu opens.\n\n * `nile-after-show` {} - Emitted after the select's menu opens and all animations are complete.\n\n * `nile-hide` {} - Emitted when the select's menu closes.\n\n * `nile-after-hide` {} - Emitted after the select's menu closes and all animations are complete.\n\n * `nile-invalid` {} - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\nSlots:\n\n * ` ` {} - The listbox options. Must be `<nile-option>` elements. You can use `<nile-divider>` to group items visually.\n\n * `label` {} - The input's label. Alternatively, you can use the `label` attribute.\n\n * `prefix` {} - Used to prepend a presentational icon or similar element to the combobox.\n\n * `clear-icon` {} - An icon to use in lieu of the default clear icon.\n\n * `expand-icon` {} - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n * `help-text` {} - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\nAttributes:\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The select's size.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the select is empty.\n\n * `searchEnabled` {`boolean`} - \n\n * `internal-search-placeholder` {`string`} - \n\n * `blockValueChange` {`boolean`} - \n\n * `disableLocalSearch` {`boolean`} - \n\n * `optionsLoading` {`boolean`} - \n\n * `noWidthSync` {`boolean`} - \n\n * `multiple` {`boolean`} - Allows more than one option to be selected.\n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `max-options-visible` {`number`} - The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.\n\n * `clearable` {`boolean`} - Adds a clear button when the select is not empty.\n\n * `open` {`boolean`} - Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the select's open state.\n\n * `hoist` {`boolean`} - Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n\n * `filled` {`boolean`} - Draws a filled select.\n\n * `pill` {`boolean`} - Draws a pill-style select with rounded edges.\n\n * `label` {`string`} - The select's label. If you need to display HTML, use the `label` slot instead.\n\n * `placement` {`\"top\" | \"bottom\"`} - The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.\n\n * `showSelected` {`boolean`} - \n\n * `showNoResults` {`boolean`} - \n\n * `noResultsMessage` {`string`} - \n\n * `name` {`string`} - The name of the select, submitted as a name/value pair with form data.\n\n * `value` {`string | string[]`} - The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.\n\n * `disabled` {`boolean`} - Disables the select control.\n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `required` {`boolean`} - The select's required attribute.\n\nProperties:\n\n * `styles` - \n\n * `formControlController` - \n\n * `hasSlotController` - \n\n * `typeToSelectString` {`string`} - \n\n * `typeToSelectTimeout` {`number`} - \n\n * `popup` - \n\n * `combobox` {`HTMLSlotElement`} - \n\n * `displayInput` {`HTMLInputElement`} - \n\n * `valueInput` {`HTMLInputElement`} - \n\n * `listbox` {`HTMLSlotElement`} - \n\n * `hasFocus` {`boolean`} - \n\n * `displayLabel` {`string`} - \n\n * `currentOption` - \n\n * `selectedOptions` {`NileOption[]`} - \n\n * `oldValue` {`string | string[]`} - \n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The select's size.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the select is empty.\n\n * `searchValue` {`string`} - Placeholder text to show as a hint when the select is empty.\n\n * `searchEnabled` {`boolean`} - \n\n * `internalSearchPlaceHolder` {`string`} - \n\n * `blockValueChange` {`boolean`} - \n\n * `disableLocalSearch` {`boolean`} - \n\n * `optionsLoading` {`boolean`} - \n\n * `noWidthSync` {`boolean`} - \n\n * `multiple` {`boolean`} - Allows more than one option to be selected.\n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `maxOptionsVisible` {`number`} - The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.\n\n * `clearable` {`boolean`} - Adds a clear button when the select is not empty.\n\n * `open` {`boolean`} - Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the select's open state.\n\n * `hoist` {`boolean`} - Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n\n * `filled` {`boolean`} - Draws a filled select.\n\n * `pill` {`boolean`} - Draws a pill-style select with rounded edges.\n\n * `label` {`string`} - The select's label. If you need to display HTML, use the `label` slot instead.\n\n * `placement` {`\"top\" | \"bottom\"`} - The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.\n\n * `showSelected` {`boolean`} - \n\n * `oldMaxOptionsVisible` {`number`} - \n\n * `showNoResults` {`boolean`} - \n\n * `noResultsMessage` {`string`} - \n\n * `name` {`string`} - The name of the select, submitted as a name/value pair with form data.\n\n * `value` {`string | string[]`} - The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.\n\n * `disabled` {`boolean`} - Disables the select control.\n\n * `defaultValue` {`string | string[]`} - The default value of the form control. Primarily used for resetting the form control.\n\n * `defaultChecked` {`boolean | undefined`} - \n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `pattern` {`string | undefined`} - \n\n * `min` {`string | number | Date | undefined`} - \n\n * `max` {`string | number | Date | undefined`} - \n\n * `step` {`number | \"any\" | undefined`} - \n\n * `required` {`boolean`} - The select's required attribute.\n\n * `minlength` {`number | undefined`} - \n\n * `maxlength` {`number | undefined`} - \n\n * `validity` {`ValidityState`} - Gets the validity state object\n\n * `validationMessage` {`string`} - Gets the validation message\n\n * `checkValidity` {`() => boolean`} - \n\n * `getForm` {`() => HTMLFormElement | null`} - \n\n * `reportValidity` {`() => boolean`} - \n\n * `setCustomValidity` {`(message: string) => void`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2670
2728
|
"attributes": [
|
2671
2729
|
{
|
2672
2730
|
"name": "size",
|
2673
|
-
"description": "`size` {`\"
|
2731
|
+
"description": "`size` {`\"medium\" | \"small\" | \"large\"`} - The select's size.\n\nProperty: size\n\nDefault: medium",
|
2674
2732
|
"values": [
|
2675
2733
|
{
|
2676
|
-
"name": "
|
2734
|
+
"name": "medium"
|
2677
2735
|
},
|
2678
2736
|
{
|
2679
|
-
"name": "
|
2737
|
+
"name": "small"
|
2680
2738
|
},
|
2681
2739
|
{
|
2682
2740
|
"name": "large"
|
@@ -2896,7 +2954,7 @@
|
|
2896
2954
|
},
|
2897
2955
|
{
|
2898
2956
|
"name": "nile-sidebar-wrapper",
|
2899
|
-
"description": "Nile sidebar-wrapper component.\n\nAttributes:\n\n * `overlaysidebar` {`boolean`} - \n\n * `placement` {`\"
|
2957
|
+
"description": "Nile sidebar-wrapper component.\n\nAttributes:\n\n * `overlaysidebar` {`boolean`} - \n\n * `placement` {`\"left\" | \"right\"`} - \n\n * `isopen` {`boolean`} - \n\nProperties:\n\n * `overlaysidebar` {`boolean`} - \n\n * `placement` {`\"left\" | \"right\"`} - \n\n * `isopen` {`boolean`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2900
2958
|
"attributes": [
|
2901
2959
|
{
|
2902
2960
|
"name": "overlaysidebar",
|
@@ -2905,13 +2963,13 @@
|
|
2905
2963
|
},
|
2906
2964
|
{
|
2907
2965
|
"name": "placement",
|
2908
|
-
"description": "`placement` {`\"
|
2966
|
+
"description": "`placement` {`\"left\" | \"right\"`} - \n\nProperty: placement\n\nDefault: left",
|
2909
2967
|
"values": [
|
2910
2968
|
{
|
2911
|
-
"name": "
|
2969
|
+
"name": "left"
|
2912
2970
|
},
|
2913
2971
|
{
|
2914
|
-
"name": "
|
2972
|
+
"name": "right"
|
2915
2973
|
}
|
2916
2974
|
]
|
2917
2975
|
},
|
@@ -2943,7 +3001,7 @@
|
|
2943
3001
|
},
|
2944
3002
|
{
|
2945
3003
|
"name": "nile-slide-toggle",
|
2946
|
-
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `sublabel` {`string`} - \n\n * `textPosition` {`\"
|
3004
|
+
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `sublabel` {`string`} - \n\n * `textPosition` {`\"left\" | \"right\"`} - \n\n * `isChecked` {`boolean`} - \n\n * `fullWidth` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\nProperties:\n\n * `styles` - \n\n * `label` {`string`} - \n\n * `sublabel` {`string`} - \n\n * `textPosition` {`\"left\" | \"right\"`} - \n\n * `isChecked` {`boolean`} - \n\n * `fullWidth` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2947
3005
|
"attributes": [
|
2948
3006
|
{
|
2949
3007
|
"name": "label",
|
@@ -2955,13 +3013,13 @@
|
|
2955
3013
|
},
|
2956
3014
|
{
|
2957
3015
|
"name": "textPosition",
|
2958
|
-
"description": "`textPosition` {`\"
|
3016
|
+
"description": "`textPosition` {`\"left\" | \"right\"`} - \n\nProperty: textPosition\n\nDefault: right",
|
2959
3017
|
"values": [
|
2960
3018
|
{
|
2961
|
-
"name": "
|
3019
|
+
"name": "left"
|
2962
3020
|
},
|
2963
3021
|
{
|
2964
|
-
"name": "
|
3022
|
+
"name": "right"
|
2965
3023
|
}
|
2966
3024
|
]
|
2967
3025
|
},
|
@@ -3268,7 +3326,7 @@
|
|
3268
3326
|
},
|
3269
3327
|
{
|
3270
3328
|
"name": "nile-tag",
|
3271
|
-
"description": "Events:\n\n * `nile-remove` {} - Emitted when the remove button is activated.\n\nSlots:\n\n * ` ` {} - The tag's content.\n\nAttributes:\n\n * `variant` {`\"primary\" | \"success\" | \"normal\" | \"warning\" | \"error\" | \"info\"`} - The tag's theme variant.\n\n * `size` {`\"
|
3329
|
+
"description": "Events:\n\n * `nile-remove` {} - Emitted when the remove button is activated.\n\nSlots:\n\n * ` ` {} - The tag's content.\n\nAttributes:\n\n * `variant` {`\"primary\" | \"success\" | \"normal\" | \"warning\" | \"error\" | \"info\"`} - The tag's theme variant.\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The tag's size.\n\n * `pill` {`boolean`} - Draws a pill-style tag with rounded edges.\n\n * `removable` {`boolean`} - Makes the tag removable and shows a remove button.\n\nProperties:\n\n * `styles` - \n\n * `variant` {`\"primary\" | \"success\" | \"normal\" | \"warning\" | \"error\" | \"info\"`} - The tag's theme variant.\n\n * `size` {`\"medium\" | \"small\" | \"large\"`} - The tag's size.\n\n * `pill` {`boolean`} - Draws a pill-style tag with rounded edges.\n\n * `removable` {`boolean`} - Makes the tag removable and shows a remove button.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3272
3330
|
"attributes": [
|
3273
3331
|
{
|
3274
3332
|
"name": "variant",
|
@@ -3296,13 +3354,13 @@
|
|
3296
3354
|
},
|
3297
3355
|
{
|
3298
3356
|
"name": "size",
|
3299
|
-
"description": "`size` {`\"
|
3357
|
+
"description": "`size` {`\"medium\" | \"small\" | \"large\"`} - The tag's size.\n\nProperty: size\n\nDefault: medium",
|
3300
3358
|
"values": [
|
3301
3359
|
{
|
3302
|
-
"name": "
|
3360
|
+
"name": "medium"
|
3303
3361
|
},
|
3304
3362
|
{
|
3305
|
-
"name": "
|
3363
|
+
"name": "small"
|
3306
3364
|
},
|
3307
3365
|
{
|
3308
3366
|
"name": "large"
|
@@ -3327,7 +3385,7 @@
|
|
3327
3385
|
},
|
3328
3386
|
{
|
3329
3387
|
"name": "nile-textarea",
|
3330
|
-
"description": "Events:\n\n * `nile-blur` {} - Emitted when the control loses focus.\n\n * `nile-change` {} - Emitted when an alteration to the control's value is committed by the user.\n\n * `nile-focus` {} - Emitted when the control gains focus.\n\n * `nile-input` {} - Emitted when the control receives input.\n\nSlots:\n\n * `label` {} - The textarea's label. Alternatively, you can use the `label` attribute.\n\n * `help-text` {} - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\nAttributes:\n\n * `title` {`string`} - \n\n * `name` {`string`} - The name of the textarea, submitted as a name/value pair with form data.\n\n * `value` {`string`} - The current value of the textarea, submitted as a name/value pair with form data.\n\n * `size` {`string`} - The textarea's size.\n\n * `filled` {`boolean`} - Draws a filled textarea.\n\n * `label` {`string`} - The textarea's label. If you need to display HTML, use the `label` slot instead.\n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `rows` {`number`} - The number of rows to display by default.\n\n * `resize` {`\"none\" | \"auto\" | \"vertical\"`} - Controls how the textarea can be resized.\n\n * `disabled` {`boolean`} - Disables the textarea.\n\n * `readonly` {`boolean`} - Makes the textarea readonly.\n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `required` {`boolean`} - Makes the textarea a required field.\n\n * `minlength` {`number`} - \n\n * `maxlength` {`number`} - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `autocapitalize` {`\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\"`} - Controls whether and how text input is automatically capitalized as it is entered by the user.\n\n * `autocorrect` {`string`} - Indicates whether the browser's autocorrect feature is on or off.\n\n * `autocomplete` {`string`} - Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n\n * `autofocus` {`boolean`} - Indicates that the input should receive focus on page load.\n\n * `enterkeyhint` {`\"search\" | \"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"send\"`} - Used to customize the label or icon of the Enter key on virtual keyboards.\n\n * `spellcheck` {`boolean`} - Enables spell checking on the textarea.\n\n * `inputmode` {`\"
|
3388
|
+
"description": "Events:\n\n * `nile-blur` {} - Emitted when the control loses focus.\n\n * `nile-change` {} - Emitted when an alteration to the control's value is committed by the user.\n\n * `nile-focus` {} - Emitted when the control gains focus.\n\n * `nile-input` {} - Emitted when the control receives input.\n\nSlots:\n\n * `label` {} - The textarea's label. Alternatively, you can use the `label` attribute.\n\n * `help-text` {} - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\nAttributes:\n\n * `title` {`string`} - \n\n * `name` {`string`} - The name of the textarea, submitted as a name/value pair with form data.\n\n * `value` {`string`} - The current value of the textarea, submitted as a name/value pair with form data.\n\n * `size` {`string`} - The textarea's size.\n\n * `filled` {`boolean`} - Draws a filled textarea.\n\n * `label` {`string`} - The textarea's label. If you need to display HTML, use the `label` slot instead.\n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `rows` {`number`} - The number of rows to display by default.\n\n * `resize` {`\"none\" | \"auto\" | \"vertical\"`} - Controls how the textarea can be resized.\n\n * `disabled` {`boolean`} - Disables the textarea.\n\n * `readonly` {`boolean`} - Makes the textarea readonly.\n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `required` {`boolean`} - Makes the textarea a required field.\n\n * `minlength` {`number`} - \n\n * `maxlength` {`number`} - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `autocapitalize` {`\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\"`} - Controls whether and how text input is automatically capitalized as it is entered by the user.\n\n * `autocorrect` {`string`} - Indicates whether the browser's autocorrect feature is on or off.\n\n * `autocomplete` {`string`} - Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n\n * `autofocus` {`boolean`} - Indicates that the input should receive focus on page load.\n\n * `enterkeyhint` {`\"search\" | \"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"send\"`} - Used to customize the label or icon of the Enter key on virtual keyboards.\n\n * `spellcheck` {`boolean`} - Enables spell checking on the textarea.\n\n * `inputmode` {`\"text\" | \"none\" | \"numeric\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"decimal\"`} - Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.\n\n * `fullHeight` {`boolean`} - \n\n * `checkNonPrintableChar` {`boolean`} - \n\nProperties:\n\n * `styles` - \n\n * `hasSlotController` - \n\n * `resizeObserver` - \n\n * `input` {`HTMLTextAreaElement`} - \n\n * `hasFocus` {`boolean`} - \n\n * `title` {`string`} - \n\n * `name` {`string`} - The name of the textarea, submitted as a name/value pair with form data.\n\n * `value` {`string`} - The current value of the textarea, submitted as a name/value pair with form data.\n\n * `size` {`string`} - The textarea's size.\n\n * `filled` {`boolean`} - Draws a filled textarea.\n\n * `label` {`string`} - The textarea's label. If you need to display HTML, use the `label` slot instead.\n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `rows` {`number`} - The number of rows to display by default.\n\n * `resize` {`\"none\" | \"auto\" | \"vertical\"`} - Controls how the textarea can be resized.\n\n * `disabled` {`boolean`} - Disables the textarea.\n\n * `readonly` {`boolean`} - Makes the textarea readonly.\n\n * `form` {`string`} - By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.\n\n * `required` {`boolean`} - Makes the textarea a required field.\n\n * `minlength` {`number`} - \n\n * `maxlength` {`number`} - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `autocapitalize` {`\"off\" | \"none\" | \"on\" | \"sentences\" | \"words\" | \"characters\"`} - Controls whether and how text input is automatically capitalized as it is entered by the user.\n\n * `autocorrect` {`string`} - Indicates whether the browser's autocorrect feature is on or off.\n\n * `autocomplete` {`string`} - Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n\n * `autofocus` {`boolean`} - Indicates that the input should receive focus on page load.\n\n * `enterkeyhint` {`\"search\" | \"enter\" | \"done\" | \"go\" | \"next\" | \"previous\" | \"send\"`} - Used to customize the label or icon of the Enter key on virtual keyboards.\n\n * `spellcheck` {`boolean`} - Enables spell checking on the textarea.\n\n * `inputmode` {`\"text\" | \"none\" | \"numeric\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"decimal\"`} - Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.\n\n * `defaultValue` {`string`} - The default value of the form control. Primarily used for resetting the form control.\n\n * `fullHeight` {`boolean`} - \n\n * `checkNonPrintableChar` {`boolean`} - \n\n * `hasPrintableCharacters` {`boolean`} - \n\n * `markedValue` {`string`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3331
3389
|
"attributes": [
|
3332
3390
|
{
|
3333
3391
|
"name": "title",
|
@@ -3498,8 +3556,11 @@
|
|
3498
3556
|
},
|
3499
3557
|
{
|
3500
3558
|
"name": "inputmode",
|
3501
|
-
"description": "`inputmode` {`\"
|
3559
|
+
"description": "`inputmode` {`\"text\" | \"none\" | \"numeric\" | \"email\" | \"search\" | \"tel\" | \"url\" | \"decimal\"`} - Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.\n\nProperty: inputmode",
|
3502
3560
|
"values": [
|
3561
|
+
{
|
3562
|
+
"name": "text"
|
3563
|
+
},
|
3503
3564
|
{
|
3504
3565
|
"name": "none"
|
3505
3566
|
},
|
@@ -3515,9 +3576,6 @@
|
|
3515
3576
|
{
|
3516
3577
|
"name": "tel"
|
3517
3578
|
},
|
3518
|
-
{
|
3519
|
-
"name": "text"
|
3520
|
-
},
|
3521
3579
|
{
|
3522
3580
|
"name": "url"
|
3523
3581
|
},
|
@@ -3675,7 +3733,7 @@
|
|
3675
3733
|
},
|
3676
3734
|
{
|
3677
3735
|
"name": "nile-tooltip",
|
3678
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `content` {`string`} - The tooltip's content. If you need to display HTML, use the `content` slot instead.\n\n * `size` {`\"small\" | \"large\"`} - Size Property to decide the tool tip size\n\n * `placement` {`\"
|
3736
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `content` {`string`} - The tooltip's content. If you need to display HTML, use the `content` slot instead.\n\n * `size` {`\"small\" | \"large\"`} - Size Property to decide the tool tip size\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.\n\n * `disabled` {`boolean`} - Disables the tooltip so it won't show when triggered.\n\n * `distance` {`number`} - The distance in pixels from which to offset the tooltip away from its target.\n\n * `open` {`boolean`} - Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.\n\n * `skidding` {`number`} - The distance in pixels from which to offset the tooltip along its target.\n\n * `trigger` {`string`} - Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.\n\n * `hoist` {`boolean`} - Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.\n\nProperties:\n\n * `hoverTimeout` {`number`} - \n\n * `defaultSlot` {`HTMLSlotElement`} - \n\n * `body` {`HTMLElement`} - \n\n * `popup` - \n\n * `content` {`string`} - The tooltip's content. If you need to display HTML, use the `content` slot instead.\n\n * `size` {`\"small\" | \"large\"`} - Size Property to decide the tool tip size\n\n * `placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.\n\n * `disabled` {`boolean`} - Disables the tooltip so it won't show when triggered.\n\n * `distance` {`number`} - The distance in pixels from which to offset the tooltip away from its target.\n\n * `open` {`boolean`} - Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.\n\n * `skidding` {`number`} - The distance in pixels from which to offset the tooltip along its target.\n\n * `trigger` {`string`} - Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.\n\n * `hoist` {`boolean`} - Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3679
3737
|
"attributes": [
|
3680
3738
|
{
|
3681
3739
|
"name": "content",
|
@@ -3695,8 +3753,14 @@
|
|
3695
3753
|
},
|
3696
3754
|
{
|
3697
3755
|
"name": "placement",
|
3698
|
-
"description": "`placement` {`\"
|
3756
|
+
"description": "`placement` {`\"left\" | \"right\" | \"top\" | \"bottom\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\"`} - The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.\n\nProperty: placement\n\nDefault: top",
|
3699
3757
|
"values": [
|
3758
|
+
{
|
3759
|
+
"name": "left"
|
3760
|
+
},
|
3761
|
+
{
|
3762
|
+
"name": "right"
|
3763
|
+
},
|
3700
3764
|
{
|
3701
3765
|
"name": "top"
|
3702
3766
|
},
|
@@ -3715,18 +3779,12 @@
|
|
3715
3779
|
{
|
3716
3780
|
"name": "bottom-end"
|
3717
3781
|
},
|
3718
|
-
{
|
3719
|
-
"name": "right"
|
3720
|
-
},
|
3721
3782
|
{
|
3722
3783
|
"name": "right-start"
|
3723
3784
|
},
|
3724
3785
|
{
|
3725
3786
|
"name": "right-end"
|
3726
3787
|
},
|
3727
|
-
{
|
3728
|
-
"name": "left"
|
3729
|
-
},
|
3730
3788
|
{
|
3731
3789
|
"name": "left-start"
|
3732
3790
|
},
|