@pageboard/html 0.14.18 → 0.14.20
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/elements/accordion.js +1 -1
- package/elements/card.js +1 -1
- package/elements/fieldsets.js +1 -1
- package/elements/form.js +5 -5
- package/elements/grid.js +3 -3
- package/elements/image.js +3 -3
- package/elements/inlines.js +8 -8
- package/elements/input-file.js +2 -2
- package/elements/input-property.js +1 -1
- package/elements/inputs.js +5 -5
- package/elements/layout.js +51 -27
- package/elements/link.js +3 -3
- package/elements/medialist.js +1 -1
- package/elements/menu.js +6 -6
- package/elements/navigation.js +1 -1
- package/elements/page.js +1 -1
- package/elements/pagination.js +1 -1
- package/elements/paragraph.js +2 -2
- package/elements/query-tags.js +1 -1
- package/elements/tab.js +1 -1
- package/elements/table.js +1 -1
- package/elements/template.js +1 -1
- package/package.json +3 -8
- package/ui/card.css +3 -3
- package/ui/components/accordion.css +241 -0
- package/ui/components/accordion.js +613 -0
- package/ui/components/ad.css +275 -0
- package/ui/components/api.js +1167 -0
- package/ui/components/breadcrumb.css +122 -0
- package/ui/components/button.css +3525 -0
- package/ui/components/card.css +939 -0
- package/ui/components/checkbox.css +604 -0
- package/ui/components/checkbox.js +831 -0
- package/ui/components/colorize.js +274 -0
- package/ui/components/comment.css +268 -0
- package/ui/components/container.css +149 -0
- package/ui/components/dimmer.css +224 -0
- package/ui/components/dimmer.js +733 -0
- package/ui/components/divider.css +253 -0
- package/ui/components/dropdown.css +1448 -0
- package/ui/components/dropdown.js +3955 -0
- package/ui/components/embed.css +160 -0
- package/ui/components/embed.js +706 -0
- package/ui/components/feed.css +281 -0
- package/ui/components/flag.css +1035 -0
- package/ui/components/form.css +1011 -0
- package/ui/components/form.js +1706 -0
- package/ui/components/grid.css +1941 -0
- package/ui/components/header.css +719 -0
- package/ui/components/icon.css +4777 -0
- package/ui/components/image.css +310 -0
- package/ui/components/input.css +469 -0
- package/ui/components/item.css +464 -0
- package/ui/components/label.css +1281 -0
- package/ui/components/list.css +943 -0
- package/ui/components/loader.css +339 -0
- package/ui/components/menu.css +1940 -0
- package/ui/components/message.css +468 -0
- package/ui/components/modal.css +617 -0
- package/ui/components/modal.js +1034 -0
- package/ui/components/nag.css +145 -0
- package/ui/components/nag.js +507 -0
- package/ui/components/placeholder.css +229 -0
- package/ui/components/popup.css +640 -0
- package/ui/components/popup.js +1532 -0
- package/ui/components/progress.css +502 -0
- package/ui/components/progress.js +931 -0
- package/ui/components/rail.css +152 -0
- package/ui/components/rating.css +257 -0
- package/ui/components/rating.js +508 -0
- package/ui/components/reset.css +476 -0
- package/ui/components/reveal.css +260 -0
- package/ui/components/search.css +431 -0
- package/ui/components/search.js +1505 -0
- package/ui/components/segment.css +824 -0
- package/ui/components/shape.css +143 -0
- package/ui/components/shape.js +921 -0
- package/ui/components/sidebar.css +537 -0
- package/ui/components/sidebar.js +1033 -0
- package/ui/components/site.css +184 -0
- package/ui/components/site.js +487 -0
- package/ui/components/state.js +708 -0
- package/ui/components/statistic.css +534 -0
- package/ui/components/step.css +566 -0
- package/ui/components/sticky.css +73 -0
- package/ui/components/sticky.js +959 -0
- package/ui/components/tab.css +89 -0
- package/ui/components/tab.js +952 -0
- package/ui/components/table.css +1108 -0
- package/ui/components/transition.css +1792 -0
- package/ui/components/transition.js +1095 -0
- package/ui/components/video.css +121 -0
- package/ui/components/video.js +532 -0
- package/ui/components/visibility.js +1311 -0
- package/ui/components/visit.js +517 -0
- package/ui/image.js +2 -2
- package/ui/item.css +2 -2
- package/ui/layout.css +87 -64
- package/ui/textarea.js +4 -2
- package/ui/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/ui/themes/default/assets/fonts/brand-icons.svg +1008 -0
- package/ui/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/ui/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/ui/themes/default/assets/fonts/icons.eot +0 -0
- package/ui/themes/default/assets/fonts/icons.otf +0 -0
- package/ui/themes/default/assets/fonts/icons.svg +1518 -0
- package/ui/themes/default/assets/fonts/icons.ttf +0 -0
- package/ui/themes/default/assets/fonts/icons.woff +0 -0
- package/ui/themes/default/assets/fonts/icons.woff2 +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.svg +366 -0
- package/ui/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/ui/themes/default/assets/images/flags.png +0 -0
package/elements/accordion.js
CHANGED
package/elements/card.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.cards = {
|
|
|
10
10
|
properties: {
|
|
11
11
|
columns: {
|
|
12
12
|
title: 'Column count',
|
|
13
|
-
description: 'How many cards should exist in a row
|
|
13
|
+
description: 'How many cards should exist in a row\nzero for unknown',
|
|
14
14
|
type: 'integer',
|
|
15
15
|
minimum: 0,
|
|
16
16
|
default: 0
|
package/elements/fieldsets.js
CHANGED
|
@@ -148,6 +148,6 @@ exports.fieldlist_button = {
|
|
|
148
148
|
},
|
|
149
149
|
html: '<button type="button" class="ui [full|alt:fluid:] [icon] [compact] [float|post:%20floated] button" value="[type]">Label</button>',
|
|
150
150
|
stylesheets: [
|
|
151
|
-
'../
|
|
151
|
+
'../ui/components/button.css',
|
|
152
152
|
]
|
|
153
153
|
};
|
package/elements/form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
exports.query_form = {
|
|
2
|
-
priority: 0, // scripts must run before 'query' scripts
|
|
3
2
|
title: 'Form Query',
|
|
3
|
+
priority: 0, // scripts must run before 'query' scripts
|
|
4
4
|
icon: '<i class="write icon"></i>',
|
|
5
5
|
group: 'block form',
|
|
6
6
|
menu: "form",
|
|
@@ -56,7 +56,7 @@ exports.query_form = {
|
|
|
56
56
|
action="[redirection.url][redirection.parameters|as:query]"
|
|
57
57
|
autocomplete="off" class="ui form"></form>`,
|
|
58
58
|
stylesheets: [
|
|
59
|
-
'../
|
|
59
|
+
'../ui/components/form.css',
|
|
60
60
|
'../ui/form.css'
|
|
61
61
|
],
|
|
62
62
|
scripts: [ // for asynchronous submits and automatic triggers
|
|
@@ -66,8 +66,8 @@ exports.query_form = {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
exports.api_form = {
|
|
69
|
-
priority: 0, // scripts must run before 'query' scripts
|
|
70
69
|
title: 'Form Submit',
|
|
70
|
+
priority: 0, // scripts must run before 'query' scripts
|
|
71
71
|
icon: '<i class="write icon"></i>',
|
|
72
72
|
group: 'block form',
|
|
73
73
|
menu: "form",
|
|
@@ -79,7 +79,7 @@ exports.api_form = {
|
|
|
79
79
|
properties: {
|
|
80
80
|
name: {
|
|
81
81
|
title: 'Name',
|
|
82
|
-
description:
|
|
82
|
+
description: "Used by query 'submit' or 'toggle'\nExposes /.api/form/$name",
|
|
83
83
|
type: 'string',
|
|
84
84
|
format: 'id',
|
|
85
85
|
nullable: true
|
|
@@ -186,7 +186,7 @@ exports.api_form = {
|
|
|
186
186
|
notfound="[notfound.url][notfound.parameters|as:query]"
|
|
187
187
|
class="ui form [hidden]"></form>`,
|
|
188
188
|
stylesheets: [
|
|
189
|
-
'../
|
|
189
|
+
'../ui/components/form.css',
|
|
190
190
|
'../ui/form.css'
|
|
191
191
|
],
|
|
192
192
|
scripts: [ // for asynchronous submits and automatic triggers
|
package/elements/grid.js
CHANGED
|
@@ -36,7 +36,7 @@ exports.grid = {
|
|
|
36
36
|
},
|
|
37
37
|
columns: {
|
|
38
38
|
title: 'Columns Count',
|
|
39
|
-
description: 'Between 1 and 16,
|
|
39
|
+
description: 'Between 1 and 16, 0 for auto\nworks well with doubling',
|
|
40
40
|
type: "integer",
|
|
41
41
|
default: 0,
|
|
42
42
|
minimum: 0,
|
|
@@ -45,7 +45,7 @@ exports.grid = {
|
|
|
45
45
|
},
|
|
46
46
|
html: '<div class="ui [responsive] [width|neq:min|alt:equal width] [columns|as:colnums|post: columns] grid [width|switch:contained:container]"></div>',
|
|
47
47
|
stylesheets: [
|
|
48
|
-
'../
|
|
48
|
+
'../ui/components/grid.css'
|
|
49
49
|
]
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -88,7 +88,7 @@ exports.grid_row = {
|
|
|
88
88
|
},
|
|
89
89
|
columns: {
|
|
90
90
|
title: 'Columns Count',
|
|
91
|
-
description: 'Between 1 and 16,
|
|
91
|
+
description: 'Between 1 and 16, 0 for auto\nworks well with doubling',
|
|
92
92
|
type: "integer",
|
|
93
93
|
default: 0,
|
|
94
94
|
minimum: 0,
|
package/elements/image.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.image = {
|
|
|
6
6
|
properties: {
|
|
7
7
|
alt: {
|
|
8
8
|
title: 'Alternative text',
|
|
9
|
-
description: 'Short contextual description
|
|
9
|
+
description: 'Short contextual description.\nLeave empty when used in links.',
|
|
10
10
|
type: "string"
|
|
11
11
|
},
|
|
12
12
|
url: {
|
|
@@ -145,8 +145,8 @@ exports.image = {
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
exports.inlineImage = {
|
|
148
|
-
priority: 12,
|
|
149
148
|
title: "Icon",
|
|
149
|
+
priority: 12,
|
|
150
150
|
icon: '<i class="icon image"></i>',
|
|
151
151
|
properties: {
|
|
152
152
|
url: {
|
|
@@ -285,7 +285,7 @@ exports.inlineImage = {
|
|
|
285
285
|
[display.floated|pre:floated ]
|
|
286
286
|
[display.align|post: aligned]" />`,
|
|
287
287
|
stylesheets: [
|
|
288
|
-
'../
|
|
288
|
+
'../ui/components/image.css'
|
|
289
289
|
],
|
|
290
290
|
polyfills: [
|
|
291
291
|
'IntersectionObserver'
|
package/elements/inlines.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
exports.strong = {
|
|
2
|
-
priority: 100,
|
|
3
2
|
title: "Strong",
|
|
3
|
+
priority: 100,
|
|
4
4
|
contents: "text*",
|
|
5
5
|
inplace: true,
|
|
6
6
|
inline: true,
|
|
@@ -11,8 +11,8 @@ exports.strong = {
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
exports.em = {
|
|
14
|
-
priority: 101,
|
|
15
14
|
title: "Emphasize",
|
|
15
|
+
priority: 101,
|
|
16
16
|
contents: "text*",
|
|
17
17
|
inline: true,
|
|
18
18
|
inplace: true,
|
|
@@ -23,8 +23,8 @@ exports.em = {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
exports.i = {
|
|
26
|
-
priority: 102,
|
|
27
26
|
title: "Italic",
|
|
27
|
+
priority: 102,
|
|
28
28
|
contents: "text*",
|
|
29
29
|
inline: true,
|
|
30
30
|
inplace: true,
|
|
@@ -35,8 +35,8 @@ exports.i = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
exports.light = {
|
|
38
|
-
priority: 103,
|
|
39
38
|
title: "Light",
|
|
39
|
+
priority: 103,
|
|
40
40
|
icon: '<i class="icon" style="font-weight:lighter">L</i>',
|
|
41
41
|
contents: "text*",
|
|
42
42
|
inline: true,
|
|
@@ -46,8 +46,8 @@ exports.light = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
exports.sup = {
|
|
49
|
-
priority: 104,
|
|
50
49
|
title: "Sup",
|
|
50
|
+
priority: 104,
|
|
51
51
|
icon: '<i class="superscript icon"></i>',
|
|
52
52
|
contents: "text*",
|
|
53
53
|
inline: true,
|
|
@@ -58,8 +58,8 @@ exports.sup = {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
exports.sub = {
|
|
61
|
-
priority: 105,
|
|
62
61
|
title: "Inf",
|
|
62
|
+
priority: 105,
|
|
63
63
|
icon: '<i class="subscript icon"></i>',
|
|
64
64
|
contents: "text*",
|
|
65
65
|
inline: true,
|
|
@@ -70,8 +70,8 @@ exports.sub = {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
exports.strike = {
|
|
73
|
-
priority: 106,
|
|
74
73
|
title: "Strike",
|
|
74
|
+
priority: 106,
|
|
75
75
|
icon: '<i class="strikethrough icon"></i>',
|
|
76
76
|
contents: "text*",
|
|
77
77
|
inline: true,
|
|
@@ -82,8 +82,8 @@ exports.strike = {
|
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
exports.style = {
|
|
85
|
-
priority: 99,
|
|
86
85
|
title: "Style",
|
|
86
|
+
priority: 99,
|
|
87
87
|
icon: '<i class="paint brush icon"></i>',
|
|
88
88
|
contents: "text*",
|
|
89
89
|
inline: true,
|
package/elements/input-file.js
CHANGED
|
@@ -56,8 +56,8 @@ exports.input_file = {
|
|
|
56
56
|
disabled="[disabled]" accept="[limits.types|join:,]" name="[name]" />
|
|
57
57
|
</div>`,
|
|
58
58
|
stylesheets: [
|
|
59
|
-
'../
|
|
60
|
-
'../
|
|
59
|
+
'../ui/components/input.css',
|
|
60
|
+
'../ui/components/label.css',
|
|
61
61
|
'../ui/input-file.css'
|
|
62
62
|
],
|
|
63
63
|
scripts: [
|
package/elements/inputs.js
CHANGED
|
@@ -75,7 +75,7 @@ exports.input_button = {
|
|
|
75
75
|
},
|
|
76
76
|
html: '<button type="[type]" disabled="[disabled]" class="ui [full|alt:fluid:] [icon] [compact] [float|post:%20floated] button" name="[name]" value="[value]">[type|schema:title]</button>',
|
|
77
77
|
stylesheets: [
|
|
78
|
-
'../
|
|
78
|
+
'../ui/components/button.css',
|
|
79
79
|
'../ui/button.css'
|
|
80
80
|
]
|
|
81
81
|
};
|
|
@@ -367,7 +367,7 @@ exports.input_checkbox = {
|
|
|
367
367
|
</div>
|
|
368
368
|
</div>`,
|
|
369
369
|
stylesheets: [
|
|
370
|
-
'../
|
|
370
|
+
'../ui/components/checkbox.css'
|
|
371
371
|
]
|
|
372
372
|
};
|
|
373
373
|
|
|
@@ -425,7 +425,7 @@ exports.input_radio = {
|
|
|
425
425
|
</div>
|
|
426
426
|
</div>`,
|
|
427
427
|
stylesheets: [
|
|
428
|
-
'../
|
|
428
|
+
'../ui/components/checkbox.css',
|
|
429
429
|
'../ui/input_radio.css'
|
|
430
430
|
]
|
|
431
431
|
};
|
|
@@ -488,8 +488,8 @@ exports.input_select = {
|
|
|
488
488
|
</element-select>
|
|
489
489
|
</div>`,
|
|
490
490
|
stylesheets: [
|
|
491
|
-
'../
|
|
492
|
-
'../
|
|
491
|
+
'../ui/components/dropdown.css',
|
|
492
|
+
'../ui/components/label.css',
|
|
493
493
|
'../ui/select.css'
|
|
494
494
|
],
|
|
495
495
|
scripts: [
|
package/elements/layout.js
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
exports.units = {
|
|
2
|
+
properties: {
|
|
3
|
+
inline: {
|
|
4
|
+
title: 'Inline units',
|
|
5
|
+
anyOf: [
|
|
6
|
+
{ const: 'em' },
|
|
7
|
+
{ const: 'ch' },
|
|
8
|
+
{ const: 'vw' },
|
|
9
|
+
{ const: 'rem' },
|
|
10
|
+
{ const: 'px' }
|
|
11
|
+
],
|
|
12
|
+
default: 'em',
|
|
13
|
+
$helper: 'units'
|
|
14
|
+
},
|
|
15
|
+
block: {
|
|
16
|
+
title: 'Block units',
|
|
17
|
+
anyOf: [
|
|
18
|
+
{ const: 'rem' },
|
|
19
|
+
{ const: 'ex' },
|
|
20
|
+
{ const: 'vh' },
|
|
21
|
+
{ const: '%' },
|
|
22
|
+
{ const: 'em' },
|
|
23
|
+
{ const: 'px' }
|
|
24
|
+
],
|
|
25
|
+
default: 'rem',
|
|
26
|
+
$helper: 'units'
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
1
31
|
exports.layout = {
|
|
2
32
|
title: "Layout",
|
|
3
33
|
icon: '<i class="icon move"></i>',
|
|
@@ -91,24 +121,7 @@ exports.layout = {
|
|
|
91
121
|
default: 0
|
|
92
122
|
},
|
|
93
123
|
heightUnits: {
|
|
94
|
-
|
|
95
|
-
default: 'em',
|
|
96
|
-
anyOf: [{
|
|
97
|
-
title: 'em',
|
|
98
|
-
const: 'em'
|
|
99
|
-
}, {
|
|
100
|
-
title: 'rem',
|
|
101
|
-
const: 'rem'
|
|
102
|
-
}, {
|
|
103
|
-
title: 'px',
|
|
104
|
-
const: 'px'
|
|
105
|
-
}, {
|
|
106
|
-
title: 'vh',
|
|
107
|
-
const: 'vh'
|
|
108
|
-
}, {
|
|
109
|
-
title: '%',
|
|
110
|
-
const: '%'
|
|
111
|
-
}]
|
|
124
|
+
$ref: "#/definitions/units/properties/data/properties/block"
|
|
112
125
|
},
|
|
113
126
|
margins: {
|
|
114
127
|
title: 'Margins',
|
|
@@ -117,25 +130,23 @@ exports.layout = {
|
|
|
117
130
|
properties: {
|
|
118
131
|
inline: {
|
|
119
132
|
title: 'Inline',
|
|
120
|
-
description: 'Units: em',
|
|
121
133
|
type: 'number',
|
|
122
134
|
default: 0,
|
|
123
135
|
multipleOf: 0.01,
|
|
124
136
|
nullable: true
|
|
125
137
|
},
|
|
126
138
|
inlineUnits: {
|
|
127
|
-
|
|
139
|
+
$ref: "#/definitions/units/properties/data/properties/inline"
|
|
128
140
|
},
|
|
129
141
|
block: {
|
|
130
142
|
title: 'Block',
|
|
131
|
-
description: 'Units: rem',
|
|
132
143
|
type: 'number',
|
|
133
144
|
default: 0,
|
|
134
145
|
multipleOf: 0.01,
|
|
135
146
|
nullable: true
|
|
136
147
|
},
|
|
137
148
|
blockUnits: {
|
|
138
|
-
|
|
149
|
+
$ref: "#/definitions/units/properties/data/properties/block"
|
|
139
150
|
}
|
|
140
151
|
}
|
|
141
152
|
},
|
|
@@ -146,7 +157,6 @@ exports.layout = {
|
|
|
146
157
|
properties: {
|
|
147
158
|
inline: {
|
|
148
159
|
title: 'Inline',
|
|
149
|
-
description: 'Units: em',
|
|
150
160
|
type: 'number',
|
|
151
161
|
default: 0,
|
|
152
162
|
minimum: 0,
|
|
@@ -154,11 +164,10 @@ exports.layout = {
|
|
|
154
164
|
nullable: true
|
|
155
165
|
},
|
|
156
166
|
inlineUnits: {
|
|
157
|
-
|
|
167
|
+
$ref: "#/definitions/units/properties/data/properties/inline"
|
|
158
168
|
},
|
|
159
169
|
block: {
|
|
160
170
|
title: 'Block',
|
|
161
|
-
description: 'Units: rem',
|
|
162
171
|
type: 'number',
|
|
163
172
|
default: 0,
|
|
164
173
|
minimum: 0,
|
|
@@ -166,7 +175,21 @@ exports.layout = {
|
|
|
166
175
|
nullable: true
|
|
167
176
|
},
|
|
168
177
|
blockUnits: {
|
|
169
|
-
|
|
178
|
+
$ref: "#/definitions/units/properties/data/properties/block"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
overlay: {
|
|
183
|
+
title: 'Overlay',
|
|
184
|
+
nullable: true,
|
|
185
|
+
properties: {
|
|
186
|
+
inline: {
|
|
187
|
+
title: 'Inline',
|
|
188
|
+
anyOf: [{ const: 'start', title: 'Start' }, { const: 'end', title: 'End' }]
|
|
189
|
+
},
|
|
190
|
+
block: {
|
|
191
|
+
title: 'Block',
|
|
192
|
+
anyOf: [{ const: 'start', title: 'Start' }, { const: 'end', title: 'End' }]
|
|
170
193
|
}
|
|
171
194
|
}
|
|
172
195
|
},
|
|
@@ -337,6 +360,7 @@ exports.layout = {
|
|
|
337
360
|
contents: "block+",
|
|
338
361
|
group: 'block',
|
|
339
362
|
html: `<div class="layout
|
|
363
|
+
[overlay.block|pre:overlay block-] [overlay.inline|pre:overlay inline-]
|
|
340
364
|
[width|switch:full:fullwidth:contained:ui container]
|
|
341
365
|
[horizontal]
|
|
342
366
|
[vertical]
|
|
@@ -358,7 +382,7 @@ exports.layout = {
|
|
|
358
382
|
style-background-position="[background.position]"
|
|
359
383
|
></div>`,
|
|
360
384
|
stylesheets: [
|
|
361
|
-
'../
|
|
385
|
+
'../ui/components/container.css',
|
|
362
386
|
'../ui/layout.css'
|
|
363
387
|
],
|
|
364
388
|
scripts: [
|
package/elements/link.js
CHANGED
|
@@ -39,13 +39,13 @@ exports.link = {
|
|
|
39
39
|
tag: 'a:not([block-type]),a[block-type="link"]',
|
|
40
40
|
html: '<a href="[url]" hreflang="[lang]" class="[button|alt:ui button]"></a>',
|
|
41
41
|
stylesheets: [
|
|
42
|
-
'../
|
|
42
|
+
'../ui/components/button.css'
|
|
43
43
|
]
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
exports.link_button = {
|
|
47
|
-
priority: 11,
|
|
48
47
|
title: "Link Btn",
|
|
48
|
+
priority: 11,
|
|
49
49
|
icon: '<i class="icons"><i class="linkify icon"></i><i class="corner hand pointer icon"></i></i>',
|
|
50
50
|
properties: {
|
|
51
51
|
url: {
|
|
@@ -106,6 +106,6 @@ exports.link_button = {
|
|
|
106
106
|
tag: 'a.ui.button',
|
|
107
107
|
html: '<a href="[url]" hreflang="[lang]" class="ui [full|alt:fluid:] [icon] [compact] [float|post:%20floated] button"></a>',
|
|
108
108
|
stylesheets: [
|
|
109
|
-
'../
|
|
109
|
+
'../ui/components/button.css'
|
|
110
110
|
]
|
|
111
111
|
};
|
package/elements/medialist.js
CHANGED
package/elements/menu.js
CHANGED
|
@@ -24,7 +24,7 @@ exports.menu = {
|
|
|
24
24
|
group: "block",
|
|
25
25
|
html: `<nav class="ui [direction] menu"></nav>`,
|
|
26
26
|
stylesheets: [
|
|
27
|
-
'../
|
|
27
|
+
'../ui/components/menu.css'
|
|
28
28
|
]
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -79,8 +79,8 @@ exports.menu_group = {
|
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
exports.menu_item_link = {
|
|
82
|
-
priority: 10,
|
|
83
82
|
title: "Inline",
|
|
83
|
+
priority: 10,
|
|
84
84
|
icon: '<b class="icon">Link</b>',
|
|
85
85
|
menu: "link",
|
|
86
86
|
context: "menu//",
|
|
@@ -133,8 +133,8 @@ exports.menu_item_block = { ...exports.menu_item_link,
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
exports.menu_item_text = {
|
|
136
|
-
priority: 11,
|
|
137
136
|
title: 'Text',
|
|
137
|
+
priority: 11,
|
|
138
138
|
icon: '<b class="icon">Item</b>',
|
|
139
139
|
menu: "link",
|
|
140
140
|
context: "menu//",
|
|
@@ -154,8 +154,8 @@ exports.menu_item_text = {
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
exports.menu_item_dropdown = {
|
|
157
|
-
priority: 11,
|
|
158
157
|
title: "Dropdown",
|
|
158
|
+
priority: 11,
|
|
159
159
|
icon: '<b class="icon">Drop</b>',
|
|
160
160
|
menu: "link",
|
|
161
161
|
context: "menu//",
|
|
@@ -192,13 +192,13 @@ exports.menu_item_dropdown = {
|
|
|
192
192
|
<div class="menu" block-content="items"></div>
|
|
193
193
|
</div>`,
|
|
194
194
|
stylesheets: [
|
|
195
|
-
'../
|
|
195
|
+
'../ui/components/dropdown.css'
|
|
196
196
|
]
|
|
197
197
|
};
|
|
198
198
|
|
|
199
199
|
exports.menu_item_popup = {
|
|
200
|
-
priority: 11,
|
|
201
200
|
title: "Popup",
|
|
201
|
+
priority: 11,
|
|
202
202
|
icon: '<b class="icon">Pop</b>',
|
|
203
203
|
menu: "link",
|
|
204
204
|
context: "menu//",
|
package/elements/navigation.js
CHANGED
package/elements/page.js
CHANGED
package/elements/pagination.js
CHANGED
package/elements/paragraph.js
CHANGED
|
@@ -95,7 +95,7 @@ exports.segment = {
|
|
|
95
95
|
icon: '<b class="icon">Seg</b>',
|
|
96
96
|
html: '<div class="ui [size] [raised] [disabled] [inverted] [padded] [compact] [circular] [basic] [attached|switch:both: |post: attached] [align|post: aligned] segment"></div>',
|
|
97
97
|
stylesheets: [
|
|
98
|
-
'../
|
|
98
|
+
'../ui/components/segment.css'
|
|
99
99
|
]
|
|
100
100
|
};
|
|
101
101
|
|
|
@@ -128,7 +128,7 @@ exports.divider = {
|
|
|
128
128
|
},
|
|
129
129
|
html: '<div class="ui divider [ruler|or:hidden] [large|alt:section] [clearing] [fitted]"></div>',
|
|
130
130
|
stylesheets: [
|
|
131
|
-
'../
|
|
131
|
+
'../ui/components/divider.css'
|
|
132
132
|
]
|
|
133
133
|
};
|
|
134
134
|
|
package/elements/query-tags.js
CHANGED
package/elements/tab.js
CHANGED
package/elements/table.js
CHANGED
package/elements/template.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pageboard/html",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -13,17 +13,12 @@
|
|
|
13
13
|
"url": "https://github.com/pageboard/client/issues"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/pageboard/client#readme",
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"semantic-ui-css": "^2.4.1"
|
|
18
|
-
},
|
|
16
|
+
"dependencies": {},
|
|
19
17
|
"devDependencies": {
|
|
20
18
|
"nouislider": "^15.7.1",
|
|
21
19
|
"postinstall": "^0.8.0"
|
|
22
20
|
},
|
|
23
|
-
"postinstall": {
|
|
24
|
-
"semantic-ui-css/components": "link lib/components",
|
|
25
|
-
"semantic-ui-css/themes": "link lib/themes"
|
|
26
|
-
},
|
|
21
|
+
"postinstall": {},
|
|
27
22
|
"prepare": {
|
|
28
23
|
"nouislider/dist/nouislider.js": "copy lib/",
|
|
29
24
|
"nouislider/dist/nouislider.css": "copy lib/"
|
package/ui/card.css
CHANGED
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
--------------------*/
|
|
510
510
|
|
|
511
511
|
|
|
512
|
-
@media
|
|
512
|
+
@media (width <= 767px) {
|
|
513
513
|
/* Mobile Only */
|
|
514
514
|
.ui.two.doubling.cards {
|
|
515
515
|
margin-left: 0em;
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
-
@media
|
|
597
|
+
@media (width >= 768px) and (width <= 991px) {
|
|
598
598
|
/* Tablet Only */
|
|
599
599
|
.ui.two.doubling.cards {
|
|
600
600
|
margin-left: 0em;
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
Stackable
|
|
675
675
|
--------------------*/
|
|
676
676
|
|
|
677
|
-
@media
|
|
677
|
+
@media (width <= 767px) {
|
|
678
678
|
.ui.stackable.cards {
|
|
679
679
|
display: block !important;
|
|
680
680
|
}
|