@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/nuxt.js
CHANGED
|
@@ -4,11 +4,16 @@ var components = [
|
|
|
4
4
|
"JAccordion",
|
|
5
5
|
"JAccordionItem",
|
|
6
6
|
"JAlert",
|
|
7
|
+
"JAspectRatio",
|
|
7
8
|
"JAvatar",
|
|
9
|
+
"JAvatarGroup",
|
|
8
10
|
"JBadge",
|
|
11
|
+
"JBanner",
|
|
12
|
+
"JBreadcrumb",
|
|
9
13
|
"JButton",
|
|
10
14
|
"JCard",
|
|
11
15
|
"JCheckbox",
|
|
16
|
+
"JCollapsible",
|
|
12
17
|
"JCommandPalette",
|
|
13
18
|
"JDialog",
|
|
14
19
|
"JDropdownMenu",
|
|
@@ -16,22 +21,33 @@ var components = [
|
|
|
16
21
|
"JDropdownMenuLabel",
|
|
17
22
|
"JDropdownMenuSeparator",
|
|
18
23
|
"JDropdownMenuSub",
|
|
24
|
+
"JEmptyState",
|
|
19
25
|
"JInput",
|
|
20
26
|
"JKbd",
|
|
27
|
+
"JPagination",
|
|
21
28
|
"JPopover",
|
|
22
29
|
"JProgress",
|
|
23
30
|
"JRadio",
|
|
24
31
|
"JRadioGroup",
|
|
32
|
+
"JRating",
|
|
25
33
|
"JSelect",
|
|
26
34
|
"JSeparator",
|
|
27
35
|
"JSheet",
|
|
28
36
|
"JSkeleton",
|
|
37
|
+
"JSlider",
|
|
29
38
|
"JSpinner",
|
|
39
|
+
"JStat",
|
|
30
40
|
"JSwitch",
|
|
31
41
|
"JTabs",
|
|
42
|
+
"JTag",
|
|
32
43
|
"JTextarea",
|
|
44
|
+
"JTimeline",
|
|
45
|
+
"JTimelineItem",
|
|
33
46
|
"JToaster",
|
|
34
|
-
"
|
|
47
|
+
"JToggleGroup",
|
|
48
|
+
"JToggleGroupItem",
|
|
49
|
+
"JTooltip",
|
|
50
|
+
"JVisuallyHidden"
|
|
35
51
|
];
|
|
36
52
|
var composables = [
|
|
37
53
|
"toast",
|
package/dist/nuxt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.js","names":[],"sources":["../src/nuxt.ts"],"sourcesContent":["import type { NuxtModule } from '@nuxt/schema'\nimport { addComponent, addImports, defineNuxtModule } from '@nuxt/kit'\n\nexport interface ModuleOptions {\n /** Inject Juxt's stylesheet (tokens + component styles). Defaults to true. */\n css?: boolean\n}\n\nconst components = [\n 'JAccordion',\n 'JAccordionItem',\n 'JAlert',\n 'JAvatar',\n 'JBadge',\n 'JButton',\n 'JCard',\n 'JCheckbox',\n 'JCommandPalette',\n 'JDialog',\n 'JDropdownMenu',\n 'JDropdownMenuItem',\n 'JDropdownMenuLabel',\n 'JDropdownMenuSeparator',\n 'JDropdownMenuSub',\n 'JInput',\n 'JKbd',\n 'JPopover',\n 'JProgress',\n 'JRadio',\n 'JRadioGroup',\n 'JSelect',\n 'JSeparator',\n 'JSheet',\n 'JSkeleton',\n 'JSpinner',\n 'JSwitch',\n 'JTabs',\n 'JTextarea',\n 'JToaster',\n 'JTooltip',\n] as const\n\nconst composables = ['toast', 'useToast', 'useRecentCommands', 'useHotkey', 'formatHotkey'] as const\n\n/**\n * Nuxt module: auto-imports every Juxt component and composable, and adds the\n * stylesheet.\n *\n * export default defineNuxtConfig({ modules: ['@juxtui/ui/nuxt'] })\n */\nconst juxtModule: NuxtModule<ModuleOptions> = defineNuxtModule<ModuleOptions>({\n meta: {\n name: '@juxtui/ui',\n configKey: 'juxt',\n compatibility: { nuxt: '>=3.15.0' },\n },\n defaults: {\n css: true,\n },\n setup(options, nuxt) {\n for (const name of components) addComponent({ name, export: name, filePath: '@juxtui/ui' })\n addImports(composables.map(name => ({ name, from: '@juxtui/ui' })))\n if (options.css) nuxt.options.css.unshift('@juxtui/ui/style.css')\n nuxt.options.build.transpile.push('@juxtui/ui')\n },\n})\n\nexport default juxtModule\n"],"mappings":";;AAQA,IAAM,aAAa;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,IAAM,cAAc;CAAC;CAAS;CAAY;CAAqB;CAAa;AAAc;;;;;;;AAQ1F,IAAM,aAAwC,iBAAgC;CAC5E,MAAM;EACJ,MAAM;EACN,WAAW;EACX,eAAe,EAAE,MAAM,WAAW;CACpC;CACA,UAAU,EACR,KAAK,KACP;CACA,MAAM,SAAS,MAAM;EACnB,KAAK,MAAM,QAAQ,YAAY,aAAa;GAAE;GAAM,QAAQ;GAAM,UAAU;EAAa,CAAC;EAC1F,WAAW,YAAY,KAAI,UAAS;GAAE;GAAM,MAAM;EAAa,EAAE,CAAC;EAClE,IAAI,QAAQ,KAAK,KAAK,QAAQ,IAAI,QAAQ,sBAAsB;EAChE,KAAK,QAAQ,MAAM,UAAU,KAAK,YAAY;CAChD;AACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"nuxt.js","names":[],"sources":["../src/nuxt.ts"],"sourcesContent":["import type { NuxtModule } from '@nuxt/schema'\r\nimport { addComponent, addImports, defineNuxtModule } from '@nuxt/kit'\r\n\r\nexport interface ModuleOptions {\r\n /** Inject Juxt's stylesheet (tokens + component styles). Defaults to true. */\r\n css?: boolean\r\n}\r\n\r\nconst components = [\r\n 'JAccordion',\r\n 'JAccordionItem',\r\n 'JAlert',\r\n 'JAspectRatio',\r\n 'JAvatar',\r\n 'JAvatarGroup',\r\n 'JBadge',\r\n 'JBanner',\r\n 'JBreadcrumb',\r\n 'JButton',\r\n 'JCard',\r\n 'JCheckbox',\r\n 'JCollapsible',\r\n 'JCommandPalette',\r\n 'JDialog',\r\n 'JDropdownMenu',\r\n 'JDropdownMenuItem',\r\n 'JDropdownMenuLabel',\r\n 'JDropdownMenuSeparator',\r\n 'JDropdownMenuSub',\r\n 'JEmptyState',\r\n 'JInput',\r\n 'JKbd',\r\n 'JPagination',\r\n 'JPopover',\r\n 'JProgress',\r\n 'JRadio',\r\n 'JRadioGroup',\r\n 'JRating',\r\n 'JSelect',\r\n 'JSeparator',\r\n 'JSheet',\r\n 'JSkeleton',\r\n 'JSlider',\r\n 'JSpinner',\r\n 'JStat',\r\n 'JSwitch',\r\n 'JTabs',\r\n 'JTag',\r\n 'JTextarea',\r\n 'JTimeline',\r\n 'JTimelineItem',\r\n 'JToaster',\r\n 'JToggleGroup',\r\n 'JToggleGroupItem',\r\n 'JTooltip',\r\n 'JVisuallyHidden',\r\n] as const\r\n\r\nconst composables = ['toast', 'useToast', 'useRecentCommands', 'useHotkey', 'formatHotkey'] as const\r\n\r\n/**\r\n * Nuxt module: auto-imports every Juxt component and composable, and adds the\r\n * stylesheet.\r\n *\r\n * export default defineNuxtConfig({ modules: ['@juxtui/ui/nuxt'] })\r\n */\r\nconst juxtModule: NuxtModule<ModuleOptions> = defineNuxtModule<ModuleOptions>({\r\n meta: {\r\n name: '@juxtui/ui',\r\n configKey: 'juxt',\r\n compatibility: { nuxt: '>=3.15.0' },\r\n },\r\n defaults: {\r\n css: true,\r\n },\r\n setup(options, nuxt) {\r\n for (const name of components) addComponent({ name, export: name, filePath: '@juxtui/ui' })\r\n addImports(composables.map(name => ({ name, from: '@juxtui/ui' })))\r\n if (options.css) nuxt.options.css.unshift('@juxtui/ui/style.css')\r\n nuxt.options.build.transpile.push('@juxtui/ui')\r\n },\r\n})\r\n\r\nexport default juxtModule\r\n"],"mappings":";;AAQA,IAAM,aAAa;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,IAAM,cAAc;CAAC;CAAS;CAAY;CAAqB;CAAa;AAAc;;;;;;;AAQ1F,IAAM,aAAwC,iBAAgC;CAC5E,MAAM;EACJ,MAAM;EACN,WAAW;EACX,eAAe,EAAE,MAAM,WAAW;CACpC;CACA,UAAU,EACR,KAAK,KACP;CACA,MAAM,SAAS,MAAM;EACnB,KAAK,MAAM,QAAQ,YAAY,aAAa;GAAE;GAAM,QAAQ;GAAM,UAAU;EAAa,CAAC;EAC1F,WAAW,YAAY,KAAI,UAAS;GAAE;GAAM,MAAM;EAAa,EAAE,CAAC;EAClE,IAAI,QAAQ,KAAK,KAAK,QAAQ,IAAI,QAAQ,sBAAsB;EAChE,KAAK,QAAQ,MAAM,UAAU,KAAK,YAAY;CAChD;AACF,CAAC"}
|