@e280/shiny 0.1.0-14 → 0.1.0-16
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 +34 -80
- package/package.json +18 -25
- package/s/{components → _archive/components}/drawer/component.ts +2 -2
- package/s/{components → _archive/components}/drawer/showcase.ts +13 -0
- package/s/_archive/demo/utils/lipsum.ts +19 -0
- package/s/{demo → _archive/demo}/views/exhibit/style.css.ts +3 -0
- package/s/_archive/demo/views/showcase/style.css.ts +53 -0
- package/s/_archive/demo/views/showcase/view.ts +54 -0
- package/s/_archive/index.html.ts +34 -0
- package/s/_archive/index.ts +19 -0
- package/s/_archive/utils/states.ts +15 -0
- package/s/demo/main.bundle.ts +16 -0
- package/s/demo/main.css +71 -0
- package/s/demo/parts/exhibit.ts +15 -0
- package/s/demo/utils/lipsum.ts +1 -1
- package/s/demo/views/codebox/style.css.ts +43 -0
- package/s/demo/views/codebox/use-prism-styles.ts +13 -0
- package/s/demo/views/codebox/view.ts +39 -0
- package/s/demo/views/showcase/style.css.ts +42 -11
- package/s/demo/views/showcase/view.ts +41 -45
- package/s/demo/views/stylebox/view.ts +21 -0
- package/s/index.html.ts +42 -29
- package/s/index.ts +1 -17
- package/s/test.ts +5 -0
- package/s/theme/parts/core.ts +34 -0
- package/s/theme/parts/reset.ts +20 -0
- package/s/theme/parts/vars.ts +41 -0
- package/s/theme/theme-string.ts +15 -0
- package/s/theme/theme.css.ts +7 -0
- package/s/views/button/showcase.ts +43 -0
- package/s/views/button/style.css.ts +110 -0
- package/s/views/button/view.ts +30 -0
- package/s/views/copy/parts/copy-status.ts +3 -0
- package/s/views/copy/parts/determine-base-status.ts +7 -0
- package/s/views/copy/parts/use-copier.ts +20 -0
- package/s/views/copy/showcase.ts +54 -0
- package/s/views/copy/style.css.ts +46 -0
- package/s/views/copy/view.ts +58 -0
- package/s/views/drawer/control.ts +31 -0
- package/s/views/drawer/showcase.ts +83 -0
- package/s/views/drawer/style.css.ts +128 -0
- package/s/views/drawer/view.ts +76 -0
- package/s/views/tabs/control.ts +31 -0
- package/s/views/tabs/showcase.ts +89 -0
- package/s/views/tabs/style.css.ts +46 -0
- package/s/views/tabs/view.ts +66 -0
- package/x/demo/main.bundle.js +13 -0
- package/x/demo/main.bundle.js.map +1 -0
- package/x/demo/main.bundle.min.js +794 -0
- package/x/demo/main.bundle.min.js.map +7 -0
- package/x/demo/main.css +71 -0
- package/x/demo/parts/exhibit.d.ts +11 -0
- package/x/demo/parts/exhibit.js +2 -0
- package/x/demo/parts/exhibit.js.map +1 -0
- package/x/demo/utils/lipsum.d.ts +1 -1
- package/x/demo/utils/lipsum.js +1 -1
- package/x/demo/utils/lipsum.js.map +1 -1
- package/x/demo/views/codebox/style.css.js +42 -0
- package/x/demo/views/codebox/style.css.js.map +1 -0
- package/x/demo/views/codebox/use-prism-styles.d.ts +1 -0
- package/x/demo/views/codebox/use-prism-styles.js +12 -0
- package/x/demo/views/codebox/use-prism-styles.js.map +1 -0
- package/x/demo/views/codebox/view.d.ts +2 -0
- package/x/demo/views/codebox/view.js +29 -0
- package/x/demo/views/codebox/view.js.map +1 -0
- package/x/demo/views/showcase/style.css.js +42 -11
- package/x/demo/views/showcase/style.css.js.map +1 -1
- package/x/demo/views/showcase/view.d.ts +2 -7
- package/x/demo/views/showcase/view.js +39 -35
- package/x/demo/views/showcase/view.js.map +1 -1
- package/x/demo/views/stylebox/view.d.ts +3 -0
- package/x/demo/views/stylebox/view.js +13 -0
- package/x/demo/views/stylebox/view.js.map +1 -0
- package/x/index.d.ts +1 -11
- package/x/index.html +212 -62
- package/x/index.html.js +40 -26
- package/x/index.html.js.map +1 -1
- package/x/index.js +1 -11
- package/x/index.js.map +1 -1
- package/x/test.js +3 -0
- package/x/test.js.map +1 -0
- package/x/theme/parts/core.d.ts +1 -0
- package/x/theme/parts/core.js +33 -0
- package/x/theme/parts/core.js.map +1 -0
- package/x/theme/parts/reset.d.ts +1 -0
- package/x/theme/parts/reset.js +19 -0
- package/x/theme/parts/reset.js.map +1 -0
- package/x/theme/parts/vars.d.ts +1 -0
- package/x/theme/parts/vars.js +34 -0
- package/x/theme/parts/vars.js.map +1 -0
- package/x/theme/theme-string.d.ts +1 -0
- package/x/theme/theme-string.js +14 -0
- package/x/theme/theme-string.js.map +1 -0
- package/x/theme/theme.css.d.ts +1 -0
- package/x/theme/theme.css.js +4 -0
- package/x/theme/theme.css.js.map +1 -0
- package/x/views/button/showcase.d.ts +1 -0
- package/x/views/button/showcase.js +41 -0
- package/x/views/button/showcase.js.map +1 -0
- package/x/views/button/style.css.js +109 -0
- package/x/views/button/style.css.js.map +1 -0
- package/x/views/button/view.d.ts +4 -0
- package/x/views/button/view.js +22 -0
- package/x/views/button/view.js.map +1 -0
- package/x/views/copy/parts/copy-status.d.ts +1 -0
- package/x/views/copy/parts/copy-status.js +2 -0
- package/x/views/copy/parts/copy-status.js.map +1 -0
- package/x/views/copy/parts/determine-base-status.d.ts +1 -0
- package/x/views/copy/parts/determine-base-status.js +6 -0
- package/x/views/copy/parts/determine-base-status.js.map +1 -0
- package/x/views/copy/parts/use-copier.d.ts +6 -0
- package/x/views/copy/parts/use-copier.js +13 -0
- package/x/views/copy/parts/use-copier.js.map +1 -0
- package/x/views/copy/showcase.d.ts +1 -0
- package/x/views/copy/showcase.js +51 -0
- package/x/views/copy/showcase.js.map +1 -0
- package/x/views/copy/style.css.js.map +1 -0
- package/x/views/copy/view.d.ts +4 -0
- package/x/views/copy/view.js +47 -0
- package/x/views/copy/view.js.map +1 -0
- package/x/{components → views}/drawer/control.d.ts +1 -1
- package/x/views/drawer/control.js.map +1 -0
- package/x/views/drawer/showcase.d.ts +1 -0
- package/x/views/drawer/showcase.js +75 -0
- package/x/views/drawer/showcase.js.map +1 -0
- package/x/{components → views}/drawer/style.css.js +1 -0
- package/x/views/drawer/style.css.js.map +1 -0
- package/x/views/drawer/view.d.ts +6 -0
- package/x/views/drawer/view.js +60 -0
- package/x/views/drawer/view.js.map +1 -0
- package/x/{components → views}/tabs/control.d.ts +2 -2
- package/x/{components → views}/tabs/control.js +3 -3
- package/x/views/tabs/control.js.map +1 -0
- package/x/views/tabs/showcase.d.ts +1 -0
- package/x/views/tabs/showcase.js +86 -0
- package/x/views/tabs/showcase.js.map +1 -0
- package/x/{components → views}/tabs/style.css.js +5 -5
- package/x/views/tabs/style.css.js.map +1 -0
- package/x/views/tabs/view.d.ts +5 -0
- package/x/views/tabs/view.js +52 -0
- package/x/views/tabs/view.js.map +1 -0
- package/x/components/button/component.d.ts +0 -6
- package/x/components/button/component.js +0 -25
- package/x/components/button/component.js.map +0 -1
- package/x/components/button/showcase.d.ts +0 -1
- package/x/components/button/showcase.js +0 -116
- package/x/components/button/showcase.js.map +0 -1
- package/x/components/button/style.css.js +0 -62
- package/x/components/button/style.css.js.map +0 -1
- package/x/components/copy/component.d.ts +0 -376
- package/x/components/copy/component.js +0 -63
- package/x/components/copy/component.js.map +0 -1
- package/x/components/copy/showcase.d.ts +0 -1
- package/x/components/copy/showcase.js +0 -48
- package/x/components/copy/showcase.js.map +0 -1
- package/x/components/copy/style.css.js.map +0 -1
- package/x/components/drawer/component.d.ts +0 -387
- package/x/components/drawer/component.js +0 -73
- package/x/components/drawer/component.js.map +0 -1
- package/x/components/drawer/control.js.map +0 -1
- package/x/components/drawer/showcase.d.ts +0 -1
- package/x/components/drawer/showcase.js +0 -92
- package/x/components/drawer/showcase.js.map +0 -1
- package/x/components/drawer/style.css.js.map +0 -1
- package/x/components/example/component.d.ts +0 -371
- package/x/components/example/component.js +0 -22
- package/x/components/example/component.js.map +0 -1
- package/x/components/example/showcase.d.ts +0 -1
- package/x/components/example/showcase.js +0 -30
- package/x/components/example/showcase.js.map +0 -1
- package/x/components/example/style.css.js +0 -10
- package/x/components/example/style.css.js.map +0 -1
- package/x/components/foundation.css.d.ts +0 -1
- package/x/components/foundation.css.js +0 -14
- package/x/components/foundation.css.js.map +0 -1
- package/x/components/framework.d.ts +0 -8
- package/x/components/framework.js +0 -5
- package/x/components/framework.js.map +0 -1
- package/x/components/raw-components.d.ts +0 -12
- package/x/components/raw-components.js +0 -13
- package/x/components/raw-components.js.map +0 -1
- package/x/components/tabs/component.d.ts +0 -374
- package/x/components/tabs/component.js +0 -60
- package/x/components/tabs/component.js.map +0 -1
- package/x/components/tabs/control.js.map +0 -1
- package/x/components/tabs/showcase.d.ts +0 -1
- package/x/components/tabs/showcase.js +0 -167
- package/x/components/tabs/showcase.js.map +0 -1
- package/x/components/tabs/style.css.js.map +0 -1
- package/x/demo/demo.bundle.js +0 -42
- package/x/demo/demo.bundle.js.map +0 -1
- package/x/demo/demo.bundle.min.js +0 -877
- package/x/demo/demo.bundle.min.js.map +0 -7
- package/x/demo/lipsum.d.ts +0 -2
- package/x/demo/lipsum.js +0 -4
- package/x/demo/lipsum.js.map +0 -1
- package/x/demo/views/exhibit/style.css.d.ts +0 -2
- package/x/demo/views/exhibit/style.css.js +0 -81
- package/x/demo/views/exhibit/style.css.js.map +0 -1
- package/x/demo/views/exhibit/view.d.ts +0 -29
- package/x/demo/views/exhibit/view.js +0 -40
- package/x/demo/views/exhibit/view.js.map +0 -1
- package/x/demo/viewsets.d.ts +0 -17
- package/x/demo/viewsets.js +0 -9
- package/x/demo/viewsets.js.map +0 -1
- package/x/install/aura.bundle.js +0 -5
- package/x/install/aura.bundle.js.map +0 -1
- package/x/install/aura.bundle.min.js +0 -471
- package/x/install/aura.bundle.min.js.map +0 -7
- package/x/install/plain.bundle.d.ts +0 -1
- package/x/install/plain.bundle.js +0 -5
- package/x/install/plain.bundle.js.map +0 -1
- package/x/install/plain.bundle.min.js +0 -398
- package/x/install/plain.bundle.min.js.map +0 -7
- package/x/shiny.d.ts +0 -47
- package/x/shiny.js +0 -8
- package/x/shiny.js.map +0 -1
- package/x/tests.test.d.ts +0 -1
- package/x/tests.test.js +0 -3
- package/x/tests.test.js.map +0 -1
- package/x/themes/aura.css.d.ts +0 -1
- package/x/themes/aura.css.js +0 -85
- package/x/themes/aura.css.js.map +0 -1
- package/x/themes/index.barrel.d.ts +0 -2
- package/x/themes/index.barrel.js +0 -3
- package/x/themes/index.barrel.js.map +0 -1
- package/x/themes/index.d.ts +0 -2
- package/x/themes/index.js +0 -2
- package/x/themes/index.js.map +0 -1
- package/x/themes/infra/css-vars.d.ts +0 -15
- package/x/themes/infra/css-vars.js +0 -22
- package/x/themes/infra/css-vars.js.map +0 -1
- package/x/themes/plain.css.d.ts +0 -1
- package/x/themes/plain.css.js +0 -10
- package/x/themes/plain.css.js.map +0 -1
- /package/s/{components → _archive/components}/button/component.ts +0 -0
- /package/s/{components → _archive/components}/button/showcase.ts +0 -0
- /package/s/{components → _archive/components}/button/style.css.ts +0 -0
- /package/s/{components → _archive/components}/copy/component.ts +0 -0
- /package/s/{components → _archive/components}/copy/showcase.ts +0 -0
- /package/s/{components → _archive/components}/copy/style.css.ts +0 -0
- /package/s/{components → _archive/components}/drawer/control.ts +0 -0
- /package/s/{components → _archive/components}/drawer/style.css.ts +0 -0
- /package/s/{components → _archive/components}/example/component.ts +0 -0
- /package/s/{components → _archive/components}/example/showcase.ts +0 -0
- /package/s/{components → _archive/components}/example/style.css.ts +0 -0
- /package/s/{components → _archive/components}/foundation.css.ts +0 -0
- /package/s/{components → _archive/components}/framework.ts +0 -0
- /package/s/{components → _archive/components}/raw-components.ts +0 -0
- /package/s/{components → _archive/components}/tabs/component.ts +0 -0
- /package/s/{components → _archive/components}/tabs/control.ts +0 -0
- /package/s/{components → _archive/components}/tabs/showcase.ts +0 -0
- /package/s/{components → _archive/components}/tabs/style.css.ts +0 -0
- /package/s/{demo → _archive/demo}/demo.bundle.ts +0 -0
- /package/s/{demo → _archive/demo}/demo.css +0 -0
- /package/s/{demo → _archive/demo}/lipsum.ts +0 -0
- /package/s/{demo → _archive/demo}/views/exhibit/view.ts +0 -0
- /package/s/{demo → _archive/demo}/viewsets.ts +0 -0
- /package/s/{install → _archive/install}/aura.bundle.ts +0 -0
- /package/s/{install → _archive/install}/plain.bundle.ts +0 -0
- /package/s/{shiny.ts → _archive/shiny.ts} +0 -0
- /package/s/{tests.test.ts → _archive/tests.test.ts} +0 -0
- /package/s/{themes → _archive/themes}/aura.css.ts +0 -0
- /package/s/{themes → _archive/themes}/index.barrel.ts +0 -0
- /package/s/{themes → _archive/themes}/index.ts +0 -0
- /package/s/{themes → _archive/themes}/infra/css-vars.ts +0 -0
- /package/s/{themes → _archive/themes}/plain.css.ts +0 -0
- /package/x/{demo → _archive/demo}/demo.css +0 -0
- /package/x/demo/{demo.bundle.d.ts → main.bundle.d.ts} +0 -0
- /package/x/{components/button → demo/views/codebox}/style.css.d.ts +0 -0
- /package/x/{install/aura.bundle.d.ts → test.d.ts} +0 -0
- /package/x/{components/copy → views/button}/style.css.d.ts +0 -0
- /package/x/{components/drawer → views/copy}/style.css.d.ts +0 -0
- /package/x/{components → views}/copy/style.css.js +0 -0
- /package/x/{components → views}/drawer/control.js +0 -0
- /package/x/{components/example → views/drawer}/style.css.d.ts +0 -0
- /package/x/{components → views}/tabs/style.css.d.ts +0 -0
package/x/shiny.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ShinyContext } from "./components/framework.js";
|
|
2
|
-
export declare function shiny(context: ShinyContext): {
|
|
3
|
-
components: {
|
|
4
|
-
ShinyButton: {
|
|
5
|
-
new (): import("./components/button/component.js").ShinyButton;
|
|
6
|
-
view: import("@e280/sly").View<[content?: import("@e280/sly").Content]>;
|
|
7
|
-
} & typeof import("./components/button/component.js").ShinyButton;
|
|
8
|
-
ShinyCopy: {
|
|
9
|
-
new (): import("./index.js").ShinyCopy;
|
|
10
|
-
view: import("@e280/sly").View<[text: string | undefined, ms?: any]>;
|
|
11
|
-
} & typeof import("./index.js").ShinyCopy;
|
|
12
|
-
ShinyDrawer: {
|
|
13
|
-
new (): import("./index.js").ShinyDrawer;
|
|
14
|
-
view: import("@e280/sly").View<[options: {
|
|
15
|
-
button?: boolean;
|
|
16
|
-
side?: "left" | "right";
|
|
17
|
-
control?: import("./index.js").DrawerControl;
|
|
18
|
-
}]>;
|
|
19
|
-
} & typeof import("./index.js").ShinyDrawer;
|
|
20
|
-
ShinyExample: {
|
|
21
|
-
new (): import("./index.js").ShinyExample;
|
|
22
|
-
view: import("@e280/sly").View<[start?: any]>;
|
|
23
|
-
} & typeof import("./index.js").ShinyExample;
|
|
24
|
-
ShinyTabs: {
|
|
25
|
-
new (): import("./index.js").ShinyTabs;
|
|
26
|
-
view: import("@e280/sly").View<[controlOption?: import("./index.js").TabControl | undefined]>;
|
|
27
|
-
} & typeof import("./index.js").ShinyTabs;
|
|
28
|
-
};
|
|
29
|
-
views: {
|
|
30
|
-
ShinyButton: import("@e280/sly").View<[content?: import("@e280/sly").Content]> & import("@e280/sly").View<[context: ShinyContext, content?: import("@e280/sly").Content]>;
|
|
31
|
-
ShinyCopy: import("@e280/sly").View<[text: string | undefined, ms?: any]> & import("@e280/sly").View<[context: ShinyContext, text: string | undefined, ms?: any]>;
|
|
32
|
-
ShinyDrawer: import("@e280/sly").View<[options: {
|
|
33
|
-
button?: boolean;
|
|
34
|
-
side?: "left" | "right";
|
|
35
|
-
control?: import("./index.js").DrawerControl;
|
|
36
|
-
}]> & import("@e280/sly").View<[context: ShinyContext, options: {
|
|
37
|
-
button?: boolean;
|
|
38
|
-
side?: "left" | "right";
|
|
39
|
-
control?: import("./index.js").DrawerControl;
|
|
40
|
-
}]>;
|
|
41
|
-
ShinyExample: import("@e280/sly").View<[start?: any]> & import("@e280/sly").View<[context: ShinyContext, start?: any]>;
|
|
42
|
-
ShinyTabs: import("@e280/sly").View<[controlOption?: import("./index.js").TabControl | undefined]> & import("@e280/sly").View<[context: ShinyContext, controlOption?: import("./index.js").TabControl | undefined]>;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export type Shiny = ReturnType<typeof shiny>;
|
|
46
|
-
export type ShinyViews = Shiny["views"];
|
|
47
|
-
export type ShinyComponents = Shiny["components"];
|
package/x/shiny.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { contextualizeComponents, getViews } from "@e280/sly";
|
|
2
|
-
import { rawComponents } from "./components/raw-components.js";
|
|
3
|
-
export function shiny(context) {
|
|
4
|
-
const components = contextualizeComponents(context, rawComponents);
|
|
5
|
-
const views = getViews(components);
|
|
6
|
-
return { components, views };
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=shiny.js.map
|
package/x/shiny.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shiny.js","sourceRoot":"","sources":["../s/shiny.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,uBAAuB,EAAE,QAAQ,EAAC,MAAM,WAAW,CAAA;AAE3D,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAA;AAE5D,MAAM,UAAU,KAAK,CAAC,OAAqB;IAC1C,MAAM,UAAU,GAAG,uBAAuB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;IAClE,MAAM,KAAK,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAA;IAClC,OAAO,EAAC,UAAU,EAAE,KAAK,EAAC,CAAA;AAC3B,CAAC"}
|
package/x/tests.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/x/tests.test.js
DELETED
package/x/tests.test.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tests.test.js","sourceRoot":"","sources":["../s/tests.test.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAA;AAErC,MAAM,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA"}
|
package/x/themes/aura.css.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const aura: import("lit").CSSResult;
|
package/x/themes/aura.css.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
import { defaultCssVars, renderCssVars } from "./infra/css-vars.js";
|
|
3
|
-
export const aura = css `@layer overlay {
|
|
4
|
-
|
|
5
|
-
:host {
|
|
6
|
-
${renderCssVars({
|
|
7
|
-
...defaultCssVars(),
|
|
8
|
-
})}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:host([view="shiny-button"]:not([plain])) {
|
|
12
|
-
position: relative;
|
|
13
|
-
|
|
14
|
-
--buttoncolor: var(--calm);
|
|
15
|
-
--padding: 0.3em 0.7em;
|
|
16
|
-
|
|
17
|
-
color: white;
|
|
18
|
-
border-radius: 2em;
|
|
19
|
-
background: var(--buttoncolor);
|
|
20
|
-
border: none;
|
|
21
|
-
|
|
22
|
-
font-weight: medium;
|
|
23
|
-
text-shadow: 0.1em 0.1em 0.1em #0004;
|
|
24
|
-
box-shadow: 0.1em 0.2em 0.3em #0002;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([view="shiny-button"][lame]) { --buttoncolor: var(--lame); }
|
|
28
|
-
:host([view="shiny-button"][angry]) { --buttoncolor: var(--angry); }
|
|
29
|
-
:host([view="shiny-button"][zesty]) { --buttoncolor: var(--zesty); }
|
|
30
|
-
:host([view="shiny-button"][happy]) { --buttoncolor: var(--happy); }
|
|
31
|
-
:host([view="shiny-button"][calm]) { --buttoncolor: var(--calm); }
|
|
32
|
-
:host([view="shiny-button"][sad]) { --buttoncolor: var(--sad); }
|
|
33
|
-
:host([view="shiny-button"][quirky]) { --buttoncolor: var(--quirky); }
|
|
34
|
-
|
|
35
|
-
:host([view="shiny-button"][gradient]:not([plain])) {
|
|
36
|
-
border: none;
|
|
37
|
-
background: linear-gradient(
|
|
38
|
-
to bottom right,
|
|
39
|
-
color-mix(in oklab, var(--buttoncolor), white 40%),
|
|
40
|
-
color-mix(in oklab, var(--buttoncolor), black 20%)
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
&::before {
|
|
44
|
-
content: "";
|
|
45
|
-
display: block;
|
|
46
|
-
position: absolute;
|
|
47
|
-
z-index: 0;
|
|
48
|
-
inset: 0.15em;
|
|
49
|
-
border-radius: inherit;
|
|
50
|
-
background: color-mix(in oklab, var(--buttoncolor), #0004 50%);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
> * {
|
|
54
|
-
position: relative;
|
|
55
|
-
z-index: 1;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host([view="shiny-drawer"]:not([plain])) {
|
|
60
|
-
display: block;
|
|
61
|
-
--slate-bg: linear-gradient(
|
|
62
|
-
to top right,
|
|
63
|
-
color-mix(in oklab, var(--calm), #222 50%),
|
|
64
|
-
color-mix(in oklab, var(--calm), #888 50%)
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
&::part(slate) {
|
|
68
|
-
padding: 1em;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:host([view="shiny-drawer"]:state(left)) {
|
|
73
|
-
&::part(slate) {
|
|
74
|
-
border-bottom-right-radius: 0.5em;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
:host([view="shiny-drawer"]:state(right)) {
|
|
79
|
-
&::part(slate) {
|
|
80
|
-
border-bottom-left-radius: 0.5em;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
}`;
|
|
85
|
-
//# sourceMappingURL=aura.css.js.map
|
package/x/themes/aura.css.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aura.css.js","sourceRoot":"","sources":["../../s/themes/aura.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,qBAAqB,CAAA;AACjE,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAA;;;GAGpB,aAAa,CAAC;IACf,GAAG,cAAc,EAAE;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4ED,CAAA"}
|
package/x/themes/index.barrel.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.barrel.js","sourceRoot":"","sources":["../../s/themes/index.barrel.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA"}
|
package/x/themes/index.d.ts
DELETED
package/x/themes/index.js
DELETED
package/x/themes/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../s/themes/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type CssVars = {
|
|
2
|
-
"bg": string;
|
|
3
|
-
"alpha": string;
|
|
4
|
-
"lame": string;
|
|
5
|
-
"angry": string;
|
|
6
|
-
"zesty": string;
|
|
7
|
-
"happy": string;
|
|
8
|
-
"calm": string;
|
|
9
|
-
"sad": string;
|
|
10
|
-
"quirky": string;
|
|
11
|
-
"inactive-opacity": string;
|
|
12
|
-
"anim-duration": string;
|
|
13
|
-
};
|
|
14
|
-
export declare function defaultCssVars(): CssVars;
|
|
15
|
-
export declare function renderCssVars(vars: CssVars): import("lit").CSSResult;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { unsafeCSS } from "lit";
|
|
2
|
-
export function defaultCssVars() {
|
|
3
|
-
return {
|
|
4
|
-
"bg": "#111",
|
|
5
|
-
"alpha": "#def",
|
|
6
|
-
"lame": "#8888",
|
|
7
|
-
"angry": "#f50",
|
|
8
|
-
"zesty": "#cf0",
|
|
9
|
-
"happy": "#0fa",
|
|
10
|
-
"calm": "#0af",
|
|
11
|
-
"sad": "#74f",
|
|
12
|
-
"quirky": "#f49",
|
|
13
|
-
"inactive-opacity": "0.5",
|
|
14
|
-
"anim-duration": "300ms",
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export function renderCssVars(vars) {
|
|
18
|
-
return unsafeCSS(Object.entries(vars)
|
|
19
|
-
.map(([key, value]) => `--${key}: var(--shiny-${key}, ${value});`)
|
|
20
|
-
.join("\n"));
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=css-vars.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css-vars.js","sourceRoot":"","sources":["../../../s/themes/infra/css-vars.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAmB7B,MAAM,UAAU,cAAc;IAC7B,OAAO;QACN,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,MAAM;QAEf,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,MAAM;QAEhB,kBAAkB,EAAE,KAAK;QACzB,eAAe,EAAE,OAAO;KACxB,CAAA;AACF,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,IAAa;IAC1C,OAAO,SAAS,CACf,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SAClB,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,GAAG,iBAAiB,GAAG,KAAK,KAAK,IAAI,CAAC;SACjE,IAAI,CAAC,IAAI,CAAC,CACZ,CAAA;AACF,CAAC"}
|
package/x/themes/plain.css.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const plain: import("lit").CSSResult;
|
package/x/themes/plain.css.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plain.css.js","sourceRoot":"","sources":["../../s/themes/plain.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,qBAAqB,CAAA;AACjE,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAA;;;GAGrB,aAAa,CAAC,cAAc,EAAE,CAAC;;;EAGhC,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|