@almadar/ui 4.51.16 → 4.53.1
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 +2022 -1871
- package/dist/avl/index.js +776 -625
- package/dist/components/atoms/Aside.d.ts +15 -0
- package/dist/components/atoms/Dialog.d.ts +18 -0
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/index.cjs +1605 -1475
- package/dist/components/index.js +582 -452
- package/dist/components/molecules/CalendarGrid.d.ts +14 -1
- package/dist/components/molecules/SidePanel.d.ts +7 -2
- package/dist/components/molecules/Tabs.d.ts +10 -2
- package/dist/components/molecules/avl/avl-preview-types.d.ts +24 -3
- package/dist/components/organisms/game/three/index.cjs +175 -185
- package/dist/components/organisms/game/three/index.js +12 -22
- package/dist/docs/index.cjs +7 -17
- package/dist/docs/index.js +8 -18
- package/dist/marketing/index.cjs +32 -28
- package/dist/marketing/index.js +33 -29
- package/dist/providers/index.cjs +1701 -1573
- package/dist/providers/index.js +810 -682
- package/dist/runtime/index.cjs +1740 -1612
- package/dist/runtime/index.js +814 -686
- package/package.json +2 -1
- package/tailwind-preset.cjs +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.53.1",
|
|
4
4
|
"description": "React UI components, hooks, and providers for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"@almadar/core": ">=7.13.0",
|
|
133
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
|
133
134
|
"@almadar/evaluator": ">=2.9.2",
|
|
134
135
|
"@almadar/logger": "^1.3.0",
|
|
135
136
|
"@almadar/patterns": "^2.26.0",
|
package/tailwind-preset.cjs
CHANGED
|
@@ -13,9 +13,12 @@
|
|
|
13
13
|
* presets: [require('@almadar/ui/tailwind-preset')]
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
const containerQueries = require('@tailwindcss/container-queries');
|
|
17
|
+
|
|
16
18
|
/** @type {import('tailwindcss').Config} */
|
|
17
19
|
module.exports = {
|
|
18
20
|
darkMode: 'class',
|
|
21
|
+
plugins: [containerQueries],
|
|
19
22
|
safelist: [
|
|
20
23
|
// Standard utilities used via dynamic className from .orb schemas
|
|
21
24
|
'p-4', 'p-6', 'p-8',
|
|
@@ -330,6 +333,19 @@ module.exports = {
|
|
|
330
333
|
normal: 'var(--transition-normal, 250ms)',
|
|
331
334
|
slow: 'var(--transition-slow, 400ms)',
|
|
332
335
|
},
|
|
336
|
+
// Container-query breakpoints aligned 1:1 with Tailwind's default
|
|
337
|
+
// viewport breakpoints (sm 640 / md 768 / lg 1024 / xl 1280 /
|
|
338
|
+
// 2xl 1536). Lets components use `@lg/foo:hidden` as a drop-in
|
|
339
|
+
// replacement for `lg:hidden` when they're rendered inside a
|
|
340
|
+
// CSS Container (the Studio preview, embedded iframes, etc.) so
|
|
341
|
+
// the layout responds to the container's width, not the viewport.
|
|
342
|
+
containers: {
|
|
343
|
+
sm: '40rem',
|
|
344
|
+
md: '48rem',
|
|
345
|
+
lg: '64rem',
|
|
346
|
+
xl: '80rem',
|
|
347
|
+
'2xl': '96rem',
|
|
348
|
+
},
|
|
333
349
|
},
|
|
334
350
|
},
|
|
335
351
|
};
|