@rettangoli/ui 0.1.2-rc9 → 0.1.4
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/dist/rettangoli-iife-layout.min.js +128 -56
- package/dist/rettangoli-iife-ui.min.js +187 -66
- package/package.json +3 -2
- package/src/common.js +30 -2
- package/src/components/breadcrumb/breadcrumb.handlers.js +10 -0
- package/src/components/breadcrumb/breadcrumb.store.js +29 -0
- package/src/components/breadcrumb/breadcrumb.view.yaml +64 -0
- package/src/components/dropdownMenu/dropdownMenu.handlers.js +7 -6
- package/src/components/dropdownMenu/dropdownMenu.store.js +6 -18
- package/src/components/dropdownMenu/dropdownMenu.view.yaml +15 -13
- package/src/components/form/form.handlers.js +181 -33
- package/src/components/form/form.store.js +175 -21
- package/src/components/form/form.view.yaml +182 -27
- package/src/components/globalUi/globalUi.handlers.js +53 -0
- package/src/components/globalUi/globalUi.store.js +57 -0
- package/src/components/globalUi/globalUi.view.yaml +50 -0
- package/src/components/navbar/navbar.handlers.js +2 -1
- package/src/components/navbar/navbar.store.js +2 -2
- package/src/components/pageOutline/pageOutline.handlers.js +57 -17
- package/src/components/pageOutline/pageOutline.store.js +48 -3
- package/src/components/pageOutline/pageOutline.view.yaml +7 -5
- package/src/components/popoverInput/popoverInput.handlers.js +103 -0
- package/src/components/popoverInput/popoverInput.store.js +48 -0
- package/src/components/popoverInput/popoverInput.view.yaml +55 -0
- package/src/components/select/select.handlers.js +124 -12
- package/src/components/select/select.store.js +86 -20
- package/src/components/select/select.view.yaml +40 -10
- package/src/components/sidebar/sidebar.handlers.js +8 -6
- package/src/components/sidebar/sidebar.store.js +6 -6
- package/src/components/sidebar/sidebar.view.yaml +1 -1
- package/src/components/sliderInput/sliderInput.handlers.js +24 -6
- package/src/components/sliderInput/sliderInput.store.js +3 -2
- package/src/components/sliderInput/sliderInput.view.yaml +3 -2
- package/src/components/table/table.handlers.js +12 -10
- package/src/components/table/table.store.js +4 -4
- package/src/components/tabs/tabs.handlers.js +11 -0
- package/src/components/tabs/tabs.store.js +29 -0
- package/src/components/tabs/tabs.view.yaml +64 -0
- package/src/components/tooltip/tooltip.handlers.js +0 -0
- package/src/components/tooltip/tooltip.store.js +12 -0
- package/src/components/tooltip/tooltip.view.yaml +27 -0
- package/src/components/waveform/waveform.handlers.js +92 -0
- package/src/components/waveform/waveform.store.js +17 -0
- package/src/components/waveform/waveform.view.yaml +38 -0
- package/src/deps/createGlobalUI.js +39 -0
- package/src/entry-iife-layout.js +3 -0
- package/src/entry-iife-ui.js +4 -0
- package/src/index.js +7 -1
- package/src/primitives/button.js +10 -0
- package/src/primitives/colorPicker.js +13 -4
- package/src/primitives/dialog.js +254 -0
- package/src/primitives/image.js +4 -3
- package/src/primitives/input.js +17 -4
- package/src/primitives/popover.js +280 -0
- package/src/primitives/slider.js +14 -4
- package/src/primitives/svg.js +2 -0
- package/src/primitives/textarea.js +25 -1
- package/src/primitives/view.js +132 -13
- package/src/setup.js +7 -2
- package/src/styles/cursorStyles.js +38 -2
- package/src/components/dialog/dialog.handlers.js +0 -5
- package/src/components/dialog/dialog.store.js +0 -25
- package/src/components/dialog/dialog.view.yaml +0 -48
- package/src/components/popover/popover.handlers.js +0 -5
- package/src/components/popover/popover.store.js +0 -12
- package/src/components/popover/popover.view.yaml +0 -57
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
elementName: rtgl-dialog
|
|
2
|
-
|
|
3
|
-
viewDataSchema:
|
|
4
|
-
type: object
|
|
5
|
-
|
|
6
|
-
attrsSchema:
|
|
7
|
-
type: object
|
|
8
|
-
properties:
|
|
9
|
-
w:
|
|
10
|
-
type: string
|
|
11
|
-
|
|
12
|
-
propsSchema:
|
|
13
|
-
type: object
|
|
14
|
-
properties:
|
|
15
|
-
isOpen:
|
|
16
|
-
type: boolean
|
|
17
|
-
|
|
18
|
-
refs:
|
|
19
|
-
dialog-overlay:
|
|
20
|
-
eventListeners:
|
|
21
|
-
click:
|
|
22
|
-
handler: handleClickDialogueOverlay
|
|
23
|
-
|
|
24
|
-
events:
|
|
25
|
-
close-dialogue:
|
|
26
|
-
type: object
|
|
27
|
-
properties: {}
|
|
28
|
-
|
|
29
|
-
styles:
|
|
30
|
-
# '@keyframes dialog-in':
|
|
31
|
-
# from:
|
|
32
|
-
# opacity: 0
|
|
33
|
-
# transform: scale(0.95)
|
|
34
|
-
# to:
|
|
35
|
-
# opacity: 1
|
|
36
|
-
# transform: scale(1)
|
|
37
|
-
|
|
38
|
-
# '#dialog-container':
|
|
39
|
-
# animation: dialog-in 150ms cubic-bezier(0.16, 1, 0.3, 1)
|
|
40
|
-
# transform-origin: top
|
|
41
|
-
|
|
42
|
-
template:
|
|
43
|
-
- $if isOpen:
|
|
44
|
-
- 'rtgl-view z=9999 pos=fix cor=full ah=c sv=true style="scrollbar-width: none;"':
|
|
45
|
-
- 'rtgl-view#dialog-overlay pos=fix cor=full ah=c av=c bgc=bg op=0.5':
|
|
46
|
-
- rtgl-view h=10vh:
|
|
47
|
-
- rtgl-view#dialog-container z=100 bw=xs p=lg bgc=bg w=${w} br=sm:
|
|
48
|
-
- slot name=content:
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
elementName: rtgl-popover
|
|
2
|
-
|
|
3
|
-
viewDataSchema:
|
|
4
|
-
type: object
|
|
5
|
-
properties:
|
|
6
|
-
isOpen:
|
|
7
|
-
type: boolean
|
|
8
|
-
position:
|
|
9
|
-
type: object
|
|
10
|
-
properties:
|
|
11
|
-
x:
|
|
12
|
-
type: number
|
|
13
|
-
y:
|
|
14
|
-
type: number
|
|
15
|
-
placement:
|
|
16
|
-
type: string
|
|
17
|
-
|
|
18
|
-
propsSchema:
|
|
19
|
-
type: object
|
|
20
|
-
properties:
|
|
21
|
-
placement:
|
|
22
|
-
type: string
|
|
23
|
-
default: bottom
|
|
24
|
-
isOpen:
|
|
25
|
-
type: boolean
|
|
26
|
-
position:
|
|
27
|
-
type: object
|
|
28
|
-
properties:
|
|
29
|
-
x:
|
|
30
|
-
type: number
|
|
31
|
-
y:
|
|
32
|
-
type: number
|
|
33
|
-
|
|
34
|
-
refs:
|
|
35
|
-
popoverOverlay:
|
|
36
|
-
eventListeners:
|
|
37
|
-
click:
|
|
38
|
-
handler: handleClickOverlay
|
|
39
|
-
|
|
40
|
-
styles:
|
|
41
|
-
'@keyframes popover-in':
|
|
42
|
-
from:
|
|
43
|
-
opacity: 0
|
|
44
|
-
transform: scale(0.95)
|
|
45
|
-
to:
|
|
46
|
-
opacity: 1
|
|
47
|
-
transform: scale(1)
|
|
48
|
-
|
|
49
|
-
'#popoverContainer':
|
|
50
|
-
animation: popover-in 150ms cubic-bezier(0.16, 1, 0.3, 1)
|
|
51
|
-
transform-origin: top
|
|
52
|
-
|
|
53
|
-
template:
|
|
54
|
-
- $if isOpen:
|
|
55
|
-
- rtgl-view#popoverOverlay pos=fix cor=full:
|
|
56
|
-
- 'rtgl-view#popoverContainer pos=fix style="left: ${position.x}px; top: ${position.y}px;" id=floatingElement bw=xs p=md bgc=mu':
|
|
57
|
-
- slot name=content:
|