godown 1.1.4 → 1.1.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 (135) hide show
  1. package/README.md +35 -35
  2. package/effect/ov-effect.d.ts +3 -3
  3. package/effect/ov-effect.d.ts.map +1 -1
  4. package/effect/ov-effect.js +252 -228
  5. package/effect/ro-effect.d.ts +1 -1
  6. package/effect/ro-effect.d.ts.map +1 -1
  7. package/effect/ro-effect.js +51 -46
  8. package/effect/std.d.ts.map +1 -1
  9. package/effect/tw-effect.d.ts +1 -1
  10. package/effect/tw-effect.d.ts.map +1 -1
  11. package/effect/tw-effect.js +19 -18
  12. package/glob.d.ts.map +1 -1
  13. package/glob.js +18 -17
  14. package/group/avatar-group.d.ts +1 -1
  15. package/group/avatar-group.d.ts.map +1 -1
  16. package/group/avatar-group.js +29 -5
  17. package/group/button-group.d.ts +1 -1
  18. package/group/button-group.d.ts.map +1 -1
  19. package/group/button-group.js +53 -48
  20. package/group/details-group.d.ts +1 -1
  21. package/group/details-group.d.ts.map +1 -1
  22. package/group/details-group.js +5 -3
  23. package/group/std.d.ts.map +1 -1
  24. package/input-form/base-input.d.ts +2 -2
  25. package/input-form/base-input.d.ts.map +1 -1
  26. package/input-form/base-input.js +109 -106
  27. package/input-form/exp-input.d.ts +1 -1
  28. package/input-form/exp-input.d.ts.map +1 -1
  29. package/input-form/exp-input.js +155 -142
  30. package/input-form/label-input.d.ts +1 -1
  31. package/input-form/label-input.d.ts.map +1 -1
  32. package/input-form/label-input.js +88 -75
  33. package/input-form/search-input.d.ts +3 -3
  34. package/input-form/search-input.d.ts.map +1 -1
  35. package/input-form/search-input.js +171 -157
  36. package/input-form/select-input.d.ts +3 -3
  37. package/input-form/select-input.d.ts.map +1 -1
  38. package/input-form/select-input.js +128 -104
  39. package/input-form/sign-form.d.ts +7 -5
  40. package/input-form/sign-form.d.ts.map +1 -1
  41. package/input-form/sign-form.js +49 -44
  42. package/input-form/split-input.d.ts +3 -3
  43. package/input-form/split-input.d.ts.map +1 -1
  44. package/input-form/split-input.js +80 -72
  45. package/input-form/std.d.ts +1 -1
  46. package/input-form/std.d.ts.map +1 -1
  47. package/input-form/std.js +20 -17
  48. package/input-form/switch-input.d.ts +3 -3
  49. package/input-form/switch-input.d.ts.map +1 -1
  50. package/input-form/switch-input.js +118 -112
  51. package/items/alert-item.d.ts +1 -1
  52. package/items/alert-item.d.ts.map +1 -1
  53. package/items/alert-item.js +99 -98
  54. package/items/avatar-anchor.d.ts +2 -2
  55. package/items/avatar-anchor.d.ts.map +1 -1
  56. package/items/avatar-anchor.js +91 -89
  57. package/items/base-button.d.ts +1 -1
  58. package/items/base-button.d.ts.map +1 -1
  59. package/items/base-button.js +129 -126
  60. package/items/dialog-item.d.ts +1 -1
  61. package/items/dialog-item.d.ts.map +1 -1
  62. package/items/dialog-item.js +72 -71
  63. package/items/link-a.d.ts.map +1 -1
  64. package/items/link-a.js +23 -22
  65. package/items/load-track.d.ts +1 -1
  66. package/items/load-track.d.ts.map +1 -1
  67. package/items/load-track.js +45 -39
  68. package/items/std.d.ts.map +1 -1
  69. package/items/super-a.d.ts +2 -2
  70. package/items/super-a.d.ts.map +1 -1
  71. package/items/super-a.js +59 -48
  72. package/layout/div-line.d.ts +1 -1
  73. package/layout/div-line.d.ts.map +1 -1
  74. package/layout/div-line.js +35 -29
  75. package/layout/drag-box.d.ts +1 -1
  76. package/layout/drag-box.d.ts.map +1 -1
  77. package/layout/drag-box.js +10 -9
  78. package/layout/flex-flow.d.ts +2 -2
  79. package/layout/flex-flow.d.ts.map +1 -1
  80. package/layout/flex-flow.js +12 -7
  81. package/layout/nav-aside.d.ts +1 -1
  82. package/layout/nav-aside.d.ts.map +1 -1
  83. package/layout/nav-aside.js +32 -25
  84. package/layout/nav-layout.d.ts +1 -1
  85. package/layout/nav-layout.d.ts.map +1 -1
  86. package/layout/nav-layout.js +125 -104
  87. package/layout/std.d.ts.map +1 -1
  88. package/layout/std.js +6 -4
  89. package/package.json +47 -40
  90. package/react/effect.js +6 -6
  91. package/react/group.js +3 -3
  92. package/react/input-form.js +11 -11
  93. package/react/items.js +7 -7
  94. package/react/layout.js +5 -5
  95. package/react/view.js +5 -5
  96. package/view/details-expand.d.ts +1 -1
  97. package/view/details-expand.d.ts.map +1 -1
  98. package/view/details-expand.js +38 -33
  99. package/view/down-drop.d.ts +1 -1
  100. package/view/down-drop.d.ts.map +1 -1
  101. package/view/down-drop.js +34 -30
  102. package/view/menu-list.d.ts +1 -1
  103. package/view/menu-list.d.ts.map +1 -1
  104. package/view/menu-list.js +35 -30
  105. package/view/route-view.d.ts.map +1 -1
  106. package/view/route-view.js +9 -6
  107. package/view/scroll-x.d.ts +1 -1
  108. package/view/scroll-x.d.ts.map +1 -1
  109. package/view/scroll-x.js +32 -27
  110. package/view/std.d.ts.map +1 -1
  111. package/view/std.js +33 -33
  112. package/with.d.ts +10 -10
  113. package/with.d.ts.map +1 -1
  114. package/with.js +14 -15
  115. package/view/react/effect.d.ts +0 -10
  116. package/view/react/effect.d.ts.map +0 -1
  117. package/view/react/effect.js +0 -32
  118. package/view/react/group.d.ts +0 -5
  119. package/view/react/group.d.ts.map +0 -1
  120. package/view/react/group.js +0 -18
  121. package/view/react/index.d.ts +0 -7
  122. package/view/react/index.d.ts.map +0 -1
  123. package/view/react/index.js +0 -6
  124. package/view/react/input-form.d.ts +0 -33
  125. package/view/react/input-form.d.ts.map +0 -1
  126. package/view/react/input-form.js +0 -64
  127. package/view/react/items.d.ts +0 -9
  128. package/view/react/items.d.ts.map +0 -1
  129. package/view/react/items.js +0 -38
  130. package/view/react/layout.d.ts +0 -7
  131. package/view/react/layout.d.ts.map +0 -1
  132. package/view/react/layout.js +0 -28
  133. package/view/react/view.d.ts +0 -7
  134. package/view/react/view.d.ts.map +0 -1
  135. package/view/react/view.js +0 -28
package/README.md CHANGED
@@ -1,35 +1,35 @@
1
- # Godown
2
-
3
- The **simple, sylized, semantic components** for standard HTML and other frameworks.
4
-
5
- ## Install
6
-
7
- ```sh
8
- npm i godown
9
- ```
10
-
11
- ## Useages
12
-
13
- html
14
-
15
- ```html
16
- <alert-item title="Alert"></alert-item>
17
- ```
18
-
19
- js
20
-
21
- ```js
22
- import { AlertItem } from "godown";
23
- const item = new AlertItem();
24
- item.title = "Alert";
25
- document.body.appendChild(item);
26
- ```
27
-
28
- react
29
-
30
- ```jsx
31
- import { AlertItem } from "godown/react";
32
- export default function () {
33
- return <AlertItem title="Alert" />;
34
- }
35
- ```
1
+ # Godown
2
+
3
+ The **simple, sylized, semantic components** for standard HTML and other frameworks.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ npm i godown
9
+ ```
10
+
11
+ ## Useages
12
+
13
+ html
14
+
15
+ ```html
16
+ <alert-item title="Alert"></alert-item>
17
+ ```
18
+
19
+ js
20
+
21
+ ```js
22
+ import { AlertItem } from "godown";
23
+ const item = new AlertItem();
24
+ item.title = "Alert";
25
+ document.body.appendChild(item);
26
+ ```
27
+
28
+ react
29
+
30
+ ```jsx
31
+ import { AlertItem } from "godown/react";
32
+ export default function () {
33
+ return <AlertItem title="Alert" />;
34
+ }
35
+ ```
@@ -4,15 +4,15 @@ export declare class OVText extends STD {
4
4
  t1: string;
5
5
  t2: string;
6
6
  t3: string;
7
- render(): import("lit").TemplateResult<1>;
7
+ render(): import("lit-html").TemplateResult<1>;
8
8
  }
9
9
  export declare class OVPort extends STD {
10
10
  static styles: import("lit").CSSResult[];
11
- render(): import("lit").TemplateResult<1>;
11
+ render(): import("lit-html").TemplateResult<1>;
12
12
  }
13
13
  export declare class OVButton extends STD {
14
14
  static styles: import("lit").CSSResult[];
15
- render(): import("lit").TemplateResult<1>;
15
+ render(): import("lit-html").TemplateResult<1>;
16
16
  }
17
17
  declare global {
18
18
  interface HTMLElementTagNameMap {
@@ -1 +1 @@
1
- {"version":3,"file":"ov-effect.d.ts","sourceRoot":"","sources":["../../src/effect/ov-effect.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,UAAU,CAAC;AAyC3B,qBACa,MAAO,SAAQ,GAAG;IAC7B,MAAM,CAAC,MAAM,4BA6IX;IACU,EAAE,SAAe;IACjB,EAAE,SAAgB;IAClB,EAAE,SAAiB;IAC/B,MAAM;CAGP;AACD,qBACa,MAAO,SAAQ,GAAG;IAC7B,MAAM,CAAC,MAAM,4BAYX;IACF,MAAM;CAGP;AACD,qBACa,QAAS,SAAQ,GAAG;IAC/B,MAAM,CAAC,MAAM,4BA6BX;IACF,MAAM;CAGP;AACD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
1
+ {"version":3,"file":"ov-effect.d.ts","sourceRoot":"","sources":["../../src/effect/ov-effect.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,UAAU,CAAC;AA6C3B,qBACa,MAAO,SAAQ,GAAG;IAC7B,MAAM,CAAC,MAAM,4BAiJX;IACU,EAAE,SAAe;IACjB,EAAE,SAAgB;IAClB,EAAE,SAAiB;IAC/B,MAAM;CAOP;AACD,qBACa,MAAO,SAAQ,GAAG;IAC7B,MAAM,CAAC,MAAM,4BAgBX;IACF,MAAM;CAIP;AACD,qBACa,QAAS,SAAQ,GAAG;IAC/B,MAAM,CAAC,MAAM,4BAiCX;IACF,MAAM;CAMP;AACD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
@@ -6,198 +6,210 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { css, define, html, property } from "../deps.js";
8
8
  import STD from "./std.js";
9
- const theme = css `
10
- :host{
11
- --ov-text:aliceblue;
12
- --ov-border: 0.275em;
13
- --ov-port:#1a1a1a;
14
- --ov-1-1:#AE0CA5;--ov-1-2:#FFD802;
15
- --ov-2-1:#1fe173;--ov-2-2:#582bca;
16
- --ov-3-1:#00b4f0;--ov-3-2:#e614e6;
17
- --ov-deg:60deg;
18
- --ov-1:linear-gradient(var(--ov-deg),var(--ov-1-1),var(--ov-1-2));
19
- --ov-2:linear-gradient(var(--ov-deg),var(--ov-2-1),var(--ov-2-2));
20
- --ov-3:linear-gradient(var(--ov-deg),var(--ov-3-1),var(--ov-3-2));
21
- }
22
- .overbreathflow {
23
- animation: 8s linear infinite breathflow;
24
- height: 100%;
25
- width: 100%;
26
- position: absolute;
27
- border-radius: inherit;
28
- }
29
- @keyframes breathflow {
30
- 0%,
31
- 100% {
32
- opacity: 1;
33
- background-image: var(--ov-1);
34
- }
35
- 33.33% {
36
- opacity: 1;
37
- background-image: var(--ov-2);
38
- }
39
- 16.66%,
40
- 50.33%,
41
- 83% {
42
- opacity: 0;
43
- }
44
- 66.67% {
45
- opacity: 1;
46
- background-image: var(--ov-3);
47
- }
48
- }`;
9
+ const theme = css `
10
+ :host {
11
+ --ov-text: aliceblue;
12
+ --ov-border: 0.275em;
13
+ --ov-port: #1a1a1a;
14
+ --ov-1-1: #ae0ca5;
15
+ --ov-1-2: #ffd802;
16
+ --ov-2-1: #1fe173;
17
+ --ov-2-2: #582bca;
18
+ --ov-3-1: #00b4f0;
19
+ --ov-3-2: #e614e6;
20
+ --ov-deg: 60deg;
21
+ --ov-1: linear-gradient(var(--ov-deg), var(--ov-1-1), var(--ov-1-2));
22
+ --ov-2: linear-gradient(var(--ov-deg), var(--ov-2-1), var(--ov-2-2));
23
+ --ov-3: linear-gradient(var(--ov-deg), var(--ov-3-1), var(--ov-3-2));
24
+ }
25
+ .overbreathflow {
26
+ animation: 8s linear infinite breathflow;
27
+ height: 100%;
28
+ width: 100%;
29
+ position: absolute;
30
+ border-radius: inherit;
31
+ }
32
+ @keyframes breathflow {
33
+ 0%,
34
+ 100% {
35
+ opacity: 1;
36
+ background-image: var(--ov-1);
37
+ }
38
+ 33.33% {
39
+ opacity: 1;
40
+ background-image: var(--ov-2);
41
+ }
42
+ 16.66%,
43
+ 50.33%,
44
+ 83% {
45
+ opacity: 0;
46
+ }
47
+ 66.67% {
48
+ opacity: 1;
49
+ background-image: var(--ov-3);
50
+ }
51
+ }
52
+ `;
49
53
  let OVText = class OVText extends STD {
50
54
  constructor() {
51
55
  super(...arguments);
52
- this.t1 = `t1 unset.`;
53
- this.t2 = `t2 unset..`;
54
- this.t3 = `t3 unset...`;
56
+ this.t1 = "t1 unset.";
57
+ this.t2 = "t2 unset..";
58
+ this.t3 = "t3 unset...";
55
59
  }
56
60
  render() {
57
- return html `<div class="overbreath"><span class="overbreathpart"><span class="overbreathroot">${this.t1}</span><span class="overbreathtext">${this.t1}</span></span><span class="overbreathpart"><span class="overbreathroot">${this.t2}</span><span class="overbreathtext">${this.t2}</span></span><span class="overbreathpart"><span class="overbreathroot">${this.t3}</span><span class="overbreathtext">${this.t3}</span></span></div>`;
61
+ return html `<div class="overbreath">
62
+ <span class="overbreathpart"><span class="overbreathroot">${this.t1}</span><span class="overbreathtext">${this.t1}</span></span>
63
+ <span class="overbreathpart"><span class="overbreathroot">${this.t2}</span><span class="overbreathtext">${this.t2}</span></span>
64
+ <span class="overbreathpart"><span class="overbreathroot">${this.t3}</span><span class="overbreathtext">${this.t3}</span></span>
65
+ </div>`;
58
66
  }
59
67
  };
60
- OVText.styles = [theme, css `:host{
61
- display:flex;
62
- margin:auto;
63
- width:fit-content;
64
- font-size:clamp(4.4rem,9vw,5rem);
65
- align-items: center;
66
- }
67
- @media screen and (max-width:1280px) {
68
- :host {
69
- flex-direction: column;
70
- }
71
- }
72
- *::selection{
73
- background: none;
74
- }
75
- .overbreath {
76
- font-size: inherit;
77
- padding-bottom: 1rem;
78
- display: flex;
79
- align-items: inherit;
80
- flex-direction: inherit;
81
- }
82
- .overbreathpart {
83
- line-height: 1;
84
- position: relative;
85
- }
86
- .overbreathroot {
87
- color: currentColor;
88
- position: absolute;
89
- top: 0;
90
- }
91
- .overbreathtext,
92
- .overbreathroot {
93
- white-space: nowrap;
94
- box-sizing: border-box;
95
- padding-right: 2.5px;
96
- letter-spacing: -2.5px;
97
- width: fit-content;
98
- background-clip: text;
99
- -webkit-background-clip: text;
100
- font-weight: 800;
101
- font-size: inherit;
102
- }
103
- .overbreathtext {
104
- box-sizing: border-box;
105
- -webkit-text-fill-color: transparent;
106
- }
107
- .overbreathpart:nth-child(1) .overbreathtext {
108
- animation: overbreathtext1 8s infinite;
109
- background-image: var(--ov-1);
110
- }
111
- .overbreathpart:nth-child(2) .overbreathtext {
112
- animation: 8s ease 0s infinite normal none running overbreathtext2;
113
- background-image: var(--ov-2);
114
- }
115
- .overbreathpart:nth-child(3) .overbreathtext {
116
- animation: 8s ease 0s infinite normal none running overbreathtext3;
117
- background-image: var(--ov-3);
118
- }
119
- .overbreathpart:nth-child(1) .overbreathroot {
120
- animation: overbreath1 8s infinite;
121
- }
122
- .overbreathpart:nth-child(2) .overbreathroot {
123
- animation: overbreath2 8s infinite;
124
- }
125
- .overbreathpart:nth-child(3) .overbreathroot {
126
- animation: overbreath3 8s infinite;
127
- }
128
- @keyframes overbreathtext1 {
129
- 0%,
130
- 16.667%,
131
- to {
132
- opacity: 1;
133
- }
134
- 33.333%,
135
- 83.333% {
136
- opacity: 0;
137
- }
138
- }
139
- @keyframes overbreathtext2 {
140
- 0%,
141
- to {
142
- opacity: 0;
143
- }
144
- 33.333%,
145
- 50% {
146
- opacity: 1;
147
- }
148
- 16.667%,
149
- 66.667% {
150
- opacity: 0;
151
- }
152
- }
153
- @keyframes overbreathtext3 {
154
- 0%,
155
- 50%,
156
- to {
157
- opacity: 0;
158
- }
159
- 66.667%,
160
- 83.333% {
161
- opacity: 1;
162
- }
163
- }
164
- @keyframes overbreath1 {
165
- 0%,
166
- 16.667%,
167
- to {
168
- opacity: 0;
169
- }
170
- 25%,
171
- 91.667% {
172
- opacity: 1;
173
- }
174
- }
175
- @keyframes overbreath2 {
176
- 0%,
177
- to {
178
- opacity: 1;
179
- }
180
- 33.333%,
181
- 50% {
182
- opacity: 0;
183
- }
184
- 25%,
185
- 58.333% {
186
- opacity: 1;
187
- }
188
- }
189
- @keyframes overbreath3 {
190
- 0%,
191
- 58.333%,
192
- 91.667%,
193
- to {
194
- opacity: 1;
195
- }
196
- 66.667%,
197
- 83.333% {
198
- opacity: 0;
199
- }
200
- }`
68
+ OVText.styles = [
69
+ theme,
70
+ css `
71
+ :host {
72
+ display: flex;
73
+ margin: auto;
74
+ width: fit-content;
75
+ font-size: clamp(4.4rem, 9vw, 5rem);
76
+ align-items: center;
77
+ }
78
+ @media screen and (max-width: 1280px) {
79
+ :host {
80
+ flex-direction: column;
81
+ }
82
+ }
83
+ *::selection {
84
+ background: none;
85
+ }
86
+ .overbreath {
87
+ font-size: inherit;
88
+ padding-bottom: 1rem;
89
+ display: flex;
90
+ align-items: inherit;
91
+ flex-direction: inherit;
92
+ }
93
+ .overbreathpart {
94
+ line-height: 1;
95
+ position: relative;
96
+ }
97
+ .overbreathroot {
98
+ color: currentColor;
99
+ position: absolute;
100
+ top: 0;
101
+ }
102
+ .overbreathtext,
103
+ .overbreathroot {
104
+ white-space: nowrap;
105
+ box-sizing: border-box;
106
+ padding-right: 2.5px;
107
+ letter-spacing: -2.5px;
108
+ width: fit-content;
109
+ background-clip: text;
110
+ -webkit-background-clip: text;
111
+ font-weight: 800;
112
+ font-size: inherit;
113
+ }
114
+ .overbreathtext {
115
+ box-sizing: border-box;
116
+ -webkit-text-fill-color: transparent;
117
+ }
118
+ .overbreathpart:nth-child(1) .overbreathtext {
119
+ animation: overbreathtext1 8s infinite;
120
+ background-image: var(--ov-1);
121
+ }
122
+ .overbreathpart:nth-child(2) .overbreathtext {
123
+ animation: 8s ease 0s infinite normal none running overbreathtext2;
124
+ background-image: var(--ov-2);
125
+ }
126
+ .overbreathpart:nth-child(3) .overbreathtext {
127
+ animation: 8s ease 0s infinite normal none running overbreathtext3;
128
+ background-image: var(--ov-3);
129
+ }
130
+ .overbreathpart:nth-child(1) .overbreathroot {
131
+ animation: overbreath1 8s infinite;
132
+ }
133
+ .overbreathpart:nth-child(2) .overbreathroot {
134
+ animation: overbreath2 8s infinite;
135
+ }
136
+ .overbreathpart:nth-child(3) .overbreathroot {
137
+ animation: overbreath3 8s infinite;
138
+ }
139
+ @keyframes overbreathtext1 {
140
+ 0%,
141
+ 16.667%,
142
+ to {
143
+ opacity: 1;
144
+ }
145
+ 33.333%,
146
+ 83.333% {
147
+ opacity: 0;
148
+ }
149
+ }
150
+ @keyframes overbreathtext2 {
151
+ 0%,
152
+ to {
153
+ opacity: 0;
154
+ }
155
+ 33.333%,
156
+ 50% {
157
+ opacity: 1;
158
+ }
159
+ 16.667%,
160
+ 66.667% {
161
+ opacity: 0;
162
+ }
163
+ }
164
+ @keyframes overbreathtext3 {
165
+ 0%,
166
+ 50%,
167
+ to {
168
+ opacity: 0;
169
+ }
170
+ 66.667%,
171
+ 83.333% {
172
+ opacity: 1;
173
+ }
174
+ }
175
+ @keyframes overbreath1 {
176
+ 0%,
177
+ 16.667%,
178
+ to {
179
+ opacity: 0;
180
+ }
181
+ 25%,
182
+ 91.667% {
183
+ opacity: 1;
184
+ }
185
+ }
186
+ @keyframes overbreath2 {
187
+ 0%,
188
+ to {
189
+ opacity: 1;
190
+ }
191
+ 33.333%,
192
+ 50% {
193
+ opacity: 0;
194
+ }
195
+ 25%,
196
+ 58.333% {
197
+ opacity: 1;
198
+ }
199
+ }
200
+ @keyframes overbreath3 {
201
+ 0%,
202
+ 58.333%,
203
+ 91.667%,
204
+ to {
205
+ opacity: 1;
206
+ }
207
+ 66.667%,
208
+ 83.333% {
209
+ opacity: 0;
210
+ }
211
+ }
212
+ `,
201
213
  ];
202
214
  __decorate([
203
215
  property()
@@ -214,21 +226,26 @@ OVText = __decorate([
214
226
  export { OVText };
215
227
  let OVPort = class OVPort extends STD {
216
228
  render() {
217
- return html `<div class="overbreathflow"></div><slot></slot>`;
229
+ return html `<div class="overbreathflow"></div>
230
+ <slot></slot>`;
218
231
  }
219
232
  };
220
- OVPort.styles = [theme, css `:host{
221
- z-index: 1;
222
- display: block;
223
- position: relative;
224
- width: 100%;
225
- height: 100%;
226
- border-radius: inherit;
227
- overflow: hidden;
228
- }
229
- .overbreathflow{
230
- z-index: -1;
231
- }`
233
+ OVPort.styles = [
234
+ theme,
235
+ css `
236
+ :host {
237
+ z-index: 1;
238
+ display: block;
239
+ position: relative;
240
+ width: 100%;
241
+ height: 100%;
242
+ border-radius: inherit;
243
+ overflow: hidden;
244
+ }
245
+ .overbreathflow {
246
+ z-index: -1;
247
+ }
248
+ `,
232
249
  ];
233
250
  OVPort = __decorate([
234
251
  define("ov-port")
@@ -236,38 +253,45 @@ OVPort = __decorate([
236
253
  export { OVPort };
237
254
  let OVButton = class OVButton extends STD {
238
255
  render() {
239
- return html `<div class="overbreathboard"><div class="overbreathflow"></div><button><slot></slot></button></div>`;
256
+ return html `<div class="overbreathboard">
257
+ <div class="overbreathflow"></div>
258
+ <button><slot></slot></button>
259
+ </div>`;
240
260
  }
241
261
  };
242
- OVButton.styles = [theme, css `:host{
243
- display: inline-block;
244
- width: fit-content;
245
- height: fit-content;
246
- background: var(--ov-port);
247
- color:var(--ov-text);
248
- border-radius: .375em;
249
- font-size: 1em;
250
- }
251
- .overbreathboard{
252
- color:currentColor;
253
- background:inherit;
254
- border-radius: inherit;
255
- display: flex;
256
- position: relative;
257
- width: 100%;
258
- height: 100%;
259
- }
260
- button{
261
- font-size: inherit;
262
- color:currentColor;
263
- background:inherit;
264
- width: 100%;
265
- margin: var(--ov-border);
266
- position: relative;
267
- z-index: 1;
268
- border: 0;
269
- border-radius: inherit;
270
- }`
262
+ OVButton.styles = [
263
+ theme,
264
+ css `
265
+ :host {
266
+ display: inline-block;
267
+ width: fit-content;
268
+ height: fit-content;
269
+ background: var(--ov-port);
270
+ color: var(--ov-text);
271
+ border-radius: 0.375em;
272
+ font-size: 1em;
273
+ }
274
+ .overbreathboard {
275
+ color: currentColor;
276
+ background: inherit;
277
+ border-radius: inherit;
278
+ display: flex;
279
+ position: relative;
280
+ width: 100%;
281
+ height: 100%;
282
+ }
283
+ button {
284
+ font-size: inherit;
285
+ color: currentColor;
286
+ background: inherit;
287
+ width: 100%;
288
+ margin: var(--ov-border);
289
+ position: relative;
290
+ z-index: 1;
291
+ border: 0;
292
+ border-radius: inherit;
293
+ }
294
+ `,
271
295
  ];
272
296
  OVButton = __decorate([
273
297
  define("ov-button")
@@ -5,7 +5,7 @@ export declare class ROPort extends STD {
5
5
  static styles: import("lit").CSSResult;
6
6
  current: number;
7
7
  get assigned(): any;
8
- render(): import("lit").TemplateResult<1>;
8
+ render(): import("lit-html").TemplateResult<1>;
9
9
  firstUpdated(): void;
10
10
  show(i: any): void;
11
11
  next(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ro-effect.d.ts","sourceRoot":"","sources":["../../src/effect/ro-effect.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,qBACa,MAAO,SAAQ,GAAG;IACD,KAAK,SAAK;IACV,UAAU,SAAK;IAC3C,MAAM,CAAC,MAAM,0BAwCX;IACF,OAAO,SAAK;IACZ,IAAI,QAAQ,IAAI,GAAG,CAElB;IACD,MAAM;IAON,YAAY;IAeZ,IAAI,CAAC,CAAC,KAAA;IAYN,IAAI;IAKJ,IAAI;CAKL;AACD,eAAe,MAAM,CAAC;AACtB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
1
+ {"version":3,"file":"ro-effect.d.ts","sourceRoot":"","sources":["../../src/effect/ro-effect.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,qBACa,MAAO,SAAQ,GAAG;IACD,KAAK,SAAK;IACV,UAAU,SAAK;IAC3C,MAAM,CAAC,MAAM,0BAyCX;IACF,OAAO,SAAK;IACZ,IAAI,QAAQ,IAAI,GAAG,CAElB;IACD,MAAM;IAWN,YAAY;IAeZ,IAAI,CAAC,CAAC,KAAA;IAYN,IAAI;IAKJ,IAAI;CAKL;AACD,eAAe,MAAM,CAAC;AACtB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}