solid-ui 5.0.1-0 → 5.0.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 +21 -0
- package/dist/_virtual/~icons/lucide/square-arrow-out-up-right.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/square-arrow-out-up-right.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/square-arrow-out-up-right.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/square-arrow-out-up-right.esm.js.map +1 -0
- package/dist/chunks/{access-control-modal-C9ECFvn0.js → access-control-modal-eOv2-U27.js} +3 -3
- package/dist/chunks/{access-control-modal-C9ECFvn0.js.map → access-control-modal-eOv2-U27.js.map} +1 -1
- package/dist/chunks/{account-BUnArMjm.js → account-DpmYJEd-.js} +6 -6
- package/dist/chunks/{account-BUnArMjm.js.map → account-DpmYJEd-.js.map} +1 -1
- package/dist/chunks/{auth-BgEyix2g.js → auth-Hp8M6TQf.js} +2 -2
- package/dist/chunks/{auth-BgEyix2g.js.map → auth-Hp8M6TQf.js.map} +1 -1
- package/dist/chunks/{avatar-DiGyEwvL.js → avatar-D5rcw6gN.js} +2 -2
- package/dist/chunks/{avatar-DiGyEwvL.js.map → avatar-D5rcw6gN.js.map} +1 -1
- package/dist/chunks/{combobox-a0vVnPo8.js → combobox-Dmv-TZtI.js} +2 -2
- package/dist/chunks/combobox-Dmv-TZtI.js.map +1 -0
- package/dist/chunks/{guard-c6JOj8UM.js → guard-FbhNrJGh.js} +2 -2
- package/dist/chunks/{guard-c6JOj8UM.js.map → guard-FbhNrJGh.js.map} +1 -1
- package/dist/chunks/{login-button-gUZbphp9.js → login-button-DCq4Gi3_.js} +2 -2
- package/dist/chunks/{login-button-gUZbphp9.js.map → login-button-DCq4Gi3_.js.map} +1 -1
- package/dist/chunks/{logout-button-GWQMrdx4.js → logout-button-D3dJrsV4.js} +2 -2
- package/dist/chunks/{logout-button-GWQMrdx4.js.map → logout-button-D3dJrsV4.js.map} +1 -1
- package/dist/chunks/{provider-DLNWLlfX.js → provider-D9UgRI4G.js} +2 -2
- package/dist/chunks/{provider-DLNWLlfX.js.map → provider-D9UgRI4G.js.map} +1 -1
- package/dist/chunks/{signup-button-i9d5eTUY.js → signup-button-BQ4AWem2.js} +2 -2
- package/dist/chunks/{signup-button-i9d5eTUY.js.map → signup-button-BQ4AWem2.js.map} +1 -1
- package/dist/chunks/{src-B9ABTiyW.js → src-DQMZZG1B.js} +2319 -2281
- package/dist/chunks/src-DQMZZG1B.js.map +1 -0
- package/dist/chunks/{widgets-CQOLuw3A.js → widgets-CVLwnfkU.js} +122 -74
- package/dist/chunks/widgets-CVLwnfkU.js.map +1 -0
- package/dist/components/access-control-modal.js +1 -1
- package/dist/components/account.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/combobox/Combobox.styles.cjs.js +1 -1
- package/dist/components/combobox/Combobox.styles.cjs.js.map +1 -1
- package/dist/components/combobox/Combobox.styles.esm.js +1 -1
- package/dist/components/combobox/Combobox.styles.esm.js.map +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/guard.js +1 -1
- package/dist/components/login-button.js +1 -1
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button.js +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/signup-button.js +1 -1
- package/dist/components.js +10 -10
- package/dist/index.js +3 -3
- package/dist/lib/iconBase.cjs.js +1 -1
- package/dist/lib/iconBase.cjs.js.map +1 -1
- package/dist/lib/iconBase.esm.js +3 -2
- package/dist/lib/iconBase.esm.js.map +1 -1
- package/dist/loader.js +3 -3
- package/dist/solid-ui.js +30 -30
- package/dist/solid-ui.min.js +30 -30
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/widgets/buttons/iconLinks.cjs.js +1 -1
- package/dist/widgets/buttons/iconLinks.cjs.js.map +1 -1
- package/dist/widgets/buttons/iconLinks.d.ts.map +1 -1
- package/dist/widgets/buttons/iconLinks.esm.js +16 -10
- package/dist/widgets/buttons/iconLinks.esm.js.map +1 -1
- package/dist/widgets/buttons.cjs.js +1 -1
- package/dist/widgets/buttons.cjs.js.map +1 -1
- package/dist/widgets/buttons.d.ts +5 -1
- package/dist/widgets/buttons.d.ts.map +1 -1
- package/dist/widgets/buttons.esm.js +67 -34
- package/dist/widgets/buttons.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/combobox-a0vVnPo8.js.map +0 -1
- package/dist/chunks/src-B9ABTiyW.js.map +0 -1
- package/dist/chunks/widgets-CQOLuw3A.js.map +0 -1
package/README.md
CHANGED
|
@@ -78,6 +78,27 @@ Finally, if you're going to use a component that requires global state (like `<s
|
|
|
78
78
|
</solid-ui-provider>
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
+
### Widget navigation icons
|
|
82
|
+
|
|
83
|
+
Resource navigation links in widget rows and cards use the imported Lucide
|
|
84
|
+
`square-arrow-out-up-right` component in neutral gray, sized to match remove
|
|
85
|
+
icons. The `linkIcon` helper still accepts a custom image URL as its third
|
|
86
|
+
argument; explicit custom icons retain their existing image rendering.
|
|
87
|
+
|
|
88
|
+
### Attachment-list delete confirmations
|
|
89
|
+
|
|
90
|
+
`widgets.attachmentList(dom, subject, container, options)` accepts an optional
|
|
91
|
+
`options.confirmationContainer` HTML element. When provided, delete confirmations
|
|
92
|
+
are rendered in normal flow in that element, outside the list's rows, with Cancel
|
|
93
|
+
focused. Only one confirmation is shown per confirmation container; unrelated
|
|
94
|
+
children are preserved. Mount the container in a visible location above or beside
|
|
95
|
+
the list.
|
|
96
|
+
|
|
97
|
+
Omitting this option preserves the existing row-local popup and positioning.
|
|
98
|
+
`personTR` / `renderAsRow` and `renderAsDiv` accept the same option.
|
|
99
|
+
`deleteButtonWithCheck` accepts the container as an optional fifth argument;
|
|
100
|
+
existing four-argument calls are unchanged.
|
|
101
|
+
|
|
81
102
|
## Use directly in a browser
|
|
82
103
|
|
|
83
104
|
Solid-UI provides **ESM** bundles for direct browser usage. You'll also need to include the CSS styles:
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6m10 0l-9 9m3-9h6v6"/></svg>`}};customElements.get(`icon-lucide-square-arrow-out-up-right`)||customElements.define(`icon-lucide-square-arrow-out-up-right`,e),exports.default=e;
|
|
2
|
+
//# sourceMappingURL=square-arrow-out-up-right.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"square-arrow-out-up-right.cjs.js","names":["iconlucidesquarearrowoutupright"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ~icons/lucide/square-arrow-out-up-right
|
|
2
|
+
var e = class extends HTMLElement {
|
|
3
|
+
constructor() {
|
|
4
|
+
super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6m10 0l-9 9m3-9h6v6\"/></svg>";
|
|
5
|
+
}
|
|
6
|
+
};
|
|
7
|
+
customElements.get("icon-lucide-square-arrow-out-up-right") || customElements.define("icon-lucide-square-arrow-out-up-right", e);
|
|
8
|
+
//#endregion
|
|
9
|
+
export { e as default };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=square-arrow-out-up-right.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"square-arrow-out-up-right.esm.js","names":["iconlucidesquarearrowoutupright"],"sources":[],"mappings":""}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { D as e, _ as t, a as n, g as r, h as i, i as a, v as o } from "./index.esm-N8NHgFUj.js";
|
|
2
2
|
import { u as s } from "./style-ChFDDB1c.js";
|
|
3
|
-
import { T as c, p as l } from "./widgets-
|
|
3
|
+
import { T as c, p as l } from "./widgets-CVLwnfkU.js";
|
|
4
4
|
import { a as u, c as d, g as f, i as p, o as m, p as h, r as g, u as _ } from "./components-Bdqizu8x.js";
|
|
5
5
|
import "./button-lol95DqR.js";
|
|
6
6
|
import "./dialog-DYgcCurb.js";
|
|
7
7
|
import "./dialog-content-jx08y2Oa.js";
|
|
8
8
|
import "./dialog-footer-Bhl8k1PX.js";
|
|
9
|
-
import { r as v } from "./combobox-
|
|
9
|
+
import { r as v } from "./combobox-Dmv-TZtI.js";
|
|
10
10
|
import "./combobox-option-B-Hksiq2.js";
|
|
11
11
|
import "./error-state-DK1x-kNd.js";
|
|
12
12
|
//#region ~icons/lucide/circle-x
|
|
@@ -2102,4 +2102,4 @@ var hr = mr;
|
|
|
2102
2102
|
//#endregion
|
|
2103
2103
|
export { mr as n, hr as t };
|
|
2104
2104
|
|
|
2105
|
-
//# sourceMappingURL=access-control-modal-
|
|
2105
|
+
//# sourceMappingURL=access-control-modal-eOv2-U27.js.map
|