@profitliga/ui 1.2.88 → 1.2.90
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/dist/nuxt/index.d.ts +38 -0
- package/dist/nuxt/index.js +216 -0
- package/dist/nuxt/registry.d.ts +2 -0
- package/package.json +18 -1
- /package/dist/styles/{src/styles/animations.scss → animations.scss} +0 -0
- /package/dist/styles/{src/styles/colors.scss → colors.scss} +0 -0
- /package/dist/styles/{src/styles/fonts.scss → fonts.scss} +0 -0
- /package/dist/styles/{src/styles/global.scss → global.scss} +0 -0
- /package/dist/styles/{src/styles/index.scss → index.scss} +0 -0
- /package/dist/styles/{src/styles/mixins.scss → mixins.scss} +0 -0
- /package/dist/styles/{src/styles/reset.css → reset.css} +0 -0
- /package/dist/styles/{src/styles/tailwind.css → tailwind.css} +0 -0
- /package/dist/styles/{src/styles/typography.css → typography.css} +0 -0
- /package/dist/styles/{src/styles/vars.scss → vars.scss} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NuxtModule } from '@nuxt/schema';
|
|
2
|
+
export interface ModuleOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Registers `@profitliga/ui/style.css` in `nuxt.options.css`.
|
|
5
|
+
* @default true
|
|
6
|
+
*/
|
|
7
|
+
css?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Registers the `@tailwindcss/vite` plugin. Turn this off if the app
|
|
10
|
+
* already configures its own Tailwind Vite plugin — registering it
|
|
11
|
+
* twice duplicates work but is otherwise harmless.
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
tailwind?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Auto-imports every component exported from `@profitliga/ui/components`
|
|
17
|
+
* as a global component (no manual `import` needed in templates).
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
components?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Auto-imports every icon exported from `@profitliga/ui/icons` as a
|
|
23
|
+
* global component.
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
icons?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Prefix applied to every auto-imported component and icon name (e.g.
|
|
29
|
+
* `prefix: 'Ui'` registers `<UiButton>` instead of `<Button>`). Empty by
|
|
30
|
+
* default for convenience, but component names like `Button`/`Label`/
|
|
31
|
+
* `Tag`/`File`/`Message` are generic enough to collide with an app's own
|
|
32
|
+
* local components of the same name — set a prefix to avoid that.
|
|
33
|
+
* @default ''
|
|
34
|
+
*/
|
|
35
|
+
prefix?: string;
|
|
36
|
+
}
|
|
37
|
+
declare const _default: NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { addComponent as e, addVitePlugin as t, defineNuxtModule as n, useLogger as r } from "@nuxt/kit";
|
|
2
|
+
import { existsSync as i, readFileSync as a } from "node:fs";
|
|
3
|
+
import { createRequire as o } from "node:module";
|
|
4
|
+
import { dirname as s, join as c } from "node:path";
|
|
5
|
+
var l = {
|
|
6
|
+
name: "@profitliga/ui",
|
|
7
|
+
version: "1.2.89",
|
|
8
|
+
author: "Profit League<dev@pr-lg.ru>",
|
|
9
|
+
license: "MIT",
|
|
10
|
+
description: "Vue 3 UI component library with TypeScript and SCSS",
|
|
11
|
+
type: "module",
|
|
12
|
+
publishConfig: { access: "public" },
|
|
13
|
+
repository: {
|
|
14
|
+
url: "https://github.com/pr-lg/ui-kit.git",
|
|
15
|
+
type: "git"
|
|
16
|
+
},
|
|
17
|
+
files: ["dist", "src/styles"],
|
|
18
|
+
exports: {
|
|
19
|
+
"./style.css": "./dist/ui.css",
|
|
20
|
+
"./styles/*": "./dist/styles/*",
|
|
21
|
+
"./tailwind": "./dist/styles/tailwind.css",
|
|
22
|
+
"./components": {
|
|
23
|
+
import: "./dist/components/index.js",
|
|
24
|
+
types: "./dist/components/index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./utils": {
|
|
27
|
+
import: "./dist/utils/index.js",
|
|
28
|
+
types: "./dist/utils/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./icons": {
|
|
31
|
+
import: "./dist/icons/index.js",
|
|
32
|
+
types: "./dist/icons/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./nuxt": {
|
|
35
|
+
import: "./dist/nuxt/index.js",
|
|
36
|
+
types: "./dist/nuxt/index.d.ts"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
scripts: {
|
|
40
|
+
dev: "vite",
|
|
41
|
+
build: "vite build",
|
|
42
|
+
"type-check": "vue-tsc --noEmit",
|
|
43
|
+
lint: "eslint .",
|
|
44
|
+
"lint:fix": "eslint . --fix",
|
|
45
|
+
format: "prettier --write \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
46
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
47
|
+
check: "npm run type-check && npm run lint && npm run format:check",
|
|
48
|
+
"print:nuxt-registry": "node scripts/print-nuxt-registry.mjs",
|
|
49
|
+
storybook: "storybook dev -p 6006 --host 0.0.0.0",
|
|
50
|
+
"storybook:tunnel": "ngrok http 6006",
|
|
51
|
+
"build-storybook": "storybook build",
|
|
52
|
+
prepare: "husky"
|
|
53
|
+
},
|
|
54
|
+
"lint-staged": {
|
|
55
|
+
"*.{ts,tsx,vue}": ["eslint --fix", "prettier --write"],
|
|
56
|
+
"*.{scss,css,json,md}": ["prettier --write"]
|
|
57
|
+
},
|
|
58
|
+
peerDependencies: {
|
|
59
|
+
"@internationalized/date": "^3.12.2",
|
|
60
|
+
"@lucide/vue": "^1.25.0",
|
|
61
|
+
"@nuxt/kit": "^4.0.0",
|
|
62
|
+
"@tailwindcss/vite": "4.3.3",
|
|
63
|
+
"@tanstack/vue-table": "8.21.3",
|
|
64
|
+
"@vueuse/core": "14.3.0",
|
|
65
|
+
dayjs: "1.11.21",
|
|
66
|
+
"reka-ui": "2.10.1",
|
|
67
|
+
tailwindcss: "4.3.3",
|
|
68
|
+
vue: "3.5.40"
|
|
69
|
+
},
|
|
70
|
+
peerDependenciesMeta: {
|
|
71
|
+
"@nuxt/kit": { optional: !0 },
|
|
72
|
+
"@tailwindcss/vite": { optional: !0 }
|
|
73
|
+
},
|
|
74
|
+
devDependencies: {
|
|
75
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
76
|
+
"@eslint/js": "^10.0.1",
|
|
77
|
+
"@internationalized/date": "^3.12.2",
|
|
78
|
+
"@lucide/vue": "^1.25.0",
|
|
79
|
+
"@nuxt/kit": "^4.5.1",
|
|
80
|
+
"@storybook/addon-a11y": "^10.5.3",
|
|
81
|
+
"@storybook/addon-docs": "^10.5.3",
|
|
82
|
+
"@storybook/addon-mcp": "^0.7.0",
|
|
83
|
+
"@storybook/addon-onboarding": "^10.5.3",
|
|
84
|
+
"@storybook/addon-vitest": "^10.5.3",
|
|
85
|
+
"@storybook/vue3-vite": "^10.5.3",
|
|
86
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
87
|
+
"@tanstack/vue-table": "^8.21.3",
|
|
88
|
+
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
89
|
+
"@types/node": "^26.1.1",
|
|
90
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
91
|
+
"@vitejs/plugin-vue-jsx": "^5.1.6",
|
|
92
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
93
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
94
|
+
"@vueuse/core": "^14.3.0",
|
|
95
|
+
chromatic: "^13.3.5",
|
|
96
|
+
dayjs: "^1.11.21",
|
|
97
|
+
eslint: "^10.7.0",
|
|
98
|
+
"eslint-config-prettier": "^10.1.8",
|
|
99
|
+
"eslint-plugin-storybook": "10.5.3",
|
|
100
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
101
|
+
globals: "^17.7.0",
|
|
102
|
+
husky: "^9.1.7",
|
|
103
|
+
lightningcss: "^1.33.0",
|
|
104
|
+
"lint-staged": "^16.4.0",
|
|
105
|
+
nuxt: "^4.5.1",
|
|
106
|
+
playwright: "^1.61.1",
|
|
107
|
+
prettier: "^3.9.6",
|
|
108
|
+
"reka-ui": "2.10.1",
|
|
109
|
+
rolldown: "^1.1.5",
|
|
110
|
+
sass: "^1.101.3",
|
|
111
|
+
sonda: "^0.14.0",
|
|
112
|
+
storybook: "^10.5.3",
|
|
113
|
+
tailwindcss: "4.3.3",
|
|
114
|
+
typescript: "^5.9.3",
|
|
115
|
+
"typescript-eslint": "^8.65.0",
|
|
116
|
+
vite: "^8.1.5",
|
|
117
|
+
"vite-plugin-compression": "^0.5.1",
|
|
118
|
+
"vite-plugin-dts": "^5.0.3",
|
|
119
|
+
"vite-plugin-static-copy": "^4.1.1",
|
|
120
|
+
vitest: "^4.1.10",
|
|
121
|
+
vue: "^3.5.40",
|
|
122
|
+
"vue-eslint-parser": "^10.4.1",
|
|
123
|
+
"vue-router": "^4.6.4",
|
|
124
|
+
"vue-tsc": "^3.3.7"
|
|
125
|
+
},
|
|
126
|
+
keywords: [
|
|
127
|
+
"vue",
|
|
128
|
+
"vue3",
|
|
129
|
+
"ui",
|
|
130
|
+
"components",
|
|
131
|
+
"typescript",
|
|
132
|
+
"scss"
|
|
133
|
+
],
|
|
134
|
+
resolutions: {
|
|
135
|
+
"@microsoft/api-extractor": "7.48.1",
|
|
136
|
+
"@internationalized/date": "3.12.2"
|
|
137
|
+
}
|
|
138
|
+
}, u = /* @__PURE__ */ "AccordionContent.AccordionHeader.AccordionItem.AccordionRoot.AccordionTrigger.AlertDialog.AlertDialogAction.AlertDialogCancel.AlertDialogContent.AlertDialogDescription.AlertDialogOverlay.AlertDialogPortal.AlertDialogRoot.AlertDialogTitle.AlertDialogTrigger.Badge.BottomSheet.Breadcrumb.Button.CalendarCell.CalendarCellTrigger.CalendarGrid.CalendarGridBody.CalendarGridHead.CalendarGridRow.CalendarHeadCell.CalendarHeader.CalendarHeading.CalendarNext.CalendarPrev.CalendarRoot.Checkbox.ChipCheckbox.ComboboxAnchor.ComboboxClear.ComboboxContent.ComboboxEmpty.ComboboxInput.ComboboxItem.ComboboxPortal.ComboboxRoot.ComboboxTrigger.ComboboxViewport.ConfirmDialog.DataTable.DatePicker.DatePickerAnchor.DatePickerArrow.DatePickerCalendar.DatePickerCell.DatePickerCellTrigger.DatePickerClose.DatePickerContent.DatePickerField.DatePickerGrid.DatePickerGridBody.DatePickerGridHead.DatePickerGridRow.DatePickerHeadCell.DatePickerHeader.DatePickerHeading.DatePickerInput.DatePickerNext.DatePickerPrev.DatePickerRoot.DatePickerTrigger.DateRangePicker.DateRangePickerAnchor.DateRangePickerArrow.DateRangePickerCalendar.DateRangePickerCell.DateRangePickerCellTrigger.DateRangePickerClose.DateRangePickerContent.DateRangePickerField.DateRangePickerGrid.DateRangePickerGridBody.DateRangePickerGridHead.DateRangePickerGridRow.DateRangePickerHeadCell.DateRangePickerHeader.DateRangePickerHeading.DateRangePickerNext.DateRangePickerPrev.DateRangePickerRoot.DateRangePickerTrigger.Dialog.DialogActions.DialogContent.DialogDescription.DialogOverlay.DialogPortal.DialogRoot.DialogTrigger.Divider.Drawer.DrawerContent.DrawerOverlay.DrawerPortal.DrawerRoot.DrawerTrigger.DropdownMenu.DropdownMenuArrow.DropdownMenuCheckboxItem.DropdownMenuContent.DropdownMenuGroup.DropdownMenuItem.DropdownMenuItemIndicator.DropdownMenuLabel.DropdownMenuPortal.DropdownMenuRadioGroup.DropdownMenuRadioItem.DropdownMenuRoot.DropdownMenuSeparator.DropdownMenuSub.DropdownMenuSubContent.DropdownMenuSubTrigger.DropdownMenuTrigger.File.FormField.Image.ImageModalProvider.InputNumber.InputText.Label.ListboxContent.ListboxFilter.ListboxGroup.ListboxGroupLabel.ListboxItem.ListboxItemIndicator.ListboxRoot.ListboxVirtualizer.Message.OTPCode.OverlayBadge.PaginationEllipsis.PaginationFirst.PaginationLast.PaginationList.PaginationListItem.PaginationNext.PaginationPrev.PaginationRoot.Popover.PopoverAnchor.PopoverArrow.PopoverClose.PopoverContent.PopoverPortal.PopoverRoot.PopoverTrigger.ProgressRoot.RadioGroupItem.RadioGroupRoot.RangeCalendar.RangeCalendarCell.RangeCalendarCellTrigger.RangeCalendarGrid.RangeCalendarGridBody.RangeCalendarGridHead.RangeCalendarGridRow.RangeCalendarHeadCell.RangeCalendarHeader.RangeCalendarHeading.RangeCalendarNext.RangeCalendarPrev.RangeCalendarRoot.Schedule.ScheduleMobile.ScrollAreaRoot.ScrollAreaScrollbar.ScrollAreaViewport.SelectContent.SelectGroup.SelectIcon.SelectItem.SelectItemIndicator.SelectItemText.SelectLabel.SelectPortal.SelectRoot.SelectScrollDownButton.SelectScrollUpButton.SelectSeparator.SelectTrigger.SelectValue.SelectViewport.Skeleton.Spinner.StepperItem.StepperRoot.SwitchRoot.SwitchThumb.TabsContent.TabsIndicator.TabsList.TabsRoot.TabsTrigger.Tag.Textarea.TimeField.ToastAction.ToastClose.ToastDescription.ToastPortal.ToastProvider.ToastRoot.ToastTitle.ToastViewport.Toaster.TooltipContent.TooltipPortal.TooltipProvider.TooltipRoot.TooltipTrigger".split("."), d = /* @__PURE__ */ "AngleBottomIcon.AngleDoubleLeftIcon.AngleDoubleRightIcon.AngleLeftIcon.AngleRightIcon.AngleTopIcon.ArrowRightTopIcon.AtIcon.AvatarIcon.BagIcon.BanIcon.BankIcon.BarsIcon.BellIcon.BonusIcon.BookIcon.BoxIcon.BoxLineIcon.BoxStopIcon.BriefcaseIcon.BuildingIcon.CalendarIcon.CameraIcon.CarIcon.CarSearchIcon.CartCrossedIcon.CartIcon.CashbackIcon.CatalogToIcon.CertificateIcon.CevronBottomIcon.CevronLeftIcon.CevronRightIcon.CevronTopIcon.CheckFilledIcon.CheckIcon.CheckRoundedIcon.ClockIcon.ClockPayIcon.CloseIcon.CloseRoundedIcon.CogIcon.CommentIcon.CommentsIcon.CopyIcon.CreditCardIcon.CrossedBoxIcon.CrumpledBoxIcon.CubeIcon.DeliveryIcon.DeliveryTimeIcon.DiscountIcon.DownloadIcon.ErrorFillIcon.ErrorIcon.ExcelIcon.ExclamationBoxIcon.EyeCloseIcon.EyeIcon.FaviconIcon.FileEditIcon.FileExport.FileIcon.FileUploadIcon.FilterFillIcon.FilterIcon.FilterSlashIcon.GiftColorIcon.GiftIcon.GuardIcon.HeadSetIcon.HeartFillIcon.HeartOutlinedIcon.HomeIcon.ImageIcon.InfoFillIcon.InfoIcon.LikeIcon.ListIcon.LocationIcon.LockIcon.MailBoxIcon.MailIcon.MailWarningIcon.MapIcon.MapPointFilledIcon.MapPointIcon.MaxIcon.MessageIcon.MinusIcon.MoneyBillIcon.NewIcon.OilIcon.PackageIcon.PdfIcon.PencelLineIcon.PercentCircleIcon.PersonIcon.PinIcon.PlusIcon.PlusRoundedIcon.PrintIcon.ProcentIcon.QrIcon.QuestionIcon.QuestionRoundedIcon.ReplaceIcon.Replay2Icon.ReplayIcon.ReplayOffIcon.ReturnIcon.RubIcon.RumpledPackageIcon.SberPayColorIcon.SberPayIcon.SearchIcon.SearchMinusIcon.SearchPlusIcon.SendIcon.SettingsIcon.ShieldErrorIcon.ShieldIcon.ShopIcon.ShoppingCartIcon.SignOutIcon.SmartphoneIcon.SmsIcon.SortDownFillIcon.SortDownIcon.SortUpFillIcon.SortUpIcon.SpbIcon.StarFillIcon.StarIcon.SyncIcon.TelegramColorIcon.TelegramIcon.TimerIcon.TrashIcon.TruckFillIcon.TruckIcon.TruesignFullIcon.TruesignIcon.UploadIcon.UserIcon.UsersIcon.Wallet2Icon.WalletIcon.WarehouseIcon.WarehousePointIcon.WarnRoundedIcon.WarningFillIcon.WarningIcon.WeightIcon.WordIcon.ZapIcon".split("."), f = "@profitliga/ui/style.css", p = n({
|
|
139
|
+
meta: {
|
|
140
|
+
name: "@profitliga/ui",
|
|
141
|
+
configKey: "profitligaUi"
|
|
142
|
+
},
|
|
143
|
+
defaults: {
|
|
144
|
+
css: !0,
|
|
145
|
+
tailwind: !0,
|
|
146
|
+
components: !0,
|
|
147
|
+
icons: !0,
|
|
148
|
+
prefix: ""
|
|
149
|
+
},
|
|
150
|
+
async setup(n, i) {
|
|
151
|
+
let a = r("profitliga-ui"), o = n.prefix ?? "";
|
|
152
|
+
if (m(a), n.css && !i.options.css.includes(f) && i.options.css.unshift(f), n.tailwind) try {
|
|
153
|
+
let { default: e } = await import("@tailwindcss/vite");
|
|
154
|
+
t(() => e());
|
|
155
|
+
} catch {
|
|
156
|
+
a.warn("@profitliga/ui could not load \"@tailwindcss/vite\" (tailwind: true but the package is not installed). Install it, or set profitligaUi.tailwind to false if the app registers its own Tailwind Vite plugin.");
|
|
157
|
+
}
|
|
158
|
+
if (n.components) for (let t of u) e({
|
|
159
|
+
name: o + t,
|
|
160
|
+
export: t,
|
|
161
|
+
filePath: "@profitliga/ui/components"
|
|
162
|
+
});
|
|
163
|
+
if (n.icons) for (let t of d) e({
|
|
164
|
+
name: o + t,
|
|
165
|
+
export: t,
|
|
166
|
+
filePath: "@profitliga/ui/icons"
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
function m(e) {
|
|
171
|
+
let t = l.peerDependencies ?? {};
|
|
172
|
+
for (let [n, r] of Object.entries(t)) {
|
|
173
|
+
let t = _(n);
|
|
174
|
+
if (!t) {
|
|
175
|
+
e.warn(`@profitliga/ui expects peer dependency "${n}@${r}" but it could not be resolved. Install it alongside @profitliga/ui.`);
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
h(t, r) || e.warn(`@profitliga/ui was built and tested against "${n}@${r}", but "${t}" is installed. A version mismatch on this peer dependency can cause duplicate module instances and hard-to-debug rendering bugs.`);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function h(e, t) {
|
|
182
|
+
if (!t.startsWith("^")) return e === t;
|
|
183
|
+
let n = g(t.slice(1)), r = g(e);
|
|
184
|
+
return !n || !r ? e === t : r.major === n.major ? n.major === 0 ? r.minor === n.minor && r.patch >= n.patch : r.minor === n.minor ? r.patch >= n.patch : r.minor > n.minor : !1;
|
|
185
|
+
}
|
|
186
|
+
function g(e) {
|
|
187
|
+
let t = e.match(/^(\d+)\.(\d+)\.(\d+)/);
|
|
188
|
+
if (!t) return;
|
|
189
|
+
let [, n, r, i] = t;
|
|
190
|
+
return {
|
|
191
|
+
major: Number(n),
|
|
192
|
+
minor: Number(r),
|
|
193
|
+
patch: Number(i)
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
function _(e) {
|
|
197
|
+
let t = o(import.meta.url), n;
|
|
198
|
+
try {
|
|
199
|
+
n = t.resolve(e);
|
|
200
|
+
} catch {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
let r = s(n);
|
|
204
|
+
for (;;) {
|
|
205
|
+
let t = c(r, "package.json");
|
|
206
|
+
if (i(t)) try {
|
|
207
|
+
let n = JSON.parse(a(t, "utf-8"));
|
|
208
|
+
if (n.name === e) return n.version;
|
|
209
|
+
} catch {}
|
|
210
|
+
let n = s(r);
|
|
211
|
+
if (n === r) return;
|
|
212
|
+
r = n;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
//#endregion
|
|
216
|
+
export { p as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const NUXT_COMPONENT_NAMES: readonly ["AccordionContent", "AccordionHeader", "AccordionItem", "AccordionRoot", "AccordionTrigger", "AlertDialog", "AlertDialogAction", "AlertDialogCancel", "AlertDialogContent", "AlertDialogDescription", "AlertDialogOverlay", "AlertDialogPortal", "AlertDialogRoot", "AlertDialogTitle", "AlertDialogTrigger", "Badge", "BottomSheet", "Breadcrumb", "Button", "CalendarCell", "CalendarCellTrigger", "CalendarGrid", "CalendarGridBody", "CalendarGridHead", "CalendarGridRow", "CalendarHeadCell", "CalendarHeader", "CalendarHeading", "CalendarNext", "CalendarPrev", "CalendarRoot", "Checkbox", "ChipCheckbox", "ComboboxAnchor", "ComboboxClear", "ComboboxContent", "ComboboxEmpty", "ComboboxInput", "ComboboxItem", "ComboboxPortal", "ComboboxRoot", "ComboboxTrigger", "ComboboxViewport", "ConfirmDialog", "DataTable", "DatePicker", "DatePickerAnchor", "DatePickerArrow", "DatePickerCalendar", "DatePickerCell", "DatePickerCellTrigger", "DatePickerClose", "DatePickerContent", "DatePickerField", "DatePickerGrid", "DatePickerGridBody", "DatePickerGridHead", "DatePickerGridRow", "DatePickerHeadCell", "DatePickerHeader", "DatePickerHeading", "DatePickerInput", "DatePickerNext", "DatePickerPrev", "DatePickerRoot", "DatePickerTrigger", "DateRangePicker", "DateRangePickerAnchor", "DateRangePickerArrow", "DateRangePickerCalendar", "DateRangePickerCell", "DateRangePickerCellTrigger", "DateRangePickerClose", "DateRangePickerContent", "DateRangePickerField", "DateRangePickerGrid", "DateRangePickerGridBody", "DateRangePickerGridHead", "DateRangePickerGridRow", "DateRangePickerHeadCell", "DateRangePickerHeader", "DateRangePickerHeading", "DateRangePickerNext", "DateRangePickerPrev", "DateRangePickerRoot", "DateRangePickerTrigger", "Dialog", "DialogActions", "DialogContent", "DialogDescription", "DialogOverlay", "DialogPortal", "DialogRoot", "DialogTrigger", "Divider", "Drawer", "DrawerContent", "DrawerOverlay", "DrawerPortal", "DrawerRoot", "DrawerTrigger", "DropdownMenu", "DropdownMenuArrow", "DropdownMenuCheckboxItem", "DropdownMenuContent", "DropdownMenuGroup", "DropdownMenuItem", "DropdownMenuItemIndicator", "DropdownMenuLabel", "DropdownMenuPortal", "DropdownMenuRadioGroup", "DropdownMenuRadioItem", "DropdownMenuRoot", "DropdownMenuSeparator", "DropdownMenuSub", "DropdownMenuSubContent", "DropdownMenuSubTrigger", "DropdownMenuTrigger", "File", "FormField", "Image", "ImageModalProvider", "InputNumber", "InputText", "Label", "ListboxContent", "ListboxFilter", "ListboxGroup", "ListboxGroupLabel", "ListboxItem", "ListboxItemIndicator", "ListboxRoot", "ListboxVirtualizer", "Message", "OTPCode", "OverlayBadge", "PaginationEllipsis", "PaginationFirst", "PaginationLast", "PaginationList", "PaginationListItem", "PaginationNext", "PaginationPrev", "PaginationRoot", "Popover", "PopoverAnchor", "PopoverArrow", "PopoverClose", "PopoverContent", "PopoverPortal", "PopoverRoot", "PopoverTrigger", "ProgressRoot", "RadioGroupItem", "RadioGroupRoot", "RangeCalendar", "RangeCalendarCell", "RangeCalendarCellTrigger", "RangeCalendarGrid", "RangeCalendarGridBody", "RangeCalendarGridHead", "RangeCalendarGridRow", "RangeCalendarHeadCell", "RangeCalendarHeader", "RangeCalendarHeading", "RangeCalendarNext", "RangeCalendarPrev", "RangeCalendarRoot", "Schedule", "ScheduleMobile", "ScrollAreaRoot", "ScrollAreaScrollbar", "ScrollAreaViewport", "SelectContent", "SelectGroup", "SelectIcon", "SelectItem", "SelectItemIndicator", "SelectItemText", "SelectLabel", "SelectPortal", "SelectRoot", "SelectScrollDownButton", "SelectScrollUpButton", "SelectSeparator", "SelectTrigger", "SelectValue", "SelectViewport", "Skeleton", "Spinner", "StepperItem", "StepperRoot", "SwitchRoot", "SwitchThumb", "TabsContent", "TabsIndicator", "TabsList", "TabsRoot", "TabsTrigger", "Tag", "Textarea", "TimeField", "ToastAction", "ToastClose", "ToastDescription", "ToastPortal", "ToastProvider", "ToastRoot", "ToastTitle", "ToastViewport", "Toaster", "TooltipContent", "TooltipPortal", "TooltipProvider", "TooltipRoot", "TooltipTrigger"];
|
|
2
|
+
export declare const NUXT_ICON_NAMES: readonly ["AngleBottomIcon", "AngleDoubleLeftIcon", "AngleDoubleRightIcon", "AngleLeftIcon", "AngleRightIcon", "AngleTopIcon", "ArrowRightTopIcon", "AtIcon", "AvatarIcon", "BagIcon", "BanIcon", "BankIcon", "BarsIcon", "BellIcon", "BonusIcon", "BookIcon", "BoxIcon", "BoxLineIcon", "BoxStopIcon", "BriefcaseIcon", "BuildingIcon", "CalendarIcon", "CameraIcon", "CarIcon", "CarSearchIcon", "CartCrossedIcon", "CartIcon", "CashbackIcon", "CatalogToIcon", "CertificateIcon", "CevronBottomIcon", "CevronLeftIcon", "CevronRightIcon", "CevronTopIcon", "CheckFilledIcon", "CheckIcon", "CheckRoundedIcon", "ClockIcon", "ClockPayIcon", "CloseIcon", "CloseRoundedIcon", "CogIcon", "CommentIcon", "CommentsIcon", "CopyIcon", "CreditCardIcon", "CrossedBoxIcon", "CrumpledBoxIcon", "CubeIcon", "DeliveryIcon", "DeliveryTimeIcon", "DiscountIcon", "DownloadIcon", "ErrorFillIcon", "ErrorIcon", "ExcelIcon", "ExclamationBoxIcon", "EyeCloseIcon", "EyeIcon", "FaviconIcon", "FileEditIcon", "FileExport", "FileIcon", "FileUploadIcon", "FilterFillIcon", "FilterIcon", "FilterSlashIcon", "GiftColorIcon", "GiftIcon", "GuardIcon", "HeadSetIcon", "HeartFillIcon", "HeartOutlinedIcon", "HomeIcon", "ImageIcon", "InfoFillIcon", "InfoIcon", "LikeIcon", "ListIcon", "LocationIcon", "LockIcon", "MailBoxIcon", "MailIcon", "MailWarningIcon", "MapIcon", "MapPointFilledIcon", "MapPointIcon", "MaxIcon", "MessageIcon", "MinusIcon", "MoneyBillIcon", "NewIcon", "OilIcon", "PackageIcon", "PdfIcon", "PencelLineIcon", "PercentCircleIcon", "PersonIcon", "PinIcon", "PlusIcon", "PlusRoundedIcon", "PrintIcon", "ProcentIcon", "QrIcon", "QuestionIcon", "QuestionRoundedIcon", "ReplaceIcon", "Replay2Icon", "ReplayIcon", "ReplayOffIcon", "ReturnIcon", "RubIcon", "RumpledPackageIcon", "SberPayColorIcon", "SberPayIcon", "SearchIcon", "SearchMinusIcon", "SearchPlusIcon", "SendIcon", "SettingsIcon", "ShieldErrorIcon", "ShieldIcon", "ShopIcon", "ShoppingCartIcon", "SignOutIcon", "SmartphoneIcon", "SmsIcon", "SortDownFillIcon", "SortDownIcon", "SortUpFillIcon", "SortUpIcon", "SpbIcon", "StarFillIcon", "StarIcon", "SyncIcon", "TelegramColorIcon", "TelegramIcon", "TimerIcon", "TrashIcon", "TruckFillIcon", "TruckIcon", "TruesignFullIcon", "TruesignIcon", "UploadIcon", "UserIcon", "UsersIcon", "Wallet2Icon", "WalletIcon", "WarehouseIcon", "WarehousePointIcon", "WarnRoundedIcon", "WarningFillIcon", "WarningIcon", "WeightIcon", "WordIcon", "ZapIcon"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@profitliga/ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.90",
|
|
4
4
|
"author": "Profit League<dev@pr-lg.ru>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Vue 3 UI component library with TypeScript and SCSS",
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
"./icons": {
|
|
32
32
|
"import": "./dist/icons/index.js",
|
|
33
33
|
"types": "./dist/icons/index.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./nuxt": {
|
|
36
|
+
"import": "./dist/nuxt/index.js",
|
|
37
|
+
"types": "./dist/nuxt/index.d.ts"
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
"scripts": {
|
|
@@ -42,6 +46,7 @@
|
|
|
42
46
|
"format": "prettier --write \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
43
47
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
44
48
|
"check": "npm run type-check && npm run lint && npm run format:check",
|
|
49
|
+
"print:nuxt-registry": "node scripts/print-nuxt-registry.mjs",
|
|
45
50
|
"storybook": "storybook dev -p 6006 --host 0.0.0.0",
|
|
46
51
|
"storybook:tunnel": "ngrok http 6006",
|
|
47
52
|
"build-storybook": "storybook build",
|
|
@@ -59,6 +64,8 @@
|
|
|
59
64
|
"peerDependencies": {
|
|
60
65
|
"@internationalized/date": "^3.12.2",
|
|
61
66
|
"@lucide/vue": "^1.25.0",
|
|
67
|
+
"@nuxt/kit": "^4.0.0",
|
|
68
|
+
"@tailwindcss/vite": "4.3.3",
|
|
62
69
|
"@tanstack/vue-table": "8.21.3",
|
|
63
70
|
"@vueuse/core": "14.3.0",
|
|
64
71
|
"dayjs": "1.11.21",
|
|
@@ -66,11 +73,20 @@
|
|
|
66
73
|
"tailwindcss": "4.3.3",
|
|
67
74
|
"vue": "3.5.40"
|
|
68
75
|
},
|
|
76
|
+
"peerDependenciesMeta": {
|
|
77
|
+
"@nuxt/kit": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"@tailwindcss/vite": {
|
|
81
|
+
"optional": true
|
|
82
|
+
}
|
|
83
|
+
},
|
|
69
84
|
"devDependencies": {
|
|
70
85
|
"@chromatic-com/storybook": "^5.2.1",
|
|
71
86
|
"@eslint/js": "^10.0.1",
|
|
72
87
|
"@internationalized/date": "^3.12.2",
|
|
73
88
|
"@lucide/vue": "^1.25.0",
|
|
89
|
+
"@nuxt/kit": "^4.5.1",
|
|
74
90
|
"@storybook/addon-a11y": "^10.5.3",
|
|
75
91
|
"@storybook/addon-docs": "^10.5.3",
|
|
76
92
|
"@storybook/addon-mcp": "^0.7.0",
|
|
@@ -96,6 +112,7 @@
|
|
|
96
112
|
"husky": "^9.1.7",
|
|
97
113
|
"lightningcss": "^1.33.0",
|
|
98
114
|
"lint-staged": "^16.4.0",
|
|
115
|
+
"nuxt": "^4.5.1",
|
|
99
116
|
"playwright": "^1.61.1",
|
|
100
117
|
"prettier": "^3.9.6",
|
|
101
118
|
"reka-ui": "2.10.1",
|
|
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
|