@aquera/nile-elements 0.1.57-beta-1.8 → 0.1.57
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 +3 -2
- package/demo/index.html +26 -10
- package/demo/index.js +0 -83
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +281 -275
- package/dist/nile-slider/index.cjs.js +2 -0
- package/dist/nile-slider/index.cjs.js.map +1 -0
- package/dist/nile-slider/index.esm.js +1 -0
- package/dist/nile-slider/nile-slider.cjs.js +2 -0
- package/dist/nile-slider/nile-slider.cjs.js.map +1 -0
- package/dist/nile-slider/nile-slider.css.cjs.js +2 -0
- package/dist/nile-slider/nile-slider.css.cjs.js.map +1 -0
- package/dist/nile-slider/nile-slider.css.esm.js +106 -0
- package/dist/nile-slider/nile-slider.esm.js +27 -0
- package/dist/nile-slider/nile-slider.template.cjs.js +2 -0
- package/dist/nile-slider/nile-slider.template.cjs.js.map +1 -0
- package/dist/nile-slider/nile-slider.template.esm.js +59 -0
- package/dist/nile-slider/types/nile-slider.enums.cjs.js +2 -0
- package/dist/nile-slider/types/nile-slider.enums.cjs.js.map +1 -0
- package/dist/nile-slider/types/nile-slider.enums.esm.js +1 -0
- package/dist/nile-slider/types/nile-slider.types.cjs.js +2 -0
- package/dist/nile-slider/types/nile-slider.types.cjs.js.map +1 -0
- package/dist/nile-slider/types/nile-slider.types.esm.js +1 -0
- package/dist/nile-slider/utils/nile-slider.utils.cjs.js +2 -0
- package/dist/nile-slider/utils/nile-slider.utils.cjs.js.map +1 -0
- package/dist/nile-slider/utils/nile-slider.utils.esm.js +1 -0
- package/dist/nile-table-body/index.cjs.js +1 -1
- package/dist/nile-table-body/index.esm.js +1 -1
- package/dist/nile-table-body/nile-table-body.cjs.js +1 -1
- package/dist/nile-table-body/nile-table-body.cjs.js.map +1 -1
- package/dist/nile-table-body/nile-table-body.css.cjs.js +1 -1
- package/dist/nile-table-body/nile-table-body.css.cjs.js.map +1 -1
- package/dist/nile-table-body/nile-table-body.css.esm.js +2 -5
- package/dist/nile-table-body/nile-table-body.esm.js +2 -3
- package/dist/nile-table-cell-item/index.cjs.js +1 -1
- package/dist/nile-table-cell-item/index.esm.js +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.cjs.js +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.cjs.js.map +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.css.cjs.js +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.css.cjs.js.map +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.css.esm.js +3 -22
- package/dist/nile-table-cell-item/nile-table-cell-item.esm.js +3 -8
- package/dist/nile-table-header-item/index.cjs.js +1 -1
- package/dist/nile-table-header-item/index.esm.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.cjs.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.cjs.js.map +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.css.cjs.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.css.cjs.js.map +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.css.esm.js +2 -6
- package/dist/nile-table-header-item/nile-table-header-item.esm.js +32 -64
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/nile-slider/index.d.ts +1 -0
- package/dist/src/nile-slider/index.js +2 -0
- package/dist/src/nile-slider/index.js.map +1 -0
- package/dist/src/nile-slider/nile-slider.css.d.ts +6 -0
- package/dist/src/nile-slider/nile-slider.css.js +118 -0
- package/dist/src/nile-slider/nile-slider.css.js.map +1 -0
- package/dist/src/nile-slider/nile-slider.d.ts +48 -0
- package/dist/src/nile-slider/nile-slider.js +217 -0
- package/dist/src/nile-slider/nile-slider.js.map +1 -0
- package/dist/src/nile-slider/nile-slider.template.d.ts +5 -0
- package/dist/src/nile-slider/nile-slider.template.js +73 -0
- package/dist/src/nile-slider/nile-slider.template.js.map +1 -0
- package/dist/src/nile-slider/types/nile-slider.enums.d.ts +10 -0
- package/dist/src/nile-slider/types/nile-slider.enums.js +2 -0
- package/dist/src/nile-slider/types/nile-slider.enums.js.map +1 -0
- package/dist/src/nile-slider/types/nile-slider.types.d.ts +1 -0
- package/dist/src/nile-slider/types/nile-slider.types.js +2 -0
- package/dist/src/nile-slider/types/nile-slider.types.js.map +1 -0
- package/dist/src/nile-slider/utils/nile-slider.utils.d.ts +11 -0
- package/dist/src/nile-slider/utils/nile-slider.utils.js +99 -0
- package/dist/src/nile-slider/utils/nile-slider.utils.js.map +1 -0
- package/dist/src/nile-table-body/nile-table-body.css.js +0 -4
- package/dist/src/nile-table-body/nile-table-body.css.js.map +1 -1
- package/dist/src/nile-table-body/nile-table-body.d.ts +0 -2
- package/dist/src/nile-table-body/nile-table-body.js +0 -11
- package/dist/src/nile-table-body/nile-table-body.js.map +1 -1
- package/dist/src/nile-table-cell-item/nile-table-cell-item.css.js +1 -21
- package/dist/src/nile-table-cell-item/nile-table-cell-item.css.js.map +1 -1
- package/dist/src/nile-table-cell-item/nile-table-cell-item.d.ts +0 -3
- package/dist/src/nile-table-cell-item/nile-table-cell-item.js +8 -27
- package/dist/src/nile-table-cell-item/nile-table-cell-item.js.map +1 -1
- package/dist/src/nile-table-header-item/nile-table-header-item.css.js +0 -5
- package/dist/src/nile-table-header-item/nile-table-header-item.css.js.map +1 -1
- package/dist/src/nile-table-header-item/nile-table-header-item.d.ts +0 -3
- package/dist/src/nile-table-header-item/nile-table-header-item.js +35 -86
- package/dist/src/nile-table-header-item/nile-table-header-item.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/index.ts +2 -1
- package/src/nile-slider/index.ts +1 -0
- package/src/nile-slider/nile-slider.css.ts +119 -0
- package/src/nile-slider/nile-slider.template.ts +77 -0
- package/src/nile-slider/nile-slider.ts +215 -0
- package/src/nile-slider/types/nile-slider.enums.ts +10 -0
- package/src/nile-slider/types/nile-slider.types.ts +13 -0
- package/src/nile-slider/utils/nile-slider.utils.ts +136 -0
- package/src/nile-table-body/nile-table-body.css.ts +0 -4
- package/src/nile-table-body/nile-table-body.ts +0 -10
- package/src/nile-table-cell-item/nile-table-cell-item.css.ts +1 -21
- package/src/nile-table-cell-item/nile-table-cell-item.ts +5 -22
- package/src/nile-table-header-item/nile-table-header-item.css.ts +0 -5
- package/src/nile-table-header-item/nile-table-header-item.ts +45 -94
- package/vscode-html-custom-data.json +138 -59
- package/dist/internal/resizable-table-helper.cjs.js +0 -2
- package/dist/internal/resizable-table-helper.cjs.js.map +0 -1
- package/dist/internal/resizable-table-helper.esm.js +0 -1
- package/dist/internal/resizable-table-styles.cjs.js +0 -2
- package/dist/internal/resizable-table-styles.cjs.js.map +0 -1
- package/dist/internal/resizable-table-styles.esm.js +0 -120
- package/dist/src/internal/resizable-table-helper.d.ts +0 -59
- package/dist/src/internal/resizable-table-helper.js +0 -111
- package/dist/src/internal/resizable-table-helper.js.map +0 -1
- package/dist/src/internal/resizable-table-styles.d.ts +0 -16
- package/dist/src/internal/resizable-table-styles.js +0 -137
- package/dist/src/internal/resizable-table-styles.js.map +0 -1
- package/src/internal/resizable-table-helper.ts +0 -151
- package/src/internal/resizable-table-styles.ts +0 -144
@@ -1121,7 +1121,7 @@
|
|
1121
1121
|
},
|
1122
1122
|
{
|
1123
1123
|
"name": "nile-drawer",
|
1124
|
-
"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\" | \"
|
1124
|
+
"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`} - ",
|
1125
1125
|
"attributes": [
|
1126
1126
|
{
|
1127
1127
|
"name": "open",
|
@@ -1139,16 +1139,16 @@
|
|
1139
1139
|
},
|
1140
1140
|
{
|
1141
1141
|
"name": "placement",
|
1142
|
-
"description": "`placement` {`\"top\" | \"
|
1142
|
+
"description": "`placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The direction from which the drawer will open.\n\nProperty: placement\n\nDefault: end",
|
1143
1143
|
"values": [
|
1144
1144
|
{
|
1145
1145
|
"name": "top"
|
1146
1146
|
},
|
1147
1147
|
{
|
1148
|
-
"name": "
|
1148
|
+
"name": "bottom"
|
1149
1149
|
},
|
1150
1150
|
{
|
1151
|
-
"name": "
|
1151
|
+
"name": "end"
|
1152
1152
|
},
|
1153
1153
|
{
|
1154
1154
|
"name": "start"
|
@@ -1198,7 +1198,7 @@
|
|
1198
1198
|
},
|
1199
1199
|
{
|
1200
1200
|
"name": "nile-dropdown",
|
1201
|
-
"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` {
|
1201
|
+
"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` {`TooltipPosition`} - 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` {`TooltipPosition`} - 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`} - ",
|
1202
1202
|
"attributes": [
|
1203
1203
|
{
|
1204
1204
|
"name": "open",
|
@@ -1207,7 +1207,7 @@
|
|
1207
1207
|
},
|
1208
1208
|
{
|
1209
1209
|
"name": "placement",
|
1210
|
-
"description": "`placement` {
|
1210
|
+
"description": "`placement` {`TooltipPosition`} - 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",
|
1211
1211
|
"values": [
|
1212
1212
|
{
|
1213
1213
|
"name": "left"
|
@@ -1218,9 +1218,6 @@
|
|
1218
1218
|
{
|
1219
1219
|
"name": "top"
|
1220
1220
|
},
|
1221
|
-
{
|
1222
|
-
"name": "bottom"
|
1223
|
-
},
|
1224
1221
|
{
|
1225
1222
|
"name": "top-start"
|
1226
1223
|
},
|
@@ -1228,16 +1225,19 @@
|
|
1228
1225
|
"name": "top-end"
|
1229
1226
|
},
|
1230
1227
|
{
|
1231
|
-
"name": "
|
1228
|
+
"name": "right-start"
|
1232
1229
|
},
|
1233
1230
|
{
|
1234
|
-
"name": "
|
1231
|
+
"name": "right-end"
|
1235
1232
|
},
|
1236
1233
|
{
|
1237
|
-
"name": "
|
1234
|
+
"name": "bottom"
|
1238
1235
|
},
|
1239
1236
|
{
|
1240
|
-
"name": "
|
1237
|
+
"name": "bottom-start"
|
1238
|
+
},
|
1239
|
+
{
|
1240
|
+
"name": "bottom-end"
|
1241
1241
|
},
|
1242
1242
|
{
|
1243
1243
|
"name": "left-start"
|
@@ -2395,11 +2395,11 @@
|
|
2395
2395
|
},
|
2396
2396
|
{
|
2397
2397
|
"name": "nile-popover",
|
2398
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `placement` {
|
2398
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `placement` {`TooltipPosition`} - 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` {`TooltipPosition`} - 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`} - ",
|
2399
2399
|
"attributes": [
|
2400
2400
|
{
|
2401
2401
|
"name": "placement",
|
2402
|
-
"description": "`placement` {
|
2402
|
+
"description": "`placement` {`TooltipPosition`} - 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",
|
2403
2403
|
"values": [
|
2404
2404
|
{
|
2405
2405
|
"name": "left"
|
@@ -2410,9 +2410,6 @@
|
|
2410
2410
|
{
|
2411
2411
|
"name": "top"
|
2412
2412
|
},
|
2413
|
-
{
|
2414
|
-
"name": "bottom"
|
2415
|
-
},
|
2416
2413
|
{
|
2417
2414
|
"name": "top-start"
|
2418
2415
|
},
|
@@ -2420,16 +2417,19 @@
|
|
2420
2417
|
"name": "top-end"
|
2421
2418
|
},
|
2422
2419
|
{
|
2423
|
-
"name": "
|
2420
|
+
"name": "right-start"
|
2424
2421
|
},
|
2425
2422
|
{
|
2426
|
-
"name": "
|
2423
|
+
"name": "right-end"
|
2427
2424
|
},
|
2428
2425
|
{
|
2429
|
-
"name": "
|
2426
|
+
"name": "bottom"
|
2430
2427
|
},
|
2431
2428
|
{
|
2432
|
-
"name": "
|
2429
|
+
"name": "bottom-start"
|
2430
|
+
},
|
2431
|
+
{
|
2432
|
+
"name": "bottom-end"
|
2433
2433
|
},
|
2434
2434
|
{
|
2435
2435
|
"name": "left-start"
|
@@ -2494,7 +2494,7 @@
|
|
2494
2494
|
},
|
2495
2495
|
{
|
2496
2496
|
"name": "nile-popup",
|
2497
|
-
"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` {
|
2497
|
+
"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` {`TooltipPosition`} - 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` {`TooltipPosition`} - 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`} - ",
|
2498
2498
|
"attributes": [
|
2499
2499
|
{
|
2500
2500
|
"name": "anchor",
|
@@ -2508,7 +2508,7 @@
|
|
2508
2508
|
},
|
2509
2509
|
{
|
2510
2510
|
"name": "placement",
|
2511
|
-
"description": "`placement` {
|
2511
|
+
"description": "`placement` {`TooltipPosition`} - 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",
|
2512
2512
|
"values": [
|
2513
2513
|
{
|
2514
2514
|
"name": "left"
|
@@ -2519,9 +2519,6 @@
|
|
2519
2519
|
{
|
2520
2520
|
"name": "top"
|
2521
2521
|
},
|
2522
|
-
{
|
2523
|
-
"name": "bottom"
|
2524
|
-
},
|
2525
2522
|
{
|
2526
2523
|
"name": "top-start"
|
2527
2524
|
},
|
@@ -2529,16 +2526,19 @@
|
|
2529
2526
|
"name": "top-end"
|
2530
2527
|
},
|
2531
2528
|
{
|
2532
|
-
"name": "
|
2529
|
+
"name": "right-start"
|
2533
2530
|
},
|
2534
2531
|
{
|
2535
|
-
"name": "
|
2532
|
+
"name": "right-end"
|
2536
2533
|
},
|
2537
2534
|
{
|
2538
|
-
"name": "
|
2535
|
+
"name": "bottom"
|
2539
2536
|
},
|
2540
2537
|
{
|
2541
|
-
"name": "
|
2538
|
+
"name": "bottom-start"
|
2539
|
+
},
|
2540
|
+
{
|
2541
|
+
"name": "bottom-end"
|
2542
2542
|
},
|
2543
2543
|
{
|
2544
2544
|
"name": "left-start"
|
@@ -3162,6 +3162,96 @@
|
|
3162
3162
|
}
|
3163
3163
|
]
|
3164
3164
|
},
|
3165
|
+
{
|
3166
|
+
"name": "nile-slider",
|
3167
|
+
"description": "Nile slider component.\n\nAttributes:\n\n * `minValue` {`number`} - \n\n * `value` {`number`} - \n\n * `maxValue` {`number`} - \n\n * `rangeOneValue` {`number`} - \n\n * `rangeTwoValue` {`number`} - \n\n * `showLabel` {`boolean`} - \n\n * `labelStart` {`string`} - \n\n * `labelEnd` {`string`} - \n\n * `rangeSlider` {`boolean`} - \n\n * `labelPosition` {`string`} - \n\n * `tooltipPosition` {`TooltipPosition`} - \n\nProperties:\n\n * `minValue` {`number`} - \n\n * `value` {`number`} - \n\n * `maxValue` {`number`} - \n\n * `rangeOneValue` {`number`} - \n\n * `rangeTwoValue` {`number`} - \n\n * `showLabel` {`boolean`} - \n\n * `labelStart` {`string`} - \n\n * `labelEnd` {`string`} - \n\n * `rangeSlider` {`boolean`} - \n\n * `labelPosition` {`string`} - \n\n * `tooltipPosition` {`TooltipPosition`} - \n\n * `buttonOne` {`HTMLElement`} - \n\n * `buttonTwo` {`HTMLElement`} - \n\n * `range` {`HTMLElement`} - \n\n * `completed` {`HTMLElement`} - \n\n * `activeThumb` {`\"one\" | \"two\" | null`} - \n\n * `onMouseMove` - \n\n * `onMouseUp` - \n\n * `onMouseDown` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3168
|
+
"attributes": [
|
3169
|
+
{
|
3170
|
+
"name": "minValue",
|
3171
|
+
"description": "`minValue` {`number`} - \n\nProperty: minValue\n\nDefault: 0"
|
3172
|
+
},
|
3173
|
+
{
|
3174
|
+
"name": "value",
|
3175
|
+
"description": "`value` {`number`} - \n\nProperty: value\n\nDefault: minValue"
|
3176
|
+
},
|
3177
|
+
{
|
3178
|
+
"name": "maxValue",
|
3179
|
+
"description": "`maxValue` {`number`} - \n\nProperty: maxValue\n\nDefault: 100"
|
3180
|
+
},
|
3181
|
+
{
|
3182
|
+
"name": "rangeOneValue",
|
3183
|
+
"description": "`rangeOneValue` {`number`} - \n\nProperty: rangeOneValue\n\nDefault: minValue"
|
3184
|
+
},
|
3185
|
+
{
|
3186
|
+
"name": "rangeTwoValue",
|
3187
|
+
"description": "`rangeTwoValue` {`number`} - \n\nProperty: rangeTwoValue\n\nDefault: maxValue"
|
3188
|
+
},
|
3189
|
+
{
|
3190
|
+
"name": "showLabel",
|
3191
|
+
"description": "`showLabel` {`boolean`} - \n\nProperty: showLabel\n\nDefault: false",
|
3192
|
+
"valueSet": "v"
|
3193
|
+
},
|
3194
|
+
{
|
3195
|
+
"name": "labelStart",
|
3196
|
+
"description": "`labelStart` {`string`} - \n\nProperty: labelStart\n\nDefault: "
|
3197
|
+
},
|
3198
|
+
{
|
3199
|
+
"name": "labelEnd",
|
3200
|
+
"description": "`labelEnd` {`string`} - \n\nProperty: labelEnd\n\nDefault: "
|
3201
|
+
},
|
3202
|
+
{
|
3203
|
+
"name": "rangeSlider",
|
3204
|
+
"description": "`rangeSlider` {`boolean`} - \n\nProperty: rangeSlider\n\nDefault: false",
|
3205
|
+
"valueSet": "v"
|
3206
|
+
},
|
3207
|
+
{
|
3208
|
+
"name": "labelPosition",
|
3209
|
+
"description": "`labelPosition` {`string`} - \n\nProperty: labelPosition\n\nDefault: top"
|
3210
|
+
},
|
3211
|
+
{
|
3212
|
+
"name": "tooltipPosition",
|
3213
|
+
"description": "`tooltipPosition` {`TooltipPosition`} - \n\nProperty: tooltipPosition\n\nDefault: top",
|
3214
|
+
"values": [
|
3215
|
+
{
|
3216
|
+
"name": "left"
|
3217
|
+
},
|
3218
|
+
{
|
3219
|
+
"name": "right"
|
3220
|
+
},
|
3221
|
+
{
|
3222
|
+
"name": "top"
|
3223
|
+
},
|
3224
|
+
{
|
3225
|
+
"name": "top-start"
|
3226
|
+
},
|
3227
|
+
{
|
3228
|
+
"name": "top-end"
|
3229
|
+
},
|
3230
|
+
{
|
3231
|
+
"name": "right-start"
|
3232
|
+
},
|
3233
|
+
{
|
3234
|
+
"name": "right-end"
|
3235
|
+
},
|
3236
|
+
{
|
3237
|
+
"name": "bottom"
|
3238
|
+
},
|
3239
|
+
{
|
3240
|
+
"name": "bottom-start"
|
3241
|
+
},
|
3242
|
+
{
|
3243
|
+
"name": "bottom-end"
|
3244
|
+
},
|
3245
|
+
{
|
3246
|
+
"name": "left-start"
|
3247
|
+
},
|
3248
|
+
{
|
3249
|
+
"name": "left-end"
|
3250
|
+
}
|
3251
|
+
]
|
3252
|
+
}
|
3253
|
+
]
|
3254
|
+
},
|
3165
3255
|
{
|
3166
3256
|
"name": "nile-spinner",
|
3167
3257
|
"description": "Nile icon component.\n\n",
|
@@ -3290,20 +3380,20 @@
|
|
3290
3380
|
},
|
3291
3381
|
{
|
3292
3382
|
"name": "nile-tab-group",
|
3293
|
-
"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\" | \"
|
3383
|
+
"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`} - ",
|
3294
3384
|
"attributes": [
|
3295
3385
|
{
|
3296
3386
|
"name": "placement",
|
3297
|
-
"description": "`placement` {`\"top\" | \"
|
3387
|
+
"description": "`placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\nProperty: placement\n\nDefault: top",
|
3298
3388
|
"values": [
|
3299
3389
|
{
|
3300
3390
|
"name": "top"
|
3301
3391
|
},
|
3302
3392
|
{
|
3303
|
-
"name": "
|
3393
|
+
"name": "bottom"
|
3304
3394
|
},
|
3305
3395
|
{
|
3306
|
-
"name": "
|
3396
|
+
"name": "end"
|
3307
3397
|
},
|
3308
3398
|
{
|
3309
3399
|
"name": "start"
|
@@ -3402,7 +3492,7 @@
|
|
3402
3492
|
},
|
3403
3493
|
{
|
3404
3494
|
"name": "nile-table-body",
|
3405
|
-
"description": "nile-table-body component.\n\nAttributes:\n\n * `type` {`\"primary\" | \"secondary\"`} - \n\nProperties:\n\n * `defaultSlot` {`HTMLSlotElement`} - The styles for TableBody\n\n * `_childNodes` {`HTMLElement[]`} - \n\n * `type` {`\"primary\" | \"secondary\"`} - \n\n * `rows_data` {`any[]`} - \n\n * `header_rows_data` {`any[]`} - \n\n * `sort__index` {`number`} - \n\n * `search__index` {`number`} - \n\n * `
|
3495
|
+
"description": "nile-table-body component.\n\nAttributes:\n\n * `type` {`\"primary\" | \"secondary\"`} - \n\nProperties:\n\n * `defaultSlot` {`HTMLSlotElement`} - The styles for TableBody\n\n * `_childNodes` {`HTMLElement[]`} - \n\n * `type` {`\"primary\" | \"secondary\"`} - \n\n * `rows_data` {`any[]`} - \n\n * `header_rows_data` {`any[]`} - \n\n * `sort__index` {`number`} - \n\n * `search__index` {`number`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3406
3496
|
"attributes": [
|
3407
3497
|
{
|
3408
3498
|
"name": "type",
|
@@ -3420,18 +3510,12 @@
|
|
3420
3510
|
},
|
3421
3511
|
{
|
3422
3512
|
"name": "nile-table-cell-item",
|
3423
|
-
"description": "Nile table Cell Item component.\n\
|
3424
|
-
"attributes": [
|
3425
|
-
{
|
3426
|
-
"name": "resizable",
|
3427
|
-
"description": "`resizable` {`boolean`} - Enables the resize functionality.\n\nProperty: resizable\n\nDefault: false",
|
3428
|
-
"valueSet": "v"
|
3429
|
-
}
|
3430
|
-
]
|
3513
|
+
"description": "Nile table Cell Item component.\n\nProperties:\n\n * `hasSlotController` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3514
|
+
"attributes": []
|
3431
3515
|
},
|
3432
3516
|
{
|
3433
3517
|
"name": "nile-table-header-item",
|
3434
|
-
"description": "Nile icon component.\n\nAttributes:\n\n * `havesort` {`boolean`} - Enables the sort functionality.\n\n * `havefilter` {`boolean`} - Enables the sort functionality.\n\n * `icon-name` {`string`} - Places the icon .\n\
|
3518
|
+
"description": "Nile icon component.\n\nAttributes:\n\n * `havesort` {`boolean`} - Enables the sort functionality.\n\n * `havefilter` {`boolean`} - Enables the sort functionality.\n\n * `icon-name` {`string`} - Places the icon .\n\nProperties:\n\n * `hasSlotController` - \n\n * `havesort` {`boolean`} - Enables the sort functionality.\n\n * `havefilter` {`boolean`} - Enables the sort functionality.\n\n * `iconName` {`string`} - Places the icon .\n\n * `sorting_ct` {`number`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
3435
3519
|
"attributes": [
|
3436
3520
|
{
|
3437
3521
|
"name": "havesort",
|
@@ -3446,11 +3530,6 @@
|
|
3446
3530
|
{
|
3447
3531
|
"name": "icon-name",
|
3448
3532
|
"description": "`icon-name` {`string`} - Places the icon .\n\nProperty: iconName\n\nDefault: "
|
3449
|
-
},
|
3450
|
-
{
|
3451
|
-
"name": "resizable",
|
3452
|
-
"description": "`resizable` {`boolean`} - Enables the resize functionality.\n\nProperty: resizable\n\nDefault: false",
|
3453
|
-
"valueSet": "v"
|
3454
3533
|
}
|
3455
3534
|
]
|
3456
3535
|
},
|
@@ -3877,7 +3956,7 @@
|
|
3877
3956
|
},
|
3878
3957
|
{
|
3879
3958
|
"name": "nile-tooltip",
|
3880
|
-
"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` {
|
3959
|
+
"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` {`TooltipPosition`} - 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` {`TooltipPosition`} - 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`} - ",
|
3881
3960
|
"attributes": [
|
3882
3961
|
{
|
3883
3962
|
"name": "content",
|
@@ -3897,7 +3976,7 @@
|
|
3897
3976
|
},
|
3898
3977
|
{
|
3899
3978
|
"name": "placement",
|
3900
|
-
"description": "`placement` {
|
3979
|
+
"description": "`placement` {`TooltipPosition`} - 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",
|
3901
3980
|
"values": [
|
3902
3981
|
{
|
3903
3982
|
"name": "left"
|
@@ -3908,9 +3987,6 @@
|
|
3908
3987
|
{
|
3909
3988
|
"name": "top"
|
3910
3989
|
},
|
3911
|
-
{
|
3912
|
-
"name": "bottom"
|
3913
|
-
},
|
3914
3990
|
{
|
3915
3991
|
"name": "top-start"
|
3916
3992
|
},
|
@@ -3918,16 +3994,19 @@
|
|
3918
3994
|
"name": "top-end"
|
3919
3995
|
},
|
3920
3996
|
{
|
3921
|
-
"name": "
|
3997
|
+
"name": "right-start"
|
3922
3998
|
},
|
3923
3999
|
{
|
3924
|
-
"name": "
|
4000
|
+
"name": "right-end"
|
3925
4001
|
},
|
3926
4002
|
{
|
3927
|
-
"name": "
|
4003
|
+
"name": "bottom"
|
3928
4004
|
},
|
3929
4005
|
{
|
3930
|
-
"name": "
|
4006
|
+
"name": "bottom-start"
|
4007
|
+
},
|
4008
|
+
{
|
4009
|
+
"name": "bottom-end"
|
3931
4010
|
},
|
3932
4011
|
{
|
3933
4012
|
"name": "left-start"
|
@@ -1,2 +0,0 @@
|
|
1
|
-
System.register([],function(_export,_context){"use strict";function e(e,t){e.preventDefault(),e.stopPropagation();var _t$minWidth=t.minWidth,n=_t$minWidth===void 0?50:_t$minWidth,i=t.startX,o=t.startWidth,r=t.element,u=e.target;u.classList.add("resizing");var l=function l(e){e.preventDefault(),e.stopPropagation();var t=e.pageX-i,u=Math.max(n,o+t);r.style.width=u+"px",function(e,t){var n=e.closest("nile-table-body");if(!n)return;var i="nile-table-header-item"===e.tagName.toLowerCase(),o="nile-table-cell-item",r=function(e,t){var n=e.closest("nile-table-row");if(n){var _i=n.querySelectorAll(t);return Array.from(_i).indexOf(e);}return 0;}(e,i?"nile-table-header-item":"nile-table-cell-item");n.querySelectorAll("nile-table-row").forEach(function(e){var n=e.querySelectorAll(o);n[r]&&(n[r].style.width=t+"px");});}(r,u);},_c=function c(){u.classList.remove("resizing"),document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",_c);};return document.addEventListener("mousemove",l),document.addEventListener("mouseup",_c),function(){document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",_c);};}function t(e){return e.hasAttribute("resizable");}function n(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:50;return function(i){e(i,{minWidth:n,startX:i.pageX,startWidth:t.offsetWidth,element:t});};}function i(e){var n=e.querySelectorAll("nile-table-header-item"),i=e.querySelectorAll("nile-table-cell-item"),o=Array.from(n).some(function(e){return t(e);}),r=Array.from(i).some(function(e){return t(e);});return o||r;}_export({c:n,h:i});return{setters:[],execute:function execute(){}};});
|
2
|
-
//# sourceMappingURL=resizable-table-helper.cjs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resizable-table-helper.cjs.js","sources":["../../../src/internal/resizable-table-helper.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2025\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Resizable Helper Utility\n * Provides common functionality for resizable table columns\n */\n\nexport interface ResizeOptions {\n minWidth?: number;\n startX: number;\n startWidth: number;\n element: HTMLElement;\n}\n\nexport interface ColumnResizeData {\n columnIndex: number;\n newWidth: number;\n}\n\n/**\n * Handles the start of a resize operation\n * @param e Mouse event\n * @param options Resize configuration options\n * @returns Cleanup function to remove event listeners\n */\nexport function handleResizeStart(e: MouseEvent, options: ResizeOptions): () => void {\n e.preventDefault();\n e.stopPropagation();\n \n const { minWidth = 50, startX, startWidth, element } = options;\n const resizer = e.target as HTMLElement;\n \n resizer.classList.add('resizing');\n\n const onMouseMove = (e: MouseEvent) => {\n e.preventDefault();\n e.stopPropagation();\n \n const delta = e.pageX - startX;\n const newWidth = Math.max(minWidth, startWidth + delta);\n\n element.style.width = newWidth + 'px';\n\n synchronizeColumnWidth(element, newWidth);\n };\n\n const onMouseUp = () => {\n resizer.classList.remove('resizing');\n document.removeEventListener('mousemove', onMouseMove);\n document.removeEventListener('mouseup', onMouseUp);\n };\n\n document.addEventListener('mousemove', onMouseMove);\n document.addEventListener('mouseup', onMouseUp);\n\n return () => {\n document.removeEventListener('mousemove', onMouseMove);\n document.removeEventListener('mouseup', onMouseUp);\n };\n}\n\n/**\n * Gets the column index of an element within its table row\n * @param element The table cell or header element\n * @param selector The CSS selector for the column elements\n * @returns Column index (0-based)\n */\nexport function getColumnIndex(element: HTMLElement, selector: string): number {\n const tableRow = element.closest('nile-table-row');\n if (tableRow) {\n const columns = tableRow.querySelectorAll(selector);\n return Array.from(columns).indexOf(element);\n }\n return 0;\n}\n\n/**\n * Synchronizes the width of all cells in the same column\n * @param sourceElement The element that was resized\n * @param newWidth The new width to apply\n */\nexport function synchronizeColumnWidth(sourceElement: HTMLElement, newWidth: number): void {\n const tableBody = sourceElement.closest('nile-table-body');\n if (!tableBody) return;\n\n const isHeader = sourceElement.tagName.toLowerCase() === 'nile-table-header-item';\n const selector = isHeader ? 'nile-table-header-item' : 'nile-table-cell-item';\n const targetSelector = isHeader ? 'nile-table-cell-item' : 'nile-table-cell-item';\n \n const columnIndex = getColumnIndex(sourceElement, selector);\n const rows = tableBody.querySelectorAll('nile-table-row');\n \n rows.forEach(row => {\n const cells = row.querySelectorAll(targetSelector);\n if (cells[columnIndex]) {\n cells[columnIndex].style.width = newWidth + 'px';\n }\n });\n}\n\n/**\n * Checks if an element has the resizable attribute\n * @param element The element to check\n * @returns True if the element is resizable\n */\nexport function isResizable(element: HTMLElement): boolean {\n return element.hasAttribute('resizable');\n}\n\n/**\n * Creates a resize handler function for use in component event listeners\n * @param element The element to make resizable\n * @param minWidth Minimum width constraint\n * @returns Event handler function\n */\nexport function createResizeHandler(element: HTMLElement, minWidth: number = 50): (e: MouseEvent) => void {\n return (e: MouseEvent) => {\n const options: ResizeOptions = {\n minWidth,\n startX: e.pageX,\n startWidth: element.offsetWidth,\n element\n };\n \n handleResizeStart(e, options);\n };\n}\n\n/**\n * Detects if any columns in a table are resizable\n * @param tableBody The table body element\n * @returns True if any columns have resizable attribute\n */\nexport function hasResizableColumns(tableBody: HTMLElement): boolean {\n const headerItems = tableBody.querySelectorAll('nile-table-header-item');\n const cellItems = tableBody.querySelectorAll('nile-table-cell-item');\n \n const hasResizableHeaders = Array.from(headerItems).some(item => \n isResizable(item)\n );\n const hasResizableCells = Array.from(cellItems).some(item => \n isResizable(item)\n );\n \n return hasResizableHeaders || hasResizableCells;\n} \n"],"names":["handleResizeStart","e","options","preventDefault","stopPropagation","_t$minWidth","minWidth","startX","startWidth","element","resizer","target","classList","add","onMouseMove","delta","pageX","newWidth","Math","max","style","width","sourceElement","tableBody","closest","isHeader","tagName","toLowerCase","targetSelector","columnIndex","selector","tableRow","columns","querySelectorAll","Array","from","indexOf","getColumnIndex","forEach","row","cells","synchronizeColumnWidth","onMouseUp","c","remove","document","removeEventListener","addEventListener","isResizable","hasAttribute","createResizeHandler","arguments","length","undefined","offsetWidth","t","hasResizableColumns","headerItems","cellItems","hasResizableHeaders","some","item","hasResizableCells","_export"],"mappings":"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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
function e(e,t){e.preventDefault(),e.stopPropagation();const{minWidth:n=50,startX:i,startWidth:o,element:r}=t,u=e.target;u.classList.add("resizing");const l=e=>{e.preventDefault(),e.stopPropagation();const t=e.pageX-i,u=Math.max(n,o+t);r.style.width=u+"px",function(e,t){const n=e.closest("nile-table-body");if(!n)return;const i="nile-table-header-item"===e.tagName.toLowerCase(),o="nile-table-cell-item",r=function(e,t){const n=e.closest("nile-table-row");if(n){const i=n.querySelectorAll(t);return Array.from(i).indexOf(e)}return 0}(e,i?"nile-table-header-item":"nile-table-cell-item");n.querySelectorAll("nile-table-row").forEach((e=>{const n=e.querySelectorAll(o);n[r]&&(n[r].style.width=t+"px")}))}(r,u)},c=()=>{u.classList.remove("resizing"),document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",c)};return document.addEventListener("mousemove",l),document.addEventListener("mouseup",c),()=>{document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",c)}}function t(e){return e.hasAttribute("resizable")}function n(t,n=50){return i=>{e(i,{minWidth:n,startX:i.pageX,startWidth:t.offsetWidth,element:t})}}function i(e){const n=e.querySelectorAll("nile-table-header-item"),i=e.querySelectorAll("nile-table-cell-item"),o=Array.from(n).some((e=>t(e))),r=Array.from(i).some((e=>t(e)));return o||r}export{n as c,i as h};
|
@@ -1,2 +0,0 @@
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,o,r,t,i,s,a;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("r",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host([resizable]) {\n position: relative;\n overflow: hidden;\n table-layout: fixed;\n }\n"])))),_export("c",r=e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n :host([resizable]) {\n position: relative;\n border-right: 1px solid var(--nile-colors-neutral-400);\n }\n\n :host([resizable]) .header__item__wrapper {\n position: relative;\n }\n"])))),_export("a",t=e(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n .resizer {\n position: absolute;\n right: 0;\n top: -1000px;\n bottom: -1000px;\n width: 8px;\n cursor: col-resize;\n user-select: none;\n background-color: var(--nile-colors-neutral-100);\n transition: background-color 0.2s;\n z-index: 10;\n opacity: 0;\n transition: opacity 0.2s ease;\n pointer-events: none;\n }\n\n :host([resizable]):hover .resizer {\n opacity: 1;\n pointer-events: auto;\n }\n\n .resizer::before {\n content: '';\n position: absolute;\n right: 3px;\n top: 0;\n width: 2px;\n height: 100%;\n background-color: var(--nile-colors-neutral-500);\n opacity: 0.8;\n }\n\n .resizer:hover {\n background-color: var(--nile-colors-neutral-400);\n }\n\n .resizer:hover::before {\n background-color: var(--nile-colors-neutral-700);\n opacity: 1;\n }\n\n .resizer.resizing {\n background-color: var(--nile-colors-neutral-400);\n opacity: 1;\n pointer-events: auto;\n }\n\n .resizer.resizing::before {\n background-color: var(--nile-colors-neutral-700);\n opacity: 1;\n width: 3px;\n }\n"])))),_export("h",i=e(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n .resizer {\n position: absolute;\n right: -2px;\n top: -1000px;\n bottom: -1000px;\n width: 8px;\n cursor: ew-resize;\n user-select: none;\n transition: background-color 0.2s;\n z-index: 10;\n opacity: 0;\n transition: opacity 0.2s ease;\n }\n\n :host([resizable]):hover .resizer {\n opacity: 1;\n }\n\n .resizer::before {\n content: '';\n position: absolute;\n height: 100%;\n opacity: 0.8;\n }\n\n .resizer.resizing {\n border-right: 4px double var(--nile-colors-neutral-400);\n background-color: transparent;\n opacity: 1;\n }\n"])))),_export("b",s=e(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n :host([resizable]) ::slotted(*) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n }\n\n :host([resizable]) ::slotted(span),\n :host([resizable]) ::slotted(div),\n :host([resizable]) ::slotted(p) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n }\n"])))),_export("t",a=e(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["\n .nile__table__body[resizable] {\n table-layout: fixed;\n }\n"]))));}};});
|
2
|
-
//# sourceMappingURL=resizable-table-styles.cjs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resizable-table-styles.cjs.js","sources":["../../../src/internal/resizable-table-styles.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit';\n\n/**\n * Resizable Styles Utility\n * Centralized styles for resizable table functionality\n */\n\nexport const resizableHostStyles = css`\n :host([resizable]) {\n position: relative;\n overflow: hidden;\n table-layout: fixed;\n }\n`;\n\nexport const resizableHeaderStyles = css`\n :host([resizable]) {\n position: relative;\n border-right: 1px solid var(--nile-colors-neutral-400);\n }\n\n :host([resizable]) .header__item__wrapper {\n position: relative;\n }\n`;\n\nexport const resizerStyles = css`\n .resizer {\n position: absolute;\n right: 0;\n top: -1000px;\n bottom: -1000px;\n width: 8px;\n cursor: col-resize;\n user-select: none;\n background-color: var(--nile-colors-neutral-100);\n transition: background-color 0.2s;\n z-index: 10;\n opacity: 0;\n transition: opacity 0.2s ease;\n pointer-events: none;\n }\n\n :host([resizable]):hover .resizer {\n opacity: 1;\n pointer-events: auto;\n }\n\n .resizer::before {\n content: '';\n position: absolute;\n right: 3px;\n top: 0;\n width: 2px;\n height: 100%;\n background-color: var(--nile-colors-neutral-500);\n opacity: 0.8;\n }\n\n .resizer:hover {\n background-color: var(--nile-colors-neutral-400);\n }\n\n .resizer:hover::before {\n background-color: var(--nile-colors-neutral-700);\n opacity: 1;\n }\n\n .resizer.resizing {\n background-color: var(--nile-colors-neutral-400);\n opacity: 1;\n pointer-events: auto;\n }\n\n .resizer.resizing::before {\n background-color: var(--nile-colors-neutral-700);\n opacity: 1;\n width: 3px;\n }\n`;\n\nexport const headerResizerStyles = css`\n .resizer {\n position: absolute;\n right: -2px;\n top: -1000px;\n bottom: -1000px;\n width: 8px;\n cursor: ew-resize;\n user-select: none;\n transition: background-color 0.2s;\n z-index: 10;\n opacity: 0;\n transition: opacity 0.2s ease;\n }\n\n :host([resizable]):hover .resizer {\n opacity: 1;\n }\n\n .resizer::before {\n content: '';\n position: absolute;\n height: 100%;\n opacity: 0.8;\n }\n\n .resizer.resizing {\n border-right: 4px double var(--nile-colors-neutral-400);\n background-color: transparent;\n opacity: 1;\n }\n`;\n\nexport const resizableSlotStyles = css`\n :host([resizable]) ::slotted(*) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n }\n\n :host([resizable]) ::slotted(span),\n :host([resizable]) ::slotted(div),\n :host([resizable]) ::slotted(p) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n }\n`;\n\nexport const tableLayoutStyles = css`\n .nile__table__body[resizable] {\n table-layout: fixed;\n }\n`; \n"],"names":["resizableHostStyles","css","_templateObject","_taggedTemplateLiteral","_export","resizableHeaderStyles","_templateObject2","resizerStyles","_templateObject3","headerResizerStyles","_templateObject4","resizableSlotStyles","_templateObject5","tableLayoutStyles","_templateObject6"],"mappings":"mZAcaA,CAAAA,CAAsBC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,mHAAAC,OAAA,KAQzBC,CAAAA,CAAwBJ,CAAG,CAAAK,gBAAA,GAAAA,gBAAA,CAAAH,sBAAA,8MAAAC,OAAA,KAW3BG,CAAAA,CAAgBN,CAAG,CAAAO,gBAAA,GAAAA,gBAAA,CAAAL,sBAAA,8lCAAAC,OAAA,KAuDnBK,CAAAA,CAAsBR,CAAG,CAAAS,gBAAA,GAAAA,gBAAA,CAAAP,sBAAA,imBAAAC,OAAA,KAiCzBO,CAAAA,CAAsBV,CAAG,CAAAW,gBAAA,GAAAA,gBAAA,CAAAT,sBAAA,uXAAAC,OAAA,KAkBzBS,CAAAA,CAAoBZ,CAAG,CAAAa,gBAAA,GAAAA,gBAAA,CAAAX,sBAAA"}
|