@leaflink/monorepo-poc-vue 1.3.0 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflink/monorepo-poc-vue",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Interactive building blocks for creating user interfaces.",
5
5
  "main": "./dist/index.ts",
6
6
  "types": "./dist/index.d.ts",
@@ -108,7 +108,6 @@
108
108
  "@vue/test-utils": "^2.4.6",
109
109
  "autoprefixer": "^10.4.20",
110
110
  "jsdom": "^25.0.1",
111
- "medium-zoom": "^1.1.0",
112
111
  "postcss": "^8.4.47",
113
112
  "postcss-html": "^1.7.0",
114
113
  "postcss-prefix-selector": "^1.16.1",
@@ -121,12 +120,9 @@
121
120
  "vite": "6.2.2",
122
121
  "vite-plugin-dts": "3.9.1",
123
122
  "vite-svg-loader": "^5.1.0",
124
- "vitepress": "1.6.3",
125
123
  "vitest": "3.0.8",
126
- "vue-component-meta": "2.2.8",
127
- "vue-eslint-parser": "^9.4.3",
128
124
  "vue-tsc": "2.2.8",
129
- "@leaflink/monorepo-poc-themes": "1.3.0"
125
+ "@leaflink/monorepo-poc-themes": "1.3.2"
130
126
  },
131
127
  "peerDependencies": {
132
128
  "lodash-es": "^4.x.x",
@@ -144,14 +140,9 @@
144
140
  "scripts": {
145
141
  "prebuild": "svg-sprite --symbol --symbol-dest=assets/ --symbol-sprite=spritesheet.svg --svg-namespace-ids=false assets/icons/*.svg assets/integrations/*.svg",
146
142
  "build": "vite build",
147
- "format": "pnpm lint:js --fix && pnpm lint:css --fix",
148
- "lint": "pnpm lint:js && pnpm lint:css",
149
- "lint:js": "eslint .",
150
- "lint:css": "stylelint ./**/*.vue",
151
143
  "test": "vitest run --reporter verbose",
152
144
  "test:watch": "vitest --reporter verbose",
153
145
  "test:ci": "vitest run --silent --coverage",
154
- "type-check": "vue-tsc --noEmit",
155
- "foobar": "echo 'foobar'"
146
+ "type-check": "vue-tsc --noEmit"
156
147
  }
157
148
  }
@@ -1,303 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- declare const _default: {
3
- presets: {
4
- content: string[];
5
- prefix: string;
6
- safelist: (string | {
7
- pattern: RegExp;
8
- })[];
9
- blocklist: string[];
10
- theme: {
11
- screens: Readonly<{
12
- md: "640px";
13
- lg: "961px";
14
- xl: "1321px";
15
- 'md:max-lg': {
16
- min: string;
17
- max: string;
18
- };
19
- 'lg:max-xl': {
20
- min: string;
21
- max: string;
22
- };
23
- 'max-xl': {
24
- raw: string;
25
- };
26
- 'max-lg': {
27
- raw: string;
28
- };
29
- 'max-md': {
30
- raw: string;
31
- };
32
- }>;
33
- fontFamily: {
34
- mono: [string];
35
- sans: [string, string];
36
- sofia: [string, string];
37
- };
38
- colors: {
39
- white: string;
40
- black: string;
41
- transparent: string;
42
- inherit: string;
43
- current: string;
44
- purple: {
45
- 900: string;
46
- 800: string;
47
- 700: string;
48
- 600: string;
49
- 500: string;
50
- 400: string;
51
- 300: string;
52
- 200: string;
53
- 100: string;
54
- };
55
- royal: {
56
- 900: string;
57
- 800: string;
58
- 700: string;
59
- 600: string;
60
- 500: string;
61
- 400: string;
62
- 300: string;
63
- 200: string;
64
- 100: string;
65
- };
66
- blue: {
67
- 900: string;
68
- 800: string;
69
- 700: string;
70
- 600: string;
71
- 500: string;
72
- 400: string;
73
- 300: string;
74
- 200: string;
75
- 100: string;
76
- };
77
- teal: {
78
- 900: string;
79
- 800: string;
80
- 700: string;
81
- 600: string;
82
- 500: string;
83
- 400: string;
84
- 300: string;
85
- 200: string;
86
- 100: string;
87
- };
88
- green: {
89
- 900: string;
90
- 800: string;
91
- 700: string;
92
- 600: string;
93
- 500: string;
94
- 400: string;
95
- 300: string;
96
- 200: string;
97
- 100: string;
98
- };
99
- seafoam: {
100
- 900: string;
101
- 800: string;
102
- 700: string;
103
- 600: string;
104
- 500: string;
105
- 400: string;
106
- 300: string;
107
- 200: string;
108
- 100: string;
109
- };
110
- yellow: {
111
- 900: string;
112
- 800: string;
113
- 700: string;
114
- 600: string;
115
- 500: string;
116
- 400: string;
117
- 300: string;
118
- 200: string;
119
- 100: string;
120
- };
121
- orange: {
122
- 900: string;
123
- 800: string;
124
- 700: string;
125
- 600: string;
126
- 500: string;
127
- 400: string;
128
- 300: string;
129
- 200: string;
130
- 100: string;
131
- };
132
- red: {
133
- 900: string;
134
- 800: string;
135
- 700: string;
136
- 600: string;
137
- 500: string;
138
- 400: string;
139
- 300: string;
140
- 200: string;
141
- 100: string;
142
- };
143
- ice: {
144
- 900: string;
145
- 800: string;
146
- 700: string;
147
- 600: string;
148
- 500: string;
149
- 400: string;
150
- 300: string;
151
- 200: string;
152
- 100: string;
153
- };
154
- };
155
- extend: {
156
- backgroundImage: {
157
- 'scroll-shadow': string;
158
- };
159
- borderWidth: {
160
- 6: string;
161
- 10: string;
162
- 12: string;
163
- };
164
- boxShadow: {
165
- DEFAULT: string;
166
- md: string;
167
- lg: string;
168
- xl: string;
169
- '2xl': string;
170
- '3xl': string;
171
- low: string;
172
- high: string;
173
- };
174
- fontSize: {
175
- '2xl': [string, {
176
- lineHeight: string;
177
- }];
178
- xl: [string, {
179
- lineHeight: string;
180
- }];
181
- base: [string, {
182
- lineHeight: string;
183
- }];
184
- sm: [string, {
185
- lineHeight: string;
186
- }];
187
- xs: [string, {
188
- lineHeight: string;
189
- }];
190
- };
191
- height: {
192
- input: string;
193
- logo: string;
194
- topbar: string;
195
- chip: string;
196
- };
197
- maxHeight: {
198
- 'select-menu': string;
199
- };
200
- lineHeight: {
201
- initial: string;
202
- '2xl': string;
203
- xl: string;
204
- base: string;
205
- body: string;
206
- small: string;
207
- button: string;
208
- };
209
- minWidth: {
210
- auto: string;
211
- input: string;
212
- };
213
- maxWidth: {
214
- field: string;
215
- initial: string;
216
- container: string;
217
- };
218
- rotate: {
219
- '270': string;
220
- };
221
- spacing: {
222
- 15: string;
223
- gutter: string;
224
- sidebar: string;
225
- };
226
- width: {
227
- container: string;
228
- 'inline-edit': string;
229
- 'inline-edit-small': string;
230
- sidebar: string;
231
- 'select-menu': string;
232
- };
233
- zIndex: {
234
- '-10': string;
235
- '-20': string;
236
- '-30': string;
237
- behind: string;
238
- content: string;
239
- control: string;
240
- page: string;
241
- screen: string;
242
- modal: string;
243
- dialog: string;
244
- };
245
- animation: {
246
- grow: string;
247
- pulse: string;
248
- shake: string;
249
- };
250
- keyframes: {
251
- grow: {
252
- 'from, to': {
253
- transform: string;
254
- };
255
- '50%': {
256
- transform: string;
257
- };
258
- };
259
- pulse: {
260
- '0%, 100%': {
261
- opacity: string;
262
- };
263
- '50%': {
264
- opacity: string;
265
- };
266
- };
267
- shake: {
268
- 'from, to': {
269
- transform: string;
270
- };
271
- '10%, 30%, 50%, 70%, 90%': {
272
- transform: string;
273
- };
274
- '20%, 40%, 60%, 80%': {
275
- transform: string;
276
- };
277
- };
278
- };
279
- transitionTimingFunction: {
280
- 'fast-out-slow-in': string;
281
- 'linear-out-slow-in': string;
282
- 'fast-out-linear-in': string;
283
- 'ease-in-out': string;
284
- 'fast-in-fast-out': string;
285
- swing: string;
286
- };
287
- transitionDuration: {
288
- snap: string;
289
- fast: string;
290
- brisk: string;
291
- slow: string;
292
- sleepy: string;
293
- };
294
- };
295
- };
296
- corePlugins: {
297
- container: false;
298
- preflight: false;
299
- };
300
- }[];
301
- content: string[];
302
- };
303
- export default _default;
@@ -1,36 +0,0 @@
1
- /**
2
- * Stub for vue-inline-svg to allow most tests to work without the library making async HTTP requests
3
- */
4
- export declare const InlineSvgStub: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- title: {
6
- type: StringConstructor;
7
- default: string;
8
- };
9
- transformSource: {
10
- type: FunctionConstructor;
11
- default: () => void;
12
- };
13
- src: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- }>, {
18
- svgRef: import('vue').Ref<SVGElement | undefined, SVGElement | undefined>;
19
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
- title: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- transformSource: {
25
- type: FunctionConstructor;
26
- default: () => void;
27
- };
28
- src: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- }>> & Readonly<{}>, {
33
- title: string;
34
- src: string;
35
- transformSource: Function;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1 +0,0 @@
1
- export declare const TEST_URL_ORIGIN = "http://localhost:3000/";
@@ -1,25 +0,0 @@
1
- export declare function getStubsConfigObject(): {
2
- stubs: {
3
- RouterLink: import('vue').DefineComponent<{
4
- to: {
5
- type: (ObjectConstructor | StringConstructor)[];
6
- required: true;
7
- };
8
- custom: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
- to: {
14
- type: (ObjectConstructor | StringConstructor)[];
15
- required: true;
16
- };
17
- custom: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- }>>, {
22
- custom: boolean;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
- };
25
- };
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
- export declare const firstModal: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1 +0,0 @@
1
- export declare const modalWithNoName: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,84 +0,0 @@
1
- /**
2
- * Defines and mounts a dummy component for setup script testing
3
- * @param setup Setup function of a Vue component
4
- * @returns VueWrapper mounted component instance
5
- *
6
- * Example: `useSetup(() => { return useComposable() })`
7
- */
8
- export declare function useSetup<T>(setup: () => T): import('../../../../../../../../node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js').VueWrapper<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never> & {
9
- $: import('vue').ComponentInternalInstance;
10
- $data: {};
11
- $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
12
- $attrs: {
13
- [x: string]: unknown;
14
- };
15
- $refs: {
16
- [x: string]: unknown;
17
- };
18
- $slots: Readonly<{
19
- [name: string]: import('vue').Slot<any> | undefined;
20
- }>;
21
- $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
22
- $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
23
- $host: Element | null;
24
- $emit: (event: string, ...args: any[]) => void;
25
- $el: any;
26
- $options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, T, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
27
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
28
- created?: ((() => void) | (() => void)[]) | undefined;
29
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
30
- mounted?: ((() => void) | (() => void)[]) | undefined;
31
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
32
- updated?: ((() => void) | (() => void)[]) | undefined;
33
- activated?: ((() => void) | (() => void)[]) | undefined;
34
- deactivated?: ((() => void) | (() => void)[]) | undefined;
35
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
36
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
37
- destroyed?: ((() => void) | (() => void)[]) | undefined;
38
- unmounted?: ((() => void) | (() => void)[]) | undefined;
39
- renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
40
- renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
41
- errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
42
- };
43
- $forceUpdate: () => void;
44
- $nextTick: typeof import('vue').nextTick;
45
- $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
46
- } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, keyof (T extends void ? {} : T)> & import('vue').ShallowUnwrapRef<{} & (T extends void ? {} : T)> & {} & import('vue').ComponentCustomProperties & {}, import('vue').ComponentPublicInstance<NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>>, {
47
- $: import('vue').ComponentInternalInstance;
48
- $data: {};
49
- $props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
50
- $attrs: {
51
- [x: string]: unknown;
52
- };
53
- $refs: {
54
- [x: string]: unknown;
55
- };
56
- $slots: Readonly<{
57
- [name: string]: import('vue').Slot<any> | undefined;
58
- }>;
59
- $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
60
- $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
61
- $host: Element | null;
62
- $emit: (event: string, ...args: any[]) => void;
63
- $el: any;
64
- $options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, T, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
65
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
66
- created?: ((() => void) | (() => void)[]) | undefined;
67
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
68
- mounted?: ((() => void) | (() => void)[]) | undefined;
69
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
70
- updated?: ((() => void) | (() => void)[]) | undefined;
71
- activated?: ((() => void) | (() => void)[]) | undefined;
72
- deactivated?: ((() => void) | (() => void)[]) | undefined;
73
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
74
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
75
- destroyed?: ((() => void) | (() => void)[]) | undefined;
76
- unmounted?: ((() => void) | (() => void)[]) | undefined;
77
- renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
78
- renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
79
- errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
80
- };
81
- $forceUpdate: () => void;
82
- $nextTick: typeof import('vue').nextTick;
83
- $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
84
- } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, keyof (T extends void ? {} : T)> & import('vue').ShallowUnwrapRef<{} & (T extends void ? {} : T)> & {} & import('vue').ComponentCustomProperties & {} & Omit<NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>>, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>>>;
@@ -1,52 +0,0 @@
1
- export interface Address {
2
- /**
3
- * Address first line, usually composed by street number and/or route
4
- */
5
- street_address?: string;
6
- /**
7
- * Address second line, usually composed by apartment number and/or room
8
- */
9
- extended_address?: string;
10
- /**
11
- * Address state, abbreviated according to ISO 3166-1 alpha-2
12
- */
13
- state?: string;
14
- /**
15
- * Address postal code
16
- */
17
- postal_code?: string;
18
- /**
19
- * Address city
20
- */
21
- city?: string;
22
- /**
23
- * Address country, abbreviated according to ISO 3166-1 alpha-2
24
- */
25
- country?: string;
26
- /**
27
- * Address latitude
28
- */
29
- lat?: number;
30
- /**
31
- * Address longitude
32
- */
33
- long?: number;
34
- /**
35
- * Google Place id
36
- */
37
- place_id?: string;
38
- }
39
- export interface AddressOption {
40
- /**
41
- * Google Place id
42
- */
43
- id: string;
44
- /**
45
- * Google Place Prediction description
46
- */
47
- name: string;
48
- /**
49
- * Address object
50
- */
51
- address?: Address;
52
- }
@@ -1,157 +0,0 @@
1
- /**
2
- * The names of the color groups.
3
- */
4
- export type StashPrimaryColorGroup = 'blue' | 'green' | 'ice' | 'orange' | 'purple' | 'red' | 'royal' | 'seafoam' | 'teal' | 'yellow';
5
- /**
6
- * Complete list of Stash brand colors & their shades.
7
- */
8
- export declare enum StashColors {
9
- Purple900 = "purple-900",
10
- Purple800 = "purple-800",
11
- Purple700 = "purple-700",
12
- Purple600 = "purple-600",
13
- Purple500 = "purple-500",
14
- Purple400 = "purple-400",
15
- Purple300 = "purple-300",
16
- Purple200 = "purple-200",
17
- Purple100 = "purple-100",
18
- Royal900 = "royal-900",
19
- Royal800 = "royal-800",
20
- Royal700 = "royal-700",
21
- Royal600 = "royal-600",
22
- Royal500 = "royal-500",
23
- Royal400 = "royal-400",
24
- Royal300 = "royal-300",
25
- Royal200 = "royal-200",
26
- Royal100 = "royal-100",
27
- Blue900 = "blue-900",
28
- Blue800 = "blue-800",
29
- Blue700 = "blue-700",
30
- Blue600 = "blue-600",
31
- Blue500 = "blue-500",
32
- Blue400 = "blue-400",
33
- Blue300 = "blue-300",
34
- Blue200 = "blue-200",
35
- Blue100 = "blue-100",
36
- Teal900 = "teal-900",
37
- Teal800 = "teal-800",
38
- Teal700 = "teal-700",
39
- Teal600 = "teal-600",
40
- Teal500 = "teal-500",
41
- Teal400 = "teal-400",
42
- Teal300 = "teal-300",
43
- Teal200 = "teal-200",
44
- Teal100 = "teal-100",
45
- Green900 = "green-900",
46
- Green800 = "green-800",
47
- Green700 = "green-700",
48
- Green600 = "green-600",
49
- Green500 = "green-500",
50
- Green400 = "green-400",
51
- Green300 = "green-300",
52
- Green200 = "green-200",
53
- Green100 = "green-100",
54
- Seafoam900 = "seafoam-900",
55
- Seafoam800 = "seafoam-800",
56
- Seafoam700 = "seafoam-700",
57
- Seafoam600 = "seafoam-600",
58
- Seafoam500 = "seafoam-500",
59
- Seafoam400 = "seafoam-400",
60
- Seafoam300 = "seafoam-300",
61
- Seafoam200 = "seafoam-200",
62
- Seafoam100 = "seafoam-100",
63
- Yellow900 = "yellow-900",
64
- Yellow800 = "yellow-800",
65
- Yellow700 = "yellow-700",
66
- Yellow600 = "yellow-600",
67
- Yellow500 = "yellow-500",
68
- Yellow400 = "yellow-400",
69
- Yellow300 = "yellow-300",
70
- Yellow200 = "yellow-200",
71
- Yellow100 = "yellow-100",
72
- Orange900 = "orange-900",
73
- Orange800 = "orange-800",
74
- Orange700 = "orange-700",
75
- Orange600 = "orange-600",
76
- Orange500 = "orange-500",
77
- Orange400 = "orange-400",
78
- Orange300 = "orange-300",
79
- Orange200 = "orange-200",
80
- Orange100 = "orange-100",
81
- Red900 = "red-900",
82
- Red800 = "red-800",
83
- Red700 = "red-700",
84
- Red600 = "red-600",
85
- Red500 = "red-500",
86
- Red400 = "red-400",
87
- Red300 = "red-300",
88
- Red200 = "red-200",
89
- Red100 = "red-100",
90
- Ice900 = "ice-900",
91
- Ice800 = "ice-800",
92
- Ice700 = "ice-700",
93
- Ice600 = "ice-600",
94
- Ice500 = "ice-500",
95
- Ice400 = "ice-400",
96
- Ice300 = "ice-300",
97
- Ice200 = "ice-200",
98
- Ice100 = "ice-100",
99
- White = "white",
100
- Black = "black"
101
- }
102
- export type StashColor = `${StashColors}`;
103
- /**
104
- * A limited list of stash brand colors, only including their 100, 500, and 700 shades.
105
- */
106
- export declare enum StashCommonColors {
107
- Purple700 = "purple-700",
108
- Purple500 = "purple-500",
109
- Purple100 = "purple-100",
110
- Royal700 = "royal-700",
111
- Royal500 = "royal-500",
112
- Royal100 = "royal-100",
113
- Blue700 = "blue-700",
114
- Blue500 = "blue-500",
115
- Blue100 = "blue-100",
116
- Teal700 = "teal-700",
117
- Teal500 = "teal-500",
118
- Teal100 = "teal-100",
119
- Green700 = "green-700",
120
- Green500 = "green-500",
121
- Green100 = "green-100",
122
- Seafoam700 = "seafoam-700",
123
- Seafoam500 = "seafoam-500",
124
- Seafoam100 = "seafoam-100",
125
- Yellow700 = "yellow-700",
126
- Yellow500 = "yellow-500",
127
- Yellow100 = "yellow-100",
128
- Orange700 = "orange-700",
129
- Orange500 = "orange-500",
130
- Orange100 = "orange-100",
131
- Red700 = "red-700",
132
- Red500 = "red-500",
133
- Red100 = "red-100",
134
- Ice700 = "ice-700",
135
- Ice500 = "ice-500",
136
- Ice200 = "ice-200",// This is the one outlier, but it's used purposefully in a few places
137
- Ice100 = "ice-100",
138
- White = "white",
139
- Black = "black"
140
- }
141
- export type StashCommonColor = `${StashCommonColors}`;
142
- /**
143
- * A limited list of stash brand colors, only including their primary (500) shade.
144
- */
145
- export declare enum StashPrimaryColors {
146
- Blue500 = "blue-500",
147
- Green500 = "green-500",
148
- Ice500 = "ice-500",
149
- Orange500 = "orange-500",
150
- Purple500 = "purple-500",
151
- Red500 = "red-500",
152
- Royal500 = "royal-500",
153
- Seafoam500 = "seafoam-500",
154
- Teal500 = "teal-500",
155
- Yellow500 = "yellow-500"
156
- }
157
- export type StashPrimaryColor = `${StashPrimaryColors}`;
@@ -1,6 +0,0 @@
1
- export * from './address';
2
- export * from './colors';
3
- export * from './misc';
4
- export * from './plaid';
5
- export * from './statusLevels';
6
- export * from './unifiedApi';
@@ -1,93 +0,0 @@
1
- /**
2
- * https://jsonapi.org/format/
3
- *
4
- * For xhr responses
5
- */
6
- /**
7
- * The base data structure for a JSON api response
8
- * @see https://jsonapi.org/format/#document-structure
9
- */
10
- export interface IJsonDocument {
11
- data?: IJsonResource | IJsonResource[];
12
- errors?: IJsonError[];
13
- meta?: IJsonMeta;
14
- jsonapi?: {
15
- version: string;
16
- meta?: IJsonMeta;
17
- };
18
- links?: IJsonLinks;
19
- included?: IJsonResource[];
20
- }
21
- /**
22
- * Contains a list of errors
23
- */
24
- export interface IJsonErrorDocument extends IJsonDocument {
25
- errors: IJsonError[];
26
- }
27
- /**
28
- * A resource object
29
- * @see https://jsonapi.org/format/#document-resource-objects
30
- */
31
- export interface IJsonResource<T = unknown> {
32
- id: string;
33
- type: string;
34
- attributes?: IJsonAttributes<T>;
35
- relationships?: {
36
- [key: string]: IJsonRelationship;
37
- };
38
- links?: IJsonLinks;
39
- meta?: IJsonMeta;
40
- }
41
- /**
42
- * An error object
43
- * @see https://jsonapi.org/format/#error-objects
44
- * @see https://jsonapi.org/examples/#error-objects
45
- */
46
- export interface IJsonError {
47
- id: string;
48
- links?: IJsonLinks;
49
- status?: string;
50
- code?: string;
51
- title?: string;
52
- detail?: string;
53
- source?: {
54
- pointer: string;
55
- parameter?: string;
56
- };
57
- meta?: IJsonMeta;
58
- }
59
- /**
60
- * An attributes object
61
- * @see https://jsonapi.org/format/#document-resource-object-attributes
62
- */
63
- export interface IJsonAttributes<T = unknown> {
64
- [key: string]: T;
65
- }
66
- /**
67
- * A relationships object
68
- * @see https://jsonapi.org/format/#document-resource-object-relationships
69
- */
70
- export interface IJsonRelationship {
71
- links: IJsonLinks;
72
- data?: IJsonResource;
73
- meta?: IJsonMeta;
74
- }
75
- /**
76
- * A links object
77
- * @see https://jsonapi.org/format/#document-links
78
- */
79
- export interface IJsonLinks {
80
- about: string;
81
- self?: string;
82
- related?: {
83
- href: string;
84
- meta: IJsonMeta;
85
- };
86
- }
87
- /**
88
- * A meta object
89
- * @see https://jsonapi.org/format/#document-meta
90
- */
91
- export interface IJsonMeta<T = unknown> {
92
- [key: string]: Partial<T>;
93
- }
@@ -1,34 +0,0 @@
1
- import { DefineComponent, Directive } from 'vue';
2
-
3
- export interface I18nPlugin {
4
- locale: string;
5
- t: (key: string, value: string) => string;
6
- }
7
- export interface StashProvideState {
8
- components?: Record<string, DefineComponent>;
9
- directives?: Record<string, Directive>;
10
- i18n?: I18nPlugin;
11
- images: StashOptionImages;
12
- storage?: unknown;
13
- staticPath: string;
14
- googleMapsApiKey?: string;
15
- }
16
- export declare enum StashImageProvider {
17
- Static = "static",
18
- Cloudinary = "cloudinary"
19
- }
20
- /**
21
- * Image
22
- */
23
- export type StashImageProviders = `${StashImageProvider}`;
24
- export interface StashOptionImages {
25
- provider: StashImageProviders;
26
- }
27
- /**
28
- * For controlling properties like "padding" and "margin" within and between components.
29
- */
30
- export declare enum SpacingDensity {
31
- Compact = "compact",
32
- Comfortable = "comfortable"
33
- }
34
- export type SpacingDensities = `${SpacingDensity}`;
@@ -1,6 +0,0 @@
1
- export interface LinkTokenResponse {
2
- link_token: string;
3
- expiration: string;
4
- request_id: string;
5
- }
6
- export type * from 'plaid-link';
@@ -1,21 +0,0 @@
1
- export declare enum StatusSeverities {
2
- Error = "error",
3
- Warning = "warning",
4
- Info = "info",
5
- Success = "success"
6
- }
7
- export declare enum StatusColors {
8
- Error = "red-500",
9
- Warning = "orange-500",
10
- Info = "blue-500",
11
- Success = "green-500"
12
- }
13
- export declare enum StatusIcons {
14
- Error = "hazard",
15
- Warning = "circle-warning",
16
- Info = "circle-info",
17
- Success = "circle-check"
18
- }
19
- export type StatusSeverity = `${StatusSeverities}`;
20
- export type StatusColor = `${StatusColors}`;
21
- export type StatusIcon = `${StatusIcons}`;
@@ -1,17 +0,0 @@
1
- /**
2
- * @see {@link https://github.com/LeafLink/dev-page/tree/main/docs/api/getting-started#parameters Unified API Pagination Params}
3
- */
4
- export interface UnifiedApiPaginationParams {
5
- ordering?: string;
6
- page?: number;
7
- pageSize?: number;
8
- }
9
- /**
10
- * @see {@link https://github.com/LeafLink/dev-page/tree/main/docs/api/getting-started#list-response-attributes Unified API List Response}
11
- */
12
- export interface UnifiedApiListResponse<R = object> {
13
- count: number;
14
- next: string | null;
15
- previous: string | null;
16
- results: R[];
17
- }
@@ -1,34 +0,0 @@
1
- import { InjectionKey, Ref } from 'vue';
2
-
3
- /**
4
- * Create a union from an object's values
5
- *
6
- * using a plain object:
7
- * const SHAPE = { CIRCLE: 'circle', SQUARE: 'square' } as const;
8
- * ValueOf<typeof SHAPE> -> square | circle
9
- *
10
- * using a type:
11
- * type Shape = { SQUARE: string; CIRCLE: string; }
12
- * ValueOf<Shape>
13
- */
14
- export type ValueOf<T> = T[keyof T];
15
- export declare function isListOfStrings(list: unknown): list is string[];
16
- export declare function isListOfObjects<T = unknown>(list: unknown): list is T[];
17
- export interface Injection<T> {
18
- key: InjectionKey<T>;
19
- }
20
- export interface InjectionWithDefaults<T> extends Injection<T> {
21
- defaults: T;
22
- }
23
- /**
24
- * Like the MaybeRefOrGetter type from Vue, but without the Maybe. Can be used to ensure the most up-to-date value is available.
25
- */
26
- export type RefOrGetter<T> = Ref<T> | (() => T);
27
- /**
28
- * A type guard for the RefOrGetter type. Acceptable values include:
29
- * - a value created from `ref()`
30
- * - a value created from `shallowRef()`
31
- * - a value created from `computed()`
32
- * - a function that returns a value
33
- */
34
- export declare function isRefOrGetter<T>(value: RefOrGetter<T> | unknown): value is RefOrGetter<T>;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vite').UserConfig;
2
- export default _default;