@ship-ui/core 0.17.18 → 0.17.20
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/assets/mcp/components.json +10 -4
- package/bin/mcp/index.js +12020 -9774
- package/fesm2022/ship-ui-core.mjs +180 -164
- package/fesm2022/ship-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ship-ui-core.d.ts +5 -3
|
@@ -1922,13 +1922,19 @@
|
|
|
1922
1922
|
},
|
|
1923
1923
|
{
|
|
1924
1924
|
"name": "onMouseEnter",
|
|
1925
|
-
"parameters": "",
|
|
1925
|
+
"parameters": "event: MouseEvent",
|
|
1926
|
+
"returnType": "any",
|
|
1927
|
+
"description": ""
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"name": "onMouseLeave",
|
|
1931
|
+
"parameters": "event: MouseEvent",
|
|
1926
1932
|
"returnType": "any",
|
|
1927
1933
|
"description": ""
|
|
1928
1934
|
},
|
|
1929
1935
|
{
|
|
1930
1936
|
"name": "clearTimeout",
|
|
1931
|
-
"parameters": "this.
|
|
1937
|
+
"parameters": "this.destroyTimeout);\n this.destroyTimeout = null;\n }\n }\n\n private showTooltip(",
|
|
1932
1938
|
"returnType": "any",
|
|
1933
1939
|
"description": ""
|
|
1934
1940
|
}
|
|
@@ -2401,8 +2407,8 @@
|
|
|
2401
2407
|
},
|
|
2402
2408
|
{
|
|
2403
2409
|
"name": "multiple-select",
|
|
2404
|
-
"html": "<sh-select color=\"primary\" variant=\"raised\" [options]=\"options()\" label=\"label\" value=\"value\" [selectMultiple]=\"true\">\n <label>\n Favorite foods (multiple)\n <sh-icon class=\"primary\" [shTooltip]=\"'hello im a description'\">question</sh-icon>\n </label>\n\n <input type=\"text\" [(ngModel)]=\"selected\" />\n</sh-select>\n\n<p>Selected: {{ selected() | json }}</p>\n",
|
|
2405
|
-
"ts": "import { JsonPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {
|
|
2410
|
+
"html": "<sh-select color=\"primary\" variant=\"raised\" [options]=\"options()\" label=\"label\" value=\"value\" [selectMultiple]=\"true\">\n <label>\n Favorite foods (multiple)\n <sh-icon class=\"primary\" [shTooltip]=\"'hello im a description'\">question</sh-icon>\n </label>\n\n <input type=\"text\" [(ngModel)]=\"selected\" />\n</sh-select>\n<sh-select color=\"primary\" variant=\"raised\" [options]=\"options()\" label=\"label\" value=\"value\" [selectMultiple]=\"true\">\n <label>\n Favorite foods (multiple) another\n <sh-icon class=\"primary\" [shTooltip]=\"'hello im a description'\">question</sh-icon>\n </label>\n\n <input type=\"text\" [(ngModel)]=\"selected\" />\n</sh-select>\n<p>Selected: {{ selected() | json }}</p>\n",
|
|
2411
|
+
"ts": "import { JsonPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ShipIcon, ShipSelect, ShipTooltip } from 'ship-ui';\n\n@Component({\n selector: 'app-multiple-select',\n standalone: true,\n imports: [FormsModule, ShipSelect, JsonPipe, ShipIcon, ShipTooltip],\n templateUrl: './multiple-select.html',\n styleUrl: './multiple-select.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MultipleSelect {\n options = signal([\n { value: 'pizza', label: 'Pizza' },\n { value: 'burger', label: 'Burger' },\n { value: 'sushi', label: 'Sushi' },\n ]);\n selected = signal<string[]>(['pizza,burger']);\n}\n"
|
|
2406
2412
|
},
|
|
2407
2413
|
{
|
|
2408
2414
|
"name": "option-template-select",
|