@v-miniapp/ui-react 1.0.37 → 1.0.39
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/components/alert/alert.d.ts +12 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/app/components/app.d.ts +13 -0
- package/dist/components/app/components/bottom-tab-bar.d.ts +2 -0
- package/dist/components/app/components/link.d.ts +8 -0
- package/dist/components/app/components/navigation-analytic.d.ts +2 -0
- package/dist/components/app/components/navigation-bar.d.ts +2 -0
- package/dist/components/app/components/page-layout.d.ts +3 -0
- package/dist/components/app/components/pages-render.d.ts +2 -0
- package/dist/components/app/context/location-key.d.ts +4 -0
- package/dist/components/app/hooks/use-app-pause.d.ts +1 -0
- package/dist/components/app/hooks/use-app-resume.d.ts +1 -0
- package/dist/components/app/hooks/use-app-state.d.ts +7 -0
- package/dist/components/app/hooks/use-bottom-tab-bar.d.ts +13 -0
- package/dist/components/app/hooks/use-custom-icon-event.d.ts +1 -0
- package/dist/components/app/hooks/use-did-hide.d.ts +1 -0
- package/dist/components/app/hooks/use-did-show.d.ts +1 -0
- package/dist/components/app/hooks/use-history.d.ts +2 -0
- package/dist/components/app/hooks/use-location.d.ts +1 -0
- package/dist/components/app/hooks/use-navigate.d.ts +1 -0
- package/dist/components/app/hooks/use-navigation-bar.d.ts +12 -0
- package/dist/components/app/hooks/use-navigation-type.d.ts +1 -0
- package/dist/components/app/hooks/use-page-config.d.ts +1 -0
- package/dist/components/app/hooks/use-page-layout.d.ts +14 -0
- package/dist/components/app/hooks/use-page-scroll.d.ts +5 -0
- package/dist/components/app/hooks/use-page-state.d.ts +6 -0
- package/dist/components/app/hooks/use-settings-changed.d.ts +3 -0
- package/dist/components/app/index.d.ts +18 -0
- package/dist/components/app/stores/app.d.ts +24 -0
- package/dist/components/app/stores/app.selector.d.ts +11 -0
- package/dist/components/app/types/app.d.ts +55 -0
- package/dist/components/app/types/navigation.d.ts +30 -0
- package/dist/components/app/utils/animation.d.ts +2 -0
- package/dist/components/app/utils/data-theme.d.ts +5 -0
- package/dist/components/app/utils/history.d.ts +7 -0
- package/dist/components/avatar/avatar.d.ts +15 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/badge/badge.d.ts +8 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/bottom-tab-bar/bottom-tab-bar.d.ts +22 -0
- package/dist/components/bottom-tab-bar/index.d.ts +1 -0
- package/dist/components/button/button.const.d.ts +3 -0
- package/dist/components/button/button.d.ts +20 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/calendar/calendar-range-sheet.d.ts +14 -0
- package/dist/components/calendar/calendar-single-sheet.d.ts +14 -0
- package/dist/components/calendar/calendar.d.ts +10 -0
- package/dist/components/calendar/default-render.d.ts +3 -0
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/calendar/range-picker.d.ts +11 -0
- package/dist/components/calendar/single-picker.d.ts +9 -0
- package/dist/components/calendar/utils.d.ts +60 -0
- package/dist/components/carousel/carousel.d.ts +15 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/use-carousel.d.ts +27 -0
- package/dist/components/checkbox/check-icon.d.ts +6 -0
- package/dist/components/checkbox/checkbox.d.ts +24 -0
- package/dist/components/checkbox/indeterminate-icon.d.ts +6 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/chip/chip.d.ts +16 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/date-field/date-field-range.d.ts +76 -0
- package/dist/components/date-field/date-field.d.ts +56 -0
- package/dist/components/date-field/index.d.ts +2 -0
- package/dist/components/date-field/input.d.ts +6 -0
- package/dist/components/date-picker/date-picker-base.d.ts +32 -0
- package/dist/components/date-picker/date-picker-item.d.ts +14 -0
- package/dist/components/date-picker/date-picker-sheet.d.ts +14 -0
- package/dist/components/date-picker/date-picker.constant.d.ts +8 -0
- package/dist/components/date-picker/date-picker.d.ts +17 -0
- package/dist/components/date-picker/date-picker.utils.d.ts +31 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/dialog/dialog.d.ts +20 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dropdown/dropdown-base.d.ts +6 -0
- package/dist/components/dropdown/dropdown.d.ts +33 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/error/error-boundary.d.ts +15 -0
- package/dist/components/error/error.d.ts +10 -0
- package/dist/components/error/index.d.ts +1 -0
- package/dist/components/freeze/index.d.ts +11 -0
- package/dist/components/icon/icon-mapping.d.ts +246 -0
- package/dist/components/icon/icon.d.ts +29 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/image/image.d.ts +10 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/index.d.ts +43 -0
- package/dist/components/input-wrapper/index.d.ts +1 -0
- package/dist/components/input-wrapper/input-wrapper.d.ts +33 -0
- package/dist/components/label/index.d.ts +1 -0
- package/dist/components/label/label.d.ts +11 -0
- package/dist/components/layout/app.d.ts +3 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/page-loading.d.ts +6 -0
- package/dist/components/layout/page.d.ts +18 -0
- package/dist/components/list-item/index.d.ts +1 -0
- package/dist/components/list-item/list-item.d.ts +12 -0
- package/dist/components/navigation-bar/index.d.ts +1 -0
- package/dist/components/navigation-bar/navigation-bar.d.ts +26 -0
- package/dist/components/number-field/index.d.ts +1 -0
- package/dist/components/number-field/number-field.d.ts +23 -0
- package/dist/components/old-date-picker/date-picker-base.d.ts +32 -0
- package/dist/components/old-date-picker/date-picker-item.d.ts +11 -0
- package/dist/components/old-date-picker/date-picker-sheet.d.ts +14 -0
- package/dist/components/old-date-picker/date-picker.constant.d.ts +3 -0
- package/dist/components/old-date-picker/date-picker.d.ts +21 -0
- package/dist/components/old-date-picker/index.d.ts +2 -0
- package/dist/components/option-item/index.d.ts +1 -0
- package/dist/components/option-item/option-item.d.ts +10 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/pagination.d.ts +7 -0
- package/dist/components/pull-to-refresh/index.d.ts +1 -0
- package/dist/components/pull-to-refresh/pull-to-refresh.d.ts +17 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/radio.d.ts +19 -0
- package/dist/components/rating/index.d.ts +1 -0
- package/dist/components/rating/rating.d.ts +12 -0
- package/dist/components/rating/star.d.ts +6 -0
- package/dist/components/search-field/index.d.ts +1 -0
- package/dist/components/search-field/search-field.d.ts +4 -0
- package/dist/components/section/index.d.ts +3 -0
- package/dist/components/section/section-content.d.ts +3 -0
- package/dist/components/section/section-title.d.ts +12 -0
- package/dist/components/section/section.d.ts +6 -0
- package/dist/components/seo/index.d.ts +2 -0
- package/dist/components/seo/seo.d.ts +7 -0
- package/dist/components/seo/seo.type.d.ts +85 -0
- package/dist/components/sheet/index.d.ts +4 -0
- package/dist/components/sheet/sheet-body.d.ts +6 -0
- package/dist/components/sheet/sheet-footer.d.ts +5 -0
- package/dist/components/sheet/sheet-header.d.ts +11 -0
- package/dist/components/sheet/sheet.d.ts +11 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/skeleton.d.ts +13 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/switch.d.ts +16 -0
- package/dist/components/tab-bar/index.d.ts +1 -0
- package/dist/components/tab-bar/tab-bar.d.ts +26 -0
- package/dist/components/tab-bar/tab.d.ts +6 -0
- package/dist/components/text-area/index.d.ts +1 -0
- package/dist/components/text-area/text-area.d.ts +15 -0
- package/dist/components/text-field/index.d.ts +1 -0
- package/dist/components/text-field/text-field.d.ts +18 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/toast-provider.d.ts +2 -0
- package/dist/components/toast/toast.d.ts +20 -0
- package/dist/components/toast/toast.store.d.ts +25 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +10 -0
- package/dist/components/typography/index.d.ts +1 -0
- package/dist/components/typography/typography.d.ts +13 -0
- package/dist/components/uploader/helper.d.ts +5 -0
- package/dist/components/uploader/index.d.ts +1 -0
- package/dist/components/uploader/type.d.ts +9 -0
- package/dist/components/uploader/uploader.d.ts +18 -0
- package/dist/components/visibility-sensor/index.d.ts +1 -0
- package/dist/components/visibility-sensor/visibility-sensor.d.ts +9 -0
- package/dist/external/index.js +15758 -0
- package/dist/external/styles.css +1 -0
- package/dist/hooks/use-analytic.d.ts +1 -0
- package/dist/hooks/use-is-using-app.d.ts +1 -0
- package/dist/hooks/use-is-using-locales.d.ts +1 -0
- package/dist/hooks/use-swipe-navigation.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7677 -0
- package/dist/locales/defaultResources/en.d.ts +27 -0
- package/dist/locales/defaultResources/vi.d.ts +27 -0
- package/dist/locales/fns.d.ts +6 -0
- package/dist/locales/hooks.d.ts +9 -0
- package/dist/locales/index.d.ts +4 -0
- package/dist/locales/provider.d.ts +6 -0
- package/dist/locales/store.d.ts +13 -0
- package/dist/locales/types.d.ts +37 -0
- package/dist/locales/utils.d.ts +2 -0
- package/dist/styles.css +1 -0
- package/dist/styles.d.ts +1 -0
- package/dist/tailwind/colors.css +369 -0
- package/dist/tailwind/styles.css +5 -0
- package/dist/types/colors.d.ts +3 -0
- package/dist/types/util.d.ts +1 -0
- package/dist/utils/analytic.d.ts +17 -0
- package/dist/utils/bound.d.ts +1 -0
- package/dist/utils/can-use-dom.d.ts +1 -0
- package/dist/utils/classname.d.ts +3 -0
- package/dist/utils/colors.d.ts +2 -0
- package/dist/utils/colors.gen.d.ts +368 -0
- package/dist/utils/convert-px.d.ts +1 -0
- package/dist/utils/date.d.ts +2 -0
- package/dist/utils/deep-clone.d.ts +1 -0
- package/dist/utils/dev-log.d.ts +3 -0
- package/dist/utils/event-emitter.d.ts +7 -0
- package/dist/utils/get-scroll-parent.d.ts +3 -0
- package/dist/utils/is-dev.d.ts +1 -0
- package/dist/utils/omit.d.ts +1 -0
- package/dist/utils/render-node.d.ts +2 -0
- package/dist/utils/rubberband.d.ts +2 -0
- package/dist/utils/sleep.d.ts +1 -0
- package/dist/utils/supports-passive.d.ts +1 -0
- package/dist/utils/to-css-length.d.ts +1 -0
- package/dist/utils/url.d.ts +1 -0
- package/dist/vsf/choose-image.d.ts +4 -0
- package/dist/vsf/index.d.ts +1 -0
- package/package.json +3 -53
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
export declare const themeColors: {
|
|
2
|
+
'alias-background': string;
|
|
3
|
+
'alias-background-brand': string;
|
|
4
|
+
'alias-background-brand-disabled': string;
|
|
5
|
+
'alias-background-brand-strong': string;
|
|
6
|
+
'alias-background-brand-subtle': string;
|
|
7
|
+
'alias-background-disabled': string;
|
|
8
|
+
'alias-background-disabled-inverse': string;
|
|
9
|
+
'alias-background-grid-pattern': string;
|
|
10
|
+
'alias-background-inverse': string;
|
|
11
|
+
'alias-background-nav-box': string;
|
|
12
|
+
'alias-background-nav-box-inverse': string;
|
|
13
|
+
'alias-border-brand': string;
|
|
14
|
+
'alias-border-disabled': string;
|
|
15
|
+
'alias-border-disabled-inverse': string;
|
|
16
|
+
'alias-border-inverse': string;
|
|
17
|
+
'alias-border-on-brand': string;
|
|
18
|
+
'alias-border-overlay': string;
|
|
19
|
+
'alias-border-strong-01': string;
|
|
20
|
+
'alias-border-strong-02': string;
|
|
21
|
+
'alias-border-subtle-00': string;
|
|
22
|
+
'alias-border-subtle-01': string;
|
|
23
|
+
'alias-border-subtle-02': string;
|
|
24
|
+
'alias-border-subtle-selected-01': string;
|
|
25
|
+
'alias-border-subtle-selected-02': string;
|
|
26
|
+
'alias-custom-brand': string;
|
|
27
|
+
'alias-custom-brand-disabled': string;
|
|
28
|
+
'alias-custom-brand-strong': string;
|
|
29
|
+
'alias-custom-brand-subtle': string;
|
|
30
|
+
'alias-layer-01': string;
|
|
31
|
+
'alias-layer-02': string;
|
|
32
|
+
'alias-layer-accent-01': string;
|
|
33
|
+
'alias-layer-accent-02': string;
|
|
34
|
+
'alias-layer-accent-hover-01': string;
|
|
35
|
+
'alias-layer-accent-hover-02': string;
|
|
36
|
+
'alias-layer-hover-01': string;
|
|
37
|
+
'alias-layer-hover-02': string;
|
|
38
|
+
'alias-layer-overlay': string;
|
|
39
|
+
'alias-layer-overlay-inverse': string;
|
|
40
|
+
'alias-link-inverse': string;
|
|
41
|
+
'alias-link-inverse-hover': string;
|
|
42
|
+
'alias-link-inverse-visited': string;
|
|
43
|
+
'alias-link-primary': string;
|
|
44
|
+
'alias-link-primary-hover': string;
|
|
45
|
+
'alias-link-secondary': string;
|
|
46
|
+
'alias-link-visited': string;
|
|
47
|
+
'alias-object-brand': string;
|
|
48
|
+
'alias-object-disabled': string;
|
|
49
|
+
'alias-object-disabled-inverse': string;
|
|
50
|
+
'alias-object-helper': string;
|
|
51
|
+
'alias-object-interactive': string;
|
|
52
|
+
'alias-object-on-brand': string;
|
|
53
|
+
'alias-object-on-color-dark': string;
|
|
54
|
+
'alias-object-on-color-light': string;
|
|
55
|
+
'alias-object-placeholder': string;
|
|
56
|
+
'alias-object-primary': string;
|
|
57
|
+
'alias-object-primary-inverse': string;
|
|
58
|
+
'alias-object-secondary': string;
|
|
59
|
+
'alias-overlay': string;
|
|
60
|
+
'alias-overlay-subtle': string;
|
|
61
|
+
'alias-picker-view-overlay': string;
|
|
62
|
+
'alias-skeleton-background': string;
|
|
63
|
+
'alias-skeleton-background-inverse': string;
|
|
64
|
+
'alias-skeleton-element': string;
|
|
65
|
+
'alias-skeleton-element-inverse': string;
|
|
66
|
+
'alias-support-highlight': string;
|
|
67
|
+
'alias-support-info': string;
|
|
68
|
+
'alias-support-info-inverse': string;
|
|
69
|
+
'alias-support-info-subtle': string;
|
|
70
|
+
'alias-support-negative': string;
|
|
71
|
+
'alias-support-negative-inverse': string;
|
|
72
|
+
'alias-support-negative-subtle': string;
|
|
73
|
+
'alias-support-positive': string;
|
|
74
|
+
'alias-support-positive-inverse': string;
|
|
75
|
+
'alias-support-positive-subtle': string;
|
|
76
|
+
'alias-support-warning': string;
|
|
77
|
+
'alias-support-warning-inverse': string;
|
|
78
|
+
'alias-support-warning-subtle': string;
|
|
79
|
+
'alias-switch-off': string;
|
|
80
|
+
'alias-transparent': string;
|
|
81
|
+
'global-amber-amber-05': string;
|
|
82
|
+
'global-amber-amber-10': string;
|
|
83
|
+
'global-amber-amber-20': string;
|
|
84
|
+
'global-amber-amber-30': string;
|
|
85
|
+
'global-amber-amber-40': string;
|
|
86
|
+
'global-amber-amber-50': string;
|
|
87
|
+
'global-amber-amber-60': string;
|
|
88
|
+
'global-amber-amber-70': string;
|
|
89
|
+
'global-amber-amber-80': string;
|
|
90
|
+
'global-amber-amber-90': string;
|
|
91
|
+
'global-amber-amber-95': string;
|
|
92
|
+
'global-basic-black': string;
|
|
93
|
+
'global-basic-black-20': string;
|
|
94
|
+
'global-basic-black-5': string;
|
|
95
|
+
'global-basic-white': string;
|
|
96
|
+
'global-basic-white-0': string;
|
|
97
|
+
'global-basic-white-15': string;
|
|
98
|
+
'global-basic-white-25': string;
|
|
99
|
+
'global-basic-white-30': string;
|
|
100
|
+
'global-basic-white-5': string;
|
|
101
|
+
'global-basic-white-50': string;
|
|
102
|
+
'global-basic-white-80': string;
|
|
103
|
+
'global-blue-blue-05': string;
|
|
104
|
+
'global-blue-blue-10': string;
|
|
105
|
+
'global-blue-blue-20': string;
|
|
106
|
+
'global-blue-blue-30': string;
|
|
107
|
+
'global-blue-blue-40': string;
|
|
108
|
+
'global-blue-blue-40-15': string;
|
|
109
|
+
'global-blue-blue-40-25': string;
|
|
110
|
+
'global-blue-blue-50': string;
|
|
111
|
+
'global-blue-blue-60': string;
|
|
112
|
+
'global-blue-blue-60-15': string;
|
|
113
|
+
'global-blue-blue-60-25': string;
|
|
114
|
+
'global-blue-blue-70': string;
|
|
115
|
+
'global-blue-blue-80': string;
|
|
116
|
+
'global-blue-blue-90': string;
|
|
117
|
+
'global-blue-blue-95': string;
|
|
118
|
+
'global-cyan-cyan-05': string;
|
|
119
|
+
'global-cyan-cyan-10': string;
|
|
120
|
+
'global-cyan-cyan-20': string;
|
|
121
|
+
'global-cyan-cyan-30': string;
|
|
122
|
+
'global-cyan-cyan-40': string;
|
|
123
|
+
'global-cyan-cyan-50': string;
|
|
124
|
+
'global-cyan-cyan-60': string;
|
|
125
|
+
'global-cyan-cyan-70': string;
|
|
126
|
+
'global-cyan-cyan-80': string;
|
|
127
|
+
'global-cyan-cyan-90': string;
|
|
128
|
+
'global-cyan-cyan-95': string;
|
|
129
|
+
'global-dynamic-red-dynamic-red-05': string;
|
|
130
|
+
'global-dynamic-red-dynamic-red-10': string;
|
|
131
|
+
'global-dynamic-red-dynamic-red-20': string;
|
|
132
|
+
'global-dynamic-red-dynamic-red-30': string;
|
|
133
|
+
'global-dynamic-red-dynamic-red-40': string;
|
|
134
|
+
'global-dynamic-red-dynamic-red-50': string;
|
|
135
|
+
'global-dynamic-red-dynamic-red-60': string;
|
|
136
|
+
'global-dynamic-red-dynamic-red-70': string;
|
|
137
|
+
'global-dynamic-red-dynamic-red-80': string;
|
|
138
|
+
'global-dynamic-red-dynamic-red-90': string;
|
|
139
|
+
'global-dynamic-red-dynamic-red-95': string;
|
|
140
|
+
'global-emerald-emerald-05': string;
|
|
141
|
+
'global-emerald-emerald-10': string;
|
|
142
|
+
'global-emerald-emerald-20': string;
|
|
143
|
+
'global-emerald-emerald-30': string;
|
|
144
|
+
'global-emerald-emerald-40': string;
|
|
145
|
+
'global-emerald-emerald-50': string;
|
|
146
|
+
'global-emerald-emerald-60': string;
|
|
147
|
+
'global-emerald-emerald-70': string;
|
|
148
|
+
'global-emerald-emerald-80': string;
|
|
149
|
+
'global-emerald-emerald-90': string;
|
|
150
|
+
'global-emerald-emerald-95': string;
|
|
151
|
+
'global-fuchsia-fuchsia-05': string;
|
|
152
|
+
'global-fuchsia-fuchsia-10': string;
|
|
153
|
+
'global-fuchsia-fuchsia-20': string;
|
|
154
|
+
'global-fuchsia-fuchsia-30': string;
|
|
155
|
+
'global-fuchsia-fuchsia-40': string;
|
|
156
|
+
'global-fuchsia-fuchsia-50': string;
|
|
157
|
+
'global-fuchsia-fuchsia-60': string;
|
|
158
|
+
'global-fuchsia-fuchsia-70': string;
|
|
159
|
+
'global-fuchsia-fuchsia-80': string;
|
|
160
|
+
'global-fuchsia-fuchsia-90': string;
|
|
161
|
+
'global-fuchsia-fuchsia-95': string;
|
|
162
|
+
'global-gray-gray-05': string;
|
|
163
|
+
'global-gray-gray-10': string;
|
|
164
|
+
'global-gray-gray-20': string;
|
|
165
|
+
'global-gray-gray-30': string;
|
|
166
|
+
'global-gray-gray-40': string;
|
|
167
|
+
'global-gray-gray-50': string;
|
|
168
|
+
'global-gray-gray-60': string;
|
|
169
|
+
'global-gray-gray-70': string;
|
|
170
|
+
'global-gray-gray-80': string;
|
|
171
|
+
'global-gray-gray-90': string;
|
|
172
|
+
'global-gray-gray-95': string;
|
|
173
|
+
'global-green-green-05': string;
|
|
174
|
+
'global-green-green-10': string;
|
|
175
|
+
'global-green-green-20': string;
|
|
176
|
+
'global-green-green-30': string;
|
|
177
|
+
'global-green-green-40': string;
|
|
178
|
+
'global-green-green-50': string;
|
|
179
|
+
'global-green-green-60': string;
|
|
180
|
+
'global-green-green-70': string;
|
|
181
|
+
'global-green-green-80': string;
|
|
182
|
+
'global-green-green-90': string;
|
|
183
|
+
'global-green-green-95': string;
|
|
184
|
+
'global-indigo-indigo-05': string;
|
|
185
|
+
'global-indigo-indigo-10': string;
|
|
186
|
+
'global-indigo-indigo-20': string;
|
|
187
|
+
'global-indigo-indigo-30': string;
|
|
188
|
+
'global-indigo-indigo-40': string;
|
|
189
|
+
'global-indigo-indigo-50': string;
|
|
190
|
+
'global-indigo-indigo-60': string;
|
|
191
|
+
'global-indigo-indigo-70': string;
|
|
192
|
+
'global-indigo-indigo-80': string;
|
|
193
|
+
'global-indigo-indigo-90': string;
|
|
194
|
+
'global-indigo-indigo-95': string;
|
|
195
|
+
'global-lime-lime-05': string;
|
|
196
|
+
'global-lime-lime-10': string;
|
|
197
|
+
'global-lime-lime-20': string;
|
|
198
|
+
'global-lime-lime-30': string;
|
|
199
|
+
'global-lime-lime-40': string;
|
|
200
|
+
'global-lime-lime-50': string;
|
|
201
|
+
'global-lime-lime-60': string;
|
|
202
|
+
'global-lime-lime-70': string;
|
|
203
|
+
'global-lime-lime-80': string;
|
|
204
|
+
'global-lime-lime-90': string;
|
|
205
|
+
'global-lime-lime-95': string;
|
|
206
|
+
'global-neutral-neutral-05': string;
|
|
207
|
+
'global-neutral-neutral-05-5': string;
|
|
208
|
+
'global-neutral-neutral-05-50': string;
|
|
209
|
+
'global-neutral-neutral-10': string;
|
|
210
|
+
'global-neutral-neutral-20': string;
|
|
211
|
+
'global-neutral-neutral-20-30': string;
|
|
212
|
+
'global-neutral-neutral-30': string;
|
|
213
|
+
'global-neutral-neutral-40': string;
|
|
214
|
+
'global-neutral-neutral-50': string;
|
|
215
|
+
'global-neutral-neutral-50-15': string;
|
|
216
|
+
'global-neutral-neutral-50-20': string;
|
|
217
|
+
'global-neutral-neutral-50-30': string;
|
|
218
|
+
'global-neutral-neutral-50-50': string;
|
|
219
|
+
'global-neutral-neutral-60': string;
|
|
220
|
+
'global-neutral-neutral-70': string;
|
|
221
|
+
'global-neutral-neutral-80': string;
|
|
222
|
+
'global-neutral-neutral-90': string;
|
|
223
|
+
'global-neutral-neutral-95': string;
|
|
224
|
+
'global-neutral-neutral-95-0': string;
|
|
225
|
+
'global-neutral-neutral-95-15': string;
|
|
226
|
+
'global-neutral-neutral-95-25': string;
|
|
227
|
+
'global-neutral-neutral-95-5': string;
|
|
228
|
+
'global-neutral-neutral-95-50': string;
|
|
229
|
+
'global-neutral-neutral-95-65': string;
|
|
230
|
+
'global-orange-orange-05': string;
|
|
231
|
+
'global-orange-orange-10': string;
|
|
232
|
+
'global-orange-orange-20': string;
|
|
233
|
+
'global-orange-orange-30': string;
|
|
234
|
+
'global-orange-orange-40': string;
|
|
235
|
+
'global-orange-orange-50': string;
|
|
236
|
+
'global-orange-orange-60': string;
|
|
237
|
+
'global-orange-orange-70': string;
|
|
238
|
+
'global-orange-orange-80': string;
|
|
239
|
+
'global-orange-orange-90': string;
|
|
240
|
+
'global-orange-orange-95': string;
|
|
241
|
+
'global-pink-pink-05': string;
|
|
242
|
+
'global-pink-pink-10': string;
|
|
243
|
+
'global-pink-pink-20': string;
|
|
244
|
+
'global-pink-pink-30': string;
|
|
245
|
+
'global-pink-pink-40': string;
|
|
246
|
+
'global-pink-pink-50': string;
|
|
247
|
+
'global-pink-pink-60': string;
|
|
248
|
+
'global-pink-pink-70': string;
|
|
249
|
+
'global-pink-pink-80': string;
|
|
250
|
+
'global-pink-pink-90': string;
|
|
251
|
+
'global-pink-pink-95': string;
|
|
252
|
+
'global-purple-purple-05': string;
|
|
253
|
+
'global-purple-purple-10': string;
|
|
254
|
+
'global-purple-purple-20': string;
|
|
255
|
+
'global-purple-purple-30': string;
|
|
256
|
+
'global-purple-purple-40': string;
|
|
257
|
+
'global-purple-purple-50': string;
|
|
258
|
+
'global-purple-purple-60': string;
|
|
259
|
+
'global-purple-purple-70': string;
|
|
260
|
+
'global-purple-purple-80': string;
|
|
261
|
+
'global-purple-purple-90': string;
|
|
262
|
+
'global-purple-purple-95': string;
|
|
263
|
+
'global-red-red-05': string;
|
|
264
|
+
'global-red-red-10': string;
|
|
265
|
+
'global-red-red-20': string;
|
|
266
|
+
'global-red-red-30': string;
|
|
267
|
+
'global-red-red-40': string;
|
|
268
|
+
'global-red-red-50': string;
|
|
269
|
+
'global-red-red-50-15': string;
|
|
270
|
+
'global-red-red-50-25': string;
|
|
271
|
+
'global-red-red-60': string;
|
|
272
|
+
'global-red-red-60-15': string;
|
|
273
|
+
'global-red-red-60-25': string;
|
|
274
|
+
'global-red-red-70': string;
|
|
275
|
+
'global-red-red-80': string;
|
|
276
|
+
'global-red-red-90': string;
|
|
277
|
+
'global-red-red-95': string;
|
|
278
|
+
'global-rose-rose-05': string;
|
|
279
|
+
'global-rose-rose-10': string;
|
|
280
|
+
'global-rose-rose-20': string;
|
|
281
|
+
'global-rose-rose-30': string;
|
|
282
|
+
'global-rose-rose-40': string;
|
|
283
|
+
'global-rose-rose-50': string;
|
|
284
|
+
'global-rose-rose-60': string;
|
|
285
|
+
'global-rose-rose-70': string;
|
|
286
|
+
'global-rose-rose-80': string;
|
|
287
|
+
'global-rose-rose-90': string;
|
|
288
|
+
'global-rose-rose-95': string;
|
|
289
|
+
'global-sky-sky-05': string;
|
|
290
|
+
'global-sky-sky-10': string;
|
|
291
|
+
'global-sky-sky-20': string;
|
|
292
|
+
'global-sky-sky-30': string;
|
|
293
|
+
'global-sky-sky-40': string;
|
|
294
|
+
'global-sky-sky-50': string;
|
|
295
|
+
'global-sky-sky-60': string;
|
|
296
|
+
'global-sky-sky-70': string;
|
|
297
|
+
'global-sky-sky-80': string;
|
|
298
|
+
'global-sky-sky-90': string;
|
|
299
|
+
'global-sky-sky-95': string;
|
|
300
|
+
'global-slate-slate-05': string;
|
|
301
|
+
'global-slate-slate-10': string;
|
|
302
|
+
'global-slate-slate-20': string;
|
|
303
|
+
'global-slate-slate-30': string;
|
|
304
|
+
'global-slate-slate-40': string;
|
|
305
|
+
'global-slate-slate-50': string;
|
|
306
|
+
'global-slate-slate-60': string;
|
|
307
|
+
'global-slate-slate-70': string;
|
|
308
|
+
'global-slate-slate-80': string;
|
|
309
|
+
'global-slate-slate-90': string;
|
|
310
|
+
'global-slate-slate-95': string;
|
|
311
|
+
'global-stone-stone-05': string;
|
|
312
|
+
'global-stone-stone-10': string;
|
|
313
|
+
'global-stone-stone-20': string;
|
|
314
|
+
'global-stone-stone-30': string;
|
|
315
|
+
'global-stone-stone-40': string;
|
|
316
|
+
'global-stone-stone-50': string;
|
|
317
|
+
'global-stone-stone-60': string;
|
|
318
|
+
'global-stone-stone-70': string;
|
|
319
|
+
'global-stone-stone-80': string;
|
|
320
|
+
'global-stone-stone-90': string;
|
|
321
|
+
'global-stone-stone-95': string;
|
|
322
|
+
'global-teal-teal-05': string;
|
|
323
|
+
'global-teal-teal-10': string;
|
|
324
|
+
'global-teal-teal-20': string;
|
|
325
|
+
'global-teal-teal-30': string;
|
|
326
|
+
'global-teal-teal-40': string;
|
|
327
|
+
'global-teal-teal-50': string;
|
|
328
|
+
'global-teal-teal-60': string;
|
|
329
|
+
'global-teal-teal-70': string;
|
|
330
|
+
'global-teal-teal-80': string;
|
|
331
|
+
'global-teal-teal-90': string;
|
|
332
|
+
'global-teal-teal-95': string;
|
|
333
|
+
'global-violet-violet-05': string;
|
|
334
|
+
'global-violet-violet-10': string;
|
|
335
|
+
'global-violet-violet-20': string;
|
|
336
|
+
'global-violet-violet-30': string;
|
|
337
|
+
'global-violet-violet-40': string;
|
|
338
|
+
'global-violet-violet-50': string;
|
|
339
|
+
'global-violet-violet-60': string;
|
|
340
|
+
'global-violet-violet-70': string;
|
|
341
|
+
'global-violet-violet-80': string;
|
|
342
|
+
'global-violet-violet-90': string;
|
|
343
|
+
'global-violet-violet-95': string;
|
|
344
|
+
'global-yellow-yellow-05': string;
|
|
345
|
+
'global-yellow-yellow-10': string;
|
|
346
|
+
'global-yellow-yellow-20': string;
|
|
347
|
+
'global-yellow-yellow-30': string;
|
|
348
|
+
'global-yellow-yellow-40': string;
|
|
349
|
+
'global-yellow-yellow-40-15': string;
|
|
350
|
+
'global-yellow-yellow-40-25': string;
|
|
351
|
+
'global-yellow-yellow-50': string;
|
|
352
|
+
'global-yellow-yellow-60': string;
|
|
353
|
+
'global-yellow-yellow-70': string;
|
|
354
|
+
'global-yellow-yellow-80': string;
|
|
355
|
+
'global-yellow-yellow-90': string;
|
|
356
|
+
'global-yellow-yellow-95': string;
|
|
357
|
+
'global-zinc-zinc-05': string;
|
|
358
|
+
'global-zinc-zinc-10': string;
|
|
359
|
+
'global-zinc-zinc-20': string;
|
|
360
|
+
'global-zinc-zinc-30': string;
|
|
361
|
+
'global-zinc-zinc-40': string;
|
|
362
|
+
'global-zinc-zinc-50': string;
|
|
363
|
+
'global-zinc-zinc-60': string;
|
|
364
|
+
'global-zinc-zinc-70': string;
|
|
365
|
+
'global-zinc-zinc-80': string;
|
|
366
|
+
'global-zinc-zinc-90': string;
|
|
367
|
+
'global-zinc-zinc-95': string;
|
|
368
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function convertPx(px: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const deepCloneWithoutComponent: <T>(value: T) => T;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type IEventHandler<Data> = (data: Data) => void;
|
|
2
|
+
export declare class EventEmitter<IEventMapping extends Record<string, any>> {
|
|
3
|
+
private listeners;
|
|
4
|
+
on<T extends keyof IEventMapping>(event: T, handler: IEventHandler<IEventMapping[T]>): () => void;
|
|
5
|
+
off<T extends keyof IEventMapping>(event: T, handler: IEventHandler<IEventMapping[T]>): void;
|
|
6
|
+
emit<T extends keyof IEventMapping>(event: T, payload: IEventMapping[T]): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isDev: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function omit<T extends Record<string, unknown>, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
export declare const renderNode: (node: ComponentType | ReactNode) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sleep: (time: number) => Promise<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare let supportsPassive: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCSSLength(val: string | number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function objectToSearchString(params?: Record<string, any>): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './choose-image';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v-miniapp/ui-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"dist-
|
|
7
|
+
"dist-storybook"
|
|
8
8
|
],
|
|
9
9
|
"module": "./dist/index.js",
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
@@ -16,21 +16,6 @@
|
|
|
16
16
|
"./*": "./dist/*",
|
|
17
17
|
"./tailwind": "./dist/tailwind/styles.css"
|
|
18
18
|
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev:example": "vite --config vite.config.example.ts",
|
|
21
|
-
"dev:example:showcase": "vite --config vite.config.example.showcase.ts",
|
|
22
|
-
"build:lib": "pnpm run build:lib:local && pnpm run build:lib:external",
|
|
23
|
-
"build:lib:local": "tsc -p tsconfig.lib.json && vite build --config vite.config.lib.local.ts",
|
|
24
|
-
"build:lib:external": "tsc -p tsconfig.lib.json && vite build --config vite.config.lib.external.ts",
|
|
25
|
-
"build:example": "tsc -p tsconfig.example.json && vite build --config vite.config.example.ts",
|
|
26
|
-
"build:example:showcase": "tsc -p tsconfig.example.json && vite build --config vite.config.example.showcase.ts",
|
|
27
|
-
"lint": "eslint .",
|
|
28
|
-
"preview": "vite preview",
|
|
29
|
-
"storybook": "storybook dev -p 6006",
|
|
30
|
-
"build:storybook": "storybook build -o dist-storybook -c .storybook/build && node scripts/clean-storybook.js",
|
|
31
|
-
"generate-colors": "./scripts/generate-colors.js",
|
|
32
|
-
"generate-icons": "./scripts/generate-icons.js"
|
|
33
|
-
},
|
|
34
19
|
"dependencies": {
|
|
35
20
|
"@types/lodash": "^4.17.23",
|
|
36
21
|
"@use-gesture/react": "^10.3.1",
|
|
@@ -54,42 +39,7 @@
|
|
|
54
39
|
"react": ">=19.0.0",
|
|
55
40
|
"react-dom": ">=19.0.0"
|
|
56
41
|
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@eslint/js": "^9.33.0",
|
|
59
|
-
"@storybook/addon-a11y": "^9.1.5",
|
|
60
|
-
"@storybook/addon-docs": "^9.1.5",
|
|
61
|
-
"@storybook/addon-vitest": "^9.1.5",
|
|
62
|
-
"@storybook/react-vite": "^9.1.5",
|
|
63
|
-
"@types/inputmask": "^5.0.7",
|
|
64
|
-
"@types/mustache": "^4.2.6",
|
|
65
|
-
"@types/node": "^24.3.3",
|
|
66
|
-
"@types/react": "19.2.3",
|
|
67
|
-
"@types/react-dom": "^19.2.3",
|
|
68
|
-
"@types/react-is": "^19.0.0",
|
|
69
|
-
"@types/use-sync-external-store": "^1.5.0",
|
|
70
|
-
"@vitejs/plugin-react-swc": "^4.0.0",
|
|
71
|
-
"@vitest/browser": "^3.2.4",
|
|
72
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
73
|
-
"eslint": "^9.33.0",
|
|
74
|
-
"eslint-config-prettier": "^10.1.8",
|
|
75
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
76
|
-
"eslint-plugin-react-refresh": "^0.4.20",
|
|
77
|
-
"eslint-plugin-storybook": "^9.1.5",
|
|
78
|
-
"globals": "^16.3.0",
|
|
79
|
-
"playwright": "^1.55.0",
|
|
80
|
-
"sass": "^1.92.1",
|
|
81
|
-
"storybook": "^9.1.17",
|
|
82
|
-
"typescript": "~5.8.3",
|
|
83
|
-
"typescript-eslint": "^8.39.1",
|
|
84
|
-
"vite": "^7.1.2",
|
|
85
|
-
"vite-plugin-dts": "^4.5.4",
|
|
86
|
-
"vite-plugin-eslint": "^1.8.1",
|
|
87
|
-
"vite-plugin-static-copy": "^3.1.4",
|
|
88
|
-
"vite-plugin-svgr": "^4.5.0",
|
|
89
|
-
"vitest": "^3.2.4"
|
|
90
|
-
},
|
|
91
42
|
"engines": {
|
|
92
43
|
"node": ">=22"
|
|
93
|
-
}
|
|
94
|
-
"packageManager": "pnpm@10.16.0"
|
|
44
|
+
}
|
|
95
45
|
}
|