@e280/shiny 0.1.0-3 → 0.1.0-5

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.
Files changed (88) hide show
  1. package/README.md +26 -7
  2. package/package.json +1 -1
  3. package/s/{ui → components}/copy/style.css.ts +1 -1
  4. package/s/components/drawer/component.ts +82 -0
  5. package/s/components/drawer/drawer.ts +31 -0
  6. package/s/components/drawer/style.css.ts +118 -0
  7. package/s/{ui → components}/example/component.ts +1 -0
  8. package/s/{ui → components}/raw-components.ts +2 -0
  9. package/s/demo/demo.bundle.ts +116 -9
  10. package/s/demo/utils/lipsum.ts +19 -0
  11. package/s/demo/views/demonstration/style.css.ts +1 -0
  12. package/s/demo/views/demonstration/view.ts +5 -6
  13. package/s/icons/tabler/menu-2.svg.ts +4 -0
  14. package/s/icons/tabler/x.svg.ts +4 -0
  15. package/s/index.ts +3 -3
  16. package/s/{install.bundle.ts → install/basic.bundle.ts} +2 -2
  17. package/s/shiny.ts +2 -2
  18. package/s/themes/basic.css.ts +3 -0
  19. package/x/components/copy/component.js.map +1 -0
  20. package/x/{ui → components}/copy/style.css.js +1 -1
  21. package/x/components/copy/style.css.js.map +1 -0
  22. package/x/components/drawer/component.d.ts +383 -0
  23. package/x/components/drawer/component.js +69 -0
  24. package/x/components/drawer/component.js.map +1 -0
  25. package/x/components/drawer/drawer.d.ts +9 -0
  26. package/x/components/drawer/drawer.js +24 -0
  27. package/x/components/drawer/drawer.js.map +1 -0
  28. package/x/components/drawer/style.css.js +117 -0
  29. package/x/components/drawer/style.css.js.map +1 -0
  30. package/x/{ui → components}/example/component.js +1 -0
  31. package/x/components/example/component.js.map +1 -0
  32. package/x/components/example/style.css.d.ts +2 -0
  33. package/x/components/example/style.css.js.map +1 -0
  34. package/x/components/framework.js.map +1 -0
  35. package/x/{ui → components}/raw-components.d.ts +2 -0
  36. package/x/{ui → components}/raw-components.js +2 -0
  37. package/x/components/raw-components.js.map +1 -0
  38. package/x/demo/demo.bundle.js +112 -9
  39. package/x/demo/demo.bundle.js.map +1 -1
  40. package/x/demo/demo.bundle.min.js +247 -30
  41. package/x/demo/demo.bundle.min.js.map +4 -4
  42. package/x/demo/utils/lipsum.d.ts +2 -0
  43. package/x/demo/utils/lipsum.js +11 -0
  44. package/x/demo/utils/lipsum.js.map +1 -0
  45. package/x/demo/views/demonstration/style.css.js +1 -0
  46. package/x/demo/views/demonstration/style.css.js.map +1 -1
  47. package/x/demo/views/demonstration/view.d.ts +3 -2
  48. package/x/demo/views/demonstration/view.js +2 -3
  49. package/x/demo/views/demonstration/view.js.map +1 -1
  50. package/x/icons/tabler/menu-2.svg.d.ts +2 -0
  51. package/x/icons/tabler/menu-2.svg.js +3 -0
  52. package/x/icons/tabler/menu-2.svg.js.map +1 -0
  53. package/x/icons/tabler/x.svg.d.ts +2 -0
  54. package/x/icons/tabler/x.svg.js +3 -0
  55. package/x/icons/tabler/x.svg.js.map +1 -0
  56. package/x/index.d.ts +3 -3
  57. package/x/index.html +2 -2
  58. package/x/index.js +3 -3
  59. package/x/index.js.map +1 -1
  60. package/x/install/basic.bundle.js +5 -0
  61. package/x/install/basic.bundle.js.map +1 -0
  62. package/x/{install.bundle.min.js → install/basic.bundle.min.js} +158 -15
  63. package/x/{install.bundle.min.js.map → install/basic.bundle.min.js.map} +4 -4
  64. package/x/shiny.d.ts +14 -1
  65. package/x/shiny.js +1 -1
  66. package/x/shiny.js.map +1 -1
  67. package/x/themes/basic.css.js +3 -0
  68. package/x/themes/basic.css.js.map +1 -1
  69. package/x/install.bundle.js +0 -5
  70. package/x/install.bundle.js.map +0 -1
  71. package/x/ui/copy/component.js.map +0 -1
  72. package/x/ui/copy/style.css.js.map +0 -1
  73. package/x/ui/example/component.js.map +0 -1
  74. package/x/ui/example/style.css.js.map +0 -1
  75. package/x/ui/framework.js.map +0 -1
  76. package/x/ui/raw-components.js.map +0 -1
  77. /package/s/{ui → components}/copy/component.ts +0 -0
  78. /package/s/{ui → components}/example/style.css.ts +0 -0
  79. /package/s/{ui → components}/framework.ts +0 -0
  80. /package/x/{ui → components}/copy/component.d.ts +0 -0
  81. /package/x/{ui → components}/copy/component.js +0 -0
  82. /package/x/{ui → components}/copy/style.css.d.ts +0 -0
  83. /package/x/{ui/example → components/drawer}/style.css.d.ts +0 -0
  84. /package/x/{ui → components}/example/component.d.ts +0 -0
  85. /package/x/{ui → components}/example/style.css.js +0 -0
  86. /package/x/{ui → components}/framework.d.ts +0 -0
  87. /package/x/{ui → components}/framework.js +0 -0
  88. /package/x/{install.bundle.d.ts → install/basic.bundle.d.ts} +0 -0
@@ -0,0 +1,383 @@
1
+ import { Drawer } from "./drawer.js";
2
+ import { ShinyContext } from "../framework.js";
3
+ declare const ShinyDrawer_base: import("@e280/sly").ComponentClass<{
4
+ new (): {
5
+ attrs: import("@e280/sly").AttrTypes<{
6
+ open: BooleanConstructor;
7
+ button: BooleanConstructor;
8
+ side: StringConstructor;
9
+ }>;
10
+ drawer: Drawer;
11
+ get isOpen(): boolean;
12
+ get toggle(): () => Promise<boolean>;
13
+ get open(): () => Promise<void>;
14
+ get close(): () => Promise<void>;
15
+ context: ShinyContext;
16
+ #private: any;
17
+ readonly shadow: ShadowRoot;
18
+ createShadow(): ShadowRoot;
19
+ render(_use: import("@e280/sly").Use): import("@e280/sly").Content;
20
+ updateNow: () => void;
21
+ update: import("@e280/stz").DebounceReturn<() => void>;
22
+ connectedCallback(): void;
23
+ disconnectedCallback(): void;
24
+ accessKey: string;
25
+ readonly accessKeyLabel: string;
26
+ autocapitalize: string;
27
+ autocorrect: boolean;
28
+ dir: string;
29
+ draggable: boolean;
30
+ hidden: boolean;
31
+ inert: boolean;
32
+ innerText: string;
33
+ lang: string;
34
+ readonly offsetHeight: number;
35
+ readonly offsetLeft: number;
36
+ readonly offsetParent: Element | null;
37
+ readonly offsetTop: number;
38
+ readonly offsetWidth: number;
39
+ outerText: string;
40
+ popover: string | null;
41
+ spellcheck: boolean;
42
+ title: string;
43
+ translate: boolean;
44
+ writingSuggestions: string;
45
+ attachInternals(): ElementInternals;
46
+ click(): void;
47
+ hidePopover(): void;
48
+ showPopover(): void;
49
+ togglePopover(options?: boolean): boolean;
50
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
51
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
52
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
53
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
54
+ readonly attributes: NamedNodeMap;
55
+ get classList(): DOMTokenList;
56
+ set classList(value: string);
57
+ className: string;
58
+ readonly clientHeight: number;
59
+ readonly clientLeft: number;
60
+ readonly clientTop: number;
61
+ readonly clientWidth: number;
62
+ readonly currentCSSZoom: number;
63
+ id: string;
64
+ innerHTML: string;
65
+ readonly localName: string;
66
+ readonly namespaceURI: string | null;
67
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
68
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
69
+ outerHTML: string;
70
+ readonly ownerDocument: Document;
71
+ get part(): DOMTokenList;
72
+ set part(value: string);
73
+ readonly prefix: string | null;
74
+ readonly scrollHeight: number;
75
+ scrollLeft: number;
76
+ scrollTop: number;
77
+ readonly scrollWidth: number;
78
+ readonly shadowRoot: ShadowRoot | null;
79
+ slot: string;
80
+ readonly tagName: string;
81
+ attachShadow(init: ShadowRootInit): ShadowRoot;
82
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
83
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
84
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
85
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
86
+ closest<E extends Element = Element>(selectors: string): E | null;
87
+ computedStyleMap(): StylePropertyMapReadOnly;
88
+ getAttribute(qualifiedName: string): string | null;
89
+ getAttributeNS(namespace: string | null, localName: string): string | null;
90
+ getAttributeNames(): string[];
91
+ getAttributeNode(qualifiedName: string): Attr | null;
92
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
93
+ getBoundingClientRect(): DOMRect;
94
+ getClientRects(): DOMRectList;
95
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
96
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
97
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
98
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
99
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
100
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
101
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
102
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
103
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
104
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
105
+ getHTML(options?: GetHTMLOptions): string;
106
+ hasAttribute(qualifiedName: string): boolean;
107
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
108
+ hasAttributes(): boolean;
109
+ hasPointerCapture(pointerId: number): boolean;
110
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
111
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
112
+ insertAdjacentText(where: InsertPosition, data: string): void;
113
+ matches(selectors: string): boolean;
114
+ releasePointerCapture(pointerId: number): void;
115
+ removeAttribute(qualifiedName: string): void;
116
+ removeAttributeNS(namespace: string | null, localName: string): void;
117
+ removeAttributeNode(attr: Attr): Attr;
118
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
119
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
120
+ scroll(options?: ScrollToOptions): void;
121
+ scroll(x: number, y: number): void;
122
+ scrollBy(options?: ScrollToOptions): void;
123
+ scrollBy(x: number, y: number): void;
124
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
125
+ scrollTo(options?: ScrollToOptions): void;
126
+ scrollTo(x: number, y: number): void;
127
+ setAttribute(qualifiedName: string, value: string): void;
128
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
129
+ setAttributeNode(attr: Attr): Attr | null;
130
+ setAttributeNodeNS(attr: Attr): Attr | null;
131
+ setHTMLUnsafe(html: string): void;
132
+ setPointerCapture(pointerId: number): void;
133
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
134
+ webkitMatchesSelector(selectors: string): boolean;
135
+ get textContent(): string;
136
+ set textContent(value: string | null);
137
+ readonly baseURI: string;
138
+ readonly childNodes: NodeListOf<ChildNode>;
139
+ readonly firstChild: ChildNode | null;
140
+ readonly isConnected: boolean;
141
+ readonly lastChild: ChildNode | null;
142
+ readonly nextSibling: ChildNode | null;
143
+ readonly nodeName: string;
144
+ readonly nodeType: number;
145
+ nodeValue: string | null;
146
+ readonly parentElement: HTMLElement | null;
147
+ readonly parentNode: ParentNode | null;
148
+ readonly previousSibling: ChildNode | null;
149
+ appendChild<T extends Node>(node: T): T;
150
+ cloneNode(subtree?: boolean): Node;
151
+ compareDocumentPosition(other: Node): number;
152
+ contains(other: Node | null): boolean;
153
+ getRootNode(options?: GetRootNodeOptions): Node;
154
+ hasChildNodes(): boolean;
155
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
156
+ isDefaultNamespace(namespace: string | null): boolean;
157
+ isEqualNode(otherNode: Node | null): boolean;
158
+ isSameNode(otherNode: Node | null): boolean;
159
+ lookupNamespaceURI(prefix: string | null): string | null;
160
+ lookupPrefix(namespace: string | null): string | null;
161
+ normalize(): void;
162
+ removeChild<T extends Node>(child: T): T;
163
+ replaceChild<T extends Node>(node: Node, child: T): T;
164
+ readonly ELEMENT_NODE: 1;
165
+ readonly ATTRIBUTE_NODE: 2;
166
+ readonly TEXT_NODE: 3;
167
+ readonly CDATA_SECTION_NODE: 4;
168
+ readonly ENTITY_REFERENCE_NODE: 5;
169
+ readonly ENTITY_NODE: 6;
170
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
171
+ readonly COMMENT_NODE: 8;
172
+ readonly DOCUMENT_NODE: 9;
173
+ readonly DOCUMENT_TYPE_NODE: 10;
174
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
175
+ readonly NOTATION_NODE: 12;
176
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
177
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
178
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
179
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
180
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
181
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
182
+ dispatchEvent(event: Event): boolean;
183
+ ariaActiveDescendantElement: Element | null;
184
+ ariaAtomic: string | null;
185
+ ariaAutoComplete: string | null;
186
+ ariaBrailleLabel: string | null;
187
+ ariaBrailleRoleDescription: string | null;
188
+ ariaBusy: string | null;
189
+ ariaChecked: string | null;
190
+ ariaColCount: string | null;
191
+ ariaColIndex: string | null;
192
+ ariaColIndexText: string | null;
193
+ ariaColSpan: string | null;
194
+ ariaControlsElements: ReadonlyArray<Element> | null;
195
+ ariaCurrent: string | null;
196
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
197
+ ariaDescription: string | null;
198
+ ariaDetailsElements: ReadonlyArray<Element> | null;
199
+ ariaDisabled: string | null;
200
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
201
+ ariaExpanded: string | null;
202
+ ariaFlowToElements: ReadonlyArray<Element> | null;
203
+ ariaHasPopup: string | null;
204
+ ariaHidden: string | null;
205
+ ariaInvalid: string | null;
206
+ ariaKeyShortcuts: string | null;
207
+ ariaLabel: string | null;
208
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
209
+ ariaLevel: string | null;
210
+ ariaLive: string | null;
211
+ ariaModal: string | null;
212
+ ariaMultiLine: string | null;
213
+ ariaMultiSelectable: string | null;
214
+ ariaOrientation: string | null;
215
+ ariaOwnsElements: ReadonlyArray<Element> | null;
216
+ ariaPlaceholder: string | null;
217
+ ariaPosInSet: string | null;
218
+ ariaPressed: string | null;
219
+ ariaReadOnly: string | null;
220
+ ariaRelevant: string | null;
221
+ ariaRequired: string | null;
222
+ ariaRoleDescription: string | null;
223
+ ariaRowCount: string | null;
224
+ ariaRowIndex: string | null;
225
+ ariaRowIndexText: string | null;
226
+ ariaRowSpan: string | null;
227
+ ariaSelected: string | null;
228
+ ariaSetSize: string | null;
229
+ ariaSort: string | null;
230
+ ariaValueMax: string | null;
231
+ ariaValueMin: string | null;
232
+ ariaValueNow: string | null;
233
+ ariaValueText: string | null;
234
+ role: string | null;
235
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
236
+ getAnimations(options?: GetAnimationsOptions): Animation[];
237
+ after(...nodes: (Node | string)[]): void;
238
+ before(...nodes: (Node | string)[]): void;
239
+ remove(): void;
240
+ replaceWith(...nodes: (Node | string)[]): void;
241
+ readonly nextElementSibling: Element | null;
242
+ readonly previousElementSibling: Element | null;
243
+ readonly childElementCount: number;
244
+ readonly children: HTMLCollection;
245
+ readonly firstElementChild: Element | null;
246
+ readonly lastElementChild: Element | null;
247
+ append(...nodes: (Node | string)[]): void;
248
+ prepend(...nodes: (Node | string)[]): void;
249
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
250
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
251
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
252
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
253
+ querySelector<E extends Element = Element>(selectors: string): E | null;
254
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
255
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
256
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
257
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
258
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
259
+ replaceChildren(...nodes: (Node | string)[]): void;
260
+ readonly assignedSlot: HTMLSlotElement | null;
261
+ readonly attributeStyleMap: StylePropertyMap;
262
+ get style(): CSSStyleDeclaration;
263
+ set style(cssText: string);
264
+ contentEditable: string;
265
+ enterKeyHint: string;
266
+ inputMode: string;
267
+ readonly isContentEditable: boolean;
268
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
269
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
270
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
271
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
272
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
273
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
274
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
275
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
277
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
278
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
283
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
286
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
287
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
288
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
290
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
291
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
295
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
296
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
297
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
298
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onerror: OnErrorEventHandler;
302
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
303
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
304
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
305
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
308
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
309
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
310
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
312
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
315
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
319
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
320
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
321
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
322
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
323
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
330
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
332
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
333
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
335
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
336
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
339
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
342
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
350
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
353
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
354
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
355
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
356
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
357
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
358
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
359
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
360
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
361
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
364
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
365
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
366
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
367
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
368
+ autofocus: boolean;
369
+ readonly dataset: DOMStringMap;
370
+ nonce?: string;
371
+ tabIndex: number;
372
+ blur(): void;
373
+ focus(options?: FocusOptions): void;
374
+ };
375
+ styles: import("lit").CSSResultGroup | undefined;
376
+ }, [context: ShinyContext, options: {
377
+ button: boolean;
378
+ side?: "left" | "right";
379
+ drawer?: Drawer;
380
+ }]>;
381
+ export declare class ShinyDrawer extends ShinyDrawer_base {
382
+ }
383
+ export {};
@@ -0,0 +1,69 @@
1
+ import { html } from "lit";
2
+ import { dom, view } from "@e280/sly";
3
+ import { Drawer } from "./drawer.js";
4
+ import styleCss from "./style.css.js";
5
+ import xSvg from "../../icons/tabler/x.svg.js";
6
+ import menu2Svg from "../../icons/tabler/menu-2.svg.js";
7
+ import { ShinyElement } from "../framework.js";
8
+ export class ShinyDrawer extends (view(use => (context, options) => {
9
+ use.name("shiny-drawer");
10
+ use.styles(context.theme, styleCss);
11
+ const button = options.button;
12
+ const side = options.side ?? "left";
13
+ const drawer = use.once(() => (options.drawer ?? new Drawer()));
14
+ use.mount(() => dom.events(window, { keydown: (event) => {
15
+ if (event.code === "Escape")
16
+ drawer.close();
17
+ } }));
18
+ dom.attrs(use.element).booleans.open = drawer.isOpen;
19
+ return html `
20
+ <div class=shell ?data-open="${drawer.isOpen}" data-side="${side}">
21
+ <slot name=plate ?inert="${drawer.isOpen}"></slot>
22
+
23
+ <div class=clipper>
24
+ <div part=blanket @click="${drawer.close}" ?inert="${!drawer.isOpen}"></div>
25
+
26
+ <div part=tray>
27
+ <slot ?inert="${!drawer.isOpen}"></slot>
28
+
29
+ ${button
30
+ ? html `
31
+ <button @click="${drawer.toggle}">
32
+ ${drawer.isOpen
33
+ ? html `
34
+ <slot name=button-x>
35
+ ${xSvg}
36
+ </slot>
37
+ `
38
+ : html `
39
+ <slot name=button>
40
+ ${menu2Svg}
41
+ </slot>
42
+ `}
43
+ </button>
44
+ `
45
+ : null}
46
+ </div>
47
+ </div>
48
+ </div>
49
+ `;
50
+ })
51
+ .component(class extends ShinyElement {
52
+ attrs = dom.attrs(this).spec({
53
+ open: Boolean,
54
+ button: Boolean,
55
+ side: String,
56
+ });
57
+ drawer = new Drawer(this.attrs.open);
58
+ get isOpen() { return this.drawer.isOpen; }
59
+ get toggle() { return this.drawer.toggle; }
60
+ get open() { return this.drawer.open; }
61
+ get close() { return this.drawer.close; }
62
+ })
63
+ .props(el => [el.context, {
64
+ drawer: el.drawer,
65
+ button: el.attrs.button,
66
+ side: el.attrs.side === "right" ? "right" : "left",
67
+ }])) {
68
+ }
69
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../s/components/drawer/component.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ export declare class Drawer {
2
+ $open: import("@e280/strata").SignalFn<boolean>;
3
+ constructor(startOpen?: boolean);
4
+ get isOpen(): boolean;
5
+ setOpen(value: boolean): Promise<boolean>;
6
+ open: () => Promise<void>;
7
+ close: () => Promise<void>;
8
+ toggle: () => Promise<boolean>;
9
+ }
@@ -0,0 +1,24 @@
1
+ import { signal } from "@e280/strata";
2
+ export class Drawer {
3
+ $open = signal(false);
4
+ constructor(startOpen = false) {
5
+ if (startOpen)
6
+ this.$open.set(true);
7
+ }
8
+ get isOpen() {
9
+ return this.$open.get();
10
+ }
11
+ async setOpen(value) {
12
+ return this.$open.set(value);
13
+ }
14
+ open = async () => {
15
+ await this.setOpen(true);
16
+ };
17
+ close = async () => {
18
+ await this.setOpen(false);
19
+ };
20
+ toggle = async () => {
21
+ return this.setOpen(!this.isOpen);
22
+ };
23
+ }
24
+ //# sourceMappingURL=drawer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../s/components/drawer/drawer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAA;AAEnC,MAAM,OAAO,MAAM;IAClB,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IAErB,YAAY,SAAS,GAAG,KAAK;QAC5B,IAAI,SAAS;YAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IACpC,CAAC;IAED,IAAI,MAAM;QACT,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,KAAc;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IAC7B,CAAC;IAED,IAAI,GAAG,KAAK,IAAG,EAAE;QAChB,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,CAAC,CAAA;IAED,KAAK,GAAG,KAAK,IAAG,EAAE;QACjB,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC1B,CAAC,CAAA;IAED,MAAM,GAAG,KAAK,IAAG,EAAE;QAClB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAClC,CAAC,CAAA;CACD"}
@@ -0,0 +1,117 @@
1
+ import { css } from "lit";
2
+ export default css `
3
+
4
+ :host {
5
+ display: block;
6
+ width: 100%;
7
+ height: 100%;
8
+ --button-size: 2em;
9
+ --drawer-height: auto;
10
+ --anim-duration: 200ms;
11
+ --blanket-bg: #1118;
12
+ --blanket-backdrop-filter: blur(0.5em);
13
+ }
14
+
15
+ .shell {
16
+ position: relative;
17
+ width: 100%;
18
+ height: 100%;
19
+
20
+ [part="blanket"] {
21
+ opacity: 0;
22
+
23
+ content: "";
24
+ display: block;
25
+ position: absolute;
26
+ inset: 0;
27
+
28
+ background: var(--blanket-bg);
29
+ backdrop-filter: var(--blanket-backdrop-filter);
30
+
31
+ will-change: opacity;
32
+ transition: all var(--anim-duration) ease;
33
+ }
34
+
35
+ .clipper {
36
+ pointer-events: none;
37
+ position: absolute;
38
+ inset: 0;
39
+ width: 100%;
40
+ height: 100%;
41
+ overflow: hidden;
42
+ > * { pointer-events: all; }
43
+ }
44
+
45
+ [part="tray"] {
46
+ position: absolute;
47
+ top: 0;
48
+ width: calc(100% - var(--button-size));
49
+ height: 100%;
50
+
51
+ opacity: 1;
52
+ transform: translateX(-100%);
53
+ will-change: opacity, transform;
54
+ transition: all var(--anim-duration) ease;
55
+
56
+ > slot {
57
+ display: block;
58
+ height: var(--drawer-height);
59
+ max-height: 100%;
60
+ overflow-y: auto;
61
+ }
62
+
63
+ > button {
64
+ position: absolute;
65
+ top: 0;
66
+ left: 100%;
67
+
68
+ opacity: var(--inactive-opacity);
69
+ background: transparent;
70
+ border: none;
71
+ cursor: pointer;
72
+
73
+ &:is(:hover, :focus-visible) {
74
+ opacity: 1;
75
+ }
76
+
77
+ > slot {
78
+ display: contents;
79
+ }
80
+
81
+ svg {
82
+ width: var(--button-size);
83
+ height: var(--button-size);
84
+ }
85
+ }
86
+ }
87
+
88
+ &[data-side="right"] {
89
+ [part="tray"] {
90
+ right: 0;
91
+ transform: translateX(100%);
92
+ > button {
93
+ left: unset;
94
+ right: 100%;
95
+ }
96
+ }
97
+ }
98
+
99
+ slot[name="plate"] {
100
+ display: block;
101
+ width: 100%;
102
+ height: 100%;
103
+ }
104
+
105
+ &[data-open] {
106
+ [part="blanket"] {
107
+ opacity: 1;
108
+ }
109
+ [part="tray"] {
110
+ opacity: 1;
111
+ transform: translateX(0%);
112
+ }
113
+ }
114
+ }
115
+
116
+ `;
117
+ //# sourceMappingURL=style.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.css.js","sourceRoot":"","sources":["../../../s/components/drawer/style.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHjB,CAAA"}
@@ -3,6 +3,7 @@ import { dom, view } from "@e280/sly";
3
3
  import styleCss from "./style.css.js";
4
4
  import { ShinyElement } from "../framework.js";
5
5
  export class ShinyExample extends (view(use => (context, start) => {
6
+ use.name("shiny-example");
6
7
  use.styles(context.theme, styleCss);
7
8
  const $count = use.signal(start);
8
9
  const increment = () => { $count.value++; };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../s/components/example/component.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,WAAW,CAAA;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAe,YAAY,EAAC,MAAM,iBAAiB,CAAA;AAE1D,MAAM,OAAO,YAAa,SAAQ,CACjC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAqB,EAAE,KAAa,EAAE,EAAE;IACpD,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;IACzB,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;IAEnC,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;IAChC,MAAM,SAAS,GAAG,GAAG,EAAE,GAAG,MAAM,CAAC,KAAK,EAAE,CAAA,CAAC,CAAC,CAAA;IAE1C,OAAO,IAAI,CAAA;qBACQ,SAAS;MACxB,MAAM,EAAE;;GAEX,CAAA;AACF,CAAC,CAAC;KACD,SAAS,CAAC,KAAM,SAAQ,YAAY;IACpC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC,CAAA;CAC7C,CAAC;KACD,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,CAAU,CAAC,CACxD;CAAG"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.css.js","sourceRoot":"","sources":["../../../s/components/example/style.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,eAAe,GAAG,CAAA;;;;;;;CAOjB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework.js","sourceRoot":"","sources":["../../s/components/framework.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,WAAW,CAAA;AACrC,OAAO,EAAC,KAAK,EAAC,MAAM,wBAAwB,CAAA;AAI5C,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC5C,OAAO,GAAiB,EAAC,KAAK,EAAE,KAAK,EAAC,CAAA;CACtC"}
@@ -1,6 +1,8 @@
1
1
  import { ShinyCopy } from "./copy/component.js";
2
+ import { ShinyDrawer } from "./drawer/component.js";
2
3
  import { ShinyExample } from "./example/component.js";
3
4
  export declare const rawComponents: {
4
5
  ShinyCopy: typeof ShinyCopy;
6
+ ShinyDrawer: typeof ShinyDrawer;
5
7
  ShinyExample: typeof ShinyExample;
6
8
  };
@@ -1,7 +1,9 @@
1
1
  import { ShinyCopy } from "./copy/component.js";
2
+ import { ShinyDrawer } from "./drawer/component.js";
2
3
  import { ShinyExample } from "./example/component.js";
3
4
  export const rawComponents = {
4
5
  ShinyCopy,
6
+ ShinyDrawer,
5
7
  ShinyExample,
6
8
  };
7
9
  //# sourceMappingURL=raw-components.js.map