@aquera/nile-elements 0.1.33 → 0.1.34-beta-1.1
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 +20 -6
- package/demo/index.css +7 -4
- package/demo/index.html +19 -35
- package/dist/{fixture-161dee0b.cjs.js → fixture-d5b55278.cjs.js} +3 -3
- package/dist/fixture-d5b55278.cjs.js.map +1 -0
- package/dist/{fixture-372df3b0.esm.js → fixture-df8b52d7.esm.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/internal/animate.cjs.js +1 -1
- package/dist/internal/animate.cjs.js.map +1 -1
- package/dist/internal/animate.esm.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.test.esm.js +1 -1
- package/dist/nile-button/nile-button.test.cjs.js +1 -1
- package/dist/nile-button/nile-button.test.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
- package/dist/nile-card/nile-card.test.cjs.js +1 -1
- package/dist/nile-card/nile-card.test.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
- package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.test.esm.js +1 -1
- package/dist/nile-code-editor/extensionSetup.cjs.js +1 -1
- package/dist/nile-code-editor/extensionSetup.cjs.js.map +1 -1
- package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
- package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
- package/dist/nile-error-message/nile-error-message.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.cjs.js.map +1 -1
- package/dist/nile-error-message/nile-error-message.css.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.css.cjs.js.map +1 -1
- package/dist/nile-error-message/nile-error-message.css.esm.js +6 -4
- package/dist/nile-error-message/nile-error-message.esm.js +4 -4
- package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
- package/dist/nile-error-notification/nile-error-notification.css.cjs.js +1 -1
- package/dist/nile-error-notification/nile-error-notification.css.cjs.js.map +1 -1
- package/dist/nile-error-notification/nile-error-notification.css.esm.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
- package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.test.esm.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
- package/dist/nile-icon/nile-icon.test.esm.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.css.esm.js +8 -0
- package/dist/nile-input/nile-input.test.cjs.js +1 -1
- package/dist/nile-input/nile-input.test.esm.js +1 -1
- package/dist/nile-link/nile-link.test.cjs.js +1 -1
- package/dist/nile-link/nile-link.test.esm.js +1 -1
- package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
- package/dist/nile-loader/nile-loader.test.esm.js +1 -1
- package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.test.esm.js +1 -1
- package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.test.esm.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
- package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.test.esm.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
- package/dist/nile-select/nile-select.test.cjs.js +1 -1
- package/dist/nile-select/nile-select.test.esm.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
- package/dist/nile-table/nile-table.cjs.js.map +1 -1
- package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
- package/dist/nile-tooltip/index.cjs.js +1 -1
- package/dist/nile-tooltip/index.esm.js +1 -1
- package/dist/nile-tooltip/nile-tooltip-utils.cjs.js +2 -0
- package/dist/nile-tooltip/nile-tooltip-utils.cjs.js.map +1 -0
- package/dist/nile-tooltip/nile-tooltip-utils.esm.js +1 -0
- package/dist/nile-tooltip/nile-tooltip.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.esm.js +59 -56
- package/dist/nile-tooltip/nile-tooltip.esm.js +23 -28
- package/dist/nile-tooltip/nile-tooltip.test.cjs.js +2 -0
- package/dist/nile-tooltip/nile-tooltip.test.cjs.js.map +1 -0
- package/dist/nile-tooltip/nile-tooltip.test.esm.js +51 -0
- package/dist/src/nile-code-editor/extensionSetup.d.ts +2 -1
- package/dist/src/nile-code-editor/extensionSetup.js +8 -0
- package/dist/src/nile-code-editor/extensionSetup.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -0
- package/dist/src/nile-code-editor/nile-code-editor.js +7 -2
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-error-message/nile-error-message.css.js +6 -4
- package/dist/src/nile-error-message/nile-error-message.css.js.map +1 -1
- package/dist/src/nile-error-message/nile-error-message.d.ts +4 -0
- package/dist/src/nile-error-message/nile-error-message.js +20 -0
- package/dist/src/nile-error-message/nile-error-message.js.map +1 -1
- package/dist/src/nile-error-notification/nile-error-notification.css.js +1 -1
- package/dist/src/nile-error-notification/nile-error-notification.css.js.map +1 -1
- package/dist/src/nile-input/nile-input.css.js +8 -0
- package/dist/src/nile-input/nile-input.css.js.map +1 -1
- package/dist/src/nile-table/nile-table.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip-utils.d.ts +18 -0
- package/dist/src/nile-tooltip/nile-tooltip-utils.js +151 -0
- package/dist/src/nile-tooltip/nile-tooltip-utils.js.map +1 -0
- package/dist/src/nile-tooltip/nile-tooltip.css.js +48 -45
- package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.d.ts +23 -44
- package/dist/src/nile-tooltip/nile-tooltip.js +157 -227
- package/dist/src/nile-tooltip/nile-tooltip.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.d.ts +1 -0
- package/dist/src/nile-tooltip/nile-tooltip.test.js +158 -0
- package/dist/src/nile-tooltip/nile-tooltip.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/nile-code-editor/extensionSetup.ts +13 -1
- package/src/nile-code-editor/nile-code-editor.ts +5 -2
- package/src/nile-error-message/nile-error-message.css.ts +6 -4
- package/src/nile-error-message/nile-error-message.ts +18 -0
- package/src/nile-error-notification/nile-error-notification.css.ts +1 -1
- package/src/nile-input/nile-input.css.ts +8 -0
- package/src/nile-table/nile-table.ts +2 -2
- package/src/nile-tooltip/nile-tooltip-utils.ts +190 -0
- package/src/nile-tooltip/nile-tooltip.css.ts +49 -46
- package/src/nile-tooltip/nile-tooltip.test.ts +178 -0
- package/src/nile-tooltip/nile-tooltip.ts +155 -237
- package/vscode-html-custom-data.json +100 -83
- package/dist/fixture-161dee0b.cjs.js.map +0 -1
@@ -3,7 +3,7 @@
|
|
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 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` {`\"
|
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` {`\"right\" | \"left\"`} - 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` {`\"right\" | \"left\"`} - 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",
|
@@ -24,13 +24,13 @@
|
|
24
24
|
},
|
25
25
|
{
|
26
26
|
"name": "expandIconPlacement",
|
27
|
-
"description": "`expandIconPlacement` {`\"
|
27
|
+
"description": "`expandIconPlacement` {`\"right\" | \"left\"`} - Specifies the direction of the arrow indicator. Accepted values are `'left'` or `'right'`.\nDefaults to `'right'`.\n\nProperty: expandIconPlacement\n\nDefault: right",
|
28
28
|
"values": [
|
29
29
|
{
|
30
|
-
"name": "
|
30
|
+
"name": "right"
|
31
31
|
},
|
32
32
|
{
|
33
|
-
"name": "
|
33
|
+
"name": "left"
|
34
34
|
}
|
35
35
|
]
|
36
36
|
},
|
@@ -818,7 +818,7 @@
|
|
818
818
|
},
|
819
819
|
{
|
820
820
|
"name": "nile-code-editor",
|
821
|
-
"description": "Nile icon component.\n\nEvents:\n\n * `nile-focus` {`Event`} - \n\n * `nile-blur` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `error-message` {`string`} - \n\n * `error` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\nProperties:\n\n * `codeEditor` {`HTMLInputElement`} - \n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `errorMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `disableSyntaxHighlighting` {`boolean`} - \n\n * `customThemeCSS` {`object | null`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `view` - \n\n * `viewState` - \n\n * `timeOut` - \n\n * `lineNumbersComp` - \n\n * `restrictSingleLineComp` - \n\n * `readOnlyComp` - \n\n * `customCompletionComp` - \n\n * `placeholderComp` - \n\n * `defaultSyntaxHighlightingComp` - \n\n * `themeComp` - \n\n * `customAutocomplete` - Custom autocomplete handler for code editor suggestions\n\n * `insertBetweenCode` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
821
|
+
"description": "Nile icon component.\n\nEvents:\n\n * `nile-focus` {`Event`} - \n\n * `nile-blur` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `error-message` {`string`} - \n\n * `error` {`boolean`} - \n\n * `enableSearch` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\nProperties:\n\n * `codeEditor` {`HTMLInputElement`} - \n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `errorMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `enableSearch` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `disableSyntaxHighlighting` {`boolean`} - \n\n * `customThemeCSS` {`object | null`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `view` - \n\n * `viewState` - \n\n * `timeOut` - \n\n * `lineNumbersComp` - \n\n * `restrictSingleLineComp` - \n\n * `readOnlyComp` - \n\n * `customCompletionComp` - \n\n * `placeholderComp` - \n\n * `defaultSyntaxHighlightingComp` - \n\n * `themeComp` - \n\n * `customAutocomplete` - Custom autocomplete handler for code editor suggestions\n\n * `insertBetweenCode` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
822
822
|
"attributes": [
|
823
823
|
{
|
824
824
|
"name": "value",
|
@@ -867,6 +867,11 @@
|
|
867
867
|
"description": "`error` {`boolean`} - \n\nProperty: error\n\nDefault: false",
|
868
868
|
"valueSet": "v"
|
869
869
|
},
|
870
|
+
{
|
871
|
+
"name": "enableSearch",
|
872
|
+
"description": "`enableSearch` {`boolean`} - \n\nProperty: enableSearch\n\nDefault: false",
|
873
|
+
"valueSet": "v"
|
874
|
+
},
|
870
875
|
{
|
871
876
|
"name": "noborder",
|
872
877
|
"description": "`noborder` {`boolean`} - \n\nProperty: noborder\n\nDefault: false",
|
@@ -1106,7 +1111,7 @@
|
|
1106
1111
|
},
|
1107
1112
|
{
|
1108
1113
|
"name": "nile-drawer",
|
1109
|
-
"description": "Nile drawer component.\n\nEvents:\n\n * `nile-show` {} - Emitted when the drawer opens.\n\n * `nile-after-show` {} - Emitted after the drawer opens and all animations are complete.\n\n * `nile-hide` {} - Emitted when the drawer closes.\n\n * `nile-after-hide` {} - Emitted after the drawer closes and all animations are complete.\n\n * `nile-initial-focus` {} - Emitted when the drawer opens and is ready to receive focus. Calling\n`event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n\n * `nile-request-close` {`\"{ source: 'close-button' \" | \"keyboard\" | \" 'overlay' }\"`} - Emitted when the user attempts to\nclose the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n`event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\ndestructive behavior such as data loss.\n\nSlots:\n\n * ` ` {} - The drawer's main content.\n\n * `label` {} - The drawer's label. Alternatively, you can use the `label` attribute.\n\n * `header-actions` {} - Optional actions to add to the header. Works best with `<nile-icon-button>`.\n\n * `footer` {} - The drawer's footer, usually one or more buttons representing various options.\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n\n * `closeOnEscape` {`boolean`} - \n\n * `label` {`string`} - The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n\n * `placement` {`\"top\" | \"
|
1114
|
+
"description": "Nile drawer component.\n\nEvents:\n\n * `nile-show` {} - Emitted when the drawer opens.\n\n * `nile-after-show` {} - Emitted after the drawer opens and all animations are complete.\n\n * `nile-hide` {} - Emitted when the drawer closes.\n\n * `nile-after-hide` {} - Emitted after the drawer closes and all animations are complete.\n\n * `nile-initial-focus` {} - Emitted when the drawer opens and is ready to receive focus. Calling\n`event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n\n * `nile-request-close` {`\"{ source: 'close-button' \" | \"keyboard\" | \" 'overlay' }\"`} - Emitted when the user attempts to\nclose the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n`event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\ndestructive behavior such as data loss.\n\nSlots:\n\n * ` ` {} - The drawer's main content.\n\n * `label` {} - The drawer's label. Alternatively, you can use the `label` attribute.\n\n * `header-actions` {} - Optional actions to add to the header. Works best with `<nile-icon-button>`.\n\n * `footer` {} - The drawer's footer, usually one or more buttons representing various options.\n\nAttributes:\n\n * `open` {`boolean`} - Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n\n * `closeOnEscape` {`boolean`} - \n\n * `label` {`string`} - The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The direction from which the drawer will open.\n\n * `contained` {`boolean`} - By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\nits parent element, set this attribute and add `position: relative` to the parent.\n\n * `preventOverlayClose` {`boolean`} - Drawer doesnt close when clicled on overlay, the only way to close is to do by handling open property\n\n * `no-header` {`boolean`} - Removes the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the drawer.\n\nProperties:\n\n * `styles` - \n\n * `hasSlotController` - \n\n * `modal` - \n\n * `originalTrigger` {`HTMLElement | null`} - \n\n * `drawer` {`HTMLElement`} - \n\n * `panel` {`HTMLElement`} - \n\n * `overlay` {`HTMLElement`} - \n\n * `open` {`boolean`} - Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n\n * `closeOnEscape` {`boolean`} - \n\n * `label` {`string`} - The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The direction from which the drawer will open.\n\n * `contained` {`boolean`} - By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\nits parent element, set this attribute and add `position: relative` to the parent.\n\n * `preventOverlayClose` {`boolean`} - Drawer doesnt close when clicled on overlay, the only way to close is to do by handling open property\n\n * `noHeader` {`boolean`} - Removes the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the drawer.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
1110
1115
|
"attributes": [
|
1111
1116
|
{
|
1112
1117
|
"name": "open",
|
@@ -1124,16 +1129,16 @@
|
|
1124
1129
|
},
|
1125
1130
|
{
|
1126
1131
|
"name": "placement",
|
1127
|
-
"description": "`placement` {`\"top\" | \"
|
1132
|
+
"description": "`placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The direction from which the drawer will open.\n\nProperty: placement\n\nDefault: end",
|
1128
1133
|
"values": [
|
1129
1134
|
{
|
1130
1135
|
"name": "top"
|
1131
1136
|
},
|
1132
1137
|
{
|
1133
|
-
"name": "
|
1138
|
+
"name": "bottom"
|
1134
1139
|
},
|
1135
1140
|
{
|
1136
|
-
"name": "
|
1141
|
+
"name": "end"
|
1137
1142
|
},
|
1138
1143
|
{
|
1139
1144
|
"name": "start"
|
@@ -1183,7 +1188,7 @@
|
|
1183
1188
|
},
|
1184
1189
|
{
|
1185
1190
|
"name": "nile-dropdown",
|
1186
|
-
"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` {`\"
|
1191
|
+
"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` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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`} - ",
|
1187
1192
|
"attributes": [
|
1188
1193
|
{
|
1189
1194
|
"name": "open",
|
@@ -1192,37 +1197,37 @@
|
|
1192
1197
|
},
|
1193
1198
|
{
|
1194
1199
|
"name": "placement",
|
1195
|
-
"description": "`placement` {`\"
|
1200
|
+
"description": "`placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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",
|
1196
1201
|
"values": [
|
1197
1202
|
{
|
1198
|
-
"name": "
|
1203
|
+
"name": "top"
|
1199
1204
|
},
|
1200
1205
|
{
|
1201
|
-
"name": "
|
1206
|
+
"name": "top-start"
|
1202
1207
|
},
|
1203
1208
|
{
|
1204
|
-
"name": "top"
|
1209
|
+
"name": "top-end"
|
1205
1210
|
},
|
1206
1211
|
{
|
1207
|
-
"name": "
|
1212
|
+
"name": "right"
|
1208
1213
|
},
|
1209
1214
|
{
|
1210
|
-
"name": "
|
1215
|
+
"name": "right-start"
|
1211
1216
|
},
|
1212
1217
|
{
|
1213
|
-
"name": "
|
1218
|
+
"name": "right-end"
|
1214
1219
|
},
|
1215
1220
|
{
|
1216
|
-
"name": "bottom
|
1221
|
+
"name": "bottom"
|
1217
1222
|
},
|
1218
1223
|
{
|
1219
|
-
"name": "bottom-
|
1224
|
+
"name": "bottom-start"
|
1220
1225
|
},
|
1221
1226
|
{
|
1222
|
-
"name": "
|
1227
|
+
"name": "bottom-end"
|
1223
1228
|
},
|
1224
1229
|
{
|
1225
|
-
"name": "
|
1230
|
+
"name": "left"
|
1226
1231
|
},
|
1227
1232
|
{
|
1228
1233
|
"name": "left-start"
|
@@ -1348,7 +1353,7 @@
|
|
1348
1353
|
},
|
1349
1354
|
{
|
1350
1355
|
"name": "nile-error-message",
|
1351
|
-
"description": "A custom error message component that displays error information to the user.\n\nAttributes:\n\n * `errorMessage` {`string`} - \n\n * `errorResponse` {`string`} - \n\n * `errorResponseLong` {`string`} - \n\n * `isExpanded` {`boolean`} - \n\nProperties:\n\n * `errorMessage` {`string`} - \n\n * `errorResponse` {`string`} - \n\n * `errorResponseLong` {`string`} - \n\n * `isExpanded` {`boolean`} - \n\n * `MAX_LENGTH` {`number`} - ",
|
1356
|
+
"description": "A custom error message component that displays error information to the user.\n\nAttributes:\n\n * `errorMessage` {`string`} - \n\n * `errorResponse` {`string`} - \n\n * `errorResponseLong` {`string`} - \n\n * `isExpanded` {`boolean`} - \n\n * `maxWidth` {`string`} - \n\n * `maxHeight` {`string`} - \n\n * `maxDialogHeight` {`string`} - \n\nProperties:\n\n * `errorMessage` {`string`} - \n\n * `errorResponse` {`string`} - \n\n * `errorResponseLong` {`string`} - \n\n * `isExpanded` {`boolean`} - \n\n * `maxWidth` {`string`} - \n\n * `maxHeight` {`string`} - \n\n * `maxDialogHeight` {`string`} - \n\n * `MAX_LENGTH` {`number`} - ",
|
1352
1357
|
"attributes": [
|
1353
1358
|
{
|
1354
1359
|
"name": "errorMessage",
|
@@ -1366,6 +1371,18 @@
|
|
1366
1371
|
"name": "isExpanded",
|
1367
1372
|
"description": "`isExpanded` {`boolean`} - \n\nProperty: isExpanded\n\nDefault: false",
|
1368
1373
|
"valueSet": "v"
|
1374
|
+
},
|
1375
|
+
{
|
1376
|
+
"name": "maxWidth",
|
1377
|
+
"description": "`maxWidth` {`string`} - \n\nProperty: maxWidth"
|
1378
|
+
},
|
1379
|
+
{
|
1380
|
+
"name": "maxHeight",
|
1381
|
+
"description": "`maxHeight` {`string`} - \n\nProperty: maxHeight"
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"name": "maxDialogHeight",
|
1385
|
+
"description": "`maxDialogHeight` {`string`} - \n\nProperty: maxDialogHeight"
|
1369
1386
|
}
|
1370
1387
|
]
|
1371
1388
|
},
|
@@ -2282,41 +2299,41 @@
|
|
2282
2299
|
},
|
2283
2300
|
{
|
2284
2301
|
"name": "nile-popover",
|
2285
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `placement` {`\"
|
2302
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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`} - ",
|
2286
2303
|
"attributes": [
|
2287
2304
|
{
|
2288
2305
|
"name": "placement",
|
2289
|
-
"description": "`placement` {`\"
|
2306
|
+
"description": "`placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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",
|
2290
2307
|
"values": [
|
2291
2308
|
{
|
2292
|
-
"name": "
|
2309
|
+
"name": "top"
|
2293
2310
|
},
|
2294
2311
|
{
|
2295
|
-
"name": "
|
2312
|
+
"name": "top-start"
|
2296
2313
|
},
|
2297
2314
|
{
|
2298
|
-
"name": "top"
|
2315
|
+
"name": "top-end"
|
2299
2316
|
},
|
2300
2317
|
{
|
2301
|
-
"name": "
|
2318
|
+
"name": "right"
|
2302
2319
|
},
|
2303
2320
|
{
|
2304
|
-
"name": "
|
2321
|
+
"name": "right-start"
|
2305
2322
|
},
|
2306
2323
|
{
|
2307
|
-
"name": "
|
2324
|
+
"name": "right-end"
|
2308
2325
|
},
|
2309
2326
|
{
|
2310
|
-
"name": "bottom
|
2327
|
+
"name": "bottom"
|
2311
2328
|
},
|
2312
2329
|
{
|
2313
|
-
"name": "bottom-
|
2330
|
+
"name": "bottom-start"
|
2314
2331
|
},
|
2315
2332
|
{
|
2316
|
-
"name": "
|
2333
|
+
"name": "bottom-end"
|
2317
2334
|
},
|
2318
2335
|
{
|
2319
|
-
"name": "
|
2336
|
+
"name": "left"
|
2320
2337
|
},
|
2321
2338
|
{
|
2322
2339
|
"name": "left-start"
|
@@ -2381,7 +2398,7 @@
|
|
2381
2398
|
},
|
2382
2399
|
{
|
2383
2400
|
"name": "nile-popup",
|
2384
|
-
"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` {`\"
|
2401
|
+
"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` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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` - \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` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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`} - ",
|
2385
2402
|
"attributes": [
|
2386
2403
|
{
|
2387
2404
|
"name": "anchor",
|
@@ -2395,37 +2412,37 @@
|
|
2395
2412
|
},
|
2396
2413
|
{
|
2397
2414
|
"name": "placement",
|
2398
|
-
"description": "`placement` {`\"
|
2415
|
+
"description": "`placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"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",
|
2399
2416
|
"values": [
|
2400
2417
|
{
|
2401
|
-
"name": "
|
2418
|
+
"name": "top"
|
2402
2419
|
},
|
2403
2420
|
{
|
2404
|
-
"name": "
|
2421
|
+
"name": "top-start"
|
2405
2422
|
},
|
2406
2423
|
{
|
2407
|
-
"name": "top"
|
2424
|
+
"name": "top-end"
|
2408
2425
|
},
|
2409
2426
|
{
|
2410
|
-
"name": "
|
2427
|
+
"name": "right"
|
2411
2428
|
},
|
2412
2429
|
{
|
2413
|
-
"name": "
|
2430
|
+
"name": "right-start"
|
2414
2431
|
},
|
2415
2432
|
{
|
2416
|
-
"name": "
|
2433
|
+
"name": "right-end"
|
2417
2434
|
},
|
2418
2435
|
{
|
2419
|
-
"name": "bottom
|
2436
|
+
"name": "bottom"
|
2420
2437
|
},
|
2421
2438
|
{
|
2422
|
-
"name": "bottom-
|
2439
|
+
"name": "bottom-start"
|
2423
2440
|
},
|
2424
2441
|
{
|
2425
|
-
"name": "
|
2442
|
+
"name": "bottom-end"
|
2426
2443
|
},
|
2427
2444
|
{
|
2428
|
-
"name": "
|
2445
|
+
"name": "left"
|
2429
2446
|
},
|
2430
2447
|
{
|
2431
2448
|
"name": "left-start"
|
@@ -2955,7 +2972,7 @@
|
|
2955
2972
|
},
|
2956
2973
|
{
|
2957
2974
|
"name": "nile-sidebar-wrapper",
|
2958
|
-
"description": "Nile sidebar-wrapper component.\n\nAttributes:\n\n * `overlaysidebar` {`boolean`} - \n\n * `placement` {`\"
|
2975
|
+
"description": "Nile sidebar-wrapper component.\n\nAttributes:\n\n * `overlaysidebar` {`boolean`} - \n\n * `placement` {`\"right\" | \"left\"`} - \n\n * `isopen` {`boolean`} - \n\nProperties:\n\n * `overlaysidebar` {`boolean`} - \n\n * `placement` {`\"right\" | \"left\"`} - \n\n * `isopen` {`boolean`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
2959
2976
|
"attributes": [
|
2960
2977
|
{
|
2961
2978
|
"name": "overlaysidebar",
|
@@ -2964,13 +2981,13 @@
|
|
2964
2981
|
},
|
2965
2982
|
{
|
2966
2983
|
"name": "placement",
|
2967
|
-
"description": "`placement` {`\"
|
2984
|
+
"description": "`placement` {`\"right\" | \"left\"`} - \n\nProperty: placement\n\nDefault: left",
|
2968
2985
|
"values": [
|
2969
2986
|
{
|
2970
|
-
"name": "
|
2987
|
+
"name": "right"
|
2971
2988
|
},
|
2972
2989
|
{
|
2973
|
-
"name": "
|
2990
|
+
"name": "left"
|
2974
2991
|
}
|
2975
2992
|
]
|
2976
2993
|
},
|
@@ -3002,7 +3019,7 @@
|
|
3002
3019
|
},
|
3003
3020
|
{
|
3004
3021
|
"name": "nile-slide-toggle",
|
3005
|
-
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `sublabel` {`string`} - \n\n * `textPosition` {`\"
|
3022
|
+
"description": "Attributes:\n\n * `label` {`string`} - \n\n * `sublabel` {`string`} - \n\n * `textPosition` {`\"right\" | \"left\"`} - \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` {`\"right\" | \"left\"`} - \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`} - ",
|
3006
3023
|
"attributes": [
|
3007
3024
|
{
|
3008
3025
|
"name": "label",
|
@@ -3014,13 +3031,13 @@
|
|
3014
3031
|
},
|
3015
3032
|
{
|
3016
3033
|
"name": "textPosition",
|
3017
|
-
"description": "`textPosition` {`\"
|
3034
|
+
"description": "`textPosition` {`\"right\" | \"left\"`} - \n\nProperty: textPosition\n\nDefault: right",
|
3018
3035
|
"values": [
|
3019
3036
|
{
|
3020
|
-
"name": "
|
3037
|
+
"name": "right"
|
3021
3038
|
},
|
3022
3039
|
{
|
3023
|
-
"name": "
|
3040
|
+
"name": "left"
|
3024
3041
|
}
|
3025
3042
|
]
|
3026
3043
|
},
|
@@ -3177,20 +3194,20 @@
|
|
3177
3194
|
},
|
3178
3195
|
{
|
3179
3196
|
"name": "nile-tab-group",
|
3180
|
-
"description": "Nile icon component.\n\nEvents:\n\n * `nile-tab-show` - Emitted when a tab is shown.\n\n * `nile-tab-hide` - Emitted when a tab is hidden.\n\nSlots:\n\n * ` ` {} - Used for grouping tab panels in the tab group. Must be `<nile-tab-panel>` elements.\n\n * `nav` {} - Used for grouping tabs in the tab group. Must be `<nile-tab>` elements.\n\nAttributes:\n\n * `placement` {`\"top\" | \"
|
3197
|
+
"description": "Nile icon component.\n\nEvents:\n\n * `nile-tab-show` - Emitted when a tab is shown.\n\n * `nile-tab-hide` - Emitted when a tab is hidden.\n\nSlots:\n\n * ` ` {} - Used for grouping tab panels in the tab group. Must be `<nile-tab-panel>` elements.\n\n * `nav` {} - Used for grouping tabs in the tab group. Must be `<nile-tab>` elements.\n\nAttributes:\n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\n * `value` {`string`} - The placement of the tabs.\n\n * `no-track` {`boolean`} - Track for showing Indicators and Background.\n\n * `activation` {`\"auto\" | \"manual\"`} - When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.\n\n * `no-scroll-controls` {`boolean`} - Disables the scroll arrows that appear when tabs overflow.\n\n * `centered` {`boolean`} - Controls whether tabs are centered and have equal width\n\nProperties:\n\n * `styles` - \n\n * `activeTab` - \n\n * `mutationObserver` {`MutationObserver`} - \n\n * `resizeObserver` - \n\n * `tabs` {`NileTab[]`} - \n\n * `panels` {`NileTabPanel[]`} - \n\n * `tabGroup` {`HTMLElement`} - \n\n * `body` {`HTMLSlotElement`} - \n\n * `nav` {`HTMLElement`} - \n\n * `indicator` {`HTMLElement`} - \n\n * `hasScrollControls` {`boolean`} - \n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\n * `activeTabProp` {`string`} - The placement of the tabs.\n\n * `noTrack` {`boolean`} - Track for showing Indicators and Background.\n\n * `activation` {`\"auto\" | \"manual\"`} - When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.\n\n * `noScrollControls` {`boolean`} - Disables the scroll arrows that appear when tabs overflow.\n\n * `centered` {`boolean`} - Controls whether tabs are centered and have equal width\n\n * `activeTabName` {`string`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3181
3198
|
"attributes": [
|
3182
3199
|
{
|
3183
3200
|
"name": "placement",
|
3184
|
-
"description": "`placement` {`\"top\" | \"
|
3201
|
+
"description": "`placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\nProperty: placement\n\nDefault: top",
|
3185
3202
|
"values": [
|
3186
3203
|
{
|
3187
3204
|
"name": "top"
|
3188
3205
|
},
|
3189
3206
|
{
|
3190
|
-
"name": "
|
3207
|
+
"name": "bottom"
|
3191
3208
|
},
|
3192
3209
|
{
|
3193
|
-
"name": "
|
3210
|
+
"name": "end"
|
3194
3211
|
},
|
3195
3212
|
{
|
3196
3213
|
"name": "start"
|
@@ -3753,15 +3770,15 @@
|
|
3753
3770
|
},
|
3754
3771
|
{
|
3755
3772
|
"name": "nile-tooltip",
|
3756
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `content` {`string`} -
|
3773
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `content` {`string`} - \n\n * `size` {`\"small\" | \"large\"`} - \n\n * `placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"`} - \n\n * `disabled` {`boolean`} - \n\n * `open` {`boolean`} - \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 * `distance` {`number`} - \n\n * `skidding` {`number`} - The distance in pixels from which to offset the tooltip along its target.\n\n * `hoist` {`boolean`} - \n\nProperties:\n\n * `content` {`string`} - \n\n * `size` {`\"small\" | \"large\"`} - \n\n * `placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"`} - \n\n * `disabled` {`boolean`} - \n\n * `open` {`boolean`} - \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 * `distance` {`number`} - \n\n * `SHIFT_OFFSET` {`16`} - \n\n * `skidding` {`number`} - The distance in pixels from which to offset the tooltip along its target.\n\n * `hoist` {`boolean`} - \n\n * `tooltip` {`HTMLElement`} - \n\n * `triggerContainer` {`HTMLElement`} - \n\n * `caret` {`HTMLElement`} - \n\n * `tooltipSlot` {`HTMLSlotElement`} - \n\n * `hasTooltipSlot` {`boolean`} - \n\n * `hoverTimeout` {`number`} - \n\n * `caretSize` {`number`} - \n\n * `originalPlacement` {`string`} - \n\n * `updateTooltipPosition` - \n\n * `showTooltip` - \n\n * `hideTooltip` - \n\n * `handleMouseOver` - \n\n * `handleMouseOut` - \n\n * `handleClick` - \n\n * `handleFocus` - \n\n * `handleBlur` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3757
3774
|
"attributes": [
|
3758
3775
|
{
|
3759
3776
|
"name": "content",
|
3760
|
-
"description": "`content` {`string`} -
|
3777
|
+
"description": "`content` {`string`} - \n\nProperty: content\n\nDefault: "
|
3761
3778
|
},
|
3762
3779
|
{
|
3763
3780
|
"name": "size",
|
3764
|
-
"description": "`size` {`\"small\" | \"large\"`} -
|
3781
|
+
"description": "`size` {`\"small\" | \"large\"`} - \n\nProperty: size\n\nDefault: small",
|
3765
3782
|
"values": [
|
3766
3783
|
{
|
3767
3784
|
"name": "small"
|
@@ -3773,37 +3790,37 @@
|
|
3773
3790
|
},
|
3774
3791
|
{
|
3775
3792
|
"name": "placement",
|
3776
|
-
"description": "`placement` {`\"
|
3793
|
+
"description": "`placement` {`\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\"`} - \n\nProperty: placement\n\nDefault: bottom",
|
3777
3794
|
"values": [
|
3778
3795
|
{
|
3779
|
-
"name": "
|
3796
|
+
"name": "top"
|
3780
3797
|
},
|
3781
3798
|
{
|
3782
|
-
"name": "
|
3799
|
+
"name": "top-start"
|
3783
3800
|
},
|
3784
3801
|
{
|
3785
|
-
"name": "top"
|
3802
|
+
"name": "top-end"
|
3786
3803
|
},
|
3787
3804
|
{
|
3788
|
-
"name": "
|
3805
|
+
"name": "right"
|
3789
3806
|
},
|
3790
3807
|
{
|
3791
|
-
"name": "
|
3808
|
+
"name": "right-start"
|
3792
3809
|
},
|
3793
3810
|
{
|
3794
|
-
"name": "
|
3811
|
+
"name": "right-end"
|
3795
3812
|
},
|
3796
3813
|
{
|
3797
|
-
"name": "bottom
|
3814
|
+
"name": "bottom"
|
3798
3815
|
},
|
3799
3816
|
{
|
3800
|
-
"name": "bottom-
|
3817
|
+
"name": "bottom-start"
|
3801
3818
|
},
|
3802
3819
|
{
|
3803
|
-
"name": "
|
3820
|
+
"name": "bottom-end"
|
3804
3821
|
},
|
3805
3822
|
{
|
3806
|
-
"name": "
|
3823
|
+
"name": "left"
|
3807
3824
|
},
|
3808
3825
|
{
|
3809
3826
|
"name": "left-start"
|
@@ -3815,29 +3832,29 @@
|
|
3815
3832
|
},
|
3816
3833
|
{
|
3817
3834
|
"name": "disabled",
|
3818
|
-
"description": "`disabled` {`boolean`} -
|
3835
|
+
"description": "`disabled` {`boolean`} - \n\nProperty: disabled\n\nDefault: false",
|
3819
3836
|
"valueSet": "v"
|
3820
3837
|
},
|
3821
|
-
{
|
3822
|
-
"name": "distance",
|
3823
|
-
"description": "`distance` {`number`} - The distance in pixels from which to offset the tooltip away from its target.\n\nProperty: distance\n\nDefault: 8"
|
3824
|
-
},
|
3825
3838
|
{
|
3826
3839
|
"name": "open",
|
3827
|
-
"description": "`open` {`boolean`} -
|
3840
|
+
"description": "`open` {`boolean`} - \n\nProperty: open\n\nDefault: false",
|
3828
3841
|
"valueSet": "v"
|
3829
3842
|
},
|
3830
|
-
{
|
3831
|
-
"name": "skidding",
|
3832
|
-
"description": "`skidding` {`number`} - The distance in pixels from which to offset the tooltip along its target.\n\nProperty: skidding\n\nDefault: 0"
|
3833
|
-
},
|
3834
3843
|
{
|
3835
3844
|
"name": "trigger",
|
3836
3845
|
"description": "`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\nProperty: trigger\n\nDefault: hover focus"
|
3837
3846
|
},
|
3847
|
+
{
|
3848
|
+
"name": "distance",
|
3849
|
+
"description": "`distance` {`number`} - \n\nProperty: distance\n\nDefault: 8"
|
3850
|
+
},
|
3851
|
+
{
|
3852
|
+
"name": "skidding",
|
3853
|
+
"description": "`skidding` {`number`} - The distance in pixels from which to offset the tooltip along its target.\n\nProperty: skidding\n\nDefault: 0"
|
3854
|
+
},
|
3838
3855
|
{
|
3839
3856
|
"name": "hoist",
|
3840
|
-
"description": "`hoist` {`boolean`} -
|
3857
|
+
"description": "`hoist` {`boolean`} - \n\nProperty: hoist\n\nDefault: false",
|
3841
3858
|
"valueSet": "v"
|
3842
3859
|
}
|
3843
3860
|
]
|