@watermarkinsights/ripple 5.32.1-alpha.3 → 5.32.1-alpha.6
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/dist/cjs/{app-globals-2a95ac29.js → app-globals-6e82a601.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-navigation_3.cjs.entry.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +8 -11
- package/dist/docs/docs.json +2 -2
- package/dist/docs/skill/wm-navigation-item.md +7 -10
- package/dist/esm/{app-globals-ef6f887a.js → app-globals-3e9a08ce.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-navigation_3.entry.js +1 -1
- package/dist/ripple/{p-93706eb1.entry.js → p-5f132a77.entry.js} +1 -1
- package/dist/ripple/{p-2a3e83f9.js → p-678bef1e.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +7 -10
- package/dist/types/components.d.ts +28 -40
- package/package.json +1 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-bb947bd5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-6e82a601.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
package/dist/cjs/ripple.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-bb947bd5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-6e82a601.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -176,7 +176,7 @@ const NavigationItem = class {
|
|
|
176
176
|
this.active = undefined;
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
|
-
return (index.h(index.Host, { key: '
|
|
179
|
+
return (index.h(index.Host, { key: 'a2c17059914ed4b1cd0d16e6606b6f8b6c454859', role: "listitem" }, index.h("a", { key: '13160395a00d19bb4f3ee7594ec07b96fcae8d30', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, index.h("div", { key: 'c59d91d587889392d9e6ae606f9e65c5b23a1a36', class: "icon", "aria-hidden": "true" }, index.h("slot", { key: '285f7f5ff313d06d7d54e4b8a00f2032cf19b277' })), index.h("div", { key: 'fc018d86863191d6f72dea99a5b8addbb9c596f7', class: "text" }, this.text))));
|
|
180
180
|
}
|
|
181
181
|
static get delegatesFocus() { return true; }
|
|
182
182
|
get el() { return index.getElement(this); }
|
|
@@ -17,16 +17,13 @@ import { h, Host } from "@stencil/core";
|
|
|
17
17
|
* - Set `active` on the item that corresponds to the current route.
|
|
18
18
|
* - Clicking an item emits `wmNavigationItemClicked`, which the parent wm-navigation listens
|
|
19
19
|
* to in order to close the collapsible menu on narrow viewports.
|
|
20
|
-
* - Preferred
|
|
21
|
-
*
|
|
22
|
-
* fill="currentColor"
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* `svg-icon svg-<name>` classes in Ripple's global styles). Avoid an icon font (e.g.
|
|
28
|
-
* Material Design Icons) or an `<img>` — neither can pick up the active/hover recoloring
|
|
29
|
-
* the way an SVG using `fill="currentColor"` can.
|
|
20
|
+
* - Preferred: an inline SVG referencing a shared sprite — `<svg width="1.5rem" height="1.5rem">
|
|
21
|
+
* <use href="...#icon-id" fill="currentColor"></use></svg>`. 24px (`1.5rem`) is the standard
|
|
22
|
+
* icon size for this slot. `fill="currentColor"` must be set explicitly — omitting it
|
|
23
|
+
* renders a fixed black icon instead of the active/hover color, since SVG's own default fill
|
|
24
|
+
* is black, not the inherited text color.
|
|
25
|
+
* - Avoid an icon font (e.g. Material Design Icons) or an `<img>` — neither can pick up the
|
|
26
|
+
* active/hover recoloring the way an SVG using `fill="currentColor"` can.
|
|
30
27
|
*
|
|
31
28
|
* @example {html} Basic navigation item
|
|
32
29
|
* <wm-navigation-item href="/dashboard" text="Dashboard" active></wm-navigation-item>
|
|
@@ -55,7 +52,7 @@ export class NavigationItem {
|
|
|
55
52
|
this.active = undefined;
|
|
56
53
|
}
|
|
57
54
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'a2c17059914ed4b1cd0d16e6606b6f8b6c454859', role: "listitem" }, h("a", { key: '13160395a00d19bb4f3ee7594ec07b96fcae8d30', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'c59d91d587889392d9e6ae606f9e65c5b23a1a36', class: "icon", "aria-hidden": "true" }, h("slot", { key: '285f7f5ff313d06d7d54e4b8a00f2032cf19b277' })), h("div", { key: 'fc018d86863191d6f72dea99a5b8addbb9c596f7', class: "text" }, this.text))));
|
|
59
56
|
}
|
|
60
57
|
static get is() { return "wm-navigation-item"; }
|
|
61
58
|
static get encapsulation() { return "shadow"; }
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-09-
|
|
2
|
+
"timestamp": "2026-09-16T22:13:33",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.21.0",
|
|
@@ -7935,7 +7935,7 @@
|
|
|
7935
7935
|
},
|
|
7936
7936
|
{
|
|
7937
7937
|
"name": "usageNotes",
|
|
7938
|
-
"text": "- Set `active` on the item that corresponds to the current route.\n- Clicking an item emits `wmNavigationItemClicked`, which the parent wm-navigation listens\n to in order to close the collapsible menu on narrow viewports.\n- Preferred
|
|
7938
|
+
"text": "- Set `active` on the item that corresponds to the current route.\n- Clicking an item emits `wmNavigationItemClicked`, which the parent wm-navigation listens\n to in order to close the collapsible menu on narrow viewports.\n- Preferred: an inline SVG referencing a shared sprite — `<svg width=\"1.5rem\" height=\"1.5rem\">\n <use href=\"...#icon-id\" fill=\"currentColor\"></use></svg>`. 24px (`1.5rem`) is the standard\n icon size for this slot. `fill=\"currentColor\"` must be set explicitly — omitting it\n renders a fixed black icon instead of the active/hover color, since SVG's own default fill\n is black, not the inherited text color.\n- Avoid an icon font (e.g. Material Design Icons) or an `<img>` — neither can pick up the\n active/hover recoloring the way an SVG using `fill=\"currentColor\"` can."
|
|
7939
7939
|
},
|
|
7940
7940
|
{
|
|
7941
7941
|
"name": "example",
|
|
@@ -22,16 +22,13 @@ _None documented_
|
|
|
22
22
|
- Set `active` on the item that corresponds to the current route.
|
|
23
23
|
- Clicking an item emits `wmNavigationItemClicked`, which the parent wm-navigation listens
|
|
24
24
|
to in order to close the collapsible menu on narrow viewports.
|
|
25
|
-
- Preferred
|
|
26
|
-
|
|
27
|
-
fill="currentColor"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
`svg-icon svg-<name>` classes in Ripple's global styles). Avoid an icon font (e.g.
|
|
33
|
-
Material Design Icons) or an `<img>` -- neither can pick up the active/hover recoloring
|
|
34
|
-
the way an SVG using `fill="currentColor"` can.
|
|
25
|
+
- Preferred: an inline SVG referencing a shared sprite -- `<svg width="1.5rem" height="1.5rem">
|
|
26
|
+
<use href="...#icon-id" fill="currentColor"></use></svg>`. 24px (`1.5rem`) is the standard
|
|
27
|
+
icon size for this slot. `fill="currentColor"` must be set explicitly -- omitting it
|
|
28
|
+
renders a fixed black icon instead of the active/hover color, since SVG's own default fill
|
|
29
|
+
is black, not the inherited text color.
|
|
30
|
+
- Avoid an icon font (e.g. Material Design Icons) or an `<img>` -- neither can pick up the
|
|
31
|
+
active/hover recoloring the way an SVG using `fill="currentColor"` can.
|
|
35
32
|
|
|
36
33
|
**Props:**
|
|
37
34
|
- `active` -- Marks this item as the currently active route, applying active styling.
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as bootstrapLazy } from './index-3425d80d.js';
|
|
2
2
|
export { s as setNonce } from './index-3425d80d.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-3e9a08ce.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
package/dist/esm/ripple.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-3425d80d.js';
|
|
2
2
|
export { s as setNonce } from './index-3425d80d.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
3
|
+
import { g as globalScripts } from './app-globals-3e9a08ce.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -172,7 +172,7 @@ const NavigationItem = class {
|
|
|
172
172
|
this.active = undefined;
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: 'a2c17059914ed4b1cd0d16e6606b6f8b6c454859', role: "listitem" }, h("a", { key: '13160395a00d19bb4f3ee7594ec07b96fcae8d30', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'c59d91d587889392d9e6ae606f9e65c5b23a1a36', class: "icon", "aria-hidden": "true" }, h("slot", { key: '285f7f5ff313d06d7d54e4b8a00f2032cf19b277' })), h("div", { key: 'fc018d86863191d6f72dea99a5b8addbb9c596f7', class: "text" }, this.text))));
|
|
176
176
|
}
|
|
177
177
|
static get delegatesFocus() { return true; }
|
|
178
178
|
get el() { return getElement(this); }
|