@pebble-software/bonsai 0.1.0 → 0.1.2
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 +4 -0
- package/dist/ast.js +10 -0
- package/dist/ast.js.map +1 -0
- package/dist/chunks/builder.meta-WpXc5VBB.js +666 -0
- package/dist/chunks/builder.meta-WpXc5VBB.js.map +1 -0
- package/dist/chunks/{button-CSLrIvsS.js → button-jfJanilw.js} +46 -51
- package/dist/chunks/button-jfJanilw.js.map +1 -0
- package/dist/chunks/{create-renderer-1cky1uN9.js → create-renderer-DHneTPd-.js} +8 -8
- package/dist/chunks/{create-renderer-1cky1uN9.js.map → create-renderer-DHneTPd-.js.map} +1 -1
- package/dist/chunks/index-DzpRdatr.js +359 -0
- package/dist/chunks/index-DzpRdatr.js.map +1 -0
- package/dist/chunks/{render-shared-CIUUkLDn.js → render-shared-Ci28BpkI.js} +601 -931
- package/dist/chunks/render-shared-Ci28BpkI.js.map +1 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +11 -0
- package/dist/constants.js.map +1 -0
- package/dist/core.js +3 -3
- package/dist/index.js +308 -955
- package/dist/index.js.map +1 -1
- package/dist/library/constants/src/components.d.ts +59 -0
- package/dist/library/constants/src/index.d.ts +2 -0
- package/dist/library/constants/src/webhook-events.d.ts +6 -0
- package/dist/library/schemas/src/bonsai.schema.d.ts +24 -0
- package/dist/library/schemas/src/builder.meta.d.ts +26 -0
- package/dist/presets/calendar.js +83 -74
- package/dist/presets/calendar.js.map +1 -1
- package/dist/presets/signature.js +9 -8
- package/dist/presets/signature.js.map +1 -1
- package/dist/schemas.d.ts +2 -0
- package/dist/schemas.js +13 -0
- package/dist/schemas.js.map +1 -0
- package/dist/styles/css/base.css +144 -0
- package/dist/styles/css/fonts.css +25 -0
- package/dist/styles/css/maplibre.css +29 -0
- package/dist/styles/css/overrides.css +7 -0
- package/dist/styles/css/tailwind.css +1 -0
- package/dist/styles/css/theme.css +197 -0
- package/dist/styles/css/tw-animate.css +1 -0
- package/dist/styles/css/utilities.css +44 -0
- package/dist/styles/presets.json +20 -0
- package/dist/styles/vendor/maplibre-gl.css +701 -0
- package/dist/styles/vendor/tw-animate.css +692 -0
- package/package.json +19 -3
- package/dist/chunks/button-CSLrIvsS.js.map +0 -1
- package/dist/chunks/render-shared-CIUUkLDn.js.map +0 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* --- Utilities --- */
|
|
2
|
+
@layer utilities {
|
|
3
|
+
.neo-base {
|
|
4
|
+
@apply touch-manipulation select-none appearance-none outline-none;
|
|
5
|
+
}
|
|
6
|
+
.neo-popup-focus {
|
|
7
|
+
@apply focus-visible:after:absolute focus-visible:after:-inset-1 focus-visible:after:border-8 focus-visible:after:pointer-events-none
|
|
8
|
+
focus-visible:after:border-foreground focus-visible:after:rounded-[inherit] focus-visible:after:blur-[2px];
|
|
9
|
+
}
|
|
10
|
+
.neo-accordion-focus {
|
|
11
|
+
@apply focus:outline-none focus-visible:after:absolute focus-visible:after:-inset-px focus-visible:after:border-2 focus-visible:after:pointer-events-none
|
|
12
|
+
focus-visible:after:border-foreground/30 focus-visible:after:rounded-sm;
|
|
13
|
+
}
|
|
14
|
+
.neo-button-focus {
|
|
15
|
+
@apply focus:outline-none focus-visible:after:absolute focus-visible:after:-inset-px focus-visible:after:border-3 focus-visible:after:pointer-events-none
|
|
16
|
+
focus-visible:after:border-foreground/30 focus-visible:after:rounded-[inherit];
|
|
17
|
+
}
|
|
18
|
+
.neo-input-focus {
|
|
19
|
+
@apply outline-none hover:shadow-sm hover:-translate-[3px] focus-visible:shadow-sm focus-visible:-translate-[3px];
|
|
20
|
+
}
|
|
21
|
+
.neo-switch-focus {
|
|
22
|
+
@apply outline-none hover:shadow-xs hover:-translate-[2px] focus-visible:shadow-xs focus-visible:-translate-[2px];
|
|
23
|
+
}
|
|
24
|
+
.neo-chips-focus {
|
|
25
|
+
@apply translate-0 has-data-pressed:shadow-sm has-data-pressed:-translate-[3px] outline-none hover:shadow-sm hover:-translate-[3px] focus-visible:shadow-sm focus-visible:-translate-[3px];
|
|
26
|
+
}
|
|
27
|
+
.neo-checkbox-focus {
|
|
28
|
+
@apply hover:shadow-xs hover:-translate-0.5 focus-visible:shadow-xs focus-visible:-translate-0.5 active:translate-0 active:shadow-none;
|
|
29
|
+
}
|
|
30
|
+
.neo-sidebar-button-focus {
|
|
31
|
+
@apply border-2 border-transparent focus-visible:border-black hover:border-black hover:shadow-sm hover:-translate-[3px] focus-visible:shadow-sm focus-visible:-translate-[3px] active:shadow-none active:translate-0;
|
|
32
|
+
}
|
|
33
|
+
.neo-scrollbar-focus {
|
|
34
|
+
@apply active:z-14 hover:z-12 focus:[&_svg]:scale-110 focus:z-12 focus:[&_svg]:fill-main hover:[&_svg]:fill-main focus:[&_svg]:text-main hover:[&_svg]:text-main;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
.no-scrollbar {
|
|
41
|
+
-ms-overflow-style: none;
|
|
42
|
+
scrollbar-width: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"layers": {
|
|
3
|
+
"tailwind": "css/tailwind.css",
|
|
4
|
+
"tw-animate": "css/tw-animate.css",
|
|
5
|
+
"fonts": "css/fonts.css",
|
|
6
|
+
"theme": "css/theme.css",
|
|
7
|
+
"base": "css/base.css",
|
|
8
|
+
"utilities": "css/utilities.css",
|
|
9
|
+
"overrides": "css/overrides.css",
|
|
10
|
+
"maplibre": "css/maplibre.css"
|
|
11
|
+
},
|
|
12
|
+
"presets": {
|
|
13
|
+
"core": ["tailwind", "theme", "base"],
|
|
14
|
+
"full": ["tailwind", "tw-animate", "fonts", "theme", "base", "utilities", "overrides"]
|
|
15
|
+
},
|
|
16
|
+
"vendor": {
|
|
17
|
+
"tw-animate-css": "vendor/tw-animate.css",
|
|
18
|
+
"maplibre-gl/dist/maplibre-gl.css": "vendor/maplibre-gl.css"
|
|
19
|
+
}
|
|
20
|
+
}
|