lism-css 0.8.3 → 0.9.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.
Files changed (200) hide show
  1. package/bin/script-build-css.js +1 -1
  2. package/config/__prop_list.js +1 -1
  3. package/config/default-config.ts +9 -0
  4. package/config/defaults/__props-memo.js +4 -4
  5. package/config/defaults/{props.js → props.ts} +8 -8
  6. package/config/defaults/{states.js → states.ts} +14 -13
  7. package/config/defaults/{tokens.js → tokens.ts} +1 -1
  8. package/config/helper/{getSvgUrl.js → getSvgUrl.ts} +1 -3
  9. package/config/helper/{minifyHtml.js → minifyHtml.ts} +1 -1
  10. package/config/helper.test.ts +238 -0
  11. package/config/helper.ts +79 -0
  12. package/config/{index.js → index.ts} +17 -4
  13. package/config/tsconfig.json +18 -0
  14. package/config.d.ts +2 -0
  15. package/config.js +1 -1
  16. package/dist/components/Box/Box.d.ts +4 -1
  17. package/dist/components/Box/index.d.ts +1 -1
  18. package/dist/components/Center/Center.d.ts +4 -1
  19. package/dist/components/Center/index.d.ts +1 -1
  20. package/dist/components/Cluster/Cluster.d.ts +4 -1
  21. package/dist/components/Cluster/index.js +2 -2
  22. package/dist/components/Columns/Columns.d.ts +4 -1
  23. package/dist/components/Container/Container.d.ts +6 -4
  24. package/dist/components/Dummy/Dummy.d.ts +10 -8
  25. package/dist/components/Dummy/getContent.d.ts +13 -7
  26. package/dist/components/Dummy/getContent.js +7 -6
  27. package/dist/components/Dummy/index.js +8 -7
  28. package/dist/components/Flex/Flex.d.ts +4 -1
  29. package/dist/components/Flow/Flow.d.ts +4 -1
  30. package/dist/components/Flow/index.d.ts +1 -1
  31. package/dist/components/FluidCols/FluidCols.d.ts +4 -1
  32. package/dist/components/Frame/Frame.d.ts +4 -1
  33. package/dist/components/Grid/Grid.d.ts +4 -1
  34. package/dist/components/HTML/HTML.d.ts +16 -13
  35. package/dist/components/HTML/index.d.ts +13 -13
  36. package/dist/components/HTML/index.js +3 -3
  37. package/dist/components/HTML/index2.js +30 -29
  38. package/dist/components/Layer/Layer.d.ts +6 -1
  39. package/dist/components/Layer/Layer.test.d.ts +1 -0
  40. package/dist/components/Layer/getProps.d.ts +5 -1
  41. package/dist/components/LinkBox/LinkBox.d.ts +4 -4
  42. package/dist/components/LinkBox/script.d.ts +3 -0
  43. package/dist/components/Lism/Lism.d.ts +28 -7
  44. package/dist/components/Lism/Lism.stories.d.ts +667 -0
  45. package/dist/components/Lism/Lism.test.d.ts +1 -0
  46. package/dist/components/Lism/index.d.ts +1 -3
  47. package/dist/components/Lism/index.js +3 -3
  48. package/dist/components/SideMain/SideMain.d.ts +4 -1
  49. package/dist/components/Stack/Stack.d.ts +4 -1
  50. package/dist/components/SwitchCols/SwitchCols.d.ts +4 -1
  51. package/dist/components/Wrapper/Wrapper.d.ts +6 -4
  52. package/dist/components/atomic/Decorator/Decorator.d.ts +2 -1
  53. package/dist/components/atomic/Decorator/getProps.d.ts +10 -12
  54. package/dist/components/atomic/Decorator/getProps.js +10 -9
  55. package/dist/components/atomic/Divider/Divider.d.ts +2 -1
  56. package/dist/components/atomic/Divider/getProps.d.ts +2 -7
  57. package/dist/components/atomic/Divider/getProps.js +8 -7
  58. package/dist/components/atomic/Icon/Icon.d.ts +4 -3
  59. package/dist/components/atomic/Icon/SVG.d.ts +8 -9
  60. package/dist/components/atomic/Icon/getProps.d.ts +21 -12
  61. package/dist/components/atomic/Icon/getProps.js +31 -25
  62. package/dist/components/atomic/Icon/index.js +9 -8
  63. package/dist/components/atomic/Icon/presets.d.ts +2 -2
  64. package/dist/components/atomic/Media/Media.d.ts +2 -1
  65. package/dist/components/atomic/Media/getProps.d.ts +9 -1
  66. package/dist/components/atomic/Media/getProps.js +5 -6
  67. package/dist/components/atomic/Media/index.js +3 -3
  68. package/dist/components/atomic/Spacer/Spacer.d.ts +2 -1
  69. package/dist/components/atomic/Spacer/getProps.d.ts +2 -7
  70. package/dist/components/atomic/Spacer/getProps.js +8 -2
  71. package/dist/components/getFilterProps.d.ts +10 -1
  72. package/dist/components/getFilterProps.js +15 -5
  73. package/dist/components/getFilterProps.test.d.ts +1 -0
  74. package/dist/components/index.js +46 -50
  75. package/dist/components/setMaybeTransformStyles.d.ts +12 -1
  76. package/dist/components/setMaybeTransformStyles.js +4 -4
  77. package/dist/components/setMaybeTransformStyles.test.d.ts +1 -0
  78. package/dist/config/default-config.d.ts +854 -0
  79. package/dist/config/defaults/props.d.ts +812 -0
  80. package/dist/config/defaults/props.js +4 -4
  81. package/dist/config/defaults/states.d.ts +30 -0
  82. package/dist/config/defaults/states.js +12 -11
  83. package/dist/config/defaults/tokens.d.ts +28 -0
  84. package/dist/config/helper/getSvgUrl.d.ts +5 -0
  85. package/dist/config/helper/minifyHtml.d.ts +5 -0
  86. package/dist/config/helper.d.ts +21 -0
  87. package/dist/config/helper.js +14 -18
  88. package/dist/config/index.d.ts +1707 -0
  89. package/dist/config/index.js +15 -11
  90. package/dist/css/base/set.css +1 -1
  91. package/dist/css/base.css +1 -1
  92. package/dist/css/main.css +1 -1
  93. package/dist/css/main_no_layer.css +1 -1
  94. package/dist/css/modules/layout.css +1 -1
  95. package/dist/css/modules/state.css +1 -1
  96. package/dist/css/props.css +1 -1
  97. package/dist/css/reset.css +1 -1
  98. package/dist/css/utility.css +1 -1
  99. package/dist/lib/LismPropsData.test.d.ts +1 -0
  100. package/dist/lib/getBpData.d.ts +9 -1
  101. package/dist/lib/getBpData.js +16 -10
  102. package/dist/lib/getBpData.test.d.ts +1 -0
  103. package/dist/lib/getLayoutProps.d.ts +22 -1
  104. package/dist/lib/getLayoutProps.js +20 -20
  105. package/dist/lib/getLayoutProps.test.d.ts +1 -0
  106. package/dist/lib/getLismProps.d.ts +77 -2
  107. package/dist/lib/getLismProps.js +127 -111
  108. package/dist/lib/getLismProps.test.d.ts +1 -0
  109. package/dist/lib/getMaybeCssVar.d.ts +5 -3
  110. package/dist/lib/getMaybeCssVar.js +15 -15
  111. package/dist/lib/getMaybeCssVar.test.d.ts +1 -0
  112. package/dist/lib/getMaybeTokenValue.d.ts +10 -1
  113. package/dist/lib/getMaybeTokenValue.js +21 -21
  114. package/dist/lib/getMaybeTokenValue.test.d.ts +1 -0
  115. package/dist/lib/getUtilKey.d.ts +7 -1
  116. package/dist/lib/getUtilKey.js +6 -6
  117. package/dist/lib/getUtilKey.test.d.ts +1 -0
  118. package/dist/lib/helper/atts.d.ts +6 -3
  119. package/dist/lib/helper/atts.test.d.ts +1 -0
  120. package/dist/lib/helper/filterEmptyObj.d.ts +20 -1
  121. package/dist/lib/helper/filterEmptyObj.js +6 -5
  122. package/dist/lib/helper/filterEmptyObj.test.d.ts +1 -0
  123. package/dist/lib/helper/hasSomeKeys.d.ts +1 -1
  124. package/dist/lib/helper/isNumStr.d.ts +4 -1
  125. package/dist/lib/helper/isNumStr.test.d.ts +1 -0
  126. package/dist/lib/helper/objMap.d.ts +8 -1
  127. package/dist/lib/helper/objMap.test.d.ts +1 -0
  128. package/dist/lib/helper/splitWithComma.d.ts +1 -1
  129. package/dist/lib/helper/splitWithComma.test.d.ts +1 -0
  130. package/dist/lib/isPresetValue.d.ts +3 -1
  131. package/dist/lib/isPresetValue.js +10 -3
  132. package/dist/lib/isPresetValue.test.d.ts +1 -0
  133. package/dist/lib/isTokenValue.d.ts +1 -1
  134. package/dist/lib/isTokenValue.js +24 -7
  135. package/dist/lib/isTokenValue.test.d.ts +1 -0
  136. package/dist/lib/types/LayoutProps.d.ts +50 -0
  137. package/dist/lib/types/PropValueTypes.d.ts +83 -0
  138. package/dist/lib/types/PropValueTypes.spec-d.d.ts +1 -0
  139. package/dist/lib/types/ResponsiveProps.d.ts +50 -0
  140. package/dist/lib/types/ResponsiveProps.spec-d.d.ts +1 -0
  141. package/dist/lib/types/StateProps.d.ts +27 -0
  142. package/dist/lib/types/StateProps.spec-d.d.ts +1 -0
  143. package/dist/lib/types/utils.d.ts +79 -0
  144. package/dist/lib/types/utils.spec-d.d.ts +1 -0
  145. package/dist/lib/types.d.ts +2 -0
  146. package/package.json +39 -20
  147. package/packages/astro/Lism/index.js +0 -2
  148. package/packages/astro/index.js +0 -2
  149. package/src/scss/_auto_output.scss +2 -1
  150. package/src/scss/_prop-config.scss +19 -0
  151. package/src/scss/_with_layer.scss +7 -11
  152. package/src/scss/base/{_base.scss → _html.scss} +2 -3
  153. package/src/scss/base/index.scss +6 -6
  154. package/src/scss/base/set/_bp.scss +2 -2
  155. package/src/scss/base/set/_cqUnit.scss +31 -0
  156. package/src/scss/{modules/state → base/set}/_gutter.scss +1 -1
  157. package/src/scss/base/set/_hov.scss +4 -4
  158. package/src/scss/base/set/_innerRs.scss +1 -1
  159. package/src/scss/base/set/_mask.scss +1 -1
  160. package/src/scss/base/set/_plain.scss +3 -1
  161. package/src/scss/base/set/_transition.scss +1 -1
  162. package/src/scss/base/set/index.scss +2 -2
  163. package/src/scss/base/{set → tokens}/_shadow.scss +2 -2
  164. package/src/scss/base/{_typography.scss → tokens/_typography.scss} +2 -8
  165. package/src/scss/modules/layout/_flex.scss +4 -0
  166. package/src/scss/modules/layout/_flow.scss +1 -1
  167. package/src/scss/modules/layout/_grid.scss +4 -0
  168. package/src/scss/modules/state/_container.scss +2 -2
  169. package/src/scss/modules/state/_wrapper.scss +2 -2
  170. package/src/scss/modules/state/index.scss +0 -1
  171. package/src/scss/props/_size.scss +1 -1
  172. package/src/scss/reset.scss +10 -3
  173. package/src/scss/utility/_cbox.scss +1 -1
  174. package/src/scss/utility/_clipText.scss +4 -0
  175. package/src/scss/utility/_hidden.scss +3 -3
  176. package/src/scss/utility/_itemDivider.scss +1 -1
  177. package/src/scss/utility/_linkExpand.scss +1 -1
  178. package/src/scss/{base/set → utility}/_snap.scss +1 -1
  179. package/src/scss/utility/_trimHL.scss +5 -4
  180. package/src/scss/utility/index.scss +2 -0
  181. package/config/default-config.js +0 -9
  182. package/config/helper.js +0 -67
  183. package/dist/components/Lism/Link.d.ts +0 -1
  184. package/dist/components/Lism/Link.js +0 -8
  185. package/dist/components/Lism/Text.d.ts +0 -1
  186. package/dist/components/Lism/Text.js +0 -8
  187. package/dist/components/Lism/__Lism_with_forwardRef.d.ts +0 -5
  188. package/dist/components/Test/Test.d.ts +0 -9
  189. package/dist/components/Test/TestItem.d.ts +0 -2
  190. package/dist/components/Test/TestRoot.d.ts +0 -4
  191. package/dist/components/Test/index.d.ts +0 -7
  192. package/dist/components/__Core/Core.d.ts +0 -11
  193. package/dist/components/__Core/index.d.ts +0 -1
  194. package/packages/astro/Lism/Link.astro +0 -10
  195. package/packages/astro/Lism/Text.astro +0 -10
  196. package/packages/astro/Test/Test.astro +0 -14
  197. package/packages/astro/Test/TestItem.astro +0 -14
  198. package/packages/astro/Test/index.js +0 -4
  199. /package/src/scss/base/{_property.scss → tokens/_property.scss} +0 -0
  200. /package/src/scss/base/{_tokens.scss → tokens/_tokens.scss} +0 -0
@@ -0,0 +1,667 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ import { Lism } from './index';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Lism;
6
+ tags: string[];
7
+ argTypes: {
8
+ as: {
9
+ control: "text";
10
+ table: {
11
+ category: string;
12
+ };
13
+ };
14
+ lismClass: {
15
+ control: "text";
16
+ table: {
17
+ category: string;
18
+ };
19
+ };
20
+ variant: {
21
+ control: "text";
22
+ table: {
23
+ category: string;
24
+ };
25
+ };
26
+ layout: {
27
+ control: "select";
28
+ table: {
29
+ category: string;
30
+ };
31
+ };
32
+ fz: {
33
+ control: "object";
34
+ table: {
35
+ category: string;
36
+ subcategory: string;
37
+ };
38
+ };
39
+ fw: {
40
+ control: "text";
41
+ table: {
42
+ category: string;
43
+ subcategory: string;
44
+ };
45
+ };
46
+ ff: {
47
+ control: "text";
48
+ table: {
49
+ category: string;
50
+ subcategory: string;
51
+ };
52
+ };
53
+ lh: {
54
+ control: "text";
55
+ table: {
56
+ category: string;
57
+ subcategory: string;
58
+ };
59
+ };
60
+ lts: {
61
+ control: "text";
62
+ table: {
63
+ category: string;
64
+ subcategory: string;
65
+ };
66
+ };
67
+ ta: {
68
+ control: "select";
69
+ options: string[];
70
+ table: {
71
+ category: string;
72
+ subcategory: string;
73
+ };
74
+ };
75
+ c: {
76
+ control: "text";
77
+ table: {
78
+ category: string;
79
+ subcategory: string;
80
+ };
81
+ };
82
+ bgc: {
83
+ control: "text";
84
+ table: {
85
+ category: string;
86
+ subcategory: string;
87
+ };
88
+ };
89
+ keycolor: {
90
+ control: "text";
91
+ table: {
92
+ category: string;
93
+ subcategory: string;
94
+ };
95
+ };
96
+ p: {
97
+ control: "object";
98
+ table: {
99
+ category: string;
100
+ subcategory: string;
101
+ };
102
+ };
103
+ px: {
104
+ control: "object";
105
+ table: {
106
+ category: string;
107
+ subcategory: string;
108
+ };
109
+ };
110
+ py: {
111
+ control: "object";
112
+ table: {
113
+ category: string;
114
+ subcategory: string;
115
+ };
116
+ };
117
+ 'px-s': {
118
+ control: "object";
119
+ table: {
120
+ category: string;
121
+ subcategory: string;
122
+ };
123
+ };
124
+ 'px-e': {
125
+ control: "object";
126
+ table: {
127
+ category: string;
128
+ subcategory: string;
129
+ };
130
+ };
131
+ 'py-s': {
132
+ control: "object";
133
+ table: {
134
+ category: string;
135
+ subcategory: string;
136
+ };
137
+ };
138
+ 'py-e': {
139
+ control: "object";
140
+ table: {
141
+ category: string;
142
+ subcategory: string;
143
+ };
144
+ };
145
+ pl: {
146
+ control: "object";
147
+ table: {
148
+ category: string;
149
+ subcategory: string;
150
+ };
151
+ };
152
+ pr: {
153
+ control: "object";
154
+ table: {
155
+ category: string;
156
+ subcategory: string;
157
+ };
158
+ };
159
+ pt: {
160
+ control: "object";
161
+ table: {
162
+ category: string;
163
+ subcategory: string;
164
+ };
165
+ };
166
+ pb: {
167
+ control: "object";
168
+ table: {
169
+ category: string;
170
+ subcategory: string;
171
+ };
172
+ };
173
+ m: {
174
+ control: "object";
175
+ table: {
176
+ category: string;
177
+ subcategory: string;
178
+ };
179
+ };
180
+ mx: {
181
+ control: "object";
182
+ table: {
183
+ category: string;
184
+ subcategory: string;
185
+ };
186
+ };
187
+ my: {
188
+ control: "object";
189
+ table: {
190
+ category: string;
191
+ subcategory: string;
192
+ };
193
+ };
194
+ 'mx-s': {
195
+ control: "object";
196
+ table: {
197
+ category: string;
198
+ subcategory: string;
199
+ };
200
+ };
201
+ 'mx-e': {
202
+ control: "object";
203
+ table: {
204
+ category: string;
205
+ subcategory: string;
206
+ };
207
+ };
208
+ 'my-s': {
209
+ control: "object";
210
+ table: {
211
+ category: string;
212
+ subcategory: string;
213
+ };
214
+ };
215
+ 'my-e': {
216
+ control: "object";
217
+ table: {
218
+ category: string;
219
+ subcategory: string;
220
+ };
221
+ };
222
+ ml: {
223
+ control: "object";
224
+ table: {
225
+ category: string;
226
+ subcategory: string;
227
+ };
228
+ };
229
+ mr: {
230
+ control: "object";
231
+ table: {
232
+ category: string;
233
+ subcategory: string;
234
+ };
235
+ };
236
+ mt: {
237
+ control: "object";
238
+ table: {
239
+ category: string;
240
+ subcategory: string;
241
+ };
242
+ };
243
+ mb: {
244
+ control: "object";
245
+ table: {
246
+ category: string;
247
+ subcategory: string;
248
+ };
249
+ };
250
+ w: {
251
+ control: "object";
252
+ table: {
253
+ category: string;
254
+ subcategory: string;
255
+ };
256
+ };
257
+ h: {
258
+ control: "object";
259
+ table: {
260
+ category: string;
261
+ subcategory: string;
262
+ };
263
+ };
264
+ 'min-w': {
265
+ control: "object";
266
+ table: {
267
+ category: string;
268
+ subcategory: string;
269
+ };
270
+ };
271
+ 'max-w': {
272
+ control: "object";
273
+ table: {
274
+ category: string;
275
+ subcategory: string;
276
+ };
277
+ };
278
+ 'min-h': {
279
+ control: "object";
280
+ table: {
281
+ category: string;
282
+ subcategory: string;
283
+ };
284
+ };
285
+ 'max-h': {
286
+ control: "object";
287
+ table: {
288
+ category: string;
289
+ subcategory: string;
290
+ };
291
+ };
292
+ ar: {
293
+ control: "object";
294
+ table: {
295
+ category: string;
296
+ subcategory: string;
297
+ };
298
+ };
299
+ d: {
300
+ control: "object";
301
+ table: {
302
+ category: string;
303
+ subcategory: string;
304
+ };
305
+ };
306
+ o: {
307
+ control: "text";
308
+ table: {
309
+ category: string;
310
+ subcategory: string;
311
+ };
312
+ };
313
+ v: {
314
+ control: "text";
315
+ table: {
316
+ category: string;
317
+ subcategory: string;
318
+ };
319
+ };
320
+ ov: {
321
+ control: "select";
322
+ table: {
323
+ category: string;
324
+ subcategory: string;
325
+ };
326
+ };
327
+ bg: {
328
+ control: "object";
329
+ table: {
330
+ category: string;
331
+ subcategory: string;
332
+ };
333
+ };
334
+ bd: {
335
+ control: "boolean";
336
+ table: {
337
+ category: string;
338
+ subcategory: string;
339
+ };
340
+ };
341
+ bdc: {
342
+ control: "text";
343
+ table: {
344
+ category: string;
345
+ subcategory: string;
346
+ };
347
+ };
348
+ bdw: {
349
+ control: "object";
350
+ table: {
351
+ category: string;
352
+ subcategory: string;
353
+ };
354
+ };
355
+ bds: {
356
+ control: "select";
357
+ options: string[];
358
+ table: {
359
+ category: string;
360
+ subcategory: string;
361
+ };
362
+ };
363
+ bdrs: {
364
+ control: "object";
365
+ table: {
366
+ category: string;
367
+ subcategory: string;
368
+ };
369
+ };
370
+ bxsh: {
371
+ control: "object";
372
+ table: {
373
+ category: string;
374
+ subcategory: string;
375
+ };
376
+ };
377
+ fxw: {
378
+ control: "object";
379
+ table: {
380
+ category: string;
381
+ subcategory: string;
382
+ };
383
+ };
384
+ fxd: {
385
+ control: "object";
386
+ table: {
387
+ category: string;
388
+ subcategory: string;
389
+ };
390
+ };
391
+ fx: {
392
+ control: "object";
393
+ table: {
394
+ category: string;
395
+ subcategory: string;
396
+ };
397
+ };
398
+ fxg: {
399
+ control: "text";
400
+ table: {
401
+ category: string;
402
+ subcategory: string;
403
+ };
404
+ };
405
+ fxsh: {
406
+ control: "text";
407
+ table: {
408
+ category: string;
409
+ subcategory: string;
410
+ };
411
+ };
412
+ fxb: {
413
+ control: "object";
414
+ table: {
415
+ category: string;
416
+ subcategory: string;
417
+ };
418
+ };
419
+ gt: {
420
+ control: "object";
421
+ table: {
422
+ category: string;
423
+ subcategory: string;
424
+ };
425
+ };
426
+ gta: {
427
+ control: "object";
428
+ table: {
429
+ category: string;
430
+ subcategory: string;
431
+ };
432
+ };
433
+ gtc: {
434
+ control: "object";
435
+ table: {
436
+ category: string;
437
+ subcategory: string;
438
+ };
439
+ };
440
+ gtr: {
441
+ control: "object";
442
+ table: {
443
+ category: string;
444
+ subcategory: string;
445
+ };
446
+ };
447
+ gaf: {
448
+ control: "object";
449
+ table: {
450
+ category: string;
451
+ subcategory: string;
452
+ };
453
+ };
454
+ ga: {
455
+ control: "object";
456
+ table: {
457
+ category: string;
458
+ subcategory: string;
459
+ };
460
+ };
461
+ gc: {
462
+ control: "object";
463
+ table: {
464
+ category: string;
465
+ subcategory: string;
466
+ };
467
+ };
468
+ gr: {
469
+ control: "object";
470
+ table: {
471
+ category: string;
472
+ subcategory: string;
473
+ };
474
+ };
475
+ g: {
476
+ control: "object";
477
+ table: {
478
+ category: string;
479
+ subcategory: string;
480
+ };
481
+ };
482
+ 'g-x': {
483
+ control: "object";
484
+ table: {
485
+ category: string;
486
+ subcategory: string;
487
+ };
488
+ };
489
+ 'g-y': {
490
+ control: "object";
491
+ table: {
492
+ category: string;
493
+ subcategory: string;
494
+ };
495
+ };
496
+ ai: {
497
+ control: "object";
498
+ table: {
499
+ category: string;
500
+ subcategory: string;
501
+ };
502
+ };
503
+ ac: {
504
+ control: "object";
505
+ table: {
506
+ category: string;
507
+ subcategory: string;
508
+ };
509
+ };
510
+ ji: {
511
+ control: "object";
512
+ table: {
513
+ category: string;
514
+ subcategory: string;
515
+ };
516
+ };
517
+ jc: {
518
+ control: "object";
519
+ table: {
520
+ category: string;
521
+ subcategory: string;
522
+ };
523
+ };
524
+ pi: {
525
+ control: "text";
526
+ table: {
527
+ category: string;
528
+ subcategory: string;
529
+ };
530
+ };
531
+ pc: {
532
+ control: "text";
533
+ table: {
534
+ category: string;
535
+ subcategory: string;
536
+ };
537
+ };
538
+ aslf: {
539
+ control: "text";
540
+ table: {
541
+ category: string;
542
+ subcategory: string;
543
+ };
544
+ };
545
+ jslf: {
546
+ control: "text";
547
+ table: {
548
+ category: string;
549
+ subcategory: string;
550
+ };
551
+ };
552
+ order: {
553
+ control: "text";
554
+ table: {
555
+ category: string;
556
+ subcategory: string;
557
+ };
558
+ };
559
+ pos: {
560
+ control: "text";
561
+ table: {
562
+ category: string;
563
+ subcategory: string;
564
+ };
565
+ };
566
+ z: {
567
+ control: "text";
568
+ table: {
569
+ category: string;
570
+ subcategory: string;
571
+ };
572
+ };
573
+ t: {
574
+ control: "text";
575
+ table: {
576
+ category: string;
577
+ subcategory: string;
578
+ };
579
+ };
580
+ l: {
581
+ control: "text";
582
+ table: {
583
+ category: string;
584
+ subcategory: string;
585
+ };
586
+ };
587
+ r: {
588
+ control: "text";
589
+ table: {
590
+ category: string;
591
+ subcategory: string;
592
+ };
593
+ };
594
+ b: {
595
+ control: "text";
596
+ table: {
597
+ category: string;
598
+ subcategory: string;
599
+ };
600
+ };
601
+ i: {
602
+ control: "text";
603
+ table: {
604
+ category: string;
605
+ subcategory: string;
606
+ };
607
+ };
608
+ isContainer: {
609
+ control: "boolean";
610
+ table: {
611
+ category: string;
612
+ };
613
+ };
614
+ isWrapper: {
615
+ control: "object";
616
+ table: {
617
+ category: string;
618
+ };
619
+ };
620
+ isLayer: {
621
+ control: "boolean";
622
+ table: {
623
+ category: string;
624
+ };
625
+ };
626
+ isLinkBox: {
627
+ control: "boolean";
628
+ table: {
629
+ category: string;
630
+ };
631
+ };
632
+ setGutter: {
633
+ control: "boolean";
634
+ table: {
635
+ category: string;
636
+ };
637
+ };
638
+ isVertical: {
639
+ control: "boolean";
640
+ table: {
641
+ category: string;
642
+ };
643
+ };
644
+ hov: {
645
+ control: "object";
646
+ table: {
647
+ category: string;
648
+ };
649
+ };
650
+ css: {
651
+ control: "object";
652
+ table: {
653
+ category: string;
654
+ };
655
+ };
656
+ };
657
+ };
658
+ export default meta;
659
+ type Story = StoryObj<typeof meta>;
660
+ export declare const Default: Story;
661
+ export declare const AsParagraph: Story;
662
+ export declare const WithLismClass: Story;
663
+ export declare const WithVariant: Story;
664
+ export declare const WithLayout: Story;
665
+ export declare const ResponsiveArray: Story;
666
+ export declare const ResponsiveObject: Story;
667
+ export declare const WithCssProp: Story;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1 @@
1
- export { default as Lism } from './Lism';
2
- export { default as Text } from './Text';
3
- export { default as Link } from './Link';
1
+ export { default as Lism, type LismComponentProps, type LayoutComponentProps } from './Lism';
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import s from "../../lib/getLismProps.js";
3
- function u({ children: r, as: t, tag: o, exProps: i, ...m }) {
4
- return /* @__PURE__ */ e(t || o || "div", { ...s(m), ...i, children: r });
2
+ import i from "../../lib/getLismProps.js";
3
+ function u({ children: o, as: t, tag: m, exProps: n, ...r }) {
4
+ return /* @__PURE__ */ e(t || m || "div", { ...i(r), ...n, children: o });
5
5
  }
6
6
  export {
7
7
  u as default
@@ -1 +1,4 @@
1
- export default function SideMain(props: any): import("react").JSX.Element;
1
+ import { ElementType } from 'react';
2
+ import { LayoutComponentProps } from '../Lism';
3
+ import { SideMainProps } from '../../lib/types/LayoutProps';
4
+ export default function SideMain<T extends ElementType = 'div'>(props: LayoutComponentProps<T, SideMainProps>): import("react").JSX.Element;
@@ -1 +1,4 @@
1
- export default function Stack(props: any): import("react").JSX.Element;
1
+ import { ElementType } from 'react';
2
+ import { LayoutComponentProps } from '../Lism';
3
+ import { StackProps } from '../../lib/types/LayoutProps';
4
+ export default function Stack<T extends ElementType = 'div'>(props: LayoutComponentProps<T, StackProps>): import("react").JSX.Element;
@@ -1 +1,4 @@
1
- export default function SwitchCols(props: any): import("react").JSX.Element;
1
+ import { ElementType } from 'react';
2
+ import { LayoutComponentProps } from '../Lism';
3
+ import { SwitchColsProps } from '../../lib/types/LayoutProps';
4
+ export default function SwitchCols<T extends ElementType = 'div'>(props: LayoutComponentProps<T, SwitchColsProps>): import("react").JSX.Element;
@@ -1,4 +1,6 @@
1
- export default function Wrapper({ contentSize, ...props }: {
2
- [x: string]: any;
3
- contentSize: any;
4
- }): import("react").JSX.Element;
1
+ import { LismComponentProps } from '../Lism';
2
+ type WrapperProps = LismComponentProps & {
3
+ contentSize?: LismComponentProps['isWrapper'];
4
+ };
5
+ export default function Wrapper({ contentSize, ...props }: WrapperProps): import("react").JSX.Element;
6
+ export {};