Skip to content

Commit 9cb0fe8

Browse files
committed
merge main
2 parents ab70e8f + aafe9c4 commit 9cb0fe8

66 files changed

Lines changed: 9967 additions & 11592 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
8080
- name: Disable pre- and post-publish actions
8181
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
82-
- uses: JS-DevTools/npm-publish@v4.1.0
82+
- uses: JS-DevTools/npm-publish@v4.1.4
8383
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
8484
with:
8585
token: ${{ secrets.NPM_TOKEN }}
@@ -98,7 +98,7 @@ jobs:
9898
node-version: 20.x
9999
- name: Disable pre- and post-publish actions
100100
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
101-
- uses: JS-DevTools/npm-publish@v4.1.0
101+
- uses: JS-DevTools/npm-publish@v4.1.4
102102
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
103103
with:
104104
token: ${{ secrets.NPM_TOKEN }}

.storybook/main.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
export default {
2-
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
2+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
33

44
addons: [
55
'@storybook/addon-links',
6-
'@storybook/addon-actions',
7-
'@storybook/addon-essentials'
6+
'@storybook/addon-essentials',
7+
'@storybook/addon-mdx-gfm',
8+
'@storybook/addon-webpack5-compiler-swc'
89
],
910

1011
framework: {

.storybook/preview.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ if (typeof window !== 'undefined') {
88
window.SolidLogic = solidLogic
99
}
1010

11-
export const parameters = {
12-
actions: { argTypesRegex: '^on[A-Z].*' },
13-
}
11+
export const parameters = {}

docs/form-examples/demo.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,25 @@ <h1>Form fields</h1>
246246
</td>
247247
<td class="output"></td>
248248
</tr>
249+
250+
<tr class="form-demo">
251+
<td class="input">
252+
<pre>
253+
# A field for entering a URI as a named node
254+
# (stores as RDF resource, not string literal)
255+
256+
ex:form
257+
a ui:NamedNodeURIField ;
258+
ui:label "Homepage" ;
259+
ui:property foaf:homepage .
260+
</pre
261+
>
262+
</td>
263+
<td class="target">
264+
<pre>ex:this foaf:homepage &lt;https://example.org/alice&gt; .</pre>
265+
</td>
266+
<td class="output"></td>
267+
</tr>
249268
</tbody>
250269
</table>
251270
</div>

docs/forms-intro.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,21 @@ <h3>Single Value fields - Text</h3>
396396

397397
<h4 class="class">SingleLineTextField</h4>
398398

399+
<h4 class="class">NamedNodeURIField</h4>
400+
401+
<p>
402+
A NamedNodeURIField is like a SingleLineTextField, except that the
403+
value it generates is not a literal string but an RDF named node with
404+
the given URI. Use this when users need to provide explicit URIs to things,
405+
storing them as proper RDF resources rather than text values.
406+
</p>
407+
408+
<p>
409+
Unlike PhoneField or EmailField which add URI scheme prefixes (<tt>tel:</tt>
410+
or <tt>mailto:</tt>), the NamedNodeURIField stores the URI exactly as
411+
entered by the user.
412+
</p>
413+
399414
<h4 class="class">MultiLineTextField</h4>
400415

401416
<h3>Complex fields</h3>

0 commit comments

Comments
 (0)