ctx-core 5.35.2 → 5.36.0
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/all/html_attr_val/index.browser.d.ts +1 -0
- package/all/html_attr_val/index.browser.js +1 -0
- package/all/html_attr_val/index.d.ts +1 -0
- package/all/html_attr_val/index.js +14 -0
- package/all/html_attr_val/index.test.ts +15 -0
- package/all/index.browser.js +1 -0
- package/all/index.d.ts +1 -0
- package/all/index.js +1 -0
- package/html/index.browser.js +3 -0
- package/html/index.d.ts +3 -0
- package/html/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function html_attr_val_(...raw_val_a:unknown[]):string
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { test } from 'uvu'
|
|
2
|
+
import { equal } from 'uvu/assert'
|
|
3
|
+
import { html_attr_val_ as browser_html_attr_val_ } from './index.browser.js'
|
|
4
|
+
import { html_attr_val_ } from './index.js'
|
|
5
|
+
test('html_attr_val_', ()=>{
|
|
6
|
+
equal(
|
|
7
|
+
html_attr_val_('foo', null, ['bar', undefined, 'baz']),
|
|
8
|
+
'foo bar baz')
|
|
9
|
+
})
|
|
10
|
+
test('html_attr_val_|browser', ()=>{
|
|
11
|
+
equal(
|
|
12
|
+
browser_html_attr_val_('foo', null, ['bar', undefined, 'baz']),
|
|
13
|
+
'foo bar baz')
|
|
14
|
+
})
|
|
15
|
+
test.run()
|
package/all/index.browser.js
CHANGED
|
@@ -186,6 +186,7 @@ export * from './hour_seconds/index.browser.js'
|
|
|
186
186
|
export * from './hour_seconds/index.browser.js'
|
|
187
187
|
export * from './html/index.browser.js'
|
|
188
188
|
export * from './html_attr/index.browser.js'
|
|
189
|
+
export * from './html_attr_val/index.browser.js'
|
|
189
190
|
export * from './html_attrs/index.browser.js'
|
|
190
191
|
export * from './html_class/index.browser.js'
|
|
191
192
|
export * from './html_dataset__data_attrs/index.browser.js'
|
package/all/index.d.ts
CHANGED
|
@@ -186,6 +186,7 @@ export * from './hour_seconds/index.js'
|
|
|
186
186
|
export * from './hour_seconds/index.js'
|
|
187
187
|
export * from './html/index.js'
|
|
188
188
|
export * from './html_attr/index.js'
|
|
189
|
+
export * from './html_attr_val/index.js'
|
|
189
190
|
export * from './html_attrs/index.js'
|
|
190
191
|
export * from './html_class/index.js'
|
|
191
192
|
export * from './html_dataset__data_attrs/index.js'
|
package/all/index.js
CHANGED
|
@@ -186,6 +186,7 @@ export * from './hour_seconds/index.js'
|
|
|
186
186
|
export * from './hour_seconds/index.js'
|
|
187
187
|
export * from './html/index.js'
|
|
188
188
|
export * from './html_attr/index.js'
|
|
189
|
+
export * from './html_attr_val/index.js'
|
|
189
190
|
export * from './html_attrs/index.js'
|
|
190
191
|
export * from './html_class/index.js'
|
|
191
192
|
export * from './html_dataset__data_attrs/index.js'
|
package/html/index.browser.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { html_ } from './/index.browser.js'
|
|
2
2
|
import { html_attr_, raw__html_attr_ } from '../all/html_attr/index.browser.js'
|
|
3
|
+
import { html_attr_val_ } from '../all/html_attr_val/index.browser.js'
|
|
3
4
|
import { html_attrs_ } from '../all/html_attrs/index.browser.js'
|
|
4
5
|
import { html_class_, html_class__ } from '../all/html_class/index.browser.js'
|
|
5
6
|
import { html_dataset__data_attrs_ } from '../all/html_dataset__data_attrs/index.browser.js'
|
|
@@ -9,6 +10,7 @@ import { html_styles_o_ } from '../all/html_styles_o/index.browser.js'
|
|
|
9
10
|
import { js_html_ } from '../all/js_html/index.browser.js'
|
|
10
11
|
import { links_html_ } from '../all/links_html/index.browser.js'
|
|
11
12
|
export * from '../all/html_attr/index.browser.js'
|
|
13
|
+
export * from '../all/html_attr_val/index.browser.js'
|
|
12
14
|
export * from '../all/html_attrs/index.browser.js'
|
|
13
15
|
export * from '../all/html_class/index.browser.js'
|
|
14
16
|
export * from '../all/html_dataset__data_attrs/index.browser.js'
|
|
@@ -20,6 +22,7 @@ export * from '../all/html_style__assign/index.browser.js'
|
|
|
20
22
|
export * from '../all/html_styles_o/index.browser.js'
|
|
21
23
|
export { html_ as _html, html_ as html__escape }
|
|
22
24
|
export { html_attr_ as attr_ }
|
|
25
|
+
export { html_attr_val_ as attr_val_ }
|
|
23
26
|
export { raw__html_attr_ as raw__attr_ }
|
|
24
27
|
export { html_attrs_ as attrs_, html_attrs_ as _attrs }
|
|
25
28
|
export { html_class_ as class_, html_class_ as _class, }
|
package/html/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { html_ } from './/index.js'
|
|
2
2
|
import { html_attr_, raw__html_attr_ } from '../all/html_attr/index.js'
|
|
3
|
+
import { html_attr_val_ } from '../all/html_attr_val/index.js'
|
|
3
4
|
import { html_attrs_ } from '../all/html_attrs/index.js'
|
|
4
5
|
import { html_class_, html_class__ } from '../all/html_class/index.js'
|
|
5
6
|
import { html_dataset__data_attrs_ } from '../all/html_dataset__data_attrs/index.js'
|
|
@@ -9,6 +10,7 @@ import { html_styles_o_ } from '../all/html_styles_o/index.js'
|
|
|
9
10
|
import { js_html_ } from '../all/js_html/index.js'
|
|
10
11
|
import { links_html_ } from '../all/links_html/index.js'
|
|
11
12
|
export * from '../all/html_attr/index.js'
|
|
13
|
+
export * from '../all/html_attr_val/index.js'
|
|
12
14
|
export * from '../all/html_attrs/index.js'
|
|
13
15
|
export * from '../all/html_class/index.js'
|
|
14
16
|
export * from '../all/html_dataset__data_attrs/index.js'
|
|
@@ -20,6 +22,7 @@ export * from '../all/html_style__assign/index.js'
|
|
|
20
22
|
export * from '../all/html_styles_o/index.js'
|
|
21
23
|
export { html_ as _html, html_ as html__escape }
|
|
22
24
|
export { html_attr_ as attr_ }
|
|
25
|
+
export { html_attr_val_ as attr_val_ }
|
|
23
26
|
export { raw__html_attr_ as raw__attr_ }
|
|
24
27
|
export { html_attrs_ as attrs_, html_attrs_ as _attrs }
|
|
25
28
|
export { html_class_ as class_, html_class_ as _class, }
|
package/html/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { html_ } from './/index.js'
|
|
2
2
|
import { html_attr_, raw__html_attr_ } from '../all/html_attr/index.js'
|
|
3
|
+
import { html_attr_val_ } from '../all/html_attr_val/index.js'
|
|
3
4
|
import { html_attrs_ } from '../all/html_attrs/index.js'
|
|
4
5
|
import { html_class_, html_class__ } from '../all/html_class/index.js'
|
|
5
6
|
import { html_dataset__data_attrs_ } from '../all/html_dataset__data_attrs/index.js'
|
|
@@ -9,6 +10,7 @@ import { html_styles_o_ } from '../all/html_styles_o/index.js'
|
|
|
9
10
|
import { js_html_ } from '../all/js_html/index.js'
|
|
10
11
|
import { links_html_ } from '../all/links_html/index.js'
|
|
11
12
|
export * from '../all/html_attr/index.js'
|
|
13
|
+
export * from '../all/html_attr_val/index.js'
|
|
12
14
|
export * from '../all/html_attrs/index.js'
|
|
13
15
|
export * from '../all/html_class/index.js'
|
|
14
16
|
export * from '../all/html_dataset__data_attrs/index.js'
|
|
@@ -20,6 +22,7 @@ export * from '../all/html_style__assign/index.js'
|
|
|
20
22
|
export * from '../all/html_styles_o/index.js'
|
|
21
23
|
export { html_ as _html, html_ as html__escape }
|
|
22
24
|
export { html_attr_ as attr_ }
|
|
25
|
+
export { html_attr_val_ as attr_val_ }
|
|
23
26
|
export { raw__html_attr_ as raw__attr_ }
|
|
24
27
|
export { html_attrs_ as attrs_, html_attrs_ as _attrs }
|
|
25
28
|
export { html_class_ as class_, html_class_ as _class, }
|