@juxtui/ui 0.2.0 → 0.3.0
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 +1 -1
- package/dist/components/aspect-ratio/JAspectRatio.vue.d.ts +18 -0
- package/dist/components/avatar/JAvatar.vue.d.ts +1 -1
- package/dist/components/avatar-group/JAvatarGroup.vue.d.ts +19 -0
- package/dist/components/banner/JBanner.vue.d.ts +30 -0
- package/dist/components/breadcrumb/JBreadcrumb.vue.d.ts +29 -0
- package/dist/components/card/JCard.vue.d.ts +1 -1
- package/dist/components/collapsible/JCollapsible.vue.d.ts +28 -0
- package/dist/components/command-palette/JCommandPalette.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/JDropdownMenu.vue.d.ts +1 -1
- package/dist/components/empty-state/JEmptyState.vue.d.ts +23 -0
- package/dist/components/field/JFieldShell.vue.d.ts +1 -1
- package/dist/components/pagination/JPagination.vue.d.ts +25 -0
- package/dist/components/primitives/JSlot.d.ts +1 -1
- package/dist/components/rating/JRating.vue.d.ts +27 -0
- package/dist/components/slider/JSlider.vue.d.ts +31 -0
- package/dist/components/stat/JStat.vue.d.ts +22 -0
- package/dist/components/tag/JTag.vue.d.ts +28 -0
- package/dist/components/timeline/JTimeline.vue.d.ts +12 -0
- package/dist/components/timeline/JTimelineItem.vue.d.ts +24 -0
- package/dist/components/toast/JToaster.vue.d.ts +1 -1
- package/dist/components/toggle-group/JToggleGroup.vue.d.ts +33 -0
- package/dist/components/toggle-group/JToggleGroupItem.vue.d.ts +19 -0
- package/dist/components/toggle-group/context.d.ts +9 -0
- package/dist/components/visually-hidden/JVisuallyHidden.vue.d.ts +19 -0
- package/dist/components.d.ts +16 -0
- package/dist/composables/useModal.d.ts +1 -1
- package/dist/composables/useToast.d.ts +1 -1
- package/dist/icons.d.ts +4 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1161 -196
- package/dist/index.js.map +1 -1
- package/dist/nuxt.js +17 -1
- package/dist/nuxt.js.map +1 -1
- package/dist/style.css +1526 -548
- package/dist/tokens.css +5 -5
- package/package.json +1 -1
package/dist/tokens.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Juxt design tokens
|
|
3
3
|
*
|
|
4
4
|
* One source of truth for colour, space, radius, type, elevation, motion and
|
|
5
|
-
* layering. Components never hardcode these values
|
|
5
|
+
* layering. Components never hardcode these values | they read them here.
|
|
6
6
|
*
|
|
7
7
|
* Light is the default. Dark applies under `.dark` or `[data-theme="dark"]`
|
|
8
8
|
* on any ancestor (usually <html>).
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
--juxt-fg-muted: #71717a;
|
|
34
34
|
--juxt-fg-disabled: #a1a1aa;
|
|
35
35
|
|
|
36
|
-
/* Ink
|
|
36
|
+
/* Ink | the inverted neutral used by primary actions */
|
|
37
37
|
--juxt-ink: #09090b;
|
|
38
38
|
--juxt-ink-hover: #27272a;
|
|
39
39
|
--juxt-ink-fg: #fafafa;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
--juxt-success-soft: var(--juxt-accent-soft);
|
|
74
74
|
--juxt-success-border: var(--juxt-accent-border);
|
|
75
75
|
|
|
76
|
-
/* Elevation
|
|
76
|
+
/* Elevation | borders do most of the work, shadows only lift */
|
|
77
77
|
--juxt-shadow-xs: 0 1px 1px rgb(9 9 11 / 0.04);
|
|
78
78
|
--juxt-shadow-sm: 0 1px 2px rgb(9 9 11 / 0.05), 0 1px 1px rgb(9 9 11 / 0.03);
|
|
79
79
|
--juxt-shadow-md: 0 4px 12px -2px rgb(9 9 11 / 0.08), 0 2px 4px -2px rgb(9 9 11 / 0.05);
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
--juxt-tracking-tight: -0.011em;
|
|
176
176
|
--juxt-tracking-tighter: -0.022em;
|
|
177
177
|
|
|
178
|
-
/* Space
|
|
178
|
+
/* Space | a 4px grid */
|
|
179
179
|
--juxt-space-0-5: 0.125rem; /* 2 */
|
|
180
180
|
--juxt-space-1: 0.25rem; /* 4 */
|
|
181
181
|
--juxt-space-1-5: 0.375rem; /* 6 */
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
|
|
229
229
|
@media (prefers-reduced-motion: reduce) {
|
|
230
230
|
:root {
|
|
231
|
-
/* Things still fade
|
|
231
|
+
/* Things still fade | they just stop travelling. */
|
|
232
232
|
--juxt-motion-shift: 0px;
|
|
233
233
|
--juxt-motion-scale: 1;
|
|
234
234
|
--juxt-duration-slow: 140ms;
|