solid-ui 3.0.0 → 3.0.1-0dd33a6

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 CHANGED
@@ -1,288 +1,302 @@
1
- # solid-ui
2
-
3
- [![NPM Package](https://img.shields.io/npm/v/solid-ui.svg)](https://www.npmjs.com/package/solid-ui)
4
-
5
- User Interface widgets and utilities for Solid (solid-ui)
6
-
7
- These are HTML5 widgets which connect to a solid store. Building blocks for solid-based apps.
8
- Vanilla JS. Includes large widgets like chat, table, matrix, form fields, and small widgets.
9
-
10
- See [Solid-Ui Storybook](http://solidos.github.io/solid-ui/examples/storybook/) for UI widgets.
11
- See [Solid-UI API](https://solidos.github.io/solid-ui/docs/api/) for UI functions.
12
- See [Forms introduction](./docs/FormsReadme.md) for UI vocabulary implementation.
13
-
14
- ## Table of Contents
15
- - [Getting Started](#getting-started)
16
- - [Install via npm](#install-via-npm)
17
- - [Use Directly in Browser](#use-directly-in-a-browser)
18
- - [UMD Bundle](#umd-bundle-global-variable)
19
- - [ESM Bundle](#esm-bundle-import-as-module)
20
- - [Development](#development-new-components)
21
- - [Testing](#adding-tests)
22
- - [Further Documentation](#further-documentation)
23
-
24
-
25
- ## Getting started
26
-
27
- Contributions of bug fixes and new functionality, documentation, and tests are
28
- always appreciated.
29
-
30
- ## Install via npm
31
-
32
- ```sh
33
- npm install solid-ui rdflib solid-logic
34
- ```
35
-
36
- Then import in your JavaScript/TypeScript code:
37
-
38
- ```js
39
- import * as UI from 'solid-ui'
40
- import * as $rdf from 'rdflib'
41
- import * as SolidLogic from 'solid-logic'
42
-
43
- // Example: Create a button
44
- const button = UI.widgets.button(
45
- document,
46
- 'https://solidproject.org/assets/img/solid-emblem.svg',
47
- 'Click me',
48
- () => alert('Button clicked!')
49
- )
50
- document.body.appendChild(button)
51
- ```
52
-
53
- ## Use Directly in a Browser
54
-
55
- Solid-UI provides both **UMD** and **ESM** bundles for direct browser usage. Both bundles externalize `rdflib` and `solid-logic`, which must be loaded separately.
56
-
57
- ### Available Files
58
-
59
- - **UMD (Universal Module Definition)**:
60
- - Development: `dist/solid-ui.js` (exposes global `window.UI`)
61
- - Production: `dist/solid-ui.min.js` (minified)
62
-
63
- - **ESM (ES Modules)**:
64
- - Development: `dist/solid-ui.esm.js`
65
- - Production: `dist/solid-ui.esm.min.js` (minified)
66
-
67
- ### UMD Bundle (Global Variable)
68
-
69
- Load via `<script>` tags and access through global variables `window.$rdf`, `window.SolidLogic`, and `window.UI`.
70
-
71
- ```html
72
- <!DOCTYPE html>
73
- <html>
74
- <head>
75
- <title>Solid-UI UMD Example</title>
76
- </head>
77
- <body>
78
- <div id="app"></div>
79
-
80
- <!-- Load dependencies first -->
81
- <script src="https://cdn.jsdelivr.net/npm/rdflib/dist/rdflib.min.js"></script>
82
- <script src="https://unpkg.com/solid-logic/dist/solid-logic.min.js"></script>
83
-
84
- <!-- Load solid-ui UMD bundle -->
85
- <script src="https://unpkg.com/solid-ui/dist/solid-ui.min.js"></script>
86
-
87
- <script>
88
- // Access via global variables
89
- const { store, authn } = window.SolidLogic
90
- const { widgets } = window.UI
91
-
92
- // Get the logged-in user
93
- const webId = authn.currentUser()
94
-
95
- if (webId) {
96
- // User is logged in - create button with their WebID
97
- const userButton = widgets.button(
98
- document,
99
- 'https://solidproject.org/assets/img/solid-emblem.svg',
100
- `Logged in as: ${webId.value}`,
101
- () => alert(`Your WebID: ${webId.value}`)
102
- )
103
- document.getElementById('app').appendChild(userButton)
104
- } else {
105
- // User not logged in - create login button
106
- const loginButton = widgets.button(
107
- document,
108
- 'https://solidproject.org/assets/img/solid-emblem.svg',
109
- 'Login to Solid',
110
- () => authn.checkUser().then(() => location.reload())
111
- )
112
- document.getElementById('app').appendChild(loginButton)
113
- }
114
- </script>
115
- </body>
116
- </html>
117
- ```
118
-
119
- ### ESM Bundle (Import as Module)
120
-
121
- Use modern JavaScript modules with `import` statements.
122
-
123
- ```html
124
- <!DOCTYPE html>
125
- <html>
126
- <head>
127
- <title>Solid-UI ESM Example</title>
128
- </head>
129
- <body>
130
- <div id="app"></div>
131
-
132
- <script type="module">
133
- // Import from CDN (esm.sh, unpkg, or jsdelivr)
134
- import * as $rdf from 'https://esm.sh/rdflib'
135
- import * as SolidLogic from 'https://esm.sh/solid-logic'
136
- import * as UI from 'https://esm.sh/solid-ui'
137
-
138
- // Get the logged-in user
139
- const webId = SolidLogic.authn.currentUser()
140
-
141
- if (webId) {
142
- // User is logged in - create personalized button
143
- const userName = await getUserName(webId)
144
- const userButton = UI.widgets.button(
145
- document,
146
- 'https://solidproject.org/assets/img/solid-emblem.svg',
147
- userName || 'My Profile',
148
- () => window.open(webId.value, '_blank')
149
- )
150
- document.getElementById('app').appendChild(userButton)
151
- } else {
152
- // User not logged in
153
- const loginButton = UI.widgets.button(
154
- document,
155
- 'https://solidproject.org/assets/img/solid-emblem.svg',
156
- 'Login to Solid',
157
- async () => {
158
- await SolidLogic.authn.checkUser()
159
- location.reload()
160
- }
161
- )
162
- document.getElementById('app').appendChild(loginButton)
163
- }
164
-
165
- // Helper function to fetch user's name from their profile
166
- async function getUserName(webId) {
167
- try {
168
- await SolidLogic.store.fetcher.load(webId.doc())
169
- const name = SolidLogic.store.any(webId, $rdf.sym('http://xmlns.com/foaf/0.1/name'))
170
- return name ? name.value : null
171
- } catch (error) {
172
- console.error('Error fetching user name:', error)
173
- return null
174
- }
175
- }
176
- </script>
177
- </body>
178
- </html>
179
- ```
180
-
181
- ### ESM Bundle with Import Maps
182
-
183
- Use import maps for cleaner module specifiers:
184
-
185
- ```html
186
- <!DOCTYPE html>
187
- <html>
188
- <head>
189
- <title>Solid-UI ESM with Import Maps</title>
190
- </head>
191
- <body>
192
- <div id="app"></div>
193
-
194
- <!-- Define import map for bare specifiers -->
195
- <script type="importmap">
196
- {
197
- "imports": {
198
- "rdflib": "https://esm.sh/rdflib",
199
- "solid-logic": "https://esm.sh/solid-logic",
200
- "solid-ui": "https://esm.sh/solid-ui"
201
- }
202
- }
203
- </script>
204
-
205
- <script type="module">
206
- // Use clean bare specifiers
207
- import * as $rdf from 'rdflib'
208
- import * as SolidLogic from 'solid-logic'
209
- import * as UI from 'solid-ui'
210
-
211
- const app = document.getElementById('app')
212
-
213
- // Create a profile button for logged-in user
214
- async function createUserButton() {
215
- const webId = SolidLogic.authn.currentUser()
216
-
217
- if (!webId) {
218
- const loginBtn = UI.widgets.button(
219
- document,
220
- 'https://solidproject.org/assets/img/solid-emblem.svg',
221
- 'Login',
222
- () => SolidLogic.authn.checkUser()
223
- )
224
- app.appendChild(loginBtn)
225
- return
226
- }
227
-
228
- // Fetch user profile
229
- try {
230
- await SolidLogic.store.fetcher.load(webId.doc())
231
- const name = SolidLogic.store.any(
232
- webId,
233
- $rdf.sym('http://xmlns.com/foaf/0.1/name')
234
- )
235
-
236
- const profileBtn = UI.widgets.button(
237
- document,
238
- 'https://solidproject.org/assets/img/solid-emblem.svg',
239
- name ? name.value : 'My Profile',
240
- () => {
241
- alert(`WebID: ${webId.value}\nName: ${name ? name.value : 'Not set'}`)
242
- }
243
- )
244
- app.appendChild(profileBtn)
245
- } catch (error) {
246
- console.error('Error loading profile:', error)
247
- }
248
- }
249
-
250
- createUserButton()
251
- </script>
252
- </body>
253
- </html>
254
- ```
255
-
256
- ### Development new components
257
-
258
- When developing a component in solid-ui you can test it in isolation using storybook
259
-
260
- ```
261
- npm run build
262
- npm run storybook
263
- ```
264
-
265
- If there is no story for the component yet, add a new one to `./src/stories`.
266
-
267
- When you want to test the component within a solid-pane, you can use the [development mode of solid-panes](https://github.com/solidos/solid-panes#development).
268
-
269
- ## Adding Tests
270
-
271
- One can run extisting tests with:
272
- ```
273
- npm run test
274
- ```
275
- or with coverage
276
- ```
277
- npm run test-coverage
278
- ```
279
- The following document gives guidance on how to add and perform testing in solid-ui.
280
- [Testing in solid-ui](https://github.com/SolidOS/solid-ui/blob/18070a02fa8159a2b83d9503ee400f8e046bf1f6/test/unit/README.md)
281
-
282
- ## GitHub Pages
283
-
284
- * The github pages should contain the storybook and further documentation. In order to make sure it is deployed there is a step in the CI (gh-pages). This depends on the previous `build` step. It MUST contain `build-storybook` otherwise the storybook is not being published.
285
-
286
- ## Further documentation
287
-
288
- - [Some code know-how](https://github.com/SolidOS/solidos/wiki/2.-Solid-UI-know-how)
1
+ # solid-ui
2
+
3
+ [![NPM Package](https://img.shields.io/npm/v/solid-ui.svg)](https://www.npmjs.com/package/solid-ui)
4
+
5
+ User Interface widgets and utilities for Solid (solid-ui)
6
+
7
+ These are HTML5 widgets which connect to a solid store. Building blocks for solid-based apps.
8
+ Vanilla JS. Includes large widgets like chat, table, matrix, form fields, and small widgets.
9
+
10
+ See [Solid-Ui Storybook](http://solidos.github.io/solid-ui/examples/storybook/) for UI widgets.
11
+ See [Solid-UI API](https://solidos.github.io/solid-ui/docs/api/) for UI functions.
12
+ See [Forms introduction](./docs/FormsReadme.md) for UI vocabulary implementation.
13
+
14
+ ## 🎨 Theme System
15
+
16
+ **NEW:** Solid-UI now includes a modern theme system with CSS variables and runtime switching!
17
+
18
+ - **[Live Theme Demo](./docs/theme-demo.html)** - Interactive preview of all 5 themes
19
+ - **[Theme Documentation](./src/themes/README.md)** - Complete usage guide
20
+
21
+ **Features:**
22
+ - 5 built-in themes (Classic, Solid, Wave, Telegram, Signal)
23
+ - Runtime theme switching with localStorage persistence
24
+ - 81+ CSS custom properties for full customization
25
+ - WCAG 2.1 AA accessibility compliance
26
+ - Zero breaking changes - fully backward compatible
27
+
28
+ ## Table of Contents
29
+ - [Getting Started](#getting-started)
30
+ - [Install via npm](#install-via-npm)
31
+ - [Use Directly in Browser](#use-directly-in-a-browser)
32
+ - [UMD Bundle](#umd-bundle-global-variable)
33
+ - [ESM Bundle](#esm-bundle-import-as-module)
34
+ - [Development](#development-new-components)
35
+ - [Testing](#adding-tests)
36
+ - [Further Documentation](#further-documentation)
37
+
38
+
39
+ ## Getting started
40
+
41
+ Contributions of bug fixes and new functionality, documentation, and tests are
42
+ always appreciated.
43
+
44
+ ## Install via npm
45
+
46
+ ```sh
47
+ npm install solid-ui rdflib solid-logic
48
+ ```
49
+
50
+ Then import in your JavaScript/TypeScript code:
51
+
52
+ ```js
53
+ import * as UI from 'solid-ui'
54
+ import * as $rdf from 'rdflib'
55
+ import * as SolidLogic from 'solid-logic'
56
+
57
+ // Example: Create a button
58
+ const button = UI.widgets.button(
59
+ document,
60
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
61
+ 'Click me',
62
+ () => alert('Button clicked!')
63
+ )
64
+ document.body.appendChild(button)
65
+ ```
66
+
67
+ ## Use Directly in a Browser
68
+
69
+ Solid-UI provides both **UMD** and **ESM** bundles for direct browser usage. Both bundles externalize `rdflib` and `solid-logic`, which must be loaded separately.
70
+
71
+ ### Available Files
72
+
73
+ - **UMD (Universal Module Definition)**:
74
+ - Development: `dist/solid-ui.js` (exposes global `window.UI`)
75
+ - Production: `dist/solid-ui.min.js` (minified)
76
+
77
+ - **ESM (ES Modules)**:
78
+ - Development: `dist/solid-ui.esm.js`
79
+ - Production: `dist/solid-ui.esm.min.js` (minified)
80
+
81
+ ### UMD Bundle (Global Variable)
82
+
83
+ Load via `<script>` tags and access through global variables `window.$rdf`, `window.SolidLogic`, and `window.UI`.
84
+
85
+ ```html
86
+ <!DOCTYPE html>
87
+ <html>
88
+ <head>
89
+ <title>Solid-UI UMD Example</title>
90
+ </head>
91
+ <body>
92
+ <div id="app"></div>
93
+
94
+ <!-- Load dependencies first -->
95
+ <script src="https://cdn.jsdelivr.net/npm/rdflib/dist/rdflib.min.js"></script>
96
+ <script src="https://unpkg.com/solid-logic/dist/solid-logic.min.js"></script>
97
+
98
+ <!-- Load solid-ui UMD bundle -->
99
+ <script src="https://unpkg.com/solid-ui/dist/solid-ui.min.js"></script>
100
+
101
+ <script>
102
+ // Access via global variables
103
+ const { store, authn } = window.SolidLogic
104
+ const { widgets } = window.UI
105
+
106
+ // Get the logged-in user
107
+ const webId = authn.currentUser()
108
+
109
+ if (webId) {
110
+ // User is logged in - create button with their WebID
111
+ const userButton = widgets.button(
112
+ document,
113
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
114
+ `Logged in as: ${webId.value}`,
115
+ () => alert(`Your WebID: ${webId.value}`)
116
+ )
117
+ document.getElementById('app').appendChild(userButton)
118
+ } else {
119
+ // User not logged in - create login button
120
+ const loginButton = widgets.button(
121
+ document,
122
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
123
+ 'Login to Solid',
124
+ () => authn.checkUser().then(() => location.reload())
125
+ )
126
+ document.getElementById('app').appendChild(loginButton)
127
+ }
128
+ </script>
129
+ </body>
130
+ </html>
131
+ ```
132
+
133
+ ### ESM Bundle (Import as Module)
134
+
135
+ Use modern JavaScript modules with `import` statements.
136
+
137
+ ```html
138
+ <!DOCTYPE html>
139
+ <html>
140
+ <head>
141
+ <title>Solid-UI ESM Example</title>
142
+ </head>
143
+ <body>
144
+ <div id="app"></div>
145
+
146
+ <script type="module">
147
+ // Import from CDN (esm.sh, unpkg, or jsdelivr)
148
+ import * as $rdf from 'https://esm.sh/rdflib'
149
+ import * as SolidLogic from 'https://esm.sh/solid-logic@4.0.1'
150
+ import * as UI from 'https://esm.sh/solid-ui@3.0.1'
151
+
152
+ // Get the logged-in user
153
+ const webId = SolidLogic.authn.currentUser()
154
+
155
+ if (webId) {
156
+ // User is logged in - create personalized button
157
+ const userName = await getUserName(webId)
158
+ const userButton = UI.widgets.button(
159
+ document,
160
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
161
+ userName || 'My Profile',
162
+ () => window.open(webId.value, '_blank')
163
+ )
164
+ document.getElementById('app').appendChild(userButton)
165
+ } else {
166
+ // User not logged in
167
+ const loginButton = UI.widgets.button(
168
+ document,
169
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
170
+ 'Login to Solid',
171
+ async () => {
172
+ await SolidLogic.authn.checkUser()
173
+ location.reload()
174
+ }
175
+ )
176
+ document.getElementById('app').appendChild(loginButton)
177
+ }
178
+
179
+ // Helper function to fetch user's name from their profile
180
+ async function getUserName(webId) {
181
+ try {
182
+ await SolidLogic.store.fetcher.load(webId.doc())
183
+ const name = SolidLogic.store.any(webId, $rdf.sym('http://xmlns.com/foaf/0.1/name'))
184
+ return name ? name.value : null
185
+ } catch (error) {
186
+ console.error('Error fetching user name:', error)
187
+ return null
188
+ }
189
+ }
190
+ </script>
191
+ </body>
192
+ </html>
193
+ ```
194
+
195
+ ### ESM Bundle with Import Maps
196
+
197
+ Use import maps for cleaner module specifiers:
198
+
199
+ ```html
200
+ <!DOCTYPE html>
201
+ <html>
202
+ <head>
203
+ <title>Solid-UI ESM with Import Maps</title>
204
+ </head>
205
+ <body>
206
+ <div id="app"></div>
207
+
208
+ <!-- Define import map for bare specifiers -->
209
+ <script type="importmap">
210
+ {
211
+ "imports": {
212
+ "rdflib": "https://esm.sh/rdflib",
213
+ "solid-logic": "https://esm.sh/solid-logic@4.0.1",
214
+ "solid-ui": "https://esm.sh/solid-ui@3.0.1"
215
+ }
216
+ }
217
+ </script>
218
+
219
+ <script type="module">
220
+ // Use clean bare specifiers
221
+ import * as $rdf from 'rdflib'
222
+ import * as SolidLogic from 'solid-logic'
223
+ import * as UI from 'solid-ui'
224
+
225
+ const app = document.getElementById('app')
226
+
227
+ // Create a profile button for logged-in user
228
+ async function createUserButton() {
229
+ const webId = SolidLogic.authn.currentUser()
230
+
231
+ if (!webId) {
232
+ const loginBtn = UI.widgets.button(
233
+ document,
234
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
235
+ 'Login',
236
+ () => SolidLogic.authn.checkUser()
237
+ )
238
+ app.appendChild(loginBtn)
239
+ return
240
+ }
241
+
242
+ // Fetch user profile
243
+ try {
244
+ await SolidLogic.store.fetcher.load(webId.doc())
245
+ const name = SolidLogic.store.any(
246
+ webId,
247
+ $rdf.sym('http://xmlns.com/foaf/0.1/name')
248
+ )
249
+
250
+ const profileBtn = UI.widgets.button(
251
+ document,
252
+ 'https://solidproject.org/assets/img/solid-emblem.svg',
253
+ name ? name.value : 'My Profile',
254
+ () => {
255
+ alert(`WebID: ${webId.value}\nName: ${name ? name.value : 'Not set'}`)
256
+ }
257
+ )
258
+ app.appendChild(profileBtn)
259
+ } catch (error) {
260
+ console.error('Error loading profile:', error)
261
+ }
262
+ }
263
+
264
+ createUserButton()
265
+ </script>
266
+ </body>
267
+ </html>
268
+ ```
269
+
270
+ ### Development new components
271
+
272
+ When developing a component in solid-ui you can test it in isolation using storybook
273
+
274
+ ```
275
+ npm run build
276
+ npm run storybook
277
+ ```
278
+
279
+ If there is no story for the component yet, add a new one to `./src/stories`.
280
+
281
+ When you want to test the component within a solid-pane, you can use the [development mode of solid-panes](https://github.com/solidos/solid-panes#development).
282
+
283
+ ## Adding Tests
284
+
285
+ One can run extisting tests with:
286
+ ```
287
+ npm run test
288
+ ```
289
+ or with coverage
290
+ ```
291
+ npm run test-coverage
292
+ ```
293
+ The following document gives guidance on how to add and perform testing in solid-ui.
294
+ [Testing in solid-ui](https://github.com/SolidOS/solid-ui/blob/18070a02fa8159a2b83d9503ee400f8e046bf1f6/test/unit/README.md)
295
+
296
+ ## GitHub Pages
297
+
298
+ * The github pages should contain the storybook and further documentation. In order to make sure it is deployed there is a step in the CI (gh-pages). This depends on the previous `build` step. It MUST contain `build-storybook` otherwise the storybook is not being published.
299
+
300
+ ## Further documentation
301
+
302
+ - [Some code know-how](https://github.com/SolidOS/solidos/wiki/2.-Solid-UI-know-how)
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/header/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAgBlD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,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