adata-ui 2.1.40 → 2.1.41-beta.1
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/-error.vue +2 -2
- package/.playground/app.vue +13 -13
- package/.playground/nuxt.config.ts +1 -1
- package/CLAUDE.md +63 -0
- package/assets/styles/main.css +12 -0
- package/assets/styles/theme.css +583 -0
- package/assets/styles/ui.css +247 -0
- package/components/elements/a-select-row/ASelectRowV2.vue +13 -17
- package/components/elements/a-select-row/index.vue +13 -12
- package/components/elements/accordion/AAccordion.vue +2 -2
- package/components/elements/accordion/AAccordionGroup/AAccordionGroup.vue +1 -1
- package/components/elements/accordion/AAccordionGroup/ui.config.ts +4 -4
- package/components/elements/accordion/ui.config.ts +4 -4
- package/components/elements/alert/AAlert.vue +5 -5
- package/components/elements/bg-block/ABgBlock.vue +1 -1
- package/components/elements/button/AButton.vue +48 -45
- package/components/elements/button/AButtonV2.vue +74 -30
- package/components/elements/button-login/index.vue +2 -1
- package/components/elements/carousel/config.ui.ts +2 -2
- package/components/elements/chip-wrapper/AChipWrapper.vue +4 -3
- package/components/elements/chips/AChips.vue +4 -3
- package/components/elements/companies/AOurClients.vue +1 -1
- package/components/elements/count-up/ACountUp.vue +54 -0
- package/components/elements/curve-block/ACurveBlock.vue +15 -48
- package/components/elements/curve-block-v2/ACurveBlockV2.vue +60 -25
- package/components/elements/digit-badge/ADigitBadge.vue +17 -16
- package/components/elements/empty-box/empty-box-V2.vue +92 -0
- package/components/elements/error-template/index.vue +99 -31
- package/components/elements/feature-description/AFeatureDescription.vue +8 -8
- package/components/elements/illustrations/noAccess.vue +1 -1
- package/components/elements/infinite-carousel/AInfiniteCarousel.vue +44 -16
- package/components/elements/leave-note/ALeaveNote.vue +2 -2
- package/components/elements/pagination/APagination.vue +8 -8
- package/components/elements/section-heading/ASectionHeading.vue +35 -0
- package/components/elements/segmented/ASegmentedV2.vue +24 -21
- package/components/elements/select/ASelect.vue +28 -27
- package/components/elements/select/ASelectMobile.vue +5 -5
- package/components/elements/select/ASelectV2.vue +20 -28
- package/components/elements/select/ui/select-button.vue +8 -8
- package/components/elements/select/ui/select-list.vue +2 -2
- package/components/elements/show-more/AShowMore.vue +2 -2
- package/components/elements/show-more/AShowMoreV2.vue +3 -3
- package/components/elements/skeleton/ASkeleton.vue +1 -1
- package/components/elements/slider/ASlider.vue +3 -2
- package/components/elements/slider/ASliderV2.vue +182 -0
- package/components/elements/star-rating/AStarRating.vue +2 -2
- package/components/elements/status-badge/AStatusBadge.vue +40 -36
- package/components/elements/step-slider/AStepSliderColCard.vue +77 -39
- package/components/elements/step-slider/AStepSliderColNumber.vue +74 -53
- package/components/elements/table/table.config.ts +8 -8
- package/components/elements/tree-select/components/ATreeSelectNode.vue +4 -4
- package/components/elements/tree-select-mobile/components/ATreeSelectNodesMobile.vue +3 -3
- package/components/elements/tree-select-modal/ATreeSelectModal.vue +4 -4
- package/components/features/color-mode/AColorMode.client.vue +2 -24
- package/components/features/dropdown/ADropdownV2.vue +1 -1
- package/components/features/lang-switcher/lang-switcher.vue +6 -6
- package/components/features/payment/banner/BasicPlusLimitBanner.vue +3 -23
- package/components/features/payment/banner/PaymentBanner.vue +3 -23
- package/components/features/payment/banner/UpSellBanner.vue +1 -21
- package/components/features/payment/process/PaymentKaspiQrSidePanel.vue +8 -7
- package/components/features/payment/process/PaymentKaspiRedirectSidePanel.vue +5 -5
- package/components/features/payment/process/PaymentMethodSidePanel.vue +12 -12
- package/components/features/payment/process/PaymentTopUpSidePanel.vue +6 -6
- package/components/features/pk-mobile-services/APkMobileServices.vue +14 -43
- package/components/features//321/201hange-version/AChangeVersion.vue +1 -1
- package/components/forms/checkbox/ACheckbox.vue +8 -8
- package/components/forms/checkbox/ACheckboxV2.vue +8 -8
- package/components/forms/feedback-form/FeedbackForm.vue +8 -8
- package/components/forms/feedback-form/FeedbackFormV2.vue +9 -8
- package/components/forms/input/AInputV2.vue +39 -25
- package/components/forms/input/button/AInputButton.vue +1 -1
- package/components/forms/input/date/AInputDate.vue +13 -9
- package/components/forms/input/password/AInputPassword.vue +1 -1
- package/components/forms/input/standard/AInputStandard.vue +23 -14
- package/components/forms/input/textarea/ATextarea.vue +15 -11
- package/components/forms/input/textarea/ATextareaV2.vue +18 -13
- package/components/forms/radio-button/ARadioButton.vue +4 -4
- package/components/forms/request-demo/ARequestDemo.vue +5 -5
- package/components/forms/toggle/AToggle.vue +8 -7
- package/components/forms/toggle/AToggleV2.vue +7 -6
- package/components/modals/AConfirmationEmail.vue +3 -3
- package/components/modals/AboutTariffModal.vue +10 -9
- package/components/modals/AnotherDeviceModal.vue +11 -10
- package/components/modals/ApplicationAcceptedModal.vue +3 -2
- package/components/modals/ConnectingTariffModal.vue +1 -1
- package/components/modals/ContactsMobileModel.vue +5 -5
- package/components/modals/ContentNavigationModal.vue +8 -7
- package/components/modals/Insufficient-funds-modal.vue +4 -4
- package/components/modals/LimitReachedModal.vue +18 -7
- package/components/modals/NoAccessModal.vue +7 -3
- package/components/modals/PaymentMethodModal.vue +4 -4
- package/components/modals/RedirectsBanksModal.vue +4 -4
- package/components/modals/ReplenishModal.vue +2 -2
- package/components/modals/ReportBugConfirmModal.vue +2 -2
- package/components/modals/ReportBugModal.vue +2 -2
- package/components/modals/Resend.vue +4 -4
- package/components/modals/SubmitApplicationModal.vue +1 -5
- package/components/modals/id/AuthModal.vue +27 -47
- package/components/modals/id/IdAutoLogoutModal.vue +23 -24
- package/components/modals/id/IdBanner.vue +4 -24
- package/components/modals/id/IdConfirmAccountOtpModal.vue +5 -4
- package/components/modals/id/IdConfirmSuccessfulModal.vue +3 -3
- package/components/modals/id/IdLoginModal.vue +8 -8
- package/components/modals/id/IdModals.vue +1 -3
- package/components/modals/id/IdNewPasswordModal.vue +3 -3
- package/components/modals/id/IdOtpInput.vue +3 -3
- package/components/modals/id/IdPasswordSuccessfulModal.vue +3 -3
- package/components/modals/id/IdRecoveryModal.vue +3 -3
- package/components/modals/id/IdRegistrationModal.vue +4 -4
- package/components/modals/id/IdResetPasswordOtpModal.vue +5 -4
- package/components/modals/id/IdTwoFactorModal.vue +3 -2
- package/components/navigation/bottom-navigation/ABottomNavigation.vue +7 -7
- package/components/navigation/breadcrumbs/ABreadcrumbs.vue +4 -4
- package/components/navigation/footer/AFooter.vue +2 -2
- package/components/navigation/footer/ui/a-footer-accordion.vue +1 -1
- package/components/navigation/header/AHeader.vue +11 -11
- package/components/navigation/header/AlmatyContacts.vue +7 -7
- package/components/navigation/header/AstanaContacts.vue +4 -4
- package/components/navigation/header/CardGallery.vue +8 -7
- package/components/navigation/header/ContactMenu.vue +1 -1
- package/components/navigation/header/HeaderLink.vue +5 -5
- package/components/navigation/header/HeaderUsage.vue +14 -14
- package/components/navigation/header/ListItem.vue +4 -3
- package/components/navigation/header/NavCard.vue +6 -5
- package/components/navigation/header/NavList.vue +9 -8
- package/components/navigation/header/NotificationsMenu.vue +10 -10
- package/components/navigation/header/ProductMenu.vue +10 -9
- package/components/navigation/header/ProfileMenu.vue +13 -12
- package/components/navigation/header/SystemNotification.vue +4 -4
- package/components/navigation/line-tabs/ALineTabs.vue +10 -9
- package/components/navigation/pill-tabs/APillTabs.vue +18 -16
- package/components/navigation/pill-tabs/APillTabsV2.vue +40 -25
- package/components/navigation/side-navigation/ASideNavigation.vue +3 -3
- package/components/overlays/drawer/ADrawerV2.vue +12 -11
- package/components/overlays/modal/AModal.vue +4 -4
- package/components/overlays/modal/AModalV2.vue +17 -13
- package/components/overlays/side-panel/ASidePanel.vue +7 -7
- package/components/overlays/sideover/ASlideover.vue +4 -4
- package/components/overlays/tooltip/ATooltip.vue +3 -2
- package/components/overlays/tooltip/ATooltipV2.vue +2 -2
- package/composables/highlight.ts +2 -1
- package/eslint.config.mjs +14 -1
- package/icons/arrow/arrow-left.vue +14 -0
- package/icons/arrow-currency-gray.vue +1 -1
- package/icons/arrow-currency-green.vue +1 -1
- package/icons/arrow-currency-red.vue +1 -1
- package/icons/avatar.vue +1 -1
- package/icons/bar-chart-3.vue +3 -0
- package/icons/book-open.vue +3 -0
- package/icons/bookmark/bookmark-filled.vue +1 -0
- package/icons/braces.vue +3 -0
- package/icons/check/check-outline.vue +3 -0
- package/icons/chevron/chevron-down-outline.vue +3 -0
- package/icons/clipboard-list.vue +3 -0
- package/icons/clock-outline.vue +3 -0
- package/icons/company-egov-small.vue +1 -1
- package/icons/database.vue +3 -0
- package/icons/download-outline.vue +3 -0
- package/icons/download.vue +1 -1
- package/icons/egov.vue +1 -1
- package/icons/elicense.vue +1 -1
- package/icons/file-json.vue +3 -0
- package/icons/file-search.vue +3 -0
- package/icons/file-text.vue +3 -0
- package/icons/flask-conical.vue +3 -0
- package/icons/folder-open.vue +3 -0
- package/icons/gift-outline.vue +3 -0
- package/icons/globe-2.vue +3 -0
- package/icons/graph-loading.vue +2 -2
- package/icons/hand/hand-thumb-up-filled.vue +1 -1
- package/icons/home.vue +14 -0
- package/icons/invoice.vue +1 -0
- package/icons/key-round.vue +3 -0
- package/icons/letter/letter-a.vue +4 -2
- package/icons/letter/letter-b.vue +2 -2
- package/icons/letter/letter-c.vue +2 -2
- package/icons/letter/letter-d.vue +2 -2
- package/icons/letter/letter-e.vue +2 -2
- package/icons/logo.vue +1 -1
- package/icons/main-filter.vue +1 -1
- package/icons/menu.vue +4 -4
- package/icons/message/message.vue +1 -1
- package/icons/messages-square.vue +3 -0
- package/icons/more.vue +1 -1
- package/icons/payment/payment-card.vue +2 -2
- package/icons/radio/radio-check.vue +1 -1
- package/icons/robot-outline.vue +3 -0
- package/icons/scales/scale-outline.vue +3 -0
- package/icons/search-outline.vue +3 -0
- package/icons/send.vue +3 -0
- package/icons/star/star-filled.vue +1 -0
- package/icons/star/star-half-filled.vue +1 -0
- package/icons/sun.vue +1 -0
- package/icons/terminal.vue +3 -0
- package/icons/toasts/warning-triangle-toast.vue +1 -0
- package/icons/triangle-alert.vue +3 -0
- package/icons/users-outline.vue +3 -0
- package/icons/webhook.vue +3 -0
- package/icons/x-outline.vue +3 -0
- package/icons/yandex.vue +2 -1
- package/illustrations/address-location.vue +2 -2
- package/illustrations/award-badge.vue +105 -0
- package/illustrations/ball-with-chain.vue +7 -7
- package/illustrations/bill.vue +5 -5
- package/illustrations/buildings.vue +4 -4
- package/illustrations/calendar.vue +11 -11
- package/illustrations/chains.vue +12 -12
- package/illustrations/coin-percent.vue +3 -3
- package/illustrations/coins-stack.vue +4 -4
- package/illustrations/delete-dark.vue +1 -0
- package/illustrations/delete.vue +1 -0
- package/illustrations/doc-with-stamp.vue +5 -5
- package/illustrations/document.vue +3 -3
- package/illustrations/door.vue +79 -68
- package/illustrations/empty-badge-check.vue +20 -0
- package/illustrations/empty-ban.vue +18 -0
- package/illustrations/empty-box.vue +5 -5
- package/illustrations/empty-filter.vue +20 -0
- package/illustrations/empty-inbox.vue +19 -0
- package/illustrations/empty-scale.vue +22 -0
- package/illustrations/empty-search-x.vue +21 -0
- package/illustrations/empty-shopping-cart.vue +21 -0
- package/illustrations/empty-users-round.vue +20 -0
- package/illustrations/empty-wallet.vue +121 -155
- package/illustrations/graph-in-coin.vue +2 -2
- package/illustrations/hammer.vue +5 -5
- package/illustrations/hand-cash.vue +1 -1
- package/illustrations/info.vue +49 -36
- package/illustrations/mail-active.vue +86 -0
- package/illustrations/mail.vue +4 -4
- package/illustrations/no-access.vue +92 -0
- package/illustrations/ok.vue +86 -58
- package/illustrations/people-group.vue +1 -1
- package/illustrations/person-with-phone.vue +5 -5
- package/illustrations/person.vue +3 -3
- package/illustrations/phone-check.vue +104 -84
- package/illustrations/phone-payment-method.vue +1 -1
- package/illustrations/shield-user.vue +94 -0
- package/illustrations/stop-hand.vue +78 -71
- package/illustrations/stop-sign.vue +1 -1
- package/illustrations/suit.vue +93 -107
- package/illustrations/suitcase.vue +6 -6
- package/illustrations/terminal.vue +94 -228
- package/illustrations/trash-can.vue +60 -102
- package/illustrations/turn-on-tariff.vue +2 -2
- package/illustrations/two-persons.vue +2 -2
- package/lang/en.ts +25 -29
- package/lang/kk.ts +24 -28
- package/lang/ru.ts +24 -29
- package/nuxt.config.ts +11 -4
- package/package.json +7 -12
- package/assets/styles/index.scss +0 -166
- package/assets/styles/modules/_base.scss +0 -5
- package/assets/styles/modules/_typography.scss +0 -152
- package/components/elements/error-template/types.ts +0 -23
- package/illustrations/terminal-dark.vue +0 -48
- package/tailwind.config.ts +0 -194
- package/tests/AButton.test.ts +0 -81
|
@@ -306,7 +306,7 @@ const panelStyles = computed(() => ({
|
|
|
306
306
|
<div
|
|
307
307
|
v-show="open"
|
|
308
308
|
ref="overlay"
|
|
309
|
-
class="w-full h-full fixed left-0 top-0 backdrop-blur bg-
|
|
309
|
+
class="w-full h-full fixed left-0 top-0 backdrop-blur bg-badge/20"
|
|
310
310
|
:style="overlayStyles"
|
|
311
311
|
@click="activeModule = null"
|
|
312
312
|
/>
|
|
@@ -315,7 +315,7 @@ const panelStyles = computed(() => ({
|
|
|
315
315
|
<div
|
|
316
316
|
v-if="open"
|
|
317
317
|
ref="menu"
|
|
318
|
-
class="bg-
|
|
318
|
+
class="bg-main fixed w-full h-full overflow-y-auto overflow-x-hidden px-4 py-5"
|
|
319
319
|
:style="panelStyles"
|
|
320
320
|
>
|
|
321
321
|
<Transition
|
|
@@ -327,7 +327,7 @@ const panelStyles = computed(() => ({
|
|
|
327
327
|
v-for="item in currentLinks"
|
|
328
328
|
:key="item.label"
|
|
329
329
|
:to="item.link"
|
|
330
|
-
class="flex items-center gap-4 px-4 py-3 bg-
|
|
330
|
+
class="flex items-center gap-4 px-4 py-3 bg-muted mb-2 rounded"
|
|
331
331
|
>
|
|
332
332
|
<component
|
|
333
333
|
:is="item.icon"
|
|
@@ -54,7 +54,7 @@ const blurClass = computed(() => {
|
|
|
54
54
|
})
|
|
55
55
|
|
|
56
56
|
const overlayClass = computed(() => {
|
|
57
|
-
const base = ['drawer-v2-overlay fixed inset-0 z-[10000] flex items-end justify-stretch bg-
|
|
57
|
+
const base = ['drawer-v2-overlay fixed inset-0 z-[10000] flex items-end justify-stretch bg-overlay']
|
|
58
58
|
if (blurClass.value) base.push(blurClass.value)
|
|
59
59
|
return base.join(' ')
|
|
60
60
|
})
|
|
@@ -70,7 +70,8 @@ const contentTransitionName = computed(() => {
|
|
|
70
70
|
return 'drawer-v2-sheet'
|
|
71
71
|
})
|
|
72
72
|
|
|
73
|
-
function
|
|
73
|
+
function closeIfAllowed() {
|
|
74
|
+
if (props.persistent) return
|
|
74
75
|
open.value = false
|
|
75
76
|
}
|
|
76
77
|
|
|
@@ -231,7 +232,7 @@ function onTouchEnd() {
|
|
|
231
232
|
<div
|
|
232
233
|
v-if="open"
|
|
233
234
|
ref="contentRef"
|
|
234
|
-
class="drawer-v2-content flex w-full max-w-none flex-col overflow-hidden rounded-t-xl border-t border-
|
|
235
|
+
class="drawer-v2-content flex w-full max-w-none flex-col overflow-hidden rounded-t-xl border-t border-default bg-main shadow-2xl"
|
|
235
236
|
:style="contentStyle"
|
|
236
237
|
@mousedown.stop
|
|
237
238
|
>
|
|
@@ -243,25 +244,25 @@ function onTouchEnd() {
|
|
|
243
244
|
@touchend="onTouchEnd"
|
|
244
245
|
@touchcancel="onTouchEnd"
|
|
245
246
|
>
|
|
246
|
-
<div class="h-1 w-10 rounded-full bg-
|
|
247
|
+
<div class="h-1 w-10 rounded-full bg-badge" />
|
|
247
248
|
</div>
|
|
248
249
|
|
|
249
250
|
<header
|
|
250
251
|
v-if="!hideHeader && (title || $slots.header)"
|
|
251
|
-
class="flex shrink-0 items-center justify-between gap-3 border-b border-
|
|
252
|
+
class="flex shrink-0 items-center justify-between gap-3 border-b border-default px-5 py-4"
|
|
252
253
|
@touchstart.passive="onTouchStart"
|
|
253
254
|
@touchmove="onTouchMove"
|
|
254
255
|
@touchend="onTouchEnd"
|
|
255
256
|
@touchcancel="onTouchEnd"
|
|
256
257
|
>
|
|
257
258
|
<slot name="header">
|
|
258
|
-
<h2 class="text-
|
|
259
|
+
<h2 class="text-body-lg-strong text-primary">
|
|
259
260
|
{{ title }}
|
|
260
261
|
</h2>
|
|
261
262
|
<button
|
|
262
263
|
type="button"
|
|
263
|
-
class="rounded-sm p-1 text-
|
|
264
|
-
@click="
|
|
264
|
+
class="rounded-sm p-1 text-secondary transition hover:bg-badge hover:text-icon-strong"
|
|
265
|
+
@click="closeIfAllowed"
|
|
265
266
|
>
|
|
266
267
|
<a-icon-x-mark class="size-4" />
|
|
267
268
|
</button>
|
|
@@ -269,14 +270,14 @@ function onTouchEnd() {
|
|
|
269
270
|
</header>
|
|
270
271
|
|
|
271
272
|
<div class="min-h-0 flex-1 overflow-auto" :class="contentClass">
|
|
272
|
-
<slot :close="
|
|
273
|
+
<slot :close="closeIfAllowed" />
|
|
273
274
|
</div>
|
|
274
275
|
|
|
275
276
|
<footer
|
|
276
277
|
v-if="$slots.footer"
|
|
277
|
-
class="shrink-0 border-t border-
|
|
278
|
+
class="shrink-0 border-t border-default px-5 py-4"
|
|
278
279
|
>
|
|
279
|
-
<slot name="footer" :close="
|
|
280
|
+
<slot name="footer" :close="closeIfAllowed" />
|
|
280
281
|
</footer>
|
|
281
282
|
</div>
|
|
282
283
|
</transition>
|
|
@@ -8,7 +8,7 @@ const uiConfig = {
|
|
|
8
8
|
wrapper: 'modal-wrapper relative z-[10001]',
|
|
9
9
|
overlay: {
|
|
10
10
|
base: 'fixed inset-0 transition-opacity ',
|
|
11
|
-
background: "bg-
|
|
11
|
+
background: "bg-overlay backdrop-blur",
|
|
12
12
|
transition: {
|
|
13
13
|
'enter-active-class': "ease-out duration-300",
|
|
14
14
|
'enter-from-class': "opacity-0",
|
|
@@ -18,10 +18,10 @@ const uiConfig = {
|
|
|
18
18
|
'leave-to-class': "opacity-0"
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
|
-
base: 'base-modal max-h-full fixed text-
|
|
21
|
+
base: 'base-modal max-h-full fixed text-primary text-left rtl:text-right flex flex-col max-w-full sm:max-h-[calc(100%-48px)]',
|
|
22
22
|
position: 'top-1/2 left-1/2 translate-y-[-50%] translate-x-[-50%]',
|
|
23
23
|
padding: "p-8",
|
|
24
|
-
background: "bg-
|
|
24
|
+
background: "bg-main",
|
|
25
25
|
rounded: "rounded-md",
|
|
26
26
|
fullscreen: "w-screen h-screen rounded-none",
|
|
27
27
|
mobile: {
|
|
@@ -285,7 +285,7 @@ watch(modelValue, async (newValue) => {
|
|
|
285
285
|
@touchstart="touchstart"
|
|
286
286
|
@touchend="touchend"
|
|
287
287
|
>
|
|
288
|
-
<div class="h-1 w-10 bg-
|
|
288
|
+
<div class="h-1 w-10 bg-badge rounded m-1" />
|
|
289
289
|
</div>
|
|
290
290
|
<div
|
|
291
291
|
class="flex flex-col gap-5"
|
|
@@ -14,6 +14,7 @@ const props = withDefaults(defineProps<{
|
|
|
14
14
|
transition?: boolean
|
|
15
15
|
contentClass?: string
|
|
16
16
|
hideHeader?: boolean
|
|
17
|
+
hideHeaderBorder?: boolean
|
|
17
18
|
hideClose?: boolean
|
|
18
19
|
blur?: boolean | 'sm' | 'md' | 'lg' | 'xl'
|
|
19
20
|
mobileSheet?: boolean
|
|
@@ -30,6 +31,7 @@ const props = withDefaults(defineProps<{
|
|
|
30
31
|
persistent: false,
|
|
31
32
|
transition: true,
|
|
32
33
|
hideHeader: false,
|
|
34
|
+
hideHeaderBorder: false,
|
|
33
35
|
hideClose: false,
|
|
34
36
|
blur: false,
|
|
35
37
|
mobileSheet: true,
|
|
@@ -84,7 +86,7 @@ const blurClass = computed(() => {
|
|
|
84
86
|
})
|
|
85
87
|
|
|
86
88
|
const overlayClass = computed(() => {
|
|
87
|
-
const base = ['modal-v2-overlay fixed inset-0 z-[10000] flex bg-
|
|
89
|
+
const base = ['modal-v2-overlay fixed inset-0 z-[10000] flex bg-overlay']
|
|
88
90
|
|
|
89
91
|
if (isSheet.value) {
|
|
90
92
|
base.push('items-end justify-stretch')
|
|
@@ -99,17 +101,17 @@ const overlayClass = computed(() => {
|
|
|
99
101
|
})
|
|
100
102
|
|
|
101
103
|
const contentBaseClass = computed(() => {
|
|
102
|
-
const base = ['modal-v2-content flex flex-col overflow-hidden border bg-
|
|
104
|
+
const base = ['modal-v2-content flex flex-col overflow-hidden border bg-main shadow-2xl']
|
|
103
105
|
|
|
104
106
|
if (isSheet.value) {
|
|
105
|
-
base.push('w-full max-w-none max-h-[100dvh] rounded-t-xl rounded-b-none border-x-0 border-b-0 border-t border-
|
|
107
|
+
base.push('w-full max-w-none max-h-[100dvh] rounded-t-xl rounded-b-none border-x-0 border-b-0 border-t border-default')
|
|
106
108
|
}
|
|
107
109
|
else {
|
|
108
110
|
const radius = props.size === 'fullscreen' ? 'rounded-none' : 'rounded-xl'
|
|
109
111
|
const widthCls = props.size === 'container'
|
|
110
112
|
? ' w-full max-w-screen-sm md:max-w-screen-md lg:max-w-screen-lg xl:max-w-screen-xl 2xl:max-w-screen-2xl'
|
|
111
113
|
: ''
|
|
112
|
-
base.push(`max-h-[calc(100vh-2rem)] border-
|
|
114
|
+
base.push(`max-h-[calc(100vh-2rem)] border-default ${radius}${widthCls}`)
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
return base.join(' ')
|
|
@@ -124,7 +126,8 @@ const contentTransitionName = computed(() => {
|
|
|
124
126
|
return isSheet.value ? 'modal-v2-sheet' : 'modal-v2-content'
|
|
125
127
|
})
|
|
126
128
|
|
|
127
|
-
function
|
|
129
|
+
function closeIfAllowed() {
|
|
130
|
+
if (props.persistent) return
|
|
128
131
|
open.value = false
|
|
129
132
|
}
|
|
130
133
|
|
|
@@ -300,42 +303,43 @@ function onTouchEnd() {
|
|
|
300
303
|
@touchend="onTouchEnd"
|
|
301
304
|
@touchcancel="onTouchEnd"
|
|
302
305
|
>
|
|
303
|
-
<div class="h-1 w-10 rounded-full bg-
|
|
306
|
+
<div class="h-1 w-10 rounded-full bg-badge" />
|
|
304
307
|
</div>
|
|
305
308
|
|
|
306
309
|
<header
|
|
307
310
|
v-if="!hideHeader"
|
|
308
|
-
class="flex shrink-0 items-center justify-between gap-3
|
|
311
|
+
class="flex shrink-0 items-center justify-between gap-3 px-5 py-4"
|
|
312
|
+
:class="hideHeaderBorder ? '' : 'border-b border-default'"
|
|
309
313
|
@touchstart.passive="onTouchStart"
|
|
310
314
|
@touchmove="onTouchMove"
|
|
311
315
|
@touchend="onTouchEnd"
|
|
312
316
|
@touchcancel="onTouchEnd"
|
|
313
317
|
>
|
|
314
318
|
<slot name="header">
|
|
315
|
-
<h2 v-if="title" class="text-h5 text-
|
|
319
|
+
<h2 v-if="title" class="text-h5 text-primary">
|
|
316
320
|
{{ title }}
|
|
317
321
|
</h2>
|
|
318
322
|
</slot>
|
|
319
323
|
<button
|
|
320
324
|
v-if="!hideClose"
|
|
321
325
|
type="button"
|
|
322
|
-
class="ml-auto rounded-sm p-1 transition hover:bg-
|
|
326
|
+
class="ml-auto rounded-sm p-1 transition hover:bg-badge"
|
|
323
327
|
:data-test-id="iconXMarkTestId"
|
|
324
|
-
@click="
|
|
328
|
+
@click="closeIfAllowed"
|
|
325
329
|
>
|
|
326
330
|
<a-icon-x-mark class="size-4" />
|
|
327
331
|
</button>
|
|
328
332
|
</header>
|
|
329
333
|
|
|
330
334
|
<div class="min-h-0 flex-1 overflow-auto" :class="contentClass">
|
|
331
|
-
<slot :close="
|
|
335
|
+
<slot :close="closeIfAllowed" />
|
|
332
336
|
</div>
|
|
333
337
|
|
|
334
338
|
<footer
|
|
335
339
|
v-if="$slots.footer"
|
|
336
|
-
class="shrink-0 border-t border-
|
|
340
|
+
class="shrink-0 border-t border-default px-5 py-4"
|
|
337
341
|
>
|
|
338
|
-
<slot name="footer" :close="
|
|
342
|
+
<slot name="footer" :close="closeIfAllowed" />
|
|
339
343
|
</footer>
|
|
340
344
|
</div>
|
|
341
345
|
</transition>
|
|
@@ -37,7 +37,7 @@ const props = withDefaults(defineProps<{
|
|
|
37
37
|
overlayColor: "black",
|
|
38
38
|
overlayOpacity: 0.5,
|
|
39
39
|
overlayDuration: 500,
|
|
40
|
-
panelColor: "bg-
|
|
40
|
+
panelColor: "bg-main",
|
|
41
41
|
panelDuration: 300,
|
|
42
42
|
dataTestId: undefined,
|
|
43
43
|
iconXMarkTestId: undefined,
|
|
@@ -231,11 +231,11 @@ const touchend = () => {
|
|
|
231
231
|
@touchstart="touchstart"
|
|
232
232
|
@touchend="touchend"
|
|
233
233
|
>
|
|
234
|
-
<div class="h-1 w-10 bg-
|
|
234
|
+
<div class="h-1 w-10 bg-badge rounded m-1" />
|
|
235
235
|
</div>
|
|
236
236
|
<div
|
|
237
237
|
:class="roundedClass"
|
|
238
|
-
class="absolute
|
|
238
|
+
class="absolute -left-8 top-8 hidden w-8 cursor-pointer bg-action-primary px-2 py-4 text-action-primary-fg lg:block"
|
|
239
239
|
v-if="!hideCloseBtn"
|
|
240
240
|
:data-test-id="iconXMarkTestId"
|
|
241
241
|
@click="closePanel"
|
|
@@ -246,21 +246,21 @@ const touchend = () => {
|
|
|
246
246
|
@touchmove="touchmove"
|
|
247
247
|
@touchstart="touchstart"
|
|
248
248
|
@touchend="touchend"
|
|
249
|
-
:class="[headerClass, 'vsp__header border-b border-
|
|
249
|
+
:class="[headerClass, 'vsp__header border-b border-default p-4 lg:px-8']">
|
|
250
250
|
<slot name="header" :close="closePanel"/>
|
|
251
251
|
</div>
|
|
252
252
|
<div
|
|
253
253
|
ref="body"
|
|
254
254
|
:class="[
|
|
255
255
|
bodyClass,
|
|
256
|
-
'vsp__body overflow-y-auto relative
|
|
256
|
+
'vsp__body overflow-y-auto relative grow-1 h-full lg:px-8 p-4',
|
|
257
257
|
hideScrollbar ? 'vsp__body--hide-scroll' : '',
|
|
258
258
|
]"
|
|
259
259
|
>
|
|
260
260
|
<slot name="default" :close="closePanel"/>
|
|
261
261
|
</div>
|
|
262
262
|
<div v-if="!!$slots.footer" ref="footer"
|
|
263
|
-
:class="[footerClass, 'vsp__footer border-t border-
|
|
263
|
+
:class="[footerClass, 'vsp__footer border-t border-default p-4 lg:px-8']">
|
|
264
264
|
<slot name="footer"/>
|
|
265
265
|
</div>
|
|
266
266
|
</div>
|
|
@@ -309,7 +309,7 @@ const touchend = () => {
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
&.overflow-y-auto::-webkit-scrollbar-thumb {
|
|
312
|
-
background:
|
|
312
|
+
background: color-mix(in srgb, var(--text-color-primary) 20%, transparent);
|
|
313
313
|
border-radius: 6px;
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -9,7 +9,7 @@ const uiConfig = {
|
|
|
9
9
|
inner: 'modal-inner fixed inset-0 overflow-y-auto',
|
|
10
10
|
overlay: {
|
|
11
11
|
base: 'fixed inset-0 transition-opacity',
|
|
12
|
-
background: 'bg-
|
|
12
|
+
background: 'bg-overlay blur-lg',
|
|
13
13
|
transition: {
|
|
14
14
|
'enter-active-class': 'ease-out duration-300',
|
|
15
15
|
'enter-from-class': 'opacity-0',
|
|
@@ -20,7 +20,7 @@ const uiConfig = {
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
base: 'base-modal fixed transition-transform max-w-full overflow-auto',
|
|
23
|
-
'base-container': 'text-
|
|
23
|
+
'base-container': 'text-primary flex flex-col gap-5 bg-main h-full w-full',
|
|
24
24
|
before: {
|
|
25
25
|
base: 'absolute cursor-col-resize',
|
|
26
26
|
position: {
|
|
@@ -308,7 +308,7 @@ watch(modelValue, async (newValue) => {
|
|
|
308
308
|
@touchstart="touchstart"
|
|
309
309
|
@touchend="touchend"
|
|
310
310
|
>
|
|
311
|
-
<div class="h-1 w-10 bg-
|
|
311
|
+
<div class="h-1 w-10 bg-badge rounded m-1" />
|
|
312
312
|
</div>
|
|
313
313
|
<div
|
|
314
314
|
v-if="hasHeader"
|
|
@@ -318,7 +318,7 @@ watch(modelValue, async (newValue) => {
|
|
|
318
318
|
@touchend="touchend">
|
|
319
319
|
<h4
|
|
320
320
|
v-if="title"
|
|
321
|
-
class="
|
|
321
|
+
class="text-h2 text-center"
|
|
322
322
|
>
|
|
323
323
|
{{ title }}
|
|
324
324
|
</h4>
|
|
@@ -52,8 +52,9 @@ const popperPosition = ref(props.popperPosition)
|
|
|
52
52
|
/* --- helpers: compute classes (you can keep your uiConfig) --- */
|
|
53
53
|
const baseClass = computed(() => {
|
|
54
54
|
// keep your Tailwind classes if you like, but we position via inline styles
|
|
55
|
-
|
|
56
|
-
const
|
|
55
|
+
/* осознанно константный инвертированный тултип: bg-secondary-500 + text-white одинаковы в темах; error-вариант — документированное исключение (docs/color-migration.md) */
|
|
56
|
+
const bg = props.errorParsing ? 'bg-red-100 dark:bg-[#4F393A]' : 'bg-secondary-500'
|
|
57
|
+
const color = props.errorParsing ? 'text-danger' : 'text-white'
|
|
57
58
|
const pad = props.size === 'sm' ? 'px-4 py-2' : 'px-4 py-4'
|
|
58
59
|
const truncated = props.truncate ? 'truncate' : 'max-w-[530px] w-max'
|
|
59
60
|
return ['text-body-sm font-normal absolute', bg, color, 'rounded-sm', pad, truncated].join(' ')
|
|
@@ -110,7 +110,7 @@ const interactive = computed(() => props.trigger !== 'hover')
|
|
|
110
110
|
|
|
111
111
|
const boxClass = computed(() =>
|
|
112
112
|
twMerge(
|
|
113
|
-
'rounded-md bg-
|
|
113
|
+
'rounded-md bg-main px-2.5 py-1.5 shadow-lg ring-1 ring-(--border-color-default)',
|
|
114
114
|
props.contentClass,
|
|
115
115
|
),
|
|
116
116
|
)
|
|
@@ -178,7 +178,7 @@ onUnmounted(() => clearTimers())
|
|
|
178
178
|
<span
|
|
179
179
|
v-if="arrow"
|
|
180
180
|
ref="arrowRef"
|
|
181
|
-
class="absolute size-2 rotate-45 border-
|
|
181
|
+
class="absolute size-2 rotate-45 border-default bg-main"
|
|
182
182
|
:class="arrowBorderClass"
|
|
183
183
|
:style="arrowStyle"
|
|
184
184
|
/>
|
package/composables/highlight.ts
CHANGED
|
@@ -5,9 +5,10 @@ export default function (text: string, search = ""): string {
|
|
|
5
5
|
const regExp = new RegExp(search, "gi")
|
|
6
6
|
|
|
7
7
|
if (index >= 0) {
|
|
8
|
+
/* bg-yellow-subtle попадает в сборку через @source inline в theme.css */
|
|
8
9
|
label = label.replace(
|
|
9
10
|
regExp,
|
|
10
|
-
`<span class="bg-yellow-
|
|
11
|
+
`<span class="bg-yellow-subtle">${label.substring(
|
|
11
12
|
index,
|
|
12
13
|
index + search.length
|
|
13
14
|
)}</span>`
|
package/eslint.config.mjs
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url'
|
|
1
2
|
import antfu from '@antfu/eslint-config'
|
|
2
3
|
import tailwind from 'eslint-plugin-tailwindcss'
|
|
3
4
|
import withNuxt from './.nuxt/eslint.config.mjs'
|
|
4
5
|
|
|
6
|
+
const tailwindCssConfig = fileURLToPath(
|
|
7
|
+
new URL('./assets/styles/main.css', import.meta.url),
|
|
8
|
+
)
|
|
9
|
+
|
|
5
10
|
export default withNuxt(
|
|
6
|
-
|
|
11
|
+
{
|
|
12
|
+
...tailwind.configs.recommended,
|
|
13
|
+
files: ['**/*.{js,jsx,ts,tsx,vue}'],
|
|
14
|
+
settings: {
|
|
15
|
+
tailwindcss: {
|
|
16
|
+
cssConfigPath: tailwindCssConfig,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
7
20
|
await antfu({
|
|
8
21
|
javascript: {
|
|
9
22
|
overrides: {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
|
+
<path d="M9 14.25L3.75 9L9 3.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M14.25 9H3.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
</svg>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<style scoped>
|
|
13
|
+
|
|
14
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="M5.83494 6.75C6.79719 5.08333 9.20281 5.08333 10.1651 6.75C11.1273 8.41667 9.9245 10.5 8 10.5C6.0755 10.5 4.87269 8.41667 5.83494 6.75Z"
|
|
3
|
+
<path class="fill-icon-secondary" d="M5.83494 6.75C6.79719 5.08333 9.20281 5.08333 10.1651 6.75C11.1273 8.41667 9.9245 10.5 8 10.5C6.0755 10.5 4.87269 8.41667 5.83494 6.75Z"/>
|
|
4
4
|
</svg>
|
|
5
5
|
</template>
|
package/icons/avatar.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<mask id="mask0_5312_309" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="25" height="24">
|
|
4
|
-
<circle cx="12.3333" cy="12" r="12" class="fill-white
|
|
4
|
+
<circle cx="12.3333" cy="12" r="12" class="fill-white"/>
|
|
5
5
|
</mask>
|
|
6
6
|
<g mask="url(#mask0_5312_309)">
|
|
7
7
|
<path d="M12.3333 13.2903C15.0947 13.2903 17.3333 11.0517 17.3333 8.29031C17.3333 5.52889 15.0947 3.29031 12.3333 3.29031C9.57189 3.29031 7.33331 5.52889 7.33331 8.29031C7.33331 11.0517 9.57189 13.2903 12.3333 13.2903Z" fill="currentColor" fill-opacity="0.8"/>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chart-column-icon lucide-chart-column"><path d="M3 3v16a2 2 0 0 0 2 2h16"/><path d="M18 17V9"/><path d="M13 17V5"/><path d="M8 17v-3"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open-icon lucide-book-open"><path d="M12 5v16"/><path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z"/></svg>
|
|
3
|
+
</template>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<template>
|
|
5
5
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<!-- осознанно константный: золотой градиент #FFE364→#FBC920 — одинаков в темах -->
|
|
6
7
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.13397 1.58033C3.4938 1.2105 3.98494 1 4.5002 1H11.5002C12.0155 1 12.5066 1.2105 12.8664 1.58033C13.2258 1.94967 13.4252 2.44761 13.4252 2.96389V14.475C13.4252 14.6729 13.3139 14.854 13.1374 14.9434C12.9609 15.0328 12.7491 15.0153 12.5895 14.8982L8.00021 11.5291L3.41088 14.8982C3.25136 15.0153 3.03955 15.0328 2.86301 14.9434C2.68647 14.854 2.5752 14.6729 2.5752 14.475V2.96389C2.5752 2.44761 2.77461 1.94967 3.13397 1.58033Z" fill="url(#paint0_linear_2287_15013)"/>
|
|
7
8
|
<defs>
|
|
8
9
|
<linearGradient id="paint0_linear_2287_15013" x1="8.40342" y1="-9.61211" x2="-3.2293" y2="-3.63487" gradientUnits="userSpaceOnUse">
|
package/icons/braces.vue
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-braces-icon lucide-braces"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/><path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clipboard-list-icon lucide-clipboard-list"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="M12 11h4"/><path d="M12 16h4"/><path d="M8 11h.01"/><path d="M8 16h.01"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock-icon lucide-clock"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>
|
|
3
|
+
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg class="fill-
|
|
2
|
+
<svg class="fill-icon-strong h-5" xmlns="http://www.w3.org/2000/svg" width="39" height="16" viewBox="0 0 39 16" fill="none">
|
|
3
3
|
<g clip-path="url(#clip0_2311_13638)">
|
|
4
4
|
<path fill="currentColor" d="M6.67938 12.2763C5.76179 12.7406 4.61707 12.8859 3.74762 12.8859C1.49277 12.8859 0.333008 11.6187 0.333008 9.58158C0.333008 7.19244 2.0719 4.70593 4.92394 4.70593C6.51842 4.70593 7.66164 5.58819 7.66164 7.04714C7.66164 9.05132 5.71215 9.77331 2.55627 9.69392C2.55627 9.9186 2.6375 10.2706 2.79845 10.4953C3.10381 10.8967 3.63631 11.1049 4.31171 11.1049C5.16461 11.1049 5.88965 10.9132 6.51842 10.6076L6.67938 12.2763ZM4.63362 6.38956C3.55508 6.38956 2.94286 7.27182 2.7819 8.00879C4.58548 8.02526 5.48802 7.76763 5.48802 7.06212C5.48652 6.66218 5.16461 6.38956 4.63362 6.38956ZM10.4249 8.51208C9.05005 8.51208 7.93542 9.62202 7.93542 10.9911C7.93542 12.1355 8.71611 13.0971 9.77509 13.3817C9.89995 12.3332 9.19897 11.427 8.44084 11.5333C8.44084 11.5333 8.5341 10.9791 9.14482 10.7949C9.67582 10.6346 9.90145 10.8982 9.95109 10.9701C9.89243 10.8788 9.62016 10.4099 9.76005 9.91561C9.91499 9.36438 10.4264 9.12322 10.4264 9.12322C10.4264 9.12322 10.9379 9.36438 11.0928 9.91561C11.2312 10.4099 10.9589 10.8788 10.9018 10.9701C10.9514 10.8982 11.177 10.6346 11.708 10.7949C12.3188 10.9791 12.412 11.5333 12.412 11.5333C11.6554 11.427 10.9544 12.3332 11.0778 13.3817C12.1367 13.0971 12.9174 12.1355 12.9174 10.9911C12.9144 9.62202 11.7998 8.51208 10.4249 8.51208Z"/>
|
|
5
5
|
<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M19.3931 4.88119L19.3134 5.80539H19.2818C18.8802 5.16878 18.2048 4.70593 17.1262 4.70593C15.1948 4.70743 13.5552 6.29969 13.5552 8.79967C13.5552 11.045 14.9376 12.6058 16.884 12.6058C17.7851 12.6058 18.5402 12.2388 19.0065 11.5858H19.0381V12.095C19.0381 13.5285 18.1536 14.1501 16.9954 14.1501C16.0793 14.1501 15.2098 13.8476 14.7119 13.5615L14.2291 15.3934C14.9361 15.7918 16.0296 15.9985 17.06 15.9985C18.2183 15.9985 19.3916 15.7754 20.2611 15.0429C21.1455 14.2625 21.4509 13.0357 21.4509 11.5393V7.19094C21.4509 6.02857 21.4825 5.37549 21.5156 4.88119H19.3931ZM19.0065 9.19811C19.0065 9.40482 18.99 9.65946 18.9268 9.83472C18.7658 10.4084 18.2679 10.8218 17.6407 10.8218C16.6118 10.8218 16.0327 9.91411 16.0327 8.75174C16.0327 7.33473 16.7562 6.53786 17.6407 6.53786C18.3161 6.53786 18.7824 6.96775 18.9599 7.60436C18.9915 7.73168 19.008 7.89045 19.008 8.05073V9.19811H19.0065ZM26.3547 4.70743C23.8291 4.70743 22.1579 6.31617 22.1579 8.83263C22.1579 11.3491 23.9269 12.847 26.2269 12.847C28.3343 12.847 30.3755 11.5408 30.3755 8.69033C30.3755 6.34762 28.7675 4.70743 26.3547 4.70743ZM26.29 6.42701C27.4002 6.42701 27.8499 7.60585 27.8499 8.76822C27.8499 10.1702 27.2392 11.1094 26.29 11.1094C25.2446 11.1094 24.682 10.1058 24.682 8.76822C24.682 7.62233 25.1167 6.42701 26.29 6.42701ZM30.0988 4.88119H32.7522L33.8142 8.4971C34.0068 9.15018 34.1527 9.77181 34.264 10.3919H34.3121C34.4415 9.75533 34.5693 9.16516 34.7468 8.4971L35.7607 4.88119H38.3344L35.4072 12.6702H32.9628L30.0988 4.88119Z"/>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database-icon lucide-database"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5V19A9 3 0 0 0 21 19V5"/><path d="M3 12A9 3 0 0 0 21 12"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-download-icon lucide-download"><path d="M12 15V3"/><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m7 10 5 5 5-5"/></svg>
|
|
3
|
+
</template>
|
package/icons/download.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg class="fill-
|
|
2
|
+
<svg class="fill-icon-strong" fill="none" height="16" viewBox="0 0 17 16" width="17"
|
|
3
3
|
xmlns="http://www.w3.org/2000/svg">
|
|
4
4
|
<path
|
|
5
5
|
d="M9.02496 1.525C9.02496 1.23505 8.78991 1 8.49996 1C8.21001 1 7.97496 1.23505 7.97496 1.525V9.97001L6.71285 8.7079C6.50783 8.50288 6.17542 8.50288 5.9704 8.7079C5.76537 8.91293 5.76537 9.24534 5.9704 9.45036L8.12872 11.6087C8.22717 11.7071 8.36071 11.7625 8.49994 11.7625C8.63918 11.7625 8.77272 11.7071 8.87117 11.6087L11.0295 9.45036C11.2345 9.24534 11.2345 8.91293 11.0295 8.7079C10.8245 8.50288 10.4921 8.50288 10.287 8.7079L9.02496 9.96999V1.525Z"
|
package/icons/egov.vue
CHANGED
package/icons/elicense.vue
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
viewBox="0 0 60 16"
|
|
10
10
|
fill="none"
|
|
11
11
|
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
-
class="h-5 fill-
|
|
12
|
+
class="h-5 fill-icon-strong"
|
|
13
13
|
>
|
|
14
14
|
<path d="M6.34637 12.2764C5.42879 12.7408 4.28406 12.8861 3.41462 12.8861C1.15977 12.8861 0 11.6188 0 9.5817C0 7.19256 1.7389 4.70605 4.59093 4.70605C6.18542 4.70605 7.32864 5.58831 7.32864 7.04726C7.32864 9.05144 5.37915 9.77343 2.22326 9.69404C2.22326 9.91872 2.30449 10.2707 2.46544 10.4954C2.7708 10.8968 3.3033 11.1051 3.9787 11.1051C4.83161 11.1051 5.55665 10.9133 6.18542 10.6078L6.34637 12.2764ZM4.30061 6.38969C3.22207 6.38969 2.60985 7.27195 2.4489 8.00891C4.25247 8.02539 5.15502 7.76775 5.15502 7.06224C5.15351 6.6623 4.8316 6.38969 4.30061 6.38969ZM10.0919 8.5122C8.71705 8.5122 7.60241 9.62214 7.60241 10.9912C7.60241 12.1356 8.38311 13.0973 9.44209 13.3819C9.56694 12.3333 8.86597 11.4271 8.10783 11.5335C8.10783 11.5335 8.20109 10.9792 8.81181 10.795C9.34281 10.6347 9.56844 10.8983 9.61808 10.9702C9.55942 10.8789 9.28715 10.41 9.42704 9.91573C9.58198 9.3645 10.0934 9.12334 10.0934 9.12334C10.0934 9.12334 10.6049 9.3645 10.7598 9.91573C10.8982 10.41 10.6259 10.8789 10.5688 10.9702C10.6184 10.8983 10.844 10.6347 11.375 10.795C11.9858 10.9792 12.079 11.5335 12.079 11.5335C11.3224 11.4271 10.6214 12.3333 10.7448 13.3819C11.8037 13.0973 12.5844 12.1356 12.5844 10.9912C12.5814 9.62214 11.4668 8.5122 10.0919 8.5122Z" fill="currentColor" />
|
|
15
15
|
<path d="M13.8691 3.71875H16.2268V12.8652H13.8691V3.71875Z" fill="currentColor" />
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-braces-icon lucide-file-braces"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/><path d="M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1"/><path d="M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-search-icon lucide-file-search"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/><circle cx="11.5" cy="14.5" r="2.5"/><path d="M13.3 16.3 15 18"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-text-icon lucide-file-text"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-flask-conical-icon lucide-flask-conical"><path d="M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2"/><path d="M6.453 15h11.094"/><path d="M8.5 2h7"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-open-icon lucide-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gift-icon lucide-gift"><path d="M12 7v14"/><path d="M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8"/><path d="M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5"/><rect x="3" y="7" width="18" height="4" rx="1"/></svg>
|
|
3
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-earth-icon lucide-earth"><path d="M21.54 15H17a2 2 0 0 0-2 2v4.54"/><path d="M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17"/><path d="M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05"/><circle cx="12" cy="12" r="10"/></svg>
|
|
3
|
+
</template>
|
package/icons/graph-loading.vue
CHANGED
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
y2="88.5414"
|
|
23
23
|
gradientUnits="userSpaceOnUse"
|
|
24
24
|
>
|
|
25
|
-
<stop offset="0.150973" stop-color="
|
|
25
|
+
<stop offset="0.150973" stop-color="var(--color-brand-500)" />
|
|
26
26
|
<stop
|
|
27
27
|
offset="0.588542"
|
|
28
|
-
stop-color="
|
|
28
|
+
stop-color="var(--color-brand-500)"
|
|
29
29
|
stop-opacity="0.1"
|
|
30
30
|
/>
|
|
31
31
|
</linearGradient>
|