@openelement/ui 1.0.0-alpha.1 → 1.0.0-alpha.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.
Files changed (47) hide show
  1. package/CUSTOMIZATION.md +272 -0
  2. package/README.md +59 -54
  3. package/package.json +19 -33
  4. package/src/component-recipes.js +39 -100
  5. package/src/control-recipe.css +21 -0
  6. package/src/generated-manifest.json +13 -160
  7. package/src/index.d.ts +10 -42
  8. package/src/index.js +10 -46
  9. package/src/instance-state.d.ts +16 -0
  10. package/src/instance-state.js +30 -24
  11. package/src/manifest.d.ts +5 -9
  12. package/src/manifest.js +6 -11
  13. package/src/open-button.css +120 -0
  14. package/src/open-button.d.ts +296 -898
  15. package/src/open-button.js +1130 -1436
  16. package/src/open-code-block.css +46 -0
  17. package/src/open-code-block.d.ts +158 -168
  18. package/src/open-code-block.js +224 -468
  19. package/src/open-dialog.css +137 -0
  20. package/src/open-dialog.d.ts +241 -424
  21. package/src/open-dialog.js +626 -903
  22. package/src/open-dropdown.css +28 -0
  23. package/src/open-dropdown.d.ts +195 -252
  24. package/src/open-dropdown.js +352 -494
  25. package/src/open-input.css +80 -0
  26. package/src/open-input.d.ts +404 -1420
  27. package/src/open-input.js +1789 -2170
  28. package/src/open-theme-toggle.css +53 -0
  29. package/src/open-theme-toggle.d.ts +171 -287
  30. package/src/open-theme-toggle.js +512 -801
  31. package/src/overlay-recipe.css +9 -0
  32. package/src/register.d.ts +4 -1
  33. package/src/register.js +19 -58
  34. package/src/surface-recipe.css +10 -0
  35. package/src/theme.css +206 -0
  36. package/THIRD_PARTY_NOTICES.md +0 -45
  37. package/src/open-badge.d.ts +0 -185
  38. package/src/open-badge.js +0 -296
  39. package/src/open-callout.d.ts +0 -402
  40. package/src/open-callout.js +0 -603
  41. package/src/open-card.d.ts +0 -168
  42. package/src/open-card.js +0 -310
  43. package/src/open-props-tokens.d.ts +0 -9
  44. package/src/open-props-tokens.js +0 -459
  45. package/src/open-tabs.d.ts +0 -218
  46. package/src/open-tabs.js +0 -401
  47. package/src/semantic-tokens.css +0 -413
@@ -0,0 +1,9 @@
1
+ /* .overlay — the overlay recipe shared by open-dialog and open-dropdown.
2
+ * Ported verbatim from the pre-#1558 overlayRecipe sheet. */
3
+ .overlay {
4
+ color: var(--color-foreground);
5
+ background: color-mix(in srgb, var(--color-popover) 92%, transparent);
6
+ border: calc(var(--spacing) * 0.25) solid color-mix(in srgb, color-mix(in srgb, var(--color-foreground) 25%, var(--color-border)) 62%, var(--color-primary));
7
+ border-radius: var(--radius-xl);
8
+ box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-white) 8%, transparent), var(--shadow-2xl);
9
+ }
package/src/register.d.ts CHANGED
@@ -1 +1,4 @@
1
- /** Explicitly register every first-party UI element. Safe to call repeatedly. */ export declare function registerOpenUi(registry?: CustomElementRegistry | undefined): void;
1
+ //#region src/register.d.ts
2
+ /** Explicitly register every first-party UI element. Safe to call repeatedly. */
3
+ export declare function registerOpenUi(registry?: CustomElementRegistry | undefined): void;
4
+ //#endregion
package/src/register.js CHANGED
@@ -1,61 +1,22 @@
1
- import { OpenBadge } from './open-badge.js';
2
- import { OpenButton } from './open-button.js';
3
- import { OpenCallout } from './open-callout.js';
4
- import { OpenCard } from './open-card.js';
5
- import { OpenCodeBlock } from './open-code-block.js';
6
- import { OpenDialog } from './open-dialog.js';
7
- import { OpenDropdown } from './open-dropdown.js';
8
- import { OpenInput } from './open-input.js';
9
- import { OpenTabs } from './open-tabs.js';
10
- import { OpenThemeToggle } from './open-theme-toggle.js';
11
- // v0.44: compiled modules carry no runtime tagName export (the compiled
12
- // program owns the tag), so the registration table lives here, beside the
13
- // class imports. Keep aligned with manifest.declarations order.
1
+ import { OpenButton } from "./open-button.js";
2
+ import { OpenInput } from "./open-input.js";
3
+ import { OpenCodeBlock } from "./open-code-block.js";
4
+ import { OpenThemeToggle } from "./open-theme-toggle.js";
5
+ import { OpenDialog } from "./open-dialog.js";
6
+ import { OpenDropdown } from "./open-dropdown.js";
7
+ //#region src/register.ts
14
8
  const COMPONENTS = [
15
- [
16
- 'open-card',
17
- OpenCard
18
- ],
19
- [
20
- 'open-callout',
21
- OpenCallout
22
- ],
23
- [
24
- 'open-button',
25
- OpenButton
26
- ],
27
- [
28
- 'open-input',
29
- OpenInput
30
- ],
31
- [
32
- 'open-theme-toggle',
33
- OpenThemeToggle
34
- ],
35
- [
36
- 'open-code-block',
37
- OpenCodeBlock
38
- ],
39
- [
40
- 'open-badge',
41
- OpenBadge
42
- ],
43
- [
44
- 'open-dialog',
45
- OpenDialog
46
- ],
47
- [
48
- 'open-dropdown',
49
- OpenDropdown
50
- ],
51
- [
52
- 'open-tabs',
53
- OpenTabs
54
- ]
9
+ ["open-button", OpenButton],
10
+ ["open-input", OpenInput],
11
+ ["open-theme-toggle", OpenThemeToggle],
12
+ ["open-code-block", OpenCodeBlock],
13
+ ["open-dialog", OpenDialog],
14
+ ["open-dropdown", OpenDropdown]
55
15
  ];
56
- /** Explicitly register every first-party UI element. Safe to call repeatedly. */ export function registerOpenUi(registry = globalThis.customElements) {
57
- if (!registry) return;
58
- for (const [tagName, constructor] of COMPONENTS){
59
- if (!registry.get(tagName)) registry.define(tagName, constructor);
60
- }
16
+ /** Explicitly register every first-party UI element. Safe to call repeatedly. */
17
+ function registerOpenUi(registry = globalThis.customElements) {
18
+ if (!registry) return;
19
+ for (const [tagName, constructor] of COMPONENTS) if (!registry.get(tagName)) registry.define(tagName, constructor);
61
20
  }
21
+ //#endregion
22
+ export { registerOpenUi };
@@ -0,0 +1,10 @@
1
+ /* .surface — the public surface recipe (a package CSS surface independent
2
+ * of the retired zero-interaction components). Ported verbatim from the
3
+ * pre-#1558 surfaceRecipe sheet. */
4
+ .surface {
5
+ color: var(--color-foreground);
6
+ background: linear-gradient(145deg, color-mix(in srgb, var(--color-primary) 9%, var(--color-card)), color-mix(in srgb, var(--color-card) 90%, transparent));
7
+ border: calc(var(--spacing) * 0.25) solid color-mix(in srgb, var(--color-border) 78%, var(--color-primary));
8
+ border-radius: var(--radius-lg);
9
+ box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-white) 8%, transparent), var(--shadow-2xl);
10
+ }
package/src/theme.css ADDED
@@ -0,0 +1,206 @@
1
+ /* ═══════════════════════════════════════════════════════════════════════
2
+ The real @theme role source — shadcn semantic roles on the Tailwind
3
+ default scale (#1504 draft, #1505 C2 handoff executed).
4
+
5
+ C2 handoff (executed): with Tailwind 4.x installed (4.3.3, @tailwindcss/
6
+ vite — the v3-lts line is forbidden), this file's hand-carried scale
7
+ layer is replaced by the real @theme mechanism: the Tailwind build's own
8
+ theme layer provides every scale variable (--spacing, the color ramps,
9
+ the type/motion scales) from the INSTALLED tailwindcss theme.css, and the
10
+ role declarations below moved into the @theme block verbatim. Role names
11
+ are the migration contract, not this file's selector shape.
12
+
13
+ Version note (4.3.3 vs the v4.1.16 text the retired hand-carried scale
14
+ layer was evaluated against): the installed 4.3.3 defaults prevail per
15
+ the C2 handoff. Differences touching this package's vocabulary:
16
+ - --color-zinc-50: oklch(98.5% 0 0) → oklch(98.5% 0 none) (achromatic
17
+ ramps spell the hue component `none`; visually identical at chroma 0).
18
+ - --font-sans: the default system stack grew (-apple-system,
19
+ BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans',
20
+ Arial now precede sans-serif).
21
+ No carried ramp step other than zinc-50 changed value between the two
22
+ versions. With the alpha9 C5 twin removal this file has no compiled
23
+ shadow form: the installed Tailwind defaults are the only scale
24
+ evaluation, reached exclusively through the preset's build.
25
+
26
+ Rules the roles obey (umbrella rulings, do not relitigate):
27
+
28
+ - Role values are expressed with Tailwind default theme variables
29
+ (var(--color-<ramp>-<step>)); no role carries a color literal.
30
+ - Dark pairs follow the shadcn v4 convention; the '.dark' selector is
31
+ re-pointed at this repo's theme mechanism
32
+ (:root[data-theme='dark'], :host([data-theme='dark'])) — the preset's
33
+ Tailwind build compiles no @custom-variant here yet.
34
+ - One deliberate divergence from the shadcn default palette: light
35
+ --color-destructive sits on red-700, not red-600 — red-600 clears 4.5:1
36
+ on the background but drops to ~3.8:1 on the 10% wash-of-itself pattern
37
+ the status recipes paint (the retired open-badge wash was the measured
38
+ case, ui suite); red-700 clears both.
39
+ - Three non-shadcn status roles (--color-success/-warning/-info) joined
40
+ the table in C3 (#1506): the components' status tones need theme-aware
41
+ inks and the alias layer that used to carry them is deleted. Their light
42
+ steps are the AA-tuned ones the alias layer measured (same floor rule as
43
+ destructive above); forced-colors re-seats them on CanvasText like
44
+ destructive — high-contrast palettes own hue, so status is carried by
45
+ the label and the border, not by color.
46
+
47
+ Consumption: the @openelement/router tailwind preset compiles this file
48
+ into the bundle's theme layer (`tailwind: { theme: [...] }`). The ui
49
+ package emits no values itself (the theme-tokens twin is deleted): a
50
+ consumer without the preset writes its own table using these role names
51
+ — the OFF contract in CUSTOMIZATION.md ("Value delivery").
52
+ ═══════════════════════════════════════════════════════════════════════ */
53
+
54
+ @theme {
55
+ /* ── shadcn semantic roles (light), over the TW4 default scale.
56
+ Violet-anchored roles (the brand reads violet); neutral surfaces stay
57
+ zinc so the page base keeps its near-neutral paper feel. ── */
58
+
59
+ --color-background: var(--color-white);
60
+ --color-foreground: var(--color-zinc-950);
61
+
62
+ --color-card: var(--color-white);
63
+ --color-card-foreground: var(--color-zinc-950);
64
+
65
+ --color-popover: var(--color-white);
66
+ --color-popover-foreground: var(--color-zinc-950);
67
+
68
+ --color-primary: var(--color-violet-700);
69
+ --color-primary-foreground: var(--color-violet-50);
70
+
71
+ --color-secondary: var(--color-violet-100);
72
+ --color-secondary-foreground: var(--color-violet-900);
73
+
74
+ --color-muted: var(--color-zinc-100);
75
+ --color-muted-foreground: var(--color-zinc-600);
76
+
77
+ --color-accent: var(--color-violet-100);
78
+ --color-accent-foreground: var(--color-violet-900);
79
+
80
+ --color-destructive: var(--color-red-700);
81
+ --color-destructive-foreground: var(--color-white);
82
+
83
+ /* Status inks (non-shadcn addition — see the header note). */
84
+ --color-success: var(--color-green-800);
85
+ --color-warning: var(--color-amber-800);
86
+ --color-info: var(--color-blue-700);
87
+
88
+ --color-border: var(--color-violet-200);
89
+ --color-input: var(--color-violet-200);
90
+ --color-ring: var(--color-violet-500);
91
+
92
+ --color-chart-1: var(--color-violet-500);
93
+ --color-chart-2: var(--color-sky-500);
94
+ --color-chart-3: var(--color-emerald-500);
95
+ --color-chart-4: var(--color-amber-500);
96
+ --color-chart-5: var(--color-rose-500);
97
+ }
98
+
99
+ /* Dark pairs (shadcn v4 convention, selector re-pointed — see header). */
100
+ :root[data-theme='dark'],
101
+ :host([data-theme='dark']) {
102
+ --color-background: var(--color-zinc-950);
103
+ --color-foreground: var(--color-zinc-50);
104
+
105
+ --color-card: var(--color-zinc-900);
106
+ --color-card-foreground: var(--color-zinc-50);
107
+
108
+ --color-popover: var(--color-zinc-900);
109
+ --color-popover-foreground: var(--color-zinc-50);
110
+
111
+ --color-primary: var(--color-violet-400);
112
+ --color-primary-foreground: var(--color-violet-950);
113
+
114
+ --color-secondary: var(--color-zinc-800);
115
+ --color-secondary-foreground: var(--color-zinc-100);
116
+
117
+ --color-muted: var(--color-zinc-800);
118
+ --color-muted-foreground: var(--color-zinc-400);
119
+
120
+ --color-accent: var(--color-zinc-800);
121
+ --color-accent-foreground: var(--color-zinc-100);
122
+
123
+ --color-destructive: var(--color-red-400);
124
+ --color-destructive-foreground: var(--color-red-950);
125
+
126
+ --color-success: var(--color-green-400);
127
+ --color-warning: var(--color-amber-400);
128
+ --color-info: var(--color-blue-400);
129
+
130
+ --color-border: var(--color-zinc-800);
131
+ --color-input: var(--color-zinc-800);
132
+ --color-ring: var(--color-violet-400);
133
+
134
+ --color-chart-1: var(--color-violet-400);
135
+ --color-chart-2: var(--color-sky-400);
136
+ --color-chart-3: var(--color-emerald-400);
137
+ --color-chart-4: var(--color-amber-400);
138
+ --color-chart-5: var(--color-rose-400);
139
+ }
140
+
141
+ /* Forced-colors layer: every role re-seats on a system color. The mapping is
142
+ theme-independent (the UA owns the palette in forced-colors mode); the
143
+ duplicate dark pair exists so both selectors stay total if a UA applies
144
+ author dark resolution before forcing. Values are system keywords — no
145
+ author color survives the forcing. */
146
+ @media (forced-colors: active) {
147
+ :root {
148
+ --color-background: Canvas;
149
+ --color-foreground: CanvasText;
150
+ --color-card: Canvas;
151
+ --color-card-foreground: CanvasText;
152
+ --color-popover: Canvas;
153
+ --color-popover-foreground: CanvasText;
154
+ --color-primary: ButtonText;
155
+ --color-primary-foreground: Canvas;
156
+ --color-secondary: ButtonFace;
157
+ --color-secondary-foreground: ButtonText;
158
+ --color-muted: Canvas;
159
+ --color-muted-foreground: GrayText;
160
+ --color-accent: ButtonFace;
161
+ --color-accent-foreground: ButtonText;
162
+ --color-destructive: CanvasText;
163
+ --color-destructive-foreground: Canvas;
164
+ --color-success: CanvasText;
165
+ --color-warning: CanvasText;
166
+ --color-info: CanvasText;
167
+ --color-border: CanvasText;
168
+ --color-input: CanvasText;
169
+ --color-ring: Highlight;
170
+ --color-chart-1: LinkText;
171
+ --color-chart-2: Mark;
172
+ --color-chart-3: GrayText;
173
+ --color-chart-4: Highlight;
174
+ --color-chart-5: CanvasText;
175
+ }
176
+ :root[data-theme='dark'],
177
+ :host([data-theme='dark']) {
178
+ --color-background: Canvas;
179
+ --color-foreground: CanvasText;
180
+ --color-card: Canvas;
181
+ --color-card-foreground: CanvasText;
182
+ --color-popover: Canvas;
183
+ --color-popover-foreground: CanvasText;
184
+ --color-primary: ButtonText;
185
+ --color-primary-foreground: Canvas;
186
+ --color-secondary: ButtonFace;
187
+ --color-secondary-foreground: ButtonText;
188
+ --color-muted: Canvas;
189
+ --color-muted-foreground: GrayText;
190
+ --color-accent: ButtonFace;
191
+ --color-accent-foreground: ButtonText;
192
+ --color-destructive: CanvasText;
193
+ --color-destructive-foreground: Canvas;
194
+ --color-success: CanvasText;
195
+ --color-warning: CanvasText;
196
+ --color-info: CanvasText;
197
+ --color-border: CanvasText;
198
+ --color-input: CanvasText;
199
+ --color-ring: Highlight;
200
+ --color-chart-1: LinkText;
201
+ --color-chart-2: Mark;
202
+ --color-chart-3: GrayText;
203
+ --color-chart-4: Highlight;
204
+ --color-chart-5: CanvasText;
205
+ }
206
+ }
@@ -1,45 +0,0 @@
1
- # @openelement/ui — Third-Party Notices
2
-
3
- This file is part of the published package tarball. It records the
4
- third-party components redistributed inside `@openelement/ui` itself. The
5
- repository-level inventory (vendored assets, fonts, Prism) lives in the
6
- repository root `THIRD_PARTY_NOTICES.md`; package-level copies like this one
7
- exist because a package tarball cannot reach repository-root files.
8
-
9
- ## open-props 1.7.23
10
-
11
- Design tokens carried verbatim into the generated token module
12
- (`src/open-props-tokens.ts`) by the package's build-time adapter
13
- (`tools/generate-ui-tokens.ts`, task `generate:ui-tokens`), which reads the
14
- pinned npm dependency at generation time. Only these declarations ship: the
15
- gray ramp, `--indigo-6`, two border sizes, the font weights, and two
16
- line-heights — everything else in the token layer is first-party.
17
-
18
- - Upstream: <https://github.com/argyleink/open-props> (tag `1.7.23`,
19
- <https://open-props.style>)
20
- - License: MIT
21
- - Copyright: Copyright (c) 2021 Adam Argyle
22
-
23
- ```text
24
- MIT License
25
-
26
- Copyright (c) 2021 Adam Argyle
27
-
28
- Permission is hereby granted, free of charge, to any person obtaining a copy
29
- of this software and associated documentation files (the "Software"), to deal
30
- in the Software without restriction, including without limitation the rights
31
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32
- copies of the Software, and to permit persons to whom the Software is
33
- furnished to do so, subject to the following conditions:
34
-
35
- The above copyright notice and this permission notice shall be included in all
36
- copies or substantial portions of the Software.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
44
- SOFTWARE.
45
- ```
@@ -1,185 +0,0 @@
1
- import { OpenElement, type StyleSheetLike } from '@openelement/element';
2
- declare const __partProgram: {
3
- readonly "version": number;
4
- readonly "tag": string;
5
- readonly "root": {
6
- readonly "id": string;
7
- readonly "kind": string;
8
- readonly "nodes": readonly [string];
9
- };
10
- readonly "template": readonly [{
11
- readonly "k": string;
12
- readonly "id": string;
13
- readonly "tag": string;
14
- readonly "attrs": readonly [readonly [string, string], readonly [string, string]];
15
- readonly "children": readonly [{
16
- readonly "k": string;
17
- readonly "id": string;
18
- readonly "tag": string;
19
- readonly "attrs": readonly [];
20
- readonly "children": readonly [];
21
- }];
22
- }];
23
- readonly "parts": readonly [];
24
- readonly "regions": readonly [];
25
- readonly "dependencies": readonly [];
26
- readonly "locations": readonly [{
27
- readonly "id": string;
28
- readonly "kind": string;
29
- readonly "tag": string;
30
- readonly "path": readonly [number];
31
- }, {
32
- readonly "id": string;
33
- readonly "kind": string;
34
- readonly "tag": string;
35
- readonly "path": readonly [number, number];
36
- }];
37
- readonly "metadata": {
38
- readonly "tag": string;
39
- readonly "className": string;
40
- readonly "sourceFile": string;
41
- readonly "properties": readonly [{
42
- readonly "name": string;
43
- readonly "attribute": string;
44
- readonly "type": string;
45
- readonly "converter": string;
46
- readonly "reflect": boolean;
47
- readonly "default": string;
48
- }, {
49
- readonly "name": string;
50
- readonly "attribute": string;
51
- readonly "type": string;
52
- readonly "converter": string;
53
- readonly "reflect": boolean;
54
- readonly "default": string;
55
- }];
56
- readonly "observedAttributes": readonly [string, string];
57
- readonly "cem": {
58
- readonly "tagName": string;
59
- readonly "className": string;
60
- readonly "declaration": {
61
- readonly "name": string;
62
- readonly "module": string;
63
- };
64
- readonly "attributes": readonly [{
65
- readonly "name": string;
66
- readonly "fieldName": string;
67
- readonly "type": string;
68
- readonly "reflect": boolean;
69
- }, {
70
- readonly "name": string;
71
- readonly "fieldName": string;
72
- readonly "type": string;
73
- readonly "reflect": boolean;
74
- }];
75
- readonly "members": readonly [{
76
- readonly "name": string;
77
- readonly "fieldName": string;
78
- readonly "type": string;
79
- readonly "attribute": string;
80
- readonly "reflect": boolean;
81
- }, {
82
- readonly "name": string;
83
- readonly "fieldName": string;
84
- readonly "type": string;
85
- readonly "attribute": string;
86
- readonly "reflect": boolean;
87
- }];
88
- };
89
- };
90
- };
91
- declare const __compiledProperties: readonly [{
92
- readonly "name": string;
93
- readonly "attribute": string;
94
- readonly "type": string;
95
- readonly "converter": string;
96
- readonly "reflect": boolean;
97
- readonly "default": string;
98
- }, {
99
- readonly "name": string;
100
- readonly "attribute": string;
101
- readonly "type": string;
102
- readonly "converter": string;
103
- readonly "reflect": boolean;
104
- readonly "default": string;
105
- }];
106
- declare const __elementMetadata: {
107
- readonly "tag": string;
108
- readonly "className": string;
109
- readonly "sourceFile": string;
110
- readonly "properties": readonly [{
111
- readonly "name": string;
112
- readonly "attribute": string;
113
- readonly "type": string;
114
- readonly "converter": string;
115
- readonly "reflect": boolean;
116
- readonly "default": string;
117
- }, {
118
- readonly "name": string;
119
- readonly "attribute": string;
120
- readonly "type": string;
121
- readonly "converter": string;
122
- readonly "reflect": boolean;
123
- readonly "default": string;
124
- }];
125
- readonly "observedAttributes": readonly [string, string];
126
- readonly "cem": {
127
- readonly "tagName": string;
128
- readonly "className": string;
129
- readonly "declaration": {
130
- readonly "name": string;
131
- readonly "module": string;
132
- };
133
- readonly "attributes": readonly [{
134
- readonly "name": string;
135
- readonly "fieldName": string;
136
- readonly "type": string;
137
- readonly "reflect": boolean;
138
- }, {
139
- readonly "name": string;
140
- readonly "fieldName": string;
141
- readonly "type": string;
142
- readonly "reflect": boolean;
143
- }];
144
- readonly "members": readonly [{
145
- readonly "name": string;
146
- readonly "fieldName": string;
147
- readonly "type": string;
148
- readonly "attribute": string;
149
- readonly "reflect": boolean;
150
- }, {
151
- readonly "name": string;
152
- readonly "fieldName": string;
153
- readonly "type": string;
154
- readonly "attribute": string;
155
- readonly "reflect": boolean;
156
- }];
157
- };
158
- };
159
- declare const __observedAttributes: string[];
160
- declare const __compiledProps: {
161
- readonly tone: {
162
- readonly type;
163
- readonly default: string;
164
- readonly reflect: boolean;
165
- readonly attribute: string;
166
- };
167
- readonly size: {
168
- readonly type;
169
- readonly default: string;
170
- readonly reflect: boolean;
171
- readonly attribute: string;
172
- };
173
- };
174
- export declare class OpenBadge extends OpenElement {
175
- static __partProgram: typeof __partProgram;
176
- static __compiledProperties: typeof __compiledProperties;
177
- static __elementMetadata: typeof __elementMetadata;
178
- static props: typeof __compiledProps;
179
- static observedAttributes: typeof __observedAttributes;
180
- static styles: StyleSheetLike[];
181
- tone: string;
182
- size: string;
183
- render(): never;
184
- }
185
- export { __partProgram, __elementMetadata };