@iris-ui-kit/vue 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/admin.cjs +1869 -0
- package/dist/admin.cjs.map +1 -0
- package/dist/admin.d.cts +376 -0
- package/dist/admin.d.ts +376 -0
- package/dist/admin.js +10 -0
- package/dist/admin.js.map +1 -0
- package/dist/async.cjs +76 -0
- package/dist/async.cjs.map +1 -0
- package/dist/async.d.cts +59 -0
- package/dist/async.d.ts +59 -0
- package/dist/async.js +3 -0
- package/dist/async.js.map +1 -0
- package/dist/behaviors.cjs +659 -0
- package/dist/behaviors.cjs.map +1 -0
- package/dist/behaviors.d.cts +441 -0
- package/dist/behaviors.d.ts +441 -0
- package/dist/behaviors.js +3 -0
- package/dist/behaviors.js.map +1 -0
- package/dist/chunk-3FJUCHCC.js +146 -0
- package/dist/chunk-3FJUCHCC.js.map +1 -0
- package/dist/chunk-3R3QDLJC.js +172 -0
- package/dist/chunk-3R3QDLJC.js.map +1 -0
- package/dist/chunk-4FLIW67H.js +137 -0
- package/dist/chunk-4FLIW67H.js.map +1 -0
- package/dist/chunk-4FQ7XF52.js +3 -0
- package/dist/chunk-4FQ7XF52.js.map +1 -0
- package/dist/chunk-72PZMU6R.js +99 -0
- package/dist/chunk-72PZMU6R.js.map +1 -0
- package/dist/chunk-75GSYEJS.js +17 -0
- package/dist/chunk-75GSYEJS.js.map +1 -0
- package/dist/chunk-7IOJADZC.js +38 -0
- package/dist/chunk-7IOJADZC.js.map +1 -0
- package/dist/chunk-CIZGSGXN.js +651 -0
- package/dist/chunk-CIZGSGXN.js.map +1 -0
- package/dist/chunk-F77KIPOH.js +103 -0
- package/dist/chunk-F77KIPOH.js.map +1 -0
- package/dist/chunk-FJBYAIL4.js +1318 -0
- package/dist/chunk-FJBYAIL4.js.map +1 -0
- package/dist/chunk-H7HVVPYR.js +66 -0
- package/dist/chunk-H7HVVPYR.js.map +1 -0
- package/dist/chunk-I6D5VXQK.js +167 -0
- package/dist/chunk-I6D5VXQK.js.map +1 -0
- package/dist/chunk-PPYNXNGZ.js +73 -0
- package/dist/chunk-PPYNXNGZ.js.map +1 -0
- package/dist/chunk-QLUIKEMJ.js +1197 -0
- package/dist/chunk-QLUIKEMJ.js.map +1 -0
- package/dist/chunk-ROJV6RON.js +3 -0
- package/dist/chunk-ROJV6RON.js.map +1 -0
- package/dist/chunk-S43IHHBU.js +82 -0
- package/dist/chunk-S43IHHBU.js.map +1 -0
- package/dist/chunk-TCAXRWT6.js +108 -0
- package/dist/chunk-TCAXRWT6.js.map +1 -0
- package/dist/chunk-TQB5LVOH.js +17 -0
- package/dist/chunk-TQB5LVOH.js.map +1 -0
- package/dist/chunk-VM2CXEUA.js +46 -0
- package/dist/chunk-VM2CXEUA.js.map +1 -0
- package/dist/chunk-W2JVHGFR.js +103 -0
- package/dist/chunk-W2JVHGFR.js.map +1 -0
- package/dist/chunk-WL67XCH5.js +59 -0
- package/dist/chunk-WL67XCH5.js.map +1 -0
- package/dist/chunk-XCNCIG2I.js +165 -0
- package/dist/chunk-XCNCIG2I.js.map +1 -0
- package/dist/chunk-XSLBANUV.js +16 -0
- package/dist/chunk-XSLBANUV.js.map +1 -0
- package/dist/chunk-ZY4NLITM.js +73 -0
- package/dist/chunk-ZY4NLITM.js.map +1 -0
- package/dist/data.cjs +59 -0
- package/dist/data.cjs.map +1 -0
- package/dist/data.d.cts +46 -0
- package/dist/data.d.ts +46 -0
- package/dist/data.js +4 -0
- package/dist/data.js.map +1 -0
- package/dist/error-boundary.cjs +115 -0
- package/dist/error-boundary.cjs.map +1 -0
- package/dist/error-boundary.d.cts +60 -0
- package/dist/error-boundary.d.ts +60 -0
- package/dist/error-boundary.js +4 -0
- package/dist/error-boundary.js.map +1 -0
- package/dist/floating.cjs +149 -0
- package/dist/floating.cjs.map +1 -0
- package/dist/floating.d.cts +106 -0
- package/dist/floating.d.ts +106 -0
- package/dist/floating.js +4 -0
- package/dist/floating.js.map +1 -0
- package/dist/form.cjs +144 -0
- package/dist/form.cjs.map +1 -0
- package/dist/form.d.cts +128 -0
- package/dist/form.d.ts +128 -0
- package/dist/form.js +3 -0
- package/dist/form.js.map +1 -0
- package/dist/i18n.cjs +112 -0
- package/dist/i18n.cjs.map +1 -0
- package/dist/i18n.d.cts +99 -0
- package/dist/i18n.d.ts +99 -0
- package/dist/i18n.js +3 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.cjs +18673 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +8087 -0
- package/dist/index.d.ts +8087 -0
- package/dist/index.js +13525 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts.cjs +392 -0
- package/dist/layouts.cjs.map +1 -0
- package/dist/layouts.d.cts +406 -0
- package/dist/layouts.d.ts +406 -0
- package/dist/layouts.js +5 -0
- package/dist/layouts.js.map +1 -0
- package/dist/machine.cjs +19 -0
- package/dist/machine.cjs.map +1 -0
- package/dist/machine.d.cts +18 -0
- package/dist/machine.d.ts +18 -0
- package/dist/machine.js +4 -0
- package/dist/machine.js.map +1 -0
- package/dist/modal-utils.cjs +170 -0
- package/dist/modal-utils.cjs.map +1 -0
- package/dist/modal-utils.d.cts +43 -0
- package/dist/modal-utils.d.ts +43 -0
- package/dist/modal-utils.js +3 -0
- package/dist/modal-utils.js.map +1 -0
- package/dist/motion.cjs +88 -0
- package/dist/motion.cjs.map +1 -0
- package/dist/motion.d.cts +43 -0
- package/dist/motion.d.ts +43 -0
- package/dist/motion.js +3 -0
- package/dist/motion.js.map +1 -0
- package/dist/provider.cjs +272 -0
- package/dist/provider.cjs.map +1 -0
- package/dist/provider.d.cts +130 -0
- package/dist/provider.d.ts +130 -0
- package/dist/provider.js +6 -0
- package/dist/provider.js.map +1 -0
- package/dist/resource.cjs +25 -0
- package/dist/resource.cjs.map +1 -0
- package/dist/resource.d.cts +17 -0
- package/dist/resource.d.ts +17 -0
- package/dist/resource.js +3 -0
- package/dist/resource.js.map +1 -0
- package/dist/skeletons.cjs +1659 -0
- package/dist/skeletons.cjs.map +1 -0
- package/dist/skeletons.d.cts +179 -0
- package/dist/skeletons.d.ts +179 -0
- package/dist/skeletons.js +7 -0
- package/dist/skeletons.js.map +1 -0
- package/dist/skins.cjs +138 -0
- package/dist/skins.cjs.map +1 -0
- package/dist/skins.d.cts +67 -0
- package/dist/skins.d.ts +67 -0
- package/dist/skins.js +3 -0
- package/dist/skins.js.map +1 -0
- package/dist/theme.cjs +106 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.cts +103 -0
- package/dist/theme.d.ts +103 -0
- package/dist/theme.js +3 -0
- package/dist/theme.js.map +1 -0
- package/dist/undo.cjs +51 -0
- package/dist/undo.cjs.map +1 -0
- package/dist/undo.d.cts +48 -0
- package/dist/undo.d.ts +48 -0
- package/dist/undo.js +3 -0
- package/dist/undo.js.map +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Two-column layout with a collapsible sidebar.
|
|
6
|
+
*
|
|
7
|
+
* Slots:
|
|
8
|
+
* - `sidebar` — content rendered in the sidebar (kept mounted across collapses).
|
|
9
|
+
* - `default` — the main content area.
|
|
10
|
+
*
|
|
11
|
+
* Use `:collapsed` for controlled mode or `:default-collapsed` for the
|
|
12
|
+
* uncontrolled initial state. When collapsed, the sidebar shrinks to
|
|
13
|
+
* `:collapsed-width` so icon-only navigation still fits.
|
|
14
|
+
*/
|
|
15
|
+
declare const IrisSidebarLayout: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
16
|
+
collapsed: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
defaultCollapsed: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
/** Sidebar width when expanded (px or CSS length). */
|
|
25
|
+
width: {
|
|
26
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
/** Sidebar width when collapsed. */
|
|
30
|
+
collapsedWidth: {
|
|
31
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
/** Sidebar position. */
|
|
35
|
+
side: {
|
|
36
|
+
type: () => "left" | "right";
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
42
|
+
'update:collapsed': (_value: boolean) => true;
|
|
43
|
+
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
44
|
+
collapsed: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
defaultCollapsed: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
/** Sidebar width when expanded (px or CSS length). */
|
|
53
|
+
width: {
|
|
54
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
55
|
+
default: number;
|
|
56
|
+
};
|
|
57
|
+
/** Sidebar width when collapsed. */
|
|
58
|
+
collapsedWidth: {
|
|
59
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
/** Sidebar position. */
|
|
63
|
+
side: {
|
|
64
|
+
type: () => "left" | "right";
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{
|
|
68
|
+
"onUpdate:collapsed"?: ((_value: boolean) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
collapsed: boolean;
|
|
71
|
+
defaultCollapsed: boolean;
|
|
72
|
+
width: string | number;
|
|
73
|
+
collapsedWidth: string | number;
|
|
74
|
+
side: "left" | "right";
|
|
75
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Two-region vertical layout: a sticky header on top, scrollable main below.
|
|
79
|
+
*
|
|
80
|
+
* Slots:
|
|
81
|
+
* - `header` — fixed at top.
|
|
82
|
+
* - `footer` — optional fixed at bottom.
|
|
83
|
+
* - `default` — scrollable main region.
|
|
84
|
+
*/
|
|
85
|
+
declare const IrisHeaderLayout: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
86
|
+
/** Header height (px or CSS length). Default `'auto'`. */
|
|
87
|
+
headerHeight: {
|
|
88
|
+
type: PropType<number | string>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
/** Footer height (px or CSS length). Default `'auto'`. */
|
|
92
|
+
footerHeight: {
|
|
93
|
+
type: PropType<number | string>;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
/** When true, header sticks via `position: sticky` instead of static. */
|
|
97
|
+
sticky: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
104
|
+
/** Header height (px or CSS length). Default `'auto'`. */
|
|
105
|
+
headerHeight: {
|
|
106
|
+
type: PropType<number | string>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
/** Footer height (px or CSS length). Default `'auto'`. */
|
|
110
|
+
footerHeight: {
|
|
111
|
+
type: PropType<number | string>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
/** When true, header sticks via `position: sticky` instead of static. */
|
|
115
|
+
sticky: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
}>> & Readonly<{}>, {
|
|
120
|
+
headerHeight: string | number;
|
|
121
|
+
footerHeight: string | number;
|
|
122
|
+
sticky: boolean;
|
|
123
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 12-column responsive grid for dashboard composition. Each child should be
|
|
127
|
+
* an `IrisDashboardCard` (or any element with `grid-column: span N`).
|
|
128
|
+
*
|
|
129
|
+
* Children control their span via inline `style="grid-column: span N"` or
|
|
130
|
+
* by wrapping with `IrisDashboardCard` whose `col-span` / `row-span` props
|
|
131
|
+
* compile to the same CSS.
|
|
132
|
+
*/
|
|
133
|
+
declare const IrisDashboardGrid: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
134
|
+
columns: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: number;
|
|
137
|
+
};
|
|
138
|
+
gap: {
|
|
139
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
/** Minimum column width via `grid-template-columns: repeat(auto-fill, minmax(...))`. */
|
|
143
|
+
minColWidth: {
|
|
144
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
148
|
+
[key: string]: any;
|
|
149
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
150
|
+
columns: {
|
|
151
|
+
type: NumberConstructor;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
gap: {
|
|
155
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
156
|
+
default: number;
|
|
157
|
+
};
|
|
158
|
+
/** Minimum column width via `grid-template-columns: repeat(auto-fill, minmax(...))`. */
|
|
159
|
+
minColWidth: {
|
|
160
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
163
|
+
}>> & Readonly<{}>, {
|
|
164
|
+
gap: string | number;
|
|
165
|
+
columns: number;
|
|
166
|
+
minColWidth: string | number;
|
|
167
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
168
|
+
/**
|
|
169
|
+
* A single grid cell — wraps content in a styled card with optional span
|
|
170
|
+
* controls. `col-span` accepts a number (column count) or `'full'` to fill
|
|
171
|
+
* the entire row.
|
|
172
|
+
*/
|
|
173
|
+
declare const IrisDashboardCard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
174
|
+
colSpan: {
|
|
175
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
rowSpan: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
default: number;
|
|
181
|
+
};
|
|
182
|
+
/** Show a styled card surface (background + border). Default `true`. */
|
|
183
|
+
surface: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
190
|
+
colSpan: {
|
|
191
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
rowSpan: {
|
|
195
|
+
type: NumberConstructor;
|
|
196
|
+
default: number;
|
|
197
|
+
};
|
|
198
|
+
/** Show a styled card surface (background + border). Default `true`. */
|
|
199
|
+
surface: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
}>> & Readonly<{}>, {
|
|
204
|
+
colSpan: string | number;
|
|
205
|
+
rowSpan: number;
|
|
206
|
+
surface: boolean;
|
|
207
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
208
|
+
|
|
209
|
+
type IrisStackDirection = 'row' | 'column';
|
|
210
|
+
type IrisStackAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
211
|
+
type IrisStackJustify = 'start' | 'center' | 'end' | 'between' | 'around';
|
|
212
|
+
/**
|
|
213
|
+
* Flex container with token-driven spacing. The lightest possible layout
|
|
214
|
+
* primitive — most pages need a horizontal or vertical stack and this saves
|
|
215
|
+
* hand-writing `display: flex` everywhere.
|
|
216
|
+
*
|
|
217
|
+
* Use `direction`/`spacing`/`align`/`justify`/`wrap` to configure; children
|
|
218
|
+
* are arranged in document order with `gap: <spacing>`.
|
|
219
|
+
*/
|
|
220
|
+
declare const IrisStack: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
221
|
+
direction: {
|
|
222
|
+
type: PropType<IrisStackDirection>;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
spacing: {
|
|
226
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
229
|
+
align: {
|
|
230
|
+
type: PropType<IrisStackAlign>;
|
|
231
|
+
default: string;
|
|
232
|
+
};
|
|
233
|
+
justify: {
|
|
234
|
+
type: PropType<IrisStackJustify>;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
wrap: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
/** When true, renders as an inline-flex container. */
|
|
242
|
+
inline: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
249
|
+
direction: {
|
|
250
|
+
type: PropType<IrisStackDirection>;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
253
|
+
spacing: {
|
|
254
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
255
|
+
default: string;
|
|
256
|
+
};
|
|
257
|
+
align: {
|
|
258
|
+
type: PropType<IrisStackAlign>;
|
|
259
|
+
default: string;
|
|
260
|
+
};
|
|
261
|
+
justify: {
|
|
262
|
+
type: PropType<IrisStackJustify>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
265
|
+
wrap: {
|
|
266
|
+
type: BooleanConstructor;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
/** When true, renders as an inline-flex container. */
|
|
270
|
+
inline: {
|
|
271
|
+
type: BooleanConstructor;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
}>> & Readonly<{}>, {
|
|
275
|
+
spacing: string | number;
|
|
276
|
+
inline: boolean;
|
|
277
|
+
wrap: boolean;
|
|
278
|
+
justify: IrisStackJustify;
|
|
279
|
+
direction: IrisStackDirection;
|
|
280
|
+
align: IrisStackAlign;
|
|
281
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
282
|
+
|
|
283
|
+
type IrisContainerMaxWidth = 'sm' | 'md' | 'lg' | 'xl' | 'full' | string;
|
|
284
|
+
/**
|
|
285
|
+
* Centered max-width wrapper. Use to bound content width on large screens
|
|
286
|
+
* without rewriting flex/grid plumbing.
|
|
287
|
+
*
|
|
288
|
+
* `maxWidth='lg'` (≈1024px) is the most common default for marketing /
|
|
289
|
+
* docs / app pages.
|
|
290
|
+
*/
|
|
291
|
+
declare const IrisContainer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
292
|
+
maxWidth: {
|
|
293
|
+
type: PropType<IrisContainerMaxWidth>;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
padding: {
|
|
297
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
center: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
305
|
+
[key: string]: any;
|
|
306
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
307
|
+
maxWidth: {
|
|
308
|
+
type: PropType<IrisContainerMaxWidth>;
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
311
|
+
padding: {
|
|
312
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
313
|
+
default: string;
|
|
314
|
+
};
|
|
315
|
+
center: {
|
|
316
|
+
type: BooleanConstructor;
|
|
317
|
+
default: boolean;
|
|
318
|
+
};
|
|
319
|
+
}>> & Readonly<{}>, {
|
|
320
|
+
center: boolean;
|
|
321
|
+
padding: string | number;
|
|
322
|
+
maxWidth: string;
|
|
323
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
324
|
+
|
|
325
|
+
type IrisGridColumns = number | 'auto-fit' | 'auto-fill' | string;
|
|
326
|
+
/**
|
|
327
|
+
* Two-dimensional grid layout primitive. Three column modes:
|
|
328
|
+
*
|
|
329
|
+
* - **Fixed integer** — `columns={3}` → three equal-width columns.
|
|
330
|
+
* - **Responsive auto-fit** — `columns="auto-fit"` + `minColWidth` → fluid
|
|
331
|
+
* grid where columns add/remove with container width. Most common.
|
|
332
|
+
* - **Raw CSS** — pass any `grid-template-columns` string.
|
|
333
|
+
*
|
|
334
|
+
* Spacing accepts token shorthand (`sm` / `md` / `lg`), numeric px, or any
|
|
335
|
+
* CSS length string. `gap` is a shortcut for both row + column gap.
|
|
336
|
+
*/
|
|
337
|
+
declare const IrisGrid: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
338
|
+
columns: {
|
|
339
|
+
type: PropType<IrisGridColumns>;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
342
|
+
/** Min width per column for `auto-fit` / `auto-fill`. */
|
|
343
|
+
minColWidth: {
|
|
344
|
+
type: StringConstructor;
|
|
345
|
+
default: string;
|
|
346
|
+
};
|
|
347
|
+
/** Row gap (token / px / CSS). */
|
|
348
|
+
rowGap: {
|
|
349
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
350
|
+
default: undefined;
|
|
351
|
+
};
|
|
352
|
+
/** Column gap (token / px / CSS). */
|
|
353
|
+
columnGap: {
|
|
354
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
355
|
+
default: undefined;
|
|
356
|
+
};
|
|
357
|
+
/** Shorthand for both row + column gap. Overridden if rowGap/columnGap given. */
|
|
358
|
+
gap: {
|
|
359
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
360
|
+
default: string;
|
|
361
|
+
};
|
|
362
|
+
inline: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
367
|
+
[key: string]: any;
|
|
368
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
369
|
+
columns: {
|
|
370
|
+
type: PropType<IrisGridColumns>;
|
|
371
|
+
default: string;
|
|
372
|
+
};
|
|
373
|
+
/** Min width per column for `auto-fit` / `auto-fill`. */
|
|
374
|
+
minColWidth: {
|
|
375
|
+
type: StringConstructor;
|
|
376
|
+
default: string;
|
|
377
|
+
};
|
|
378
|
+
/** Row gap (token / px / CSS). */
|
|
379
|
+
rowGap: {
|
|
380
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
381
|
+
default: undefined;
|
|
382
|
+
};
|
|
383
|
+
/** Column gap (token / px / CSS). */
|
|
384
|
+
columnGap: {
|
|
385
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
386
|
+
default: undefined;
|
|
387
|
+
};
|
|
388
|
+
/** Shorthand for both row + column gap. Overridden if rowGap/columnGap given. */
|
|
389
|
+
gap: {
|
|
390
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
391
|
+
default: string;
|
|
392
|
+
};
|
|
393
|
+
inline: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
default: boolean;
|
|
396
|
+
};
|
|
397
|
+
}>> & Readonly<{}>, {
|
|
398
|
+
gap: string | number;
|
|
399
|
+
inline: boolean;
|
|
400
|
+
columns: IrisGridColumns;
|
|
401
|
+
minColWidth: string;
|
|
402
|
+
rowGap: string | number;
|
|
403
|
+
columnGap: string | number;
|
|
404
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
405
|
+
|
|
406
|
+
export { IrisContainer, type IrisContainerMaxWidth, IrisDashboardCard, IrisDashboardGrid, IrisGrid, type IrisGridColumns, IrisHeaderLayout, IrisSidebarLayout, IrisStack, type IrisStackAlign, type IrisStackDirection, type IrisStackJustify };
|