@e280/shiny 0.1.0-1 → 0.1.0-11
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 +113 -3
- package/package.json +3 -3
- package/s/components/button/component.ts +30 -0
- package/s/components/button/style.css.ts +64 -0
- package/s/{ui → components}/copy/component.ts +11 -6
- package/s/{ui → components}/copy/style.css.ts +6 -6
- package/s/components/drawer/component.ts +92 -0
- package/s/components/drawer/control.ts +31 -0
- package/s/components/drawer/style.css.ts +120 -0
- package/s/{ui → components}/example/component.ts +7 -5
- package/s/{ui → components}/example/style.css.ts +2 -2
- package/s/components/foundation.css.ts +15 -0
- package/s/components/framework.ts +10 -0
- package/s/components/raw-components.ts +15 -0
- package/s/components/tabs/component.ts +70 -0
- package/s/components/tabs/control.ts +31 -0
- package/s/components/tabs/style.css.ts +43 -0
- package/s/demo/aura-views.ts +6 -0
- package/s/demo/demo.bundle.ts +287 -14
- package/s/demo/demo.css +3 -1
- package/s/demo/utils/lipsum.ts +19 -0
- package/s/demo/views/demonstration/style.css.ts +18 -2
- package/s/demo/views/demonstration/view.ts +24 -16
- package/s/icons/tabler/menu-2.svg.ts +4 -0
- package/s/icons/tabler/x.svg.ts +4 -0
- package/s/index.html.ts +2 -2
- package/s/index.ts +16 -4
- package/s/install/aura.bundle.ts +9 -0
- package/s/install/plain.bundle.ts +9 -0
- package/s/shiny.ts +15 -0
- package/s/themes/aura.css.ts +86 -0
- package/s/themes/index.barrel.ts +2 -1
- package/s/themes/index.ts +1 -0
- package/s/themes/infra/css-vars.ts +41 -0
- package/s/themes/plain.css.ts +11 -0
- package/s/utils/states.ts +15 -0
- package/x/components/button/component.d.ts +5 -0
- package/x/components/button/component.js +25 -0
- package/x/components/button/component.js.map +1 -0
- package/x/components/button/style.css.js +63 -0
- package/x/components/button/style.css.js.map +1 -0
- package/x/{ui → components}/copy/component.d.ts +8 -4
- package/x/{ui → components}/copy/component.js +10 -5
- package/x/components/copy/component.js.map +1 -0
- package/x/{ui → components}/copy/style.css.js +6 -6
- package/x/components/copy/style.css.js.map +1 -0
- package/x/components/drawer/component.d.ts +387 -0
- package/x/components/drawer/component.js +76 -0
- package/x/components/drawer/component.js.map +1 -0
- package/x/components/drawer/control.d.ts +9 -0
- package/x/components/drawer/control.js +24 -0
- package/x/components/drawer/control.js.map +1 -0
- package/x/components/drawer/style.css.d.ts +2 -0
- package/x/components/drawer/style.css.js +119 -0
- package/x/components/drawer/style.css.js.map +1 -0
- package/x/{ui → components}/example/component.d.ts +3 -3
- package/x/{ui → components}/example/component.js +6 -4
- package/x/components/example/component.js.map +1 -0
- package/x/components/example/style.css.d.ts +2 -0
- package/x/components/example/style.css.js +10 -0
- package/x/components/example/style.css.js.map +1 -0
- package/x/components/foundation.css.d.ts +1 -0
- package/x/components/foundation.css.js +14 -0
- package/x/components/foundation.css.js.map +1 -0
- package/x/components/framework.d.ts +8 -0
- package/x/components/framework.js +5 -0
- package/x/components/framework.js.map +1 -0
- package/x/components/raw-components.d.ts +12 -0
- package/x/components/raw-components.js +13 -0
- package/x/components/raw-components.js.map +1 -0
- package/x/components/tabs/component.d.ts +374 -0
- package/x/components/tabs/component.js +60 -0
- package/x/components/tabs/component.js.map +1 -0
- package/x/components/tabs/control.d.ts +9 -0
- package/x/components/tabs/control.js +24 -0
- package/x/components/tabs/control.js.map +1 -0
- package/x/components/tabs/style.css.d.ts +2 -0
- package/x/components/tabs/style.css.js +42 -0
- package/x/components/tabs/style.css.js.map +1 -0
- package/x/demo/aura-views.d.ts +15 -0
- package/x/demo/aura-views.js +4 -0
- package/x/demo/aura-views.js.map +1 -0
- package/x/demo/demo.bundle.js +280 -14
- package/x/demo/demo.bundle.js.map +1 -1
- package/x/demo/demo.bundle.min.js +561 -45
- package/x/demo/demo.bundle.min.js.map +4 -4
- package/x/demo/demo.css +3 -1
- package/x/demo/utils/lipsum.d.ts +2 -0
- package/x/demo/utils/lipsum.js +11 -0
- package/x/demo/utils/lipsum.js.map +1 -0
- package/x/demo/views/demonstration/style.css.js +18 -2
- package/x/demo/views/demonstration/style.css.js.map +1 -1
- package/x/demo/views/demonstration/view.d.ts +6 -4
- package/x/demo/views/demonstration/view.js +20 -12
- package/x/demo/views/demonstration/view.js.map +1 -1
- package/x/icons/tabler/menu-2.svg.d.ts +2 -0
- package/x/icons/tabler/menu-2.svg.js +3 -0
- package/x/icons/tabler/menu-2.svg.js.map +1 -0
- package/x/icons/tabler/x.svg.d.ts +2 -0
- package/x/icons/tabler/x.svg.js +3 -0
- package/x/icons/tabler/x.svg.js.map +1 -0
- package/x/index.d.ts +10 -4
- package/x/index.html +7 -5
- package/x/index.html.js +2 -2
- package/x/index.js +10 -4
- package/x/index.js.map +1 -1
- package/x/install/aura.bundle.d.ts +1 -0
- package/x/install/aura.bundle.js +5 -0
- package/x/install/aura.bundle.js.map +1 -0
- package/x/install/aura.bundle.min.js +463 -0
- package/x/install/aura.bundle.min.js.map +7 -0
- package/x/install/plain.bundle.d.ts +1 -0
- package/x/install/plain.bundle.js +5 -0
- package/x/install/plain.bundle.js.map +1 -0
- package/x/install/plain.bundle.min.js +390 -0
- package/x/install/plain.bundle.min.js.map +7 -0
- package/x/shiny.d.ts +47 -0
- package/x/shiny.js +8 -0
- package/x/shiny.js.map +1 -0
- package/x/themes/aura.css.d.ts +1 -0
- package/x/themes/aura.css.js +85 -0
- package/x/themes/aura.css.js.map +1 -0
- package/x/themes/index.barrel.d.ts +2 -1
- package/x/themes/index.barrel.js +2 -1
- package/x/themes/index.barrel.js.map +1 -1
- package/x/themes/index.d.ts +1 -0
- package/x/themes/infra/css-vars.d.ts +14 -0
- package/x/themes/infra/css-vars.js +21 -0
- package/x/themes/infra/css-vars.js.map +1 -0
- package/x/themes/plain.css.d.ts +1 -0
- package/x/themes/plain.css.js +10 -0
- package/x/themes/plain.css.js.map +1 -0
- package/x/utils/states.d.ts +5 -0
- package/x/utils/states.js +13 -0
- package/x/utils/states.js.map +1 -0
- package/s/themes/basic.css.ts +0 -18
- package/s/tools/untab.ts +0 -30
- package/s/ui/components.ts +0 -9
- package/s/ui/framework.ts +0 -8
- package/s/ui/themers.ts +0 -28
- package/x/themes/basic.css.d.ts +0 -1
- package/x/themes/basic.css.js +0 -17
- package/x/themes/basic.css.js.map +0 -1
- package/x/tools/untab.d.ts +0 -1
- package/x/tools/untab.js +0 -26
- package/x/tools/untab.js.map +0 -1
- package/x/ui/components.d.ts +0 -6
- package/x/ui/components.js +0 -7
- package/x/ui/components.js.map +0 -1
- package/x/ui/copy/component.js.map +0 -1
- package/x/ui/copy/style.css.js.map +0 -1
- package/x/ui/example/component.js.map +0 -1
- package/x/ui/example/style.css.js +0 -10
- package/x/ui/example/style.css.js.map +0 -1
- package/x/ui/framework.d.ts +0 -4
- package/x/ui/framework.js +0 -6
- package/x/ui/framework.js.map +0 -1
- package/x/ui/themers.d.ts +0 -8
- package/x/ui/themers.js +0 -12
- package/x/ui/themers.js.map +0 -1
- /package/x/{ui/copy → components/button}/style.css.d.ts +0 -0
- /package/x/{ui/example → components/copy}/style.css.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.css.js","sourceRoot":"","sources":["../../../s/components/tabs/style.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCf,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const auraViews: {
|
|
2
|
+
ShinyButton: import("@e280/sly").View<[]> & import("@e280/sly").View<[context: import("../index.js").ShinyContext]>;
|
|
3
|
+
ShinyCopy: import("@e280/sly").View<[text: string | undefined, ms?: any]> & import("@e280/sly").View<[context: import("../index.js").ShinyContext, text: string | undefined, ms?: any]>;
|
|
4
|
+
ShinyDrawer: import("@e280/sly").View<[options: {
|
|
5
|
+
button: boolean;
|
|
6
|
+
side?: "left" | "right";
|
|
7
|
+
control?: import("../index.js").DrawerControl;
|
|
8
|
+
}]> & import("@e280/sly").View<[context: import("../index.js").ShinyContext, options: {
|
|
9
|
+
button: boolean;
|
|
10
|
+
side?: "left" | "right";
|
|
11
|
+
control?: import("../index.js").DrawerControl;
|
|
12
|
+
}]>;
|
|
13
|
+
ShinyExample: import("@e280/sly").View<[start: number]> & import("@e280/sly").View<[context: import("../index.js").ShinyContext, start: number]>;
|
|
14
|
+
ShinyTabs: import("@e280/sly").View<[controlOption?: import("../index.js").TabControl | undefined]> & import("@e280/sly").View<[context: import("../index.js").ShinyContext, controlOption?: import("../index.js").TabControl | undefined]>;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aura-views.js","sourceRoot":"","sources":["../../s/demo/aura-views.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AACjC,OAAO,EAAC,IAAI,EAAC,MAAM,uBAAuB,CAAA;AAE1C,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC,EAAC,KAAK,EAAE,IAAI,EAAC,CAAC,CAAC,KAAK,CAAA"}
|
package/x/demo/demo.bundle.js
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { css, html } from "lit";
|
|
2
2
|
import { dom, view } from "@e280/sly";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { shiny } from "../shiny.js";
|
|
4
|
+
import { auraViews } from "./aura-views.js";
|
|
5
|
+
import { plain } from "../themes/plain.css.js";
|
|
6
|
+
import { makeLipsumDispenser } from "./utils/lipsum.js";
|
|
7
|
+
import { TabControl } from "../components/tabs/control.js";
|
|
5
8
|
import { Demonstration } from "./views/demonstration/view.js";
|
|
6
|
-
const
|
|
9
|
+
const viewsets = [
|
|
10
|
+
{ label: "aura", views: auraViews },
|
|
11
|
+
{ label: "plain", views: shiny({ theme: plain }).views },
|
|
12
|
+
];
|
|
13
|
+
const labels = {
|
|
14
|
+
html: { button: "html", text: "html web component" },
|
|
15
|
+
view: { button: "view", text: "sly view" },
|
|
16
|
+
css: { button: "css", text: "custom css" },
|
|
17
|
+
};
|
|
18
|
+
const dispenser = makeLipsumDispenser();
|
|
19
|
+
const lipsum = () => dispenser.takeFirst();
|
|
7
20
|
dom.register({ ShinyDemo: view.component(use => {
|
|
8
21
|
use.styles(css `
|
|
9
22
|
:host {
|
|
@@ -12,26 +25,279 @@ dom.register({ ShinyDemo: view.component(use => {
|
|
|
12
25
|
gap: 1em;
|
|
13
26
|
}
|
|
14
27
|
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
.themes {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: end;
|
|
31
|
+
gap: 0.5em;
|
|
32
|
+
|
|
33
|
+
span {
|
|
34
|
+
font-size: 1.2em;
|
|
35
|
+
opacity: 0.5;
|
|
36
|
+
font-family: serif;
|
|
37
|
+
font-style: italic;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[view="demo-tabs"] {
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
17
43
|
}
|
|
18
44
|
`);
|
|
19
|
-
|
|
45
|
+
const tabControl = use.once(() => new TabControl(0));
|
|
46
|
+
const $viewset = use.derived(() => viewsets.at(tabControl.$index()));
|
|
47
|
+
const views = $viewset().views;
|
|
48
|
+
dispenser.takeAll();
|
|
49
|
+
const demonstrations = [
|
|
20
50
|
Demonstration({
|
|
21
|
-
|
|
22
|
-
name: "shiny-copy",
|
|
51
|
+
name: "button",
|
|
23
52
|
explain: html `
|
|
24
|
-
<p>
|
|
53
|
+
<p>clicky-clacky pressy button.</p>
|
|
25
54
|
`,
|
|
26
|
-
|
|
27
|
-
|
|
55
|
+
snippets: [
|
|
56
|
+
[labels.html, `
|
|
57
|
+
<shiny-button>hello</shiny-button>
|
|
58
|
+
`],
|
|
59
|
+
[labels.view, `
|
|
60
|
+
ShinyButton
|
|
61
|
+
.props()
|
|
62
|
+
.children("hello")
|
|
63
|
+
.render()
|
|
64
|
+
`],
|
|
65
|
+
[labels.css, `
|
|
66
|
+
shiny-button {
|
|
67
|
+
font-size: 1em;
|
|
68
|
+
--happy: #0fa;
|
|
69
|
+
--angry: #f50;
|
|
70
|
+
--lame: #8888;
|
|
71
|
+
--inactive-opacity: 0.5;
|
|
72
|
+
}
|
|
73
|
+
`],
|
|
74
|
+
],
|
|
75
|
+
content: [
|
|
76
|
+
views.ShinyButton.props()
|
|
77
|
+
.children("button")
|
|
78
|
+
.render(),
|
|
79
|
+
views.ShinyButton.props()
|
|
80
|
+
.attr("gradient", true)
|
|
81
|
+
.children("gradient")
|
|
82
|
+
.render(),
|
|
83
|
+
views.ShinyButton.props()
|
|
84
|
+
.attr("angry", true)
|
|
85
|
+
.attr("gradient", true)
|
|
86
|
+
.children("angry")
|
|
87
|
+
.render(),
|
|
88
|
+
views.ShinyButton.props()
|
|
89
|
+
.attr("happy", true)
|
|
90
|
+
.attr("gradient", true)
|
|
91
|
+
.children("happy")
|
|
92
|
+
.render(),
|
|
93
|
+
views.ShinyButton.props()
|
|
94
|
+
.attr("zesty", true)
|
|
95
|
+
.attr("gradient", true)
|
|
96
|
+
.children("zesty")
|
|
97
|
+
.render(),
|
|
98
|
+
views.ShinyButton.props()
|
|
99
|
+
.attr("sad", true)
|
|
100
|
+
.attr("gradient", true)
|
|
101
|
+
.children("sad")
|
|
102
|
+
.render(),
|
|
103
|
+
views.ShinyButton.props()
|
|
104
|
+
.attr("quirky", true)
|
|
105
|
+
.attr("gradient", true)
|
|
106
|
+
.children("quirky")
|
|
107
|
+
.render(),
|
|
108
|
+
views.ShinyButton.props()
|
|
109
|
+
.attr("plain", true)
|
|
110
|
+
.children("plain")
|
|
111
|
+
.render(),
|
|
112
|
+
],
|
|
113
|
+
style: css `
|
|
114
|
+
.content {
|
|
115
|
+
flex-direction: row;
|
|
116
|
+
flex-wrap: wrap;
|
|
117
|
+
align-content: center;
|
|
118
|
+
gap: 0.5em;
|
|
119
|
+
|
|
120
|
+
sly-view {
|
|
121
|
+
font-size: 1.2em;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
28
124
|
`,
|
|
29
|
-
|
|
30
|
-
|
|
125
|
+
}),
|
|
126
|
+
Demonstration({
|
|
127
|
+
name: "tabs",
|
|
128
|
+
explain: html `
|
|
129
|
+
<p>button bar. panels optional.</p>
|
|
130
|
+
`,
|
|
131
|
+
snippets: [
|
|
132
|
+
[labels.html, `
|
|
133
|
+
<shiny-tabs>
|
|
134
|
+
<shiny-button>tab1</shiny-button>
|
|
135
|
+
<shiny-button>tab2</shiny-button>
|
|
136
|
+
<shiny-button>tab3</shiny-button>
|
|
137
|
+
<div slot=panel>panel1</div>
|
|
138
|
+
<div slot=panel>panel2</div>
|
|
139
|
+
<div slot=panel>panel3</div>
|
|
140
|
+
</shiny-tabs>
|
|
141
|
+
`],
|
|
142
|
+
[labels.view, `
|
|
143
|
+
ShinyTabs
|
|
144
|
+
.props()
|
|
145
|
+
.children(html\`
|
|
146
|
+
\${ShinyButton.props()
|
|
147
|
+
.children("tab1").render()}
|
|
148
|
+
\${ShinyButton.props()
|
|
149
|
+
.children("tab2").render()}
|
|
150
|
+
\${ShinyButton.props()
|
|
151
|
+
.children("tab3").render()}
|
|
152
|
+
<div slot=panel>panel1</div>
|
|
153
|
+
<div slot=panel>panel2</div>
|
|
154
|
+
<div slot=panel>panel3</div>
|
|
155
|
+
\`)
|
|
156
|
+
.render()
|
|
157
|
+
`],
|
|
158
|
+
[labels.css, `
|
|
159
|
+
shiny-tabs {
|
|
160
|
+
&::part(tabs) {}
|
|
161
|
+
&::part(panels) {}
|
|
162
|
+
> shiny-button {}
|
|
163
|
+
}
|
|
164
|
+
`],
|
|
165
|
+
],
|
|
166
|
+
content: views.ShinyTabs
|
|
167
|
+
.props()
|
|
168
|
+
.children(html `
|
|
169
|
+
${views.ShinyButton.props().children("tab1").render()}
|
|
170
|
+
${views.ShinyButton.props().children("tab2").render()}
|
|
171
|
+
${views.ShinyButton.props().children("tab3").render()}
|
|
172
|
+
<p slot=panel class=lipsum>${lipsum()}</p>
|
|
173
|
+
<p slot=panel class=lipsum>${lipsum()}</p>
|
|
174
|
+
<p slot=panel class=lipsum>${lipsum()}</p>
|
|
175
|
+
`)
|
|
176
|
+
.render(),
|
|
177
|
+
style: css `
|
|
178
|
+
.content {
|
|
179
|
+
justify-content: start;
|
|
180
|
+
p { margin-top: 0.5em; }
|
|
181
|
+
}
|
|
31
182
|
`,
|
|
183
|
+
}),
|
|
184
|
+
Demonstration({
|
|
185
|
+
name: "copy",
|
|
186
|
+
explain: html `
|
|
187
|
+
<p>click-to-copy text button.</p>
|
|
188
|
+
`,
|
|
189
|
+
snippets: [
|
|
190
|
+
[labels.html, `
|
|
191
|
+
<shiny-copy text="hello world"></shiny-copy>
|
|
192
|
+
`],
|
|
193
|
+
[labels.view, `
|
|
194
|
+
ShinyCopy("hello world")
|
|
195
|
+
`],
|
|
196
|
+
[labels.css, `
|
|
197
|
+
shiny-copy {
|
|
198
|
+
font-size: 1em;
|
|
199
|
+
--happy: #0fa;
|
|
200
|
+
--angry: #f50;
|
|
201
|
+
--lame: #8888;
|
|
202
|
+
--inactive-opacity: 0.5;
|
|
203
|
+
}
|
|
204
|
+
`],
|
|
205
|
+
],
|
|
32
206
|
content: views.ShinyCopy("hello world"),
|
|
207
|
+
style: css `
|
|
208
|
+
.content sly-view {
|
|
209
|
+
font-size: 4em;
|
|
210
|
+
}
|
|
211
|
+
`,
|
|
212
|
+
}),
|
|
213
|
+
Demonstration({
|
|
214
|
+
name: "drawer",
|
|
215
|
+
explain: html `
|
|
216
|
+
<p>slide-out panel. button optional.</p>
|
|
217
|
+
`,
|
|
218
|
+
snippets: [
|
|
219
|
+
[labels.html, `
|
|
220
|
+
<shiny-drawer button side=left>
|
|
221
|
+
<header>example</header>
|
|
222
|
+
<section slot=plate>
|
|
223
|
+
lorem kettlebell..
|
|
224
|
+
</section>
|
|
225
|
+
</shiny-drawer>
|
|
226
|
+
`],
|
|
227
|
+
[labels.view, `
|
|
228
|
+
ShinyDrawer
|
|
229
|
+
.props({button: true, side: "left"})
|
|
230
|
+
.children(html\`
|
|
231
|
+
<header>example</header>
|
|
232
|
+
<section slot=plate>
|
|
233
|
+
lorem kettlebell..
|
|
234
|
+
</section>
|
|
235
|
+
\`)
|
|
236
|
+
.render()
|
|
237
|
+
`],
|
|
238
|
+
[labels.css, `
|
|
239
|
+
shiny-drawer {
|
|
240
|
+
--button-size: 2em;
|
|
241
|
+
--anim-duration: 200ms;
|
|
242
|
+
--blanket-backdrop-filter: blur(0.5em);
|
|
243
|
+
--blanket-bg: color-mix(
|
|
244
|
+
in oklab,
|
|
245
|
+
transparent,
|
|
246
|
+
var(--bg)
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
`],
|
|
250
|
+
],
|
|
251
|
+
content: views.ShinyDrawer
|
|
252
|
+
.props({ button: true })
|
|
253
|
+
.children(html `
|
|
254
|
+
<header>
|
|
255
|
+
<h2>example drawer</h2>
|
|
256
|
+
<p>you can put any content in here.</p>
|
|
257
|
+
<p class=lipsum>${lipsum()}</p>
|
|
258
|
+
</header>
|
|
259
|
+
<section slot=plate>
|
|
260
|
+
<p class=lipsum>${lipsum()}</p>
|
|
261
|
+
<p class=lipsum>${lipsum()}</p>
|
|
262
|
+
</section>
|
|
263
|
+
`)
|
|
264
|
+
.render(),
|
|
265
|
+
style: css `
|
|
266
|
+
.content sly-view {
|
|
267
|
+
border-radius: 0.5em;
|
|
268
|
+
overflow: hidden;
|
|
269
|
+
--button-size: 3em;
|
|
270
|
+
|
|
271
|
+
header {
|
|
272
|
+
> * + * { margin-top: 0.5em; }
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
section {
|
|
276
|
+
display: flex;
|
|
277
|
+
flex-direction: column;
|
|
278
|
+
justify-content: center;
|
|
279
|
+
min-height: 100%;
|
|
280
|
+
padding: 1em;
|
|
281
|
+
padding-top: 3em;
|
|
282
|
+
> * + * { margin-top: 0.5em; }
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
`,
|
|
33
286
|
}),
|
|
34
287
|
];
|
|
288
|
+
return html `
|
|
289
|
+
<div class=themes>
|
|
290
|
+
<span>theme</span>
|
|
291
|
+
${auraViews.ShinyTabs
|
|
292
|
+
.props(tabControl)
|
|
293
|
+
.children(viewsets.map(viewset => html `
|
|
294
|
+
${auraViews.ShinyButton.props().children(viewset.label).render()}
|
|
295
|
+
`))
|
|
296
|
+
.render()}
|
|
297
|
+
</div>
|
|
298
|
+
|
|
299
|
+
${demonstrations}
|
|
300
|
+
`;
|
|
35
301
|
}) });
|
|
36
|
-
console.log("✨
|
|
302
|
+
console.log("✨shiny");
|
|
37
303
|
//# sourceMappingURL=demo.bundle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"demo.bundle.js","sourceRoot":"","sources":["../../s/demo/demo.bundle.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,KAAK,CAAA;AAC7B,OAAO,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,WAAW,CAAA;AACnC,OAAO,EAAC,MAAM,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"demo.bundle.js","sourceRoot":"","sources":["../../s/demo/demo.bundle.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,KAAK,CAAA;AAC7B,OAAO,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,WAAW,CAAA;AACnC,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AACjC,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAC,KAAK,EAAC,MAAM,wBAAwB,CAAA;AAC5C,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,+BAA+B,CAAA;AACxD,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B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