@almadar/ui 5.122.1 → 5.122.3
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/avl/index.cjs +1 -1
- package/dist/avl/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/runtime/index.cjs +1 -1
- package/dist/runtime/index.js +1 -1
- package/package.json +1 -1
- package/tailwind-preset.cjs +15 -6
- package/themes/_base.css +23 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -14735,7 +14735,7 @@ var init_Skeleton = __esm({
|
|
|
14735
14735
|
init_Box();
|
|
14736
14736
|
init_Stack();
|
|
14737
14737
|
init_Stack();
|
|
14738
|
-
pulseClass = "
|
|
14738
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
14739
14739
|
Skeleton.displayName = "Skeleton";
|
|
14740
14740
|
}
|
|
14741
14741
|
});
|
package/dist/avl/index.js
CHANGED
|
@@ -14689,7 +14689,7 @@ var init_Skeleton = __esm({
|
|
|
14689
14689
|
init_Box();
|
|
14690
14690
|
init_Stack();
|
|
14691
14691
|
init_Stack();
|
|
14692
|
-
pulseClass = "
|
|
14692
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
14693
14693
|
Skeleton.displayName = "Skeleton";
|
|
14694
14694
|
}
|
|
14695
14695
|
});
|
|
@@ -6847,7 +6847,7 @@ var init_Skeleton = __esm({
|
|
|
6847
6847
|
init_Box();
|
|
6848
6848
|
init_Stack();
|
|
6849
6849
|
init_Stack();
|
|
6850
|
-
pulseClass = "
|
|
6850
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
6851
6851
|
Skeleton.displayName = "Skeleton";
|
|
6852
6852
|
}
|
|
6853
6853
|
});
|
|
@@ -6389,7 +6389,7 @@ interface DataGridProps extends DataDndProps {
|
|
|
6389
6389
|
*/
|
|
6390
6390
|
look?: "dense" | "spacious" | "striped" | "borderless" | "card-rows";
|
|
6391
6391
|
}
|
|
6392
|
-
declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataGridProps): string | number | bigint | boolean |
|
|
6392
|
+
declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataGridProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
|
|
6393
6393
|
declare namespace DataGrid {
|
|
6394
6394
|
var displayName: string;
|
|
6395
6395
|
}
|
|
@@ -6516,7 +6516,7 @@ interface DataListProps extends DataDndProps {
|
|
|
6516
6516
|
*/
|
|
6517
6517
|
look?: "dense" | "spacious" | "striped" | "borderless" | "card-rows";
|
|
6518
6518
|
}
|
|
6519
|
-
declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, currentUser, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataListProps): string | number | bigint | boolean |
|
|
6519
|
+
declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, currentUser, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataListProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
|
|
6520
6520
|
declare namespace DataList {
|
|
6521
6521
|
var displayName: string;
|
|
6522
6522
|
}
|
|
@@ -6389,7 +6389,7 @@ interface DataGridProps extends DataDndProps {
|
|
|
6389
6389
|
*/
|
|
6390
6390
|
look?: "dense" | "spacious" | "striped" | "borderless" | "card-rows";
|
|
6391
6391
|
}
|
|
6392
|
-
declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataGridProps): string | number | bigint | boolean |
|
|
6392
|
+
declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataGridProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
|
|
6393
6393
|
declare namespace DataGrid {
|
|
6394
6394
|
var displayName: string;
|
|
6395
6395
|
}
|
|
@@ -6516,7 +6516,7 @@ interface DataListProps extends DataDndProps {
|
|
|
6516
6516
|
*/
|
|
6517
6517
|
look?: "dense" | "spacious" | "striped" | "borderless" | "card-rows";
|
|
6518
6518
|
}
|
|
6519
|
-
declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, currentUser, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataListProps): string | number | bigint | boolean |
|
|
6519
|
+
declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, currentUser, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataListProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
|
|
6520
6520
|
declare namespace DataList {
|
|
6521
6521
|
var displayName: string;
|
|
6522
6522
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -6802,7 +6802,7 @@ var init_Skeleton = __esm({
|
|
|
6802
6802
|
init_Box();
|
|
6803
6803
|
init_Stack();
|
|
6804
6804
|
init_Stack();
|
|
6805
|
-
pulseClass = "
|
|
6805
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
6806
6806
|
Skeleton.displayName = "Skeleton";
|
|
6807
6807
|
}
|
|
6808
6808
|
});
|
package/dist/providers/index.cjs
CHANGED
|
@@ -11259,7 +11259,7 @@ var init_Skeleton = __esm({
|
|
|
11259
11259
|
init_Box();
|
|
11260
11260
|
init_Stack();
|
|
11261
11261
|
init_Stack();
|
|
11262
|
-
pulseClass = "
|
|
11262
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
11263
11263
|
Skeleton.displayName = "Skeleton";
|
|
11264
11264
|
}
|
|
11265
11265
|
});
|
package/dist/providers/index.js
CHANGED
|
@@ -11214,7 +11214,7 @@ var init_Skeleton = __esm({
|
|
|
11214
11214
|
init_Box();
|
|
11215
11215
|
init_Stack();
|
|
11216
11216
|
init_Stack();
|
|
11217
|
-
pulseClass = "
|
|
11217
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
11218
11218
|
Skeleton.displayName = "Skeleton";
|
|
11219
11219
|
}
|
|
11220
11220
|
});
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -11327,7 +11327,7 @@ var init_Skeleton = __esm({
|
|
|
11327
11327
|
init_Box();
|
|
11328
11328
|
init_Stack();
|
|
11329
11329
|
init_Stack();
|
|
11330
|
-
pulseClass = "
|
|
11330
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
11331
11331
|
Skeleton.displayName = "Skeleton";
|
|
11332
11332
|
}
|
|
11333
11333
|
});
|
package/dist/runtime/index.js
CHANGED
|
@@ -11283,7 +11283,7 @@ var init_Skeleton = __esm({
|
|
|
11283
11283
|
init_Box();
|
|
11284
11284
|
init_Stack();
|
|
11285
11285
|
init_Stack();
|
|
11286
|
-
pulseClass = "
|
|
11286
|
+
pulseClass = "almadar-shimmer animate-shimmer rounded";
|
|
11287
11287
|
Skeleton.displayName = "Skeleton";
|
|
11288
11288
|
}
|
|
11289
11289
|
});
|
package/package.json
CHANGED
package/tailwind-preset.cjs
CHANGED
|
@@ -353,9 +353,11 @@ module.exports = {
|
|
|
353
353
|
bold: 'var(--font-weight-bold, 600)',
|
|
354
354
|
},
|
|
355
355
|
transitionDuration: {
|
|
356
|
-
//
|
|
357
|
-
//
|
|
358
|
-
//
|
|
356
|
+
// DEFAULT drives every bare `transition-*` utility (transition-all /
|
|
357
|
+
// transition-colors / ...) so its duration is theme-token-driven too —
|
|
358
|
+
// not Tailwind's hardcoded 150ms. Existing aliases resolve through the
|
|
359
|
+
// Motion-axis tokens with the legacy `--transition-*` as fallback.
|
|
360
|
+
DEFAULT: 'var(--duration-fast, var(--transition-fast, 150ms))',
|
|
359
361
|
fast: 'var(--duration-fast, var(--transition-fast, 150ms))',
|
|
360
362
|
normal: 'var(--duration-normal, var(--transition-normal, 250ms))',
|
|
361
363
|
slow: 'var(--duration-slow, var(--transition-slow, 400ms))',
|
|
@@ -363,8 +365,10 @@ module.exports = {
|
|
|
363
365
|
dramatic: 'var(--duration-dramatic, 600ms)',
|
|
364
366
|
},
|
|
365
367
|
transitionTimingFunction: {
|
|
366
|
-
//
|
|
367
|
-
//
|
|
368
|
+
// DEFAULT drives every bare `transition-*` utility so its easing is
|
|
369
|
+
// theme-token-driven — not Tailwind's hardcoded cubic-bezier. `standard`
|
|
370
|
+
// falls back to legacy `--transition-timing` for backward compat.
|
|
371
|
+
DEFAULT: 'var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
368
372
|
linear: 'var(--easing-linear, linear)',
|
|
369
373
|
standard: 'var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
370
374
|
emphasized: 'var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|
|
@@ -381,6 +385,10 @@ module.exports = {
|
|
|
381
385
|
transform: 'var(--motion-modal-enter-to-transform, translateZ(0))',
|
|
382
386
|
},
|
|
383
387
|
},
|
|
388
|
+
shimmer: {
|
|
389
|
+
'0%': { backgroundPosition: '200% 0' },
|
|
390
|
+
'100%': { backgroundPosition: '-200% 0' },
|
|
391
|
+
},
|
|
384
392
|
'modal-out': {
|
|
385
393
|
'0%': {
|
|
386
394
|
opacity: 'var(--motion-modal-exit-from-opacity, 1)',
|
|
@@ -502,7 +510,7 @@ module.exports = {
|
|
|
502
510
|
// Motion-token-driven durations/easings (fall back to legacy
|
|
503
511
|
// --transition-* so themes that haven't migrated keep working).
|
|
504
512
|
'modal-in': 'modal-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
505
|
-
'modal-out': 'modal-out var(--duration-
|
|
513
|
+
'modal-out': 'modal-out var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
506
514
|
'overlay-in': 'overlay-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
507
515
|
'overlay-out': 'overlay-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
508
516
|
'slide-up': 'slide-up var(--duration-slow, var(--transition-slow, 400ms)) var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|
|
@@ -516,6 +524,7 @@ module.exports = {
|
|
|
516
524
|
'fade-out': 'fade-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
517
525
|
'page-in': 'page-in var(--duration-normal, var(--transition-normal, 250ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
518
526
|
'page-out': 'page-out var(--duration-fast, var(--transition-fast, 150ms)) var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
527
|
+
'shimmer': 'shimmer var(--duration-shimmer, 1.5s) var(--easing-linear, linear) infinite',
|
|
519
528
|
},
|
|
520
529
|
// Density-axis spacing scale. Tailwind's default `p-3` / `gap-4` resolve
|
|
521
530
|
// here so existing classes keep working — but now read from tokens.
|
package/themes/_base.css
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
--motion-modal-exit-from-opacity: 1;
|
|
163
163
|
--motion-modal-exit-from-transform: translateZ(0);
|
|
164
164
|
--motion-modal-exit-to-opacity: 0;
|
|
165
|
-
--motion-modal-exit-to-transform: scale(0.
|
|
165
|
+
--motion-modal-exit-to-transform: scale(0.92) translateY(16px);
|
|
166
166
|
|
|
167
167
|
--motion-slide-up-from-opacity: 0;
|
|
168
168
|
--motion-slide-up-from-transform: translateY(16px);
|
|
@@ -214,6 +214,28 @@
|
|
|
214
214
|
--motion-page-exit-from-transform: translateZ(0);
|
|
215
215
|
--motion-page-exit-to-opacity: 0;
|
|
216
216
|
--motion-page-exit-to-transform: translateY(-8px);
|
|
217
|
+
|
|
218
|
+
/* ----------------------------------------------------------------
|
|
219
|
+
* Skeleton shimmer — the loading-placeholder sweep. Two color stops
|
|
220
|
+
* (base + highlight) drive the gradient; --duration-shimmer the loop.
|
|
221
|
+
* Override per theme to restyle the placeholder tone.
|
|
222
|
+
* ---------------------------------------------------------------- */
|
|
223
|
+
--skeleton-base: var(--color-muted, rgba(128, 128, 128, 0.18));
|
|
224
|
+
--skeleton-highlight: var(--color-surface, rgba(255, 255, 255, 0.55));
|
|
225
|
+
--duration-shimmer: 1.5s;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* The shimmer gradient background. Pair with the `animate-shimmer` utility
|
|
229
|
+
* (defined in tailwind-preset) which sweeps background-position. */
|
|
230
|
+
.almadar-shimmer {
|
|
231
|
+
background-image: linear-gradient(
|
|
232
|
+
90deg,
|
|
233
|
+
var(--skeleton-base) 0%,
|
|
234
|
+
var(--skeleton-highlight) 50%,
|
|
235
|
+
var(--skeleton-base) 100%
|
|
236
|
+
);
|
|
237
|
+
background-size: 200% 100%;
|
|
238
|
+
background-repeat: no-repeat;
|
|
217
239
|
}
|
|
218
240
|
|
|
219
241
|
/* ----------------------------------------------------------------
|