@ziyarago/ui 0.0.0-stage → 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.
Files changed (119) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/LICENSE +25 -0
  3. package/README.md +121 -2
  4. package/THIRD_PARTY_NOTICES.md +12 -0
  5. package/assets/3d/_sheet.png +0 -0
  6. package/assets/3d/archive.png +0 -0
  7. package/assets/3d/bag.png +0 -0
  8. package/assets/3d/cameraoff.png +0 -0
  9. package/assets/3d/comment.png +0 -0
  10. package/assets/3d/crowd.png +0 -0
  11. package/assets/3d/firstaid.png +0 -0
  12. package/assets/3d/flag.png +0 -0
  13. package/assets/3d/grain.png +0 -0
  14. package/assets/3d/guide.png +0 -0
  15. package/assets/3d/hotel.png +0 -0
  16. package/assets/3d/kaaba.png +0 -0
  17. package/assets/3d/logo.png +0 -0
  18. package/assets/3d/luggage.png +0 -0
  19. package/assets/3d/map.png +0 -0
  20. package/assets/3d/mosque.png +0 -0
  21. package/assets/3d/plane.png +0 -0
  22. package/assets/3d/profile.png +0 -0
  23. package/assets/3d/restaurant.png +0 -0
  24. package/assets/3d/ring360.png +0 -0
  25. package/assets/3d/shoes.png +0 -0
  26. package/assets/3d/star.png +0 -0
  27. package/assets/3d/store.png +0 -0
  28. package/assets/3d/taxi.png +0 -0
  29. package/assets/3d/threads.png +0 -0
  30. package/assets/3d/tour360.png +0 -0
  31. package/assets/3d/trash.png +0 -0
  32. package/assets/3d/umbrella.png +0 -0
  33. package/assets/3d/video.png +0 -0
  34. package/assets/3d/water.png +0 -0
  35. package/assets/brand/mark.png +0 -0
  36. package/assets/brand/ziyarago-logo-light.svg +21 -0
  37. package/assets/brand/ziyarago-logo.svg +21 -0
  38. package/assets/brand/ziyarago-mark-light.svg +13 -0
  39. package/assets/brand/ziyarago-mark.svg +13 -0
  40. package/assets/fonts/thmanyah/thmanyahsans-Black.otf +0 -0
  41. package/assets/fonts/thmanyah/thmanyahsans-Bold.otf +0 -0
  42. package/assets/fonts/thmanyah/thmanyahsans-Light.otf +0 -0
  43. package/assets/fonts/thmanyah/thmanyahsans-Medium.otf +0 -0
  44. package/assets/fonts/thmanyah/thmanyahsans-Regular.otf +0 -0
  45. package/assets/fonts/thmanyah/thmanyahserifdisplay-Black.otf +0 -0
  46. package/assets/fonts/thmanyah/thmanyahserifdisplay-Bold.otf +0 -0
  47. package/assets/fonts/thmanyah/thmanyahserifdisplay-Light.otf +0 -0
  48. package/assets/fonts/thmanyah/thmanyahserifdisplay-Medium.otf +0 -0
  49. package/assets/fonts/thmanyah/thmanyahserifdisplay-Regular.otf +0 -0
  50. package/assets/fonts/thmanyah/thmanyahseriftext-Black.otf +0 -0
  51. package/assets/fonts/thmanyah/thmanyahseriftext-Bold.otf +0 -0
  52. package/assets/fonts/thmanyah/thmanyahseriftext-Light.otf +0 -0
  53. package/assets/fonts/thmanyah/thmanyahseriftext-Medium.otf +0 -0
  54. package/assets/fonts/thmanyah/thmanyahseriftext-Regular.otf +0 -0
  55. package/dist/llms-full.txt +2293 -0
  56. package/dist/llms.txt +239 -0
  57. package/dist/manifest.json +10254 -0
  58. package/dist/style.css +1357 -0
  59. package/dist/tokens.css +48 -0
  60. package/package.json +118 -4
  61. package/src/catalog.js +4 -0
  62. package/src/core/components.js +124 -0
  63. package/src/core/components2.js +163 -0
  64. package/src/core/components3.js +35 -0
  65. package/src/core/components4.js +58 -0
  66. package/src/core/components6.js +48 -0
  67. package/src/core/components7.js +42 -0
  68. package/src/core/dialog.js +65 -0
  69. package/src/core/index.js +9 -0
  70. package/src/core/pages.js +51 -0
  71. package/src/meta/README.md +29 -0
  72. package/src/meta/actions.js +161 -0
  73. package/src/meta/data.js +327 -0
  74. package/src/meta/domain.js +212 -0
  75. package/src/meta/feedback.js +153 -0
  76. package/src/meta/forms.js +453 -0
  77. package/src/meta/groups.js +16 -0
  78. package/src/meta/index.js +14 -0
  79. package/src/meta/layout.js +159 -0
  80. package/src/meta/media.js +104 -0
  81. package/src/meta/navigation.js +99 -0
  82. package/src/meta/overlay.js +264 -0
  83. package/src/meta/pages.js +229 -0
  84. package/src/meta/templates.json +2422 -0
  85. package/src/meta/typography.js +58 -0
  86. package/src/nuxt/module.mjs +29 -0
  87. package/src/nuxt/plugin.mjs +9 -0
  88. package/src/react/index.js +31 -0
  89. package/src/styles/components.css +162 -0
  90. package/src/styles/components2.css +68 -0
  91. package/src/styles/components3.css +29 -0
  92. package/src/styles/components4.css +18 -0
  93. package/src/styles/components5.css +5 -0
  94. package/src/styles/components6.css +19 -0
  95. package/src/styles/components7.css +44 -0
  96. package/src/styles/components8.css +47 -0
  97. package/src/styles/effects.css +43 -0
  98. package/src/styles/fonts.css +17 -0
  99. package/src/styles/index.css +21 -0
  100. package/src/styles/sizes/actions.css +126 -0
  101. package/src/styles/sizes/data.css +161 -0
  102. package/src/styles/sizes/domain.css +35 -0
  103. package/src/styles/sizes/feedback.css +69 -0
  104. package/src/styles/sizes/forms.css +122 -0
  105. package/src/styles/sizes/layout.css +15 -0
  106. package/src/styles/sizes/media.css +28 -0
  107. package/src/styles/sizes/navigation.css +146 -0
  108. package/src/styles/sizes/overlay.css +79 -0
  109. package/src/styles/sizes/typography.css +12 -0
  110. package/src/styles/tokens.css +47 -0
  111. package/src/theme.js +52 -0
  112. package/src/vue/index.js +29 -0
  113. package/tokens/tokens.json +9 -0
  114. package/types/core.d.ts +4 -0
  115. package/types/nuxt.d.ts +11 -0
  116. package/types/react.d.ts +189 -0
  117. package/types/shared.d.ts +18 -0
  118. package/types/theme.d.ts +6 -0
  119. package/types/vue.d.ts +192 -0
@@ -0,0 +1,43 @@
1
+ /* motion, effects, page backgrounds and gradient cards */
2
+
3
+ /* ── motion off: no animations or transitions ── */
4
+ [data-motion="off"] *,[data-motion="off"] *::before,[data-motion="off"] *::after{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
5
+
6
+ /* ── effects lite: flat surfaces for weak browsers and devices ── */
7
+ [data-fx="lite"] *,[data-fx="lite"] *::before,[data-fx="lite"] *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
8
+ [data-fx="lite"]{--zg-shadow-1:0 2px 8px oklch(0 0 0 / .18);--zg-shadow-2:0 6px 20px oklch(0 0 0 / .28);--zg-brand-glow:transparent}
9
+ [data-fx="lite"][data-theme="light"]{--zg-shadow-1:0 2px 8px oklch(0.4 0.03 60 / .12);--zg-shadow-2:0 6px 20px oklch(0.4 0.03 60 / .18)}
10
+ [data-fx="lite"] .zg-glass{background:var(--zg-pop)}
11
+
12
+ /* ── page backgrounds ── set data-bg on <html> (useUiTheme().setBackground) or on any element with class zg-bg ── */
13
+ :root{--zg-bgL:.62;--zg-bgC:.16;--zg-bgA:26%}
14
+ [data-theme="light"]{--zg-bgL:.8;--zg-bgC:.11;--zg-bgA:34%}
15
+ [data-bg="aurora"]{--zg-bg-image:radial-gradient(60% 50% at 12% 8%,color-mix(in oklch,var(--zg-brand) var(--zg-bgA),transparent),transparent 70%),radial-gradient(50% 45% at 88% 18%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 250) var(--zg-bgA),transparent),transparent 70%),radial-gradient(65% 55% at 50% 105%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 320) var(--zg-bgA),transparent),transparent 70%)}
16
+ [data-bg="sunset"]{--zg-bg-image:radial-gradient(70% 55% at 10% 0%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 55) var(--zg-bgA),transparent),transparent 70%),radial-gradient(60% 50% at 95% 25%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 15) var(--zg-bgA),transparent),transparent 70%),radial-gradient(70% 60% at 40% 110%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 340) var(--zg-bgA),transparent),transparent 70%)}
17
+ [data-bg="ocean"]{--zg-bg-image:radial-gradient(70% 55% at 85% 0%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 230) var(--zg-bgA),transparent),transparent 70%),radial-gradient(60% 55% at 5% 40%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 200) var(--zg-bgA),transparent),transparent 70%),radial-gradient(70% 55% at 60% 110%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 265) var(--zg-bgA),transparent),transparent 70%)}
18
+ [data-bg="emerald"]{--zg-bg-image:radial-gradient(65% 55% at 8% 5%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 155) var(--zg-bgA),transparent),transparent 70%),radial-gradient(55% 50% at 92% 30%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 190) var(--zg-bgA),transparent),transparent 70%),radial-gradient(70% 55% at 45% 110%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 120) var(--zg-bgA),transparent),transparent 70%)}
19
+ [data-bg="rose"]{--zg-bg-image:radial-gradient(65% 55% at 90% 0%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 355) var(--zg-bgA),transparent),transparent 70%),radial-gradient(55% 50% at 5% 35%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 20) var(--zg-bgA),transparent),transparent 70%),radial-gradient(70% 55% at 50% 110%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 310) var(--zg-bgA),transparent),transparent 70%)}
20
+ [data-bg="mesh"]{--zg-bg-image:radial-gradient(40% 35% at 15% 15%,color-mix(in oklch,var(--zg-brand) var(--zg-bgA),transparent),transparent 70%),radial-gradient(35% 35% at 80% 10%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 250) var(--zg-bgA),transparent),transparent 70%),radial-gradient(40% 40% at 90% 70%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 155) var(--zg-bgA),transparent),transparent 70%),radial-gradient(40% 40% at 20% 85%,color-mix(in oklch,oklch(var(--zg-bgL) var(--zg-bgC) 330) var(--zg-bgA),transparent),transparent 70%)}
21
+ html[data-bg]:not([data-bg="none"]),.zg-bg:not([data-bg="none"]){background-color:var(--zg-bg);background-image:var(--zg-bg-image);background-attachment:fixed}
22
+ .zg-bg:not([data-bg="none"]){background-attachment:scroll}
23
+ html[data-bg]:not([data-bg="none"]) .zg-root{background:transparent}
24
+ html[data-fx="full"][data-motion="on"][data-bg]:not([data-bg="none"]){background-size:140% 140%;animation:zg-bg-drift 48s ease-in-out infinite alternate}
25
+ @keyframes zg-bg-drift{from{background-position:0% 0%}to{background-position:100% 100%}}
26
+
27
+ /* ── gradient cards ── <UiCard variant="gradient" tone="sky" intensity="soft|vivid"> ── */
28
+ .zg-card--grad{--t:var(--zg-brand);--tv:var(--zg-brand);--on:var(--zg-on-brand)}
29
+ .zg-card--t-brand{--t:var(--zg-brand);--tv:var(--zg-brand);--tv2:color-mix(in oklch,var(--zg-brand) 62%,oklch(0.88 0.07 85));--on:var(--zg-on-brand)}
30
+ .zg-card--t-sky{--t:var(--zg-sky);--tv:oklch(0.6 0.14 235);--on:#fff}
31
+ .zg-card--t-success{--t:var(--zg-green);--tv:oklch(0.56 0.15 150);--on:#fff}
32
+ .zg-card--t-warning{--t:var(--zg-amber);--tv:oklch(0.8 0.15 85);--tv2:oklch(0.76 0.15 55);--on:oklch(0.2 0.04 80)}
33
+ .zg-card--t-danger{--t:var(--zg-red);--tv:oklch(0.56 0.2 25);--on:#fff}
34
+ .zg-card--t-violet{--t:oklch(0.64 0.2 295);--tv:oklch(0.5 0.22 295);--on:#fff}
35
+ .zg-card--t-rose{--t:oklch(0.68 0.2 5);--tv:oklch(0.58 0.21 5);--on:#fff}
36
+ .zg-card--t-neutral{--t:oklch(0.62 0.01 60);--tv:oklch(0.32 0.01 60);--on:#fff}
37
+ .zg-card.zg-card--grad{background:linear-gradient(140deg,color-mix(in oklch,var(--t) var(--zg-g1,36%),var(--zg-gbase,var(--zg-s1))),color-mix(in oklch,var(--t) var(--zg-g2,9%),var(--zg-gbase,var(--zg-s1))) 70%);box-shadow:var(--zg-rim),inset 0 0 0 1px color-mix(in oklch,var(--t) 32%,transparent),var(--zg-shadow-1)}
38
+ .zg-card.zg-card--grad.zg-card--vivid{background:linear-gradient(140deg,var(--tv),var(--tv2,color-mix(in oklch,var(--tv) 62%,oklch(0.25 0.1 280))));color:var(--on);box-shadow:inset 0 1px 0 oklch(1 0 0 / .28),var(--zg-shadow-1)}
39
+ [data-theme="dark"]{--zg-gbase:var(--zg-s1);--zg-g1:36%;--zg-g2:9%}
40
+ [data-theme="light"]{--zg-gbase:white;--zg-g1:30%;--zg-g2:8%}
41
+ [data-fx="full"][data-motion="on"] .zg-card.zg-card--grad{transition:transform .25s var(--zg-ease),box-shadow .25s var(--zg-ease)}
42
+ [data-fx="full"][data-motion="on"] .zg-card.zg-card--grad:hover{transform:translateY(-2px)}
43
+ html[data-bg]:not([data-bg="none"]) body{background:transparent}
@@ -0,0 +1,17 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
2
+ /* Thmanyah — free incl. commercial, https://font.thmanyah.com. Files in assets/fonts/thmanyah. Adjust URLs to your bundler.
3
+ Thmanyah is visually heavier than Manrope at the same weight and has no 600 face. Weight ranges map the UI weights (300-900) so Arabic does not look bold:
4
+ 200-300 Light, 400-600 Regular, 700 Medium, 800 Bold, 900 Black. */
5
+ @font-face{font-family:'Thmanyah Sans';font-weight:200 300;src:url('../../assets/fonts/thmanyah/thmanyahsans-Light.otf') format('opentype');font-display:swap}
6
+ @font-face{font-family:'Thmanyah Sans';font-weight:400 600;src:url('../../assets/fonts/thmanyah/thmanyahsans-Regular.otf') format('opentype');font-display:swap}
7
+ @font-face{font-family:'Thmanyah Sans';font-weight:700;src:url('../../assets/fonts/thmanyah/thmanyahsans-Medium.otf') format('opentype');font-display:swap}
8
+ @font-face{font-family:'Thmanyah Sans';font-weight:800;src:url('../../assets/fonts/thmanyah/thmanyahsans-Bold.otf') format('opentype');font-display:swap}
9
+ @font-face{font-family:'Thmanyah Sans';font-weight:900;src:url('../../assets/fonts/thmanyah/thmanyahsans-Black.otf') format('opentype');font-display:swap}
10
+ @font-face{font-family:'Thmanyah Serif Display';font-weight:200 300;src:url('../../assets/fonts/thmanyah/thmanyahserifdisplay-Light.otf') format('opentype');font-display:swap}
11
+ @font-face{font-family:'Thmanyah Serif Display';font-weight:400 600;src:url('../../assets/fonts/thmanyah/thmanyahserifdisplay-Regular.otf') format('opentype');font-display:swap}
12
+ @font-face{font-family:'Thmanyah Serif Display';font-weight:700;src:url('../../assets/fonts/thmanyah/thmanyahserifdisplay-Medium.otf') format('opentype');font-display:swap}
13
+ @font-face{font-family:'Thmanyah Serif Display';font-weight:800;src:url('../../assets/fonts/thmanyah/thmanyahserifdisplay-Bold.otf') format('opentype');font-display:swap}
14
+ @font-face{font-family:'Thmanyah Serif Text';font-weight:200 300;src:url('../../assets/fonts/thmanyah/thmanyahseriftext-Light.otf') format('opentype');font-display:swap}
15
+ @font-face{font-family:'Thmanyah Serif Text';font-weight:400 600;src:url('../../assets/fonts/thmanyah/thmanyahseriftext-Regular.otf') format('opentype');font-display:swap}
16
+ @font-face{font-family:'Thmanyah Serif Text';font-weight:700;src:url('../../assets/fonts/thmanyah/thmanyahseriftext-Medium.otf') format('opentype');font-display:swap}
17
+ @font-face{font-family:'Thmanyah Serif Text';font-weight:800;src:url('../../assets/fonts/thmanyah/thmanyahseriftext-Bold.otf') format('opentype');font-display:swap}
@@ -0,0 +1,21 @@
1
+ @import './fonts.css';
2
+ @import './tokens.css';
3
+ @import './components.css';
4
+ @import './components2.css';
5
+ @import './components3.css';
6
+ @import './components4.css';
7
+ @import './components5.css';
8
+ @import './components6.css';
9
+ @import './components7.css';
10
+ @import './components8.css';
11
+ @import './sizes/typography.css';
12
+ @import './sizes/layout.css';
13
+ @import './sizes/actions.css';
14
+ @import './sizes/forms.css';
15
+ @import './sizes/data.css';
16
+ @import './sizes/feedback.css';
17
+ @import './sizes/overlay.css';
18
+ @import './sizes/navigation.css';
19
+ @import './sizes/media.css';
20
+ @import './sizes/domain.css';
21
+ @import './effects.css';
@@ -0,0 +1,126 @@
1
+ /* size overrides for the actions group. Only [data-size] selectors, see the size scale at the end of tokens.css */
2
+ .zg-btn[data-size="xs"]{--h:28px;font-size:12px;gap:6px}
3
+ .zg-btn[data-size="sm"]{--h:32px;font-size:13px;gap:8px}
4
+ .zg-btn[data-size="md"]{--h:40px;font-size:14px;gap:8px}
5
+ .zg-btn[data-size="lg"]{--h:48px;font-size:15px;gap:10px}
6
+ .zg-btn[data-size="xl"]{--h:56px;font-size:16px;gap:12px}
7
+ .zg-btn[data-size="xs"] .zg-icon{width:14px!important;height:14px!important}
8
+ .zg-btn[data-size="sm"] .zg-icon{width:16px!important;height:16px!important}
9
+ .zg-btn[data-size="md"] .zg-icon{width:18px!important;height:18px!important}
10
+ .zg-btn[data-size="lg"] .zg-icon{width:20px!important;height:20px!important}
11
+ .zg-btn[data-size="xl"] .zg-icon{width:22px!important;height:22px!important}
12
+ .zg-ibtn[data-size="xs"]{--h:28px}
13
+ .zg-ibtn[data-size="sm"]{--h:32px}
14
+ .zg-ibtn[data-size="md"]{--h:40px}
15
+ .zg-ibtn[data-size="lg"]{--h:48px}
16
+ .zg-ibtn[data-size="xl"]{--h:56px}
17
+ .zg-chip2[data-size="xs"]{height:22px;font-size:11px;padding:0 8px;gap:4px}
18
+ .zg-chip2[data-size="sm"]{height:26px;font-size:12px;padding:0 10px;gap:5px}
19
+ .zg-chip2[data-size="md"]{height:32px;font-size:13px;padding:0 12px;gap:6px}
20
+ .zg-chip2[data-size="lg"]{height:38px;font-size:14px;padding:0 16px;gap:8px}
21
+ .zg-chip2[data-size="xl"]{height:46px;font-size:15px;padding:0 20px;gap:10px}
22
+ .zg-chip2[data-size="xs"] .zg-icon{width:12px!important;height:12px!important}
23
+ .zg-chip2[data-size="sm"] .zg-icon{width:13px!important;height:13px!important}
24
+ .zg-chip2[data-size="md"] .zg-icon{width:14px!important;height:14px!important}
25
+ .zg-chip2[data-size="lg"] .zg-icon{width:16px!important;height:16px!important}
26
+ .zg-chip2[data-size="xl"] .zg-icon{width:18px!important;height:18px!important}
27
+ .zg-chip2[data-size="xs"] button{width:14px;height:14px}
28
+ .zg-chip2[data-size="sm"] button{width:16px;height:16px}
29
+ .zg-chip2[data-size="md"] button{width:18px;height:18px}
30
+ .zg-chip2[data-size="lg"] button{width:20px;height:20px}
31
+ .zg-chip2[data-size="xl"] button{width:24px;height:24px}
32
+ .zg-badge[data-size="xs"]{height:18px;font-size:10px;padding:0 7px;gap:4px}
33
+ .zg-badge[data-size="sm"]{height:20px;font-size:11px;padding:0 8px;gap:5px}
34
+ .zg-badge[data-size="md"]{height:24px;font-size:12px;padding:0 10px;gap:6px}
35
+ .zg-badge[data-size="lg"]{height:28px;font-size:13px;padding:0 12px;gap:7px}
36
+ .zg-badge[data-size="xl"]{height:32px;font-size:14px;padding:0 14px;gap:8px}
37
+ .zg-badge[data-size="xs"] .zg-badge__dot{width:4px;height:4px}
38
+ .zg-badge[data-size="sm"] .zg-badge__dot{width:5px;height:5px}
39
+ .zg-badge[data-size="md"] .zg-badge__dot{width:6px;height:6px}
40
+ .zg-badge[data-size="lg"] .zg-badge__dot{width:7px;height:7px}
41
+ .zg-badge[data-size="xl"] .zg-badge__dot{width:8px;height:8px}
42
+ .zg-tag[data-size="xs"]{height:22px;font-size:11px;padding:0 5px 0 10px;gap:5px}
43
+ .zg-tag[data-size="sm"]{height:24px;font-size:12px;padding:0 5px 0 10px;gap:5px}
44
+ .zg-tag[data-size="md"]{height:28px;font-size:13px;padding:0 6px 0 12px;gap:6px}
45
+ .zg-tag[data-size="lg"]{height:34px;font-size:14px;padding:0 7px 0 14px;gap:8px}
46
+ .zg-tag[data-size="xl"]{height:40px;font-size:15px;padding:0 8px 0 16px;gap:10px}
47
+ .zg-tag[data-size="xs"]:not(:has(button)){padding-inline-end:10px}
48
+ .zg-tag[data-size="sm"]:not(:has(button)){padding-inline-end:10px}
49
+ .zg-tag[data-size="md"]:not(:has(button)){padding-inline-end:12px}
50
+ .zg-tag[data-size="lg"]:not(:has(button)){padding-inline-end:14px}
51
+ .zg-tag[data-size="xl"]:not(:has(button)){padding-inline-end:16px}
52
+ .zg-tag[data-size="xs"] button{width:16px;height:16px}
53
+ .zg-tag[data-size="sm"] button{width:18px;height:18px}
54
+ .zg-tag[data-size="md"] button{width:20px;height:20px}
55
+ .zg-tag[data-size="lg"] button{width:24px;height:24px}
56
+ .zg-tag[data-size="xl"] button{width:28px;height:28px}
57
+ .zg-fab[data-size="xs"]{height:36px;font-size:12px;padding:0 12px;gap:6px}
58
+ .zg-fab[data-size="sm"]{height:44px;font-size:13px;padding:0 16px;gap:8px}
59
+ .zg-fab[data-size="md"]{height:56px;font-size:15px;padding:0 20px;gap:10px}
60
+ .zg-fab[data-size="lg"]{height:64px;font-size:16px;padding:0 24px;gap:12px}
61
+ .zg-fab[data-size="xl"]{height:72px;font-size:18px;padding:0 28px;gap:14px}
62
+ .zg-fab[data-size="xs"] .zg-icon{width:16px!important;height:16px!important}
63
+ .zg-fab[data-size="sm"] .zg-icon{width:18px!important;height:18px!important}
64
+ .zg-fab[data-size="md"] .zg-icon{width:20px!important;height:20px!important}
65
+ .zg-fab[data-size="lg"] .zg-icon{width:22px!important;height:22px!important}
66
+ .zg-fab[data-size="xl"] .zg-icon{width:26px!important;height:26px!important}
67
+ .zg-seg[data-size="xs"] button{height:22px;font-size:11px;padding:0 8px}
68
+ .zg-seg[data-size="sm"] button{height:26px;font-size:12px;padding:0 10px}
69
+ .zg-seg[data-size="md"] button{height:32px;font-size:13px;padding:0 14px}
70
+ .zg-seg[data-size="lg"] button{height:40px;font-size:14px;padding:0 18px}
71
+ .zg-seg[data-size="xl"] button{height:48px;font-size:15px;padding:0 22px}
72
+ .zg-seg[data-size="xs"] button{gap:4px;display:inline-flex;align-items:center;justify-content:center}
73
+ .zg-seg[data-size="sm"] button{gap:4px;display:inline-flex;align-items:center;justify-content:center}
74
+ .zg-seg[data-size="md"] button{gap:4px;display:inline-flex;align-items:center;justify-content:center}
75
+ .zg-seg[data-size="lg"] button{gap:5px;display:inline-flex;align-items:center;justify-content:center}
76
+ .zg-seg[data-size="xl"] button{gap:5px;display:inline-flex;align-items:center;justify-content:center}
77
+ .zg-seg[data-size="xs"] .zg-icon{width:12px!important;height:12px!important}
78
+ .zg-seg[data-size="sm"] .zg-icon{width:14px!important;height:14px!important}
79
+ .zg-seg[data-size="md"] .zg-icon{width:16px!important;height:16px!important}
80
+ .zg-seg[data-size="lg"] .zg-icon{width:18px!important;height:18px!important}
81
+ .zg-seg[data-size="xl"] .zg-icon{width:20px!important;height:20px!important}
82
+ .zg-chips[data-size="xs"]{gap:6px}
83
+ .zg-chips[data-size="sm"]{gap:6px}
84
+ .zg-chips[data-size="md"]{gap:8px}
85
+ .zg-chips[data-size="lg"]{gap:10px}
86
+ .zg-chips[data-size="xl"]{gap:12px}
87
+ .zg-chips[data-size="xs"] .zg-chip{height:26px;font-size:11px;padding:0 10px}
88
+ .zg-chips[data-size="sm"] .zg-chip{height:30px;font-size:12px;padding:0 12px}
89
+ .zg-chips[data-size="md"] .zg-chip{height:34px;font-size:13px;padding:0 14px}
90
+ .zg-chips[data-size="lg"] .zg-chip{height:42px;font-size:14px;padding:0 18px}
91
+ .zg-chips[data-size="xl"] .zg-chip{height:50px;font-size:15px;padding:0 22px}
92
+ .zg-rail[data-size="xs"]{gap:2px;padding:4px}
93
+ .zg-rail[data-size="sm"]{gap:3px;padding:5px}
94
+ .zg-rail[data-size="md"]{gap:4px;padding:6px}
95
+ .zg-rail[data-size="lg"]{gap:6px;padding:8px}
96
+ .zg-rail[data-size="xl"]{gap:8px;padding:10px}
97
+ .zg-rail[data-size="xs"] .zg-ibtn{--h:28px}
98
+ .zg-rail[data-size="sm"] .zg-ibtn{--h:32px}
99
+ .zg-rail[data-size="md"] .zg-ibtn{--h:40px}
100
+ .zg-rail[data-size="lg"] .zg-ibtn{--h:48px}
101
+ .zg-rail[data-size="xl"] .zg-ibtn{--h:56px}
102
+ .zg-card[data-size="xs"]{padding:10px;gap:8px}
103
+ .zg-card[data-size="sm"]{padding:14px;gap:10px}
104
+ .zg-card[data-size="md"]{padding:20px;gap:14px}
105
+ .zg-card[data-size="lg"]{padding:26px;gap:18px}
106
+ .zg-card[data-size="xl"]{padding:32px;gap:22px}
107
+ .zg-card[data-size="xs"] .zg-card__title{font-size:13px}
108
+ .zg-card[data-size="sm"] .zg-card__title{font-size:15px}
109
+ .zg-card[data-size="md"] .zg-card__title{font-size:18px}
110
+ .zg-card[data-size="lg"] .zg-card__title{font-size:20px}
111
+ .zg-card[data-size="xl"] .zg-card__title{font-size:21px}
112
+ .zg-card[data-size="xs"] .zg-card__sub{font-size:11px}
113
+ .zg-card[data-size="sm"] .zg-card__sub{font-size:12px}
114
+ .zg-card[data-size="md"] .zg-card__sub{font-size:13px}
115
+ .zg-card[data-size="lg"] .zg-card__sub{font-size:14px}
116
+ .zg-card[data-size="xl"] .zg-card__sub{font-size:15px}
117
+ .zg-card[data-size="xs"] .zg-card__head .zg-ibtn{--h:24px}
118
+ .zg-card[data-size="sm"] .zg-card__head .zg-ibtn{--h:28px}
119
+ .zg-card[data-size="md"] .zg-card__head .zg-ibtn{--h:32px}
120
+ .zg-card[data-size="lg"] .zg-card__head .zg-ibtn{--h:36px}
121
+ .zg-card[data-size="xl"] .zg-card__head .zg-ibtn{--h:40px}
122
+ .zg-dd[data-size="xs"]>.zg-ibtn{--h:28px}
123
+ .zg-dd[data-size="sm"]>.zg-ibtn{--h:32px}
124
+ .zg-dd[data-size="md"]>.zg-ibtn{--h:40px}
125
+ .zg-dd[data-size="lg"]>.zg-ibtn{--h:48px}
126
+ .zg-dd[data-size="xl"]>.zg-ibtn{--h:56px}
@@ -0,0 +1,161 @@
1
+ /* size overrides for the data group. Only [data-size] selectors, see the size scale at the end of tokens.css */
2
+ /* Card (also PricingCard, IntegrationCard, ChartCard, StatLine): padding, gap, title */
3
+ .zg-card[data-size="xs"]{padding:12px;gap:8px}
4
+ .zg-card[data-size="sm"]{padding:16px;gap:10px}
5
+ .zg-card[data-size="md"]{padding:20px;gap:14px}
6
+ .zg-card[data-size="lg"]{padding:28px;gap:18px}
7
+ .zg-card[data-size="xl"]{padding:36px;gap:22px}
8
+ .zg-card[data-size="xs"] .zg-card__title{font-size:14px}
9
+ .zg-card[data-size="sm"] .zg-card__title{font-size:16px}
10
+ .zg-card[data-size="md"] .zg-card__title{font-size:18px}
11
+ .zg-card[data-size="lg"] .zg-card__title{font-size:21px}
12
+ .zg-card[data-size="xl"] .zg-card__title{font-size:24px}
13
+ .zg-card[data-size="xs"] .zg-card__sub{font-size:11px}
14
+ .zg-card[data-size="sm"] .zg-card__sub{font-size:12px}
15
+ .zg-card[data-size="md"] .zg-card__sub{font-size:13px}
16
+ .zg-card[data-size="lg"] .zg-card__sub{font-size:14px}
17
+ .zg-card[data-size="xl"] .zg-card__sub{font-size:15px}
18
+ /* DataTable, DataGroup: row density */
19
+ .zg-table-wrap[data-size="xs"] .zg-table{font-size:12px}
20
+ .zg-table-wrap[data-size="sm"] .zg-table{font-size:13px}
21
+ .zg-table-wrap[data-size="md"] .zg-table{font-size:14px}
22
+ .zg-table-wrap[data-size="lg"] .zg-table{font-size:15px}
23
+ .zg-table-wrap[data-size="xl"] .zg-table{font-size:16px}
24
+ .zg-table-wrap[data-size="xs"] .zg-table th{padding:6px 10px;font-size:10px}
25
+ .zg-table-wrap[data-size="sm"] .zg-table th{padding:8px 12px;font-size:11px}
26
+ .zg-table-wrap[data-size="md"] .zg-table th{padding:12px 16px;font-size:12px}
27
+ .zg-table-wrap[data-size="lg"] .zg-table th{padding:16px 20px;font-size:13px}
28
+ .zg-table-wrap[data-size="xl"] .zg-table th{padding:20px 24px;font-size:14px}
29
+ .zg-table-wrap[data-size="xs"] .zg-table td{padding:6px 10px}
30
+ .zg-table-wrap[data-size="sm"] .zg-table td{padding:8px 12px}
31
+ .zg-table-wrap[data-size="md"] .zg-table td{padding:12px 16px}
32
+ .zg-table-wrap[data-size="lg"] .zg-table td{padding:16px 20px}
33
+ .zg-table-wrap[data-size="xl"] .zg-table td{padding:20px 24px}
34
+ .zg-table-wrap[data-size="xs"] .zg-dg__g{padding:6px 10px!important;font-size:11px!important}
35
+ .zg-table-wrap[data-size="sm"] .zg-dg__g{padding:8px 12px!important;font-size:12px!important}
36
+ .zg-table-wrap[data-size="md"] .zg-dg__g{padding:10px 16px!important;font-size:13px!important}
37
+ .zg-table-wrap[data-size="lg"] .zg-dg__g{padding:12px 20px!important;font-size:14px!important}
38
+ .zg-table-wrap[data-size="xl"] .zg-dg__g{padding:14px 24px!important;font-size:15px!important}
39
+ /* Descriptions */
40
+ .zg-desc[data-size="xs"]{font-size:12px;gap:6px 12px}
41
+ .zg-desc[data-size="sm"]{font-size:13px;gap:8px 16px}
42
+ .zg-desc[data-size="md"]{font-size:14px;gap:10px 20px}
43
+ .zg-desc[data-size="lg"]{font-size:15px;gap:12px 24px}
44
+ .zg-desc[data-size="xl"]{font-size:16px;gap:14px 28px}
45
+ /* Timeline */
46
+ .zg-timeline[data-size="xs"] .zg-tl{grid-template-columns:18px 1fr;gap:8px}
47
+ .zg-timeline[data-size="sm"] .zg-tl{grid-template-columns:22px 1fr;gap:10px}
48
+ .zg-timeline[data-size="md"] .zg-tl{grid-template-columns:28px 1fr;gap:12px}
49
+ .zg-timeline[data-size="lg"] .zg-tl{grid-template-columns:34px 1fr;gap:14px}
50
+ .zg-timeline[data-size="xl"] .zg-tl{grid-template-columns:40px 1fr;gap:16px}
51
+ .zg-timeline[data-size="xs"] .zg-tl__dot{width:8px;height:8px;margin-top:3px;box-shadow:0 0 0 3px var(--zg-brand-soft)}
52
+ .zg-timeline[data-size="sm"] .zg-tl__dot{width:10px;height:10px;margin-top:4px;box-shadow:0 0 0 3px var(--zg-brand-soft)}
53
+ .zg-timeline[data-size="md"] .zg-tl__dot{width:12px;height:12px;margin-top:5px;box-shadow:0 0 0 4px var(--zg-brand-soft)}
54
+ .zg-timeline[data-size="lg"] .zg-tl__dot{width:14px;height:14px;margin-top:6px;box-shadow:0 0 0 5px var(--zg-brand-soft)}
55
+ .zg-timeline[data-size="xl"] .zg-tl__dot{width:18px;height:18px;margin-top:7px;box-shadow:0 0 0 6px var(--zg-brand-soft)}
56
+ .zg-timeline[data-size="xs"] .zg-tl__body{font-size:12px;padding-bottom:10px}
57
+ .zg-timeline[data-size="sm"] .zg-tl__body{font-size:13px;padding-bottom:14px}
58
+ .zg-timeline[data-size="md"] .zg-tl__body{font-size:14px;padding-bottom:18px}
59
+ .zg-timeline[data-size="lg"] .zg-tl__body{font-size:16px;padding-bottom:24px}
60
+ .zg-timeline[data-size="xl"] .zg-tl__body{font-size:18px;padding-bottom:30px}
61
+ .zg-timeline[data-size="xs"] .zg-tl__time{font-size:10px}
62
+ .zg-timeline[data-size="sm"] .zg-tl__time{font-size:11px}
63
+ .zg-timeline[data-size="md"] .zg-tl__time{font-size:12px}
64
+ .zg-timeline[data-size="lg"] .zg-tl__time{font-size:13px}
65
+ .zg-timeline[data-size="xl"] .zg-tl__time{font-size:14px}
66
+ /* TreeView */
67
+ .zg-tree[data-size="xs"] .zg-tree__n{min-height:26px;font-size:12px;gap:6px}
68
+ .zg-tree[data-size="sm"] .zg-tree__n{min-height:30px;font-size:13px;gap:6px}
69
+ .zg-tree[data-size="md"] .zg-tree__n{min-height:36px;font-size:14px;gap:8px}
70
+ .zg-tree[data-size="lg"] .zg-tree__n{min-height:42px;font-size:15px;gap:10px}
71
+ .zg-tree[data-size="xl"] .zg-tree__n{min-height:48px;font-size:16px;gap:12px}
72
+ /* KpiTile, StatsCard, KpiInline */
73
+ .zg-kpi[data-size="xs"]{padding:10px 12px}
74
+ .zg-kpi[data-size="sm"]{padding:12px 14px}
75
+ .zg-kpi[data-size="md"]{padding:16px 18px}
76
+ .zg-kpi[data-size="lg"]{padding:20px 24px}
77
+ .zg-kpi[data-size="xl"]{padding:24px 28px}
78
+ .zg-kpi[data-size="xs"] .zg-kpi__value{font-size:24px}
79
+ .zg-kpi[data-size="sm"] .zg-kpi__value{font-size:30px}
80
+ .zg-kpi[data-size="md"] .zg-kpi__value{font-size:36px}
81
+ .zg-kpi[data-size="lg"] .zg-kpi__value{font-size:44px}
82
+ .zg-kpi[data-size="xl"] .zg-kpi__value{font-size:52px}
83
+ .zg-kpi[data-size="xs"] .zg-kpi__label{font-size:11px}
84
+ .zg-kpi[data-size="sm"] .zg-kpi__label{font-size:12px}
85
+ .zg-kpi[data-size="md"] .zg-kpi__label{font-size:13px}
86
+ .zg-kpi[data-size="lg"] .zg-kpi__label{font-size:14px}
87
+ .zg-kpi[data-size="xl"] .zg-kpi__label{font-size:15px}
88
+ .zg-kpi[data-size="xs"] .zg-kpi__sub{font-size:10px}
89
+ .zg-kpi[data-size="sm"] .zg-kpi__sub{font-size:11px}
90
+ .zg-kpi[data-size="md"] .zg-kpi__sub{font-size:12px}
91
+ .zg-kpi[data-size="lg"] .zg-kpi__sub{font-size:13px}
92
+ .zg-kpi[data-size="xl"] .zg-kpi__sub{font-size:14px}
93
+ .zg-kpii[data-size="xs"] .zg-kpii__v{font-size:15px!important}
94
+ .zg-kpii[data-size="sm"] .zg-kpii__v{font-size:17px!important}
95
+ .zg-kpii[data-size="md"] .zg-kpii__v{font-size:20px!important}
96
+ .zg-kpii[data-size="lg"] .zg-kpii__v{font-size:24px!important}
97
+ .zg-kpii[data-size="xl"] .zg-kpii__v{font-size:28px!important}
98
+ /* StatRow, StatLine, StatStrip */
99
+ .zg-srow[data-size="xs"]{min-height:40px;gap:8px}
100
+ .zg-srow[data-size="sm"]{min-height:48px;gap:10px}
101
+ .zg-srow[data-size="md"]{min-height:56px;gap:12px}
102
+ .zg-srow[data-size="lg"]{min-height:64px;gap:14px}
103
+ .zg-srow[data-size="xl"]{min-height:72px;gap:16px}
104
+ .zg-srow[data-size="xs"] .zg-srow__t{font-size:12px!important}
105
+ .zg-srow[data-size="sm"] .zg-srow__t{font-size:13px!important}
106
+ .zg-srow[data-size="md"] .zg-srow__t{font-size:15px!important}
107
+ .zg-srow[data-size="lg"] .zg-srow__t{font-size:16px!important}
108
+ .zg-srow[data-size="xl"] .zg-srow__t{font-size:18px!important}
109
+ .zg-srow[data-size="xs"] .zg-srow__v{font-size:13px!important}
110
+ .zg-srow[data-size="sm"] .zg-srow__v{font-size:15px!important}
111
+ .zg-srow[data-size="md"] .zg-srow__v{font-size:17px!important}
112
+ .zg-srow[data-size="lg"] .zg-srow__v{font-size:19px!important}
113
+ .zg-srow[data-size="xl"] .zg-srow__v{font-size:22px!important}
114
+ .zg-statline[data-size="xs"] .zg-statline__v{font-size:18px!important}
115
+ .zg-statline[data-size="sm"] .zg-statline__v{font-size:22px!important}
116
+ .zg-statline[data-size="md"] .zg-statline__v{font-size:26px!important}
117
+ .zg-statline[data-size="lg"] .zg-statline__v{font-size:32px!important}
118
+ .zg-statline[data-size="xl"] .zg-statline__v{font-size:38px!important}
119
+ .zg-strip[data-size="xs"] .zg-strip__v{font-size:16px!important}
120
+ .zg-strip[data-size="sm"] .zg-strip__v{font-size:19px!important}
121
+ .zg-strip[data-size="md"] .zg-strip__v{font-size:22px!important}
122
+ .zg-strip[data-size="lg"] .zg-strip__v{font-size:26px!important}
123
+ .zg-strip[data-size="xl"] .zg-strip__v{font-size:30px!important}
124
+ .zg-strip[data-size="xs"] .zg-strip__i{padding:8px 12px;gap:8px}
125
+ .zg-strip[data-size="sm"] .zg-strip__i{padding:10px 16px;gap:10px}
126
+ .zg-strip[data-size="md"] .zg-strip__i{padding:14px 20px;gap:14px}
127
+ .zg-strip[data-size="lg"] .zg-strip__i{padding:18px 24px;gap:16px}
128
+ .zg-strip[data-size="xl"] .zg-strip__i{padding:22px 28px;gap:18px}
129
+ /* SegBar, VersusBar */
130
+ [data-size="xs"] > .zg-segbar{height:20px}
131
+ [data-size="sm"] > .zg-segbar{height:28px}
132
+ [data-size="md"] > .zg-segbar{height:36px}
133
+ [data-size="lg"] > .zg-segbar{height:44px}
134
+ [data-size="xl"] > .zg-segbar{height:52px}
135
+ .zg-vs[data-size="xs"] .zg-vs__bar{height:4px}
136
+ .zg-vs[data-size="sm"] .zg-vs__bar{height:6px}
137
+ .zg-vs[data-size="md"] .zg-vs__bar{height:8px}
138
+ .zg-vs[data-size="lg"] .zg-vs__bar{height:12px}
139
+ .zg-vs[data-size="xl"] .zg-vs__bar{height:16px}
140
+ /* Ring label */
141
+ .zg-ring[data-size="xs"] .zg-ring__l{font-size:8px}
142
+ .zg-ring[data-size="sm"] .zg-ring__l{font-size:10px}
143
+ .zg-ring[data-size="md"] .zg-ring__l{font-size:12px}
144
+ .zg-ring[data-size="lg"] .zg-ring__l{font-size:13px}
145
+ .zg-ring[data-size="xl"] .zg-ring__l{font-size:15px}
146
+ /* UserCell text */
147
+ .zg-usercell[data-size="xs"]{gap:6px}
148
+ .zg-usercell[data-size="sm"]{gap:8px}
149
+ .zg-usercell[data-size="md"]{gap:10px}
150
+ .zg-usercell[data-size="lg"]{gap:12px}
151
+ .zg-usercell[data-size="xl"]{gap:14px}
152
+ .zg-usercell[data-size="xs"] b{font-size:12px}
153
+ .zg-usercell[data-size="sm"] b{font-size:13px}
154
+ .zg-usercell[data-size="md"] b{font-size:14px}
155
+ .zg-usercell[data-size="lg"] b{font-size:16px}
156
+ .zg-usercell[data-size="xl"] b{font-size:18px}
157
+ .zg-usercell[data-size="xs"] .zg-hint{font-size:10px}
158
+ .zg-usercell[data-size="sm"] .zg-hint{font-size:11px}
159
+ .zg-usercell[data-size="md"] .zg-hint{font-size:12px}
160
+ .zg-usercell[data-size="lg"] .zg-hint{font-size:13px}
161
+ .zg-usercell[data-size="xl"] .zg-hint{font-size:14px}
@@ -0,0 +1,35 @@
1
+ /* size overrides for the domain group. Only [data-size] selectors, see the size scale at the end of tokens.css */
2
+ .zg-dm[data-size="xs"]{--dz:.82}.zg-dm[data-size="sm"]{--dz:.91}.zg-dm[data-size="md"]{--dz:1}.zg-dm[data-size="lg"]{--dz:1.12}.zg-dm[data-size="xl"]{--dz:1.25}
3
+ .zg-lead.zg-dm[data-size]{padding:calc(14px*var(--dz));gap:calc(10px*var(--dz));border-radius:calc(20px*var(--dz))}
4
+ .zg-lead.zg-dm[data-size] .zg-lead__row{gap:calc(10px*var(--dz))}
5
+ .zg-kcard.zg-dm[data-size]{padding:calc(14px*var(--dz));gap:calc(8px*var(--dz));border-radius:calc(20px*var(--dz));font-size:calc(14px*var(--dz))}
6
+ .zg-kcol.zg-dm[data-size]{padding:calc(12px*var(--dz));gap:calc(10px*var(--dz));min-width:calc(260px*var(--dz));flex-basis:calc(260px*var(--dz));border-radius:calc(28px*var(--dz))}
7
+ .zg-kcol.zg-dm[data-size] .zg-kcol__head{font-size:calc(14px*var(--dz))}
8
+ .zg-hotel.zg-dm[data-size]{border-radius:calc(28px*var(--dz))}
9
+ .zg-hotel.zg-dm[data-size] .zg-hotel__body{padding:calc(16px*var(--dz));gap:calc(10px*var(--dz))}
10
+ .zg-hotel.zg-dm[data-size] .zg-hotel__row{gap:calc(12px*var(--dz))}
11
+ .zg-hotel.zg-dm[data-size] .zg-hotel__tags{top:calc(10px*var(--dz));inset-inline-start:calc(10px*var(--dz));gap:calc(6px*var(--dz))}
12
+ .zg-hotel.zg-dm[data-size] .zg-hint{font-size:calc(13px*var(--dz))}
13
+ .zg-hotel.zg-dm[data-size] .zg-badge{font-size:calc(12px*var(--dz))}
14
+ .zg-hotel.zg-dm[data-size="xs"] .zg-hotel__img{aspect-ratio:16/8}.zg-hotel.zg-dm[data-size="xl"] .zg-hotel__img{aspect-ratio:16/11}
15
+ .zg-card.zg-dm[data-size]{padding:calc(20px*var(--dz));gap:calc(14px*var(--dz));border-radius:calc(32px*var(--dz))}
16
+ .zg-card.zg-dm[data-size] .zg-card__title{font-size:calc(18px*var(--dz))}
17
+ .zg-card.zg-dm[data-size] .zg-card__sub,.zg-card.zg-dm[data-size] .zg-hint{font-size:calc(13px*var(--dz))}
18
+ .zg-card.zg-dm[data-size] .zg-card__head{gap:calc(12px*var(--dz))}
19
+ .zg-card.zg-dm[data-size] .zg-lead__row{gap:calc(10px*var(--dz))}
20
+ .zg-card.zg-dm[data-size] .zg-chips{gap:calc(8px*var(--dz))}
21
+ .zg-pt.zg-dm[data-size]{gap:calc(6px*var(--dz))}
22
+ .zg-pt.zg-dm[data-size] > .zg-pt__i{padding:calc(12px*var(--dz)) calc(6px*var(--dz));gap:calc(4px*var(--dz));border-radius:calc(18px*var(--dz));font-size:calc(12px*var(--dz))}
23
+ .zg-pt.zg-dm[data-size] > .zg-pt__i b{font-size:calc(16px*var(--dz))}
24
+ .zg-rt.zg-dm[data-size]{gap:calc(3px*var(--dz))}
25
+ .zg-rt.zg-dm[data-size] i{height:calc(36px*var(--dz));border-radius:calc(7px*var(--dz))}
26
+ .zg-call.zg-dm[data-size]{grid-template-columns:calc(36px*var(--dz)) minmax(0,1fr) auto;gap:calc(12px*var(--dz));padding:calc(10px*var(--dz)) calc(12px*var(--dz));border-radius:calc(18px*var(--dz))}
27
+ .zg-call.zg-dm[data-size] .zg-hint,.zg-lead.zg-dm[data-size] .zg-hint,.zg-kcard.zg-dm[data-size] .zg-hint,.zg-inc.zg-dm[data-size] .zg-hint{font-size:calc(13px*var(--dz))}
28
+ .zg-lead.zg-dm[data-size] .zg-badge,.zg-kcard.zg-dm[data-size] .zg-badge,.zg-card.zg-dm[data-size] .zg-badge{font-size:calc(12px*var(--dz))}
29
+ .zg-inc.zg-dm[data-size]{gap:calc(14px*var(--dz));padding:calc(14px*var(--dz)) calc(16px*var(--dz));border-radius:calc(28px*var(--dz));max-width:calc(440px*var(--dz))}
30
+ .zg-inc.zg-dm[data-size] .zg-inc__ok{--h:var(--zg-h-md)}.zg-inc.zg-dm[data-size="xs"] .zg-inc__ok{--h:var(--zg-h-xs)}.zg-inc.zg-dm[data-size="sm"] .zg-inc__ok{--h:var(--zg-h-sm)}.zg-inc.zg-dm[data-size="lg"] .zg-inc__ok{--h:var(--zg-h-lg)}.zg-inc.zg-dm[data-size="xl"] .zg-inc__ok{--h:var(--zg-h-xl)}
31
+ .zg-rooms.zg-dm[data-size]{grid-template-columns:repeat(auto-fill,minmax(calc(88px*var(--dz)),1fr));gap:calc(8px*var(--dz))}
32
+ .zg-rooms.zg-dm[data-size] .zg-room{padding:calc(12px*var(--dz));border-radius:calc(18px*var(--dz));font-size:calc(12px*var(--dz))}
33
+ .zg-rooms.zg-dm[data-size] .zg-room b{font-size:calc(16px*var(--dz))}
34
+ .zg-rc.zg-dm[data-size]{grid-template-columns:calc(56px*var(--dz)) repeat(var(--d),minmax(0,1fr));font-size:calc(12px*var(--dz))}
35
+ .zg-rc.zg-dm[data-size] .zg-rc__c{height:calc(28px*var(--dz))}
@@ -0,0 +1,69 @@
1
+ /* size overrides for the feedback group. Only [data-size] selectors, see the size scale at the end of tokens.css */
2
+
3
+ /* Alert / Banner */
4
+ .zg-alert[data-size="xs"]{--a-p:8px 10px;--a-g:8px;--a-i:22px;--a-v:13px;--a-f:12px;--a-t:13px;--a-r:14px}
5
+ .zg-alert[data-size="sm"]{--a-p:10px 12px;--a-g:10px;--a-i:26px;--a-v:15px;--a-f:13px;--a-t:14px;--a-r:16px}
6
+ .zg-alert[data-size="md"]{--a-p:14px 16px;--a-g:12px;--a-i:32px;--a-v:18px;--a-f:14px;--a-t:15px;--a-r:22px}
7
+ .zg-alert[data-size="lg"]{--a-p:18px 20px;--a-g:14px;--a-i:38px;--a-v:22px;--a-f:15px;--a-t:16px;--a-r:24px}
8
+ .zg-alert[data-size="xl"]{--a-p:22px 24px;--a-g:16px;--a-i:44px;--a-v:26px;--a-f:16px;--a-t:18px;--a-r:26px}
9
+ .zg-alert[data-size]{padding:var(--a-p);gap:var(--a-g);border-radius:var(--a-r)}
10
+ .zg-alert[data-size].zg-banner{border-radius:0}
11
+ .zg-alert[data-size] .zg-alert__i{width:var(--a-i);height:var(--a-i)}
12
+ .zg-alert[data-size] .zg-alert__i svg{width:var(--a-v);height:var(--a-v)}
13
+ .zg-alert[data-size] .zg-alert__b{font-size:var(--a-f)}
14
+ .zg-alert[data-size] .zg-alert__b b{font-size:var(--a-t)}
15
+
16
+ /* Toast */
17
+ .zg-toast[data-size="xs"]{--t-p:8px 10px;--t-g:8px;--t-i:22px;--t-v:13px;--t-f:11px;--t-t:12px;--t-w:280px;--t-r:14px}
18
+ .zg-toast[data-size="sm"]{--t-p:10px 12px;--t-g:10px;--t-i:26px;--t-v:15px;--t-f:12px;--t-t:13px;--t-w:330px;--t-r:18px}
19
+ .zg-toast[data-size="md"]{--t-p:14px 16px;--t-g:12px;--t-i:32px;--t-v:18px;--t-f:13px;--t-t:14px;--t-w:380px;--t-r:22px}
20
+ .zg-toast[data-size="lg"]{--t-p:18px 20px;--t-g:14px;--t-i:38px;--t-v:22px;--t-f:14px;--t-t:16px;--t-w:440px;--t-r:24px}
21
+ .zg-toast[data-size="xl"]{--t-p:22px 24px;--t-g:16px;--t-i:44px;--t-v:26px;--t-f:16px;--t-t:18px;--t-w:500px;--t-r:26px}
22
+ .zg-toast[data-size]{padding:var(--t-p);gap:var(--t-g);max-width:var(--t-w);border-radius:var(--t-r)}
23
+ .zg-toast[data-size] .zg-toast__icon{width:var(--t-i);height:var(--t-i)}
24
+ .zg-toast[data-size] .zg-toast__icon svg{width:var(--t-v);height:var(--t-v)}
25
+ .zg-toast[data-size] b{font-size:var(--t-t)}
26
+ .zg-toast[data-size] span:not(.zg-toast__icon){font-size:var(--t-f)}
27
+
28
+ /* Snackbar */
29
+ .zg-snack[data-size="xs"]{--s-h:32px;--s-px:10px;--s-g:10px;--s-f:12px}
30
+ .zg-snack[data-size="sm"]{--s-h:38px;--s-px:12px;--s-g:12px;--s-f:13px}
31
+ .zg-snack[data-size="md"]{--s-h:44px;--s-px:16px;--s-g:14px;--s-f:14px}
32
+ .zg-snack[data-size="lg"]{--s-h:52px;--s-px:20px;--s-g:16px;--s-f:15px}
33
+ .zg-snack[data-size="xl"]{--s-h:60px;--s-px:24px;--s-g:18px;--s-f:16px}
34
+ .zg-snack[data-size]{min-height:var(--s-h);padding:0 var(--s-px);gap:var(--s-g);font-size:var(--s-f)}
35
+
36
+ /* Progress */
37
+ .zg-progress[data-size="xs"]{--p-h:4px;--p-f:11px;--p-g:4px}
38
+ .zg-progress[data-size="sm"]{--p-h:6px;--p-f:12px;--p-g:5px}
39
+ .zg-progress[data-size="md"]{--p-h:8px;--p-f:13px;--p-g:6px}
40
+ .zg-progress[data-size="lg"]{--p-h:12px;--p-f:14px;--p-g:8px}
41
+ .zg-progress[data-size="xl"]{--p-h:16px;--p-f:15px;--p-g:10px}
42
+ .zg-progress[data-size]{gap:var(--p-g)}
43
+ .zg-progress[data-size] .zg-progress__row{font-size:var(--p-f)}
44
+ .zg-progress[data-size] .zg-progress__track{height:var(--p-h)}
45
+
46
+ /* Spinner: size is resolved to font-size in the core, only the stroke is tuned here */
47
+ .zg-spin[data-size="lg"]{border-width:3px}
48
+ .zg-spin[data-size="xl"]{border-width:4px}
49
+
50
+ /* Skeleton */
51
+ .zg-skelw[data-size="xs"]{--k-h:8px;--k-g:5px}
52
+ .zg-skelw[data-size="sm"]{--k-h:11px;--k-g:6px}
53
+ .zg-skelw[data-size="md"]{--k-h:14px;--k-g:8px}
54
+ .zg-skelw[data-size="lg"]{--k-h:18px;--k-g:10px}
55
+ .zg-skelw[data-size="xl"]{--k-h:22px;--k-g:12px}
56
+ .zg-skelw[data-size]{gap:var(--k-g)}
57
+ .zg-skelw[data-size] .zg-skel--text{height:var(--k-h)}
58
+
59
+ /* EmptyState */
60
+ .zg-es[data-size="xs"]{--e-p:16px 12px;--e-i:40px;--e-v:20px;--e-t:14px;--e-f:12px;--e-g:6px;--e-r:14px;--e-m:112px}
61
+ .zg-es[data-size="sm"]{--e-p:24px 14px;--e-i:52px;--e-v:24px;--e-t:16px;--e-f:13px;--e-g:7px;--e-r:18px;--e-m:112px}
62
+ .zg-es[data-size="md"]{--e-p:32px 16px;--e-i:64px;--e-v:28px;--e-t:17px;--e-f:16px;--e-g:8px;--e-r:22px;--e-m:112px}
63
+ .zg-es[data-size="lg"]{--e-p:44px 20px;--e-i:80px;--e-v:34px;--e-t:20px;--e-f:17px;--e-g:10px;--e-r:26px;--e-m:112px}
64
+ .zg-es[data-size="xl"]{--e-p:56px 24px;--e-i:96px;--e-v:40px;--e-t:24px;--e-f:18px;--e-g:12px;--e-r:30px;--e-m:112px}
65
+ .zg-es[data-size]{padding:var(--e-p);gap:var(--e-g);font-size:var(--e-f)}
66
+ .zg-es[data-size] b{font-size:var(--e-t)}
67
+ .zg-es[data-size] .zg-es__ico{width:var(--e-i);height:var(--e-i);border-radius:var(--e-r)}
68
+ .zg-es[data-size] .zg-es__ico svg{width:var(--e-v);height:var(--e-v)}
69
+ .zg-es[data-size] .zg-es__img{width:calc(var(--e-i)*1.75);height:calc(var(--e-i)*1.75)}
@@ -0,0 +1,122 @@
1
+ /* size overrides for the forms group. Only [data-size] selectors, see the size scale at the end of tokens.css */
2
+ [data-size]{
3
+ --zg-fm-h:calc(var(--zg-sz-h) + 8px);
4
+ --zg-fm-fs:calc(var(--zg-sz-fs) + 1px);
5
+ --zg-fm-px:calc(var(--zg-sz-px) + 2px);
6
+ --zg-fm-btn:calc(var(--zg-sz-h) - 8px);
7
+ --zg-fm-box:calc(var(--zg-sz-h) * .55);
8
+ --zg-fm-sw:calc(var(--zg-sz-h) * .65);
9
+ --zg-fm-iu:calc(var(--zg-sz-h) * 4);
10
+ }
11
+
12
+ /* ---- text-like inputs: label, hint, shared .zg-input chrome ---- */
13
+ .zg-field[data-size] .zg-label{font-size:max(12px,calc(var(--zg-sz-fs) - 1px))}
14
+ .zg-field[data-size] .zg-hint{font-size:max(11px,calc(var(--zg-sz-fs) - 2px))}
15
+ .zg-field[data-size] .zg-input{--h:var(--zg-fm-h);gap:var(--zg-sz-gap);padding:0 6px 0 var(--zg-fm-px)}
16
+ .zg-field[data-size] .zg-input input{font-size:var(--zg-fm-fs)}
17
+ .zg-field[data-size] .zg-input.zg-num-in{padding:0 6px}
18
+ .zg-field[data-size] .zg-input.zg-chipin{min-height:var(--zg-fm-h);height:auto;padding:6px calc(var(--zg-sz-px) - 4px)}
19
+ .zg-field[data-size] .zg-chipin .zg-tag{height:calc(var(--zg-sz-h) * .7);font-size:calc(var(--zg-sz-fs) - 1px)}
20
+ .zg-field[data-size] .zg-chipin .zg-tag button{width:calc(var(--zg-sz-h) * .5);height:calc(var(--zg-sz-h) * .5)}
21
+ .zg-field[data-size] .zg-input .zg-ibtn{--h:var(--zg-fm-btn)}
22
+ .zg-field[data-size] .zg-num-in .zg-ibtn{--h:var(--zg-fm-btn)}
23
+ .zg-field[data-size] > div[style*="130px"]{grid-template-columns:calc(var(--zg-sz-h) * 3.25) minmax(0,1fr)!important}
24
+ .zg-field[data-size] .zg-ta{padding:calc(var(--zg-sz-pad) - 2px) var(--zg-fm-px);font-size:var(--zg-fm-fs);border-radius:calc(var(--zg-fm-h) / 2)}
25
+
26
+ /* compact inputs whose root is the .zg-input itself (SearchInput, InlineEdit editing) */
27
+ .zg-input[data-size]{--h:var(--zg-sz-h)!important;gap:var(--zg-sz-gap);padding:0 6px 0 var(--zg-fm-px)}
28
+ .zg-input[data-size] input{font-size:var(--zg-fm-fs)}
29
+ .zg-input[data-size] .zg-ibtn{--h:var(--zg-fm-btn)}
30
+ .zg-inline[data-size]{gap:calc(var(--zg-sz-gap) - 2px);padding:calc(var(--zg-sz-h) * .15) calc(var(--zg-sz-px) - 4px);font-size:var(--zg-fm-fs);border-radius:calc(var(--zg-sz-h) * .35)}
31
+
32
+ /* icons: md keeps the library defaults */
33
+ .zg-field[data-size]:not([data-size="md"]) .zg-input .zg-icon,
34
+ .zg-input[data-size]:not([data-size="md"]) .zg-icon,
35
+ .zg-field[data-size]:not([data-size="md"]) .zg-select__trigger .zg-icon,
36
+ .zg-field[data-size]:not([data-size="md"]) .zg-fdrop > .zg-icon,
37
+ .zg-inline[data-size]:not([data-size="md"]) .zg-icon{width:var(--zg-sz-icon)!important;height:var(--zg-sz-icon)!important}
38
+ .zg-field[data-size]:not([data-size="md"]) .zg-input .zg-ibtn .zg-icon,
39
+ .zg-input[data-size]:not([data-size="md"]) .zg-ibtn .zg-icon,
40
+ .zg-field[data-size]:not([data-size="md"]) .zg-rte__t .zg-icon,
41
+ .zg-field[data-size]:not([data-size="md"]) .zg-chipin .zg-tag .zg-icon{width:calc(var(--zg-sz-icon) - 2px)!important;height:calc(var(--zg-sz-icon) - 2px)!important}
42
+ .zg-field[data-size]:not([data-size="md"]) .zg-fdrop > .zg-icon{width:calc(var(--zg-sz-icon) + 6px)!important;height:calc(var(--zg-sz-icon) + 6px)!important}
43
+
44
+ /* ---- select-likes: trigger and popup rows ---- */
45
+ .zg-field[data-size] .zg-select__trigger{height:var(--zg-fm-h)!important;padding-inline:var(--zg-fm-px);font-size:var(--zg-fm-fs);gap:var(--zg-sz-gap)}
46
+ .zg-field[data-size] .zg-select__opt{height:calc(var(--zg-sz-h));padding:0 calc(var(--zg-sz-px) - 2px);font-size:var(--zg-sz-fs)}
47
+ .zg-field[data-size] .zg-select__opt .zg-check__box{width:calc(var(--zg-sz-h) * .45)!important;height:calc(var(--zg-sz-h) * .45)!important}
48
+ .zg-field[data-size] .zg-select__list .zg-empty{padding:calc(var(--zg-sz-pad) * 2.5) var(--zg-sz-pad);font-size:var(--zg-sz-fs)}
49
+ .zg-field[data-size] .zg-tree__n{min-height:calc(var(--zg-sz-h) - 4px);font-size:var(--zg-sz-fs);gap:calc(var(--zg-sz-gap) - 2px)}
50
+ .zg-field[data-size] .zg-select__list .zg-sidenav__group{font-size:max(11px,calc(var(--zg-sz-fs) - 2px))}
51
+ .zg-dd[data-size]>.zg-btn.zg-btn--tonal.zg-btn--sm{height:var(--zg-fm-btn);font-size:calc(var(--zg-sz-fs) - 1px);padding-inline:calc(var(--zg-sz-px) - 4px);gap:calc(var(--zg-sz-gap) - 2px)}
52
+ .zg-dd[data-size]:not([data-size="md"])>.zg-btn.zg-btn--tonal.zg-btn--sm .zg-icon{width:calc(var(--zg-sz-icon) - 4px)!important;height:calc(var(--zg-sz-icon) - 4px)!important}
53
+
54
+ /* ---- checkbox / radio ---- */
55
+ .zg-check[data-size],.zg-field[data-size] .zg-check{gap:var(--zg-sz-gap);font-size:var(--zg-sz-fs)}
56
+ .zg-check[data-size] .zg-check__box,.zg-field[data-size] .zg-check .zg-check__box{width:var(--zg-fm-box);height:var(--zg-fm-box);border-radius:calc(var(--zg-fm-box) * .32)}
57
+ .zg-check[data-size] .zg-check__box .zg-icon,.zg-field[data-size] .zg-check .zg-check__box .zg-icon{width:calc(var(--zg-fm-box) * .64)!important;height:calc(var(--zg-fm-box) * .64)!important}
58
+ .zg-check[data-size] .zg-radio,.zg-field[data-size] .zg-check .zg-radio{border-radius:50%!important}
59
+ .zg-check[data-size] .zg-radio i,.zg-field[data-size] .zg-check .zg-radio i{width:calc(var(--zg-fm-box) * .45);height:calc(var(--zg-fm-box) * .45)}
60
+ .zg-field[data-size][role="radiogroup"]{gap:var(--zg-sz-gap)!important}
61
+
62
+ /* ---- switch ---- */
63
+ .zg-switch[data-size]{gap:var(--zg-sz-gap);font-size:var(--zg-sz-fs)}
64
+ .zg-switch[data-size] .zg-switch__track{width:calc(var(--zg-fm-sw) * 1.6923);height:var(--zg-fm-sw)}
65
+ .zg-switch[data-size] .zg-switch__thumb{width:calc(var(--zg-fm-sw) - 6px);height:calc(var(--zg-fm-sw) - 6px)}
66
+ .zg-switch[data-size][aria-checked="true"] .zg-switch__thumb{transform:translateX(calc(var(--zg-fm-sw) * .6923))}
67
+ [dir="rtl"] .zg-switch[data-size][aria-checked="true"] .zg-switch__thumb{transform:translateX(calc(var(--zg-fm-sw) * -.6923))}
68
+
69
+ /* ---- option cards ---- */
70
+ .zg-opt[data-size],.zg-field[data-size] .zg-opt{gap:calc(var(--zg-sz-gap) + 2px);padding:calc(var(--zg-sz-pad) - 2px) var(--zg-sz-pad);border-radius:calc(var(--zg-sz-h) * .45)}
71
+ .zg-opt[data-size] > span > b,.zg-field[data-size] .zg-opt > span > b{font-size:var(--zg-fm-fs)!important}
72
+ .zg-opt[data-size] > b,.zg-field[data-size] .zg-opt > b{font-size:calc(var(--zg-sz-fs) + 2px)!important}
73
+ .zg-opt[data-size] .zg-hint,.zg-field[data-size] .zg-opt .zg-hint{font-size:max(11px,calc(var(--zg-sz-fs) - 2px))}
74
+ .zg-opt[data-size] .zg-opt__img,.zg-field[data-size] .zg-opt .zg-opt__img{width:calc(var(--zg-sz-h) * 1.2);height:calc(var(--zg-sz-h) * 1.2)}
75
+ .zg-opt[data-size] .zg-tile,.zg-field[data-size] .zg-opt .zg-tile{--s:var(--zg-sz-h)!important}
76
+ .zg-opt[data-size] .zg-check__box,.zg-field[data-size] .zg-opt .zg-check__box{width:var(--zg-fm-box);height:var(--zg-fm-box)}
77
+ .zg-opt[data-size]:not([data-size="md"]) .zg-tile .zg-icon,.zg-field[data-size]:not([data-size="md"]) .zg-opt .zg-tile .zg-icon{width:calc(var(--zg-sz-icon) + 2px)!important;height:calc(var(--zg-sz-icon) + 2px)!important}
78
+ .zg-opt[data-size] .zg-check__box .zg-icon,.zg-field[data-size] .zg-opt .zg-check__box .zg-icon{width:calc(var(--zg-fm-box) * .55)!important;height:calc(var(--zg-fm-box) * .55)!important}
79
+ .zg-opt[data-size] .zg-radio i,.zg-field[data-size] .zg-opt .zg-radio i{width:calc(var(--zg-fm-box) * .45);height:calc(var(--zg-fm-box) * .45)}
80
+
81
+ /* ---- sliders ---- */
82
+ .zg-field[data-size] .zg-range{height:calc(var(--zg-sz-h) * .2)}
83
+ .zg-field[data-size] .zg-range::-webkit-slider-thumb{width:var(--zg-fm-box);height:var(--zg-fm-box)}
84
+ .zg-field[data-size] .zg-range::-moz-range-thumb{width:var(--zg-fm-box);height:var(--zg-fm-box)}
85
+ .zg-field[data-size] .zg-range2w{height:calc(var(--zg-sz-h) * .7)}
86
+ .zg-field[data-size] .zg-range2w > i{top:calc((var(--zg-sz-h) * .7 - var(--zg-sz-h) * .2) / 2);height:calc(var(--zg-sz-h) * .2)}
87
+ .zg-field[data-size] .zg-range2::-webkit-slider-thumb{width:var(--zg-fm-box);height:var(--zg-fm-box)}
88
+ .zg-field[data-size] .zg-range2::-moz-range-thumb{width:var(--zg-fm-box);height:var(--zg-fm-box)}
89
+ .zg-field[data-size] .zg-mono{font-size:var(--zg-sz-fs)}
90
+
91
+ /* ---- code input ---- */
92
+ .zg-code[data-size]{gap:calc(var(--zg-sz-gap) - 2px)}
93
+ .zg-code[data-size] .zg-code__cell{height:calc(var(--zg-sz-h) * 1.5);border-radius:calc(var(--zg-sz-h) * .45);font-size:calc(var(--zg-sz-h) * .7)}
94
+
95
+ /* ---- color picker, file and image upload ---- */
96
+ .zg-field[data-size] .zg-chips{gap:calc(var(--zg-sz-gap) - 2px)}
97
+ .zg-field[data-size] .zg-swatch{width:calc(var(--zg-sz-h) * .8);height:calc(var(--zg-sz-h) * .8)}
98
+ .zg-field[data-size] .zg-fdrop{padding:calc(var(--zg-sz-pad) * 1.75) var(--zg-sz-pad);gap:calc(var(--zg-sz-gap) - 4px);font-size:var(--zg-sz-fs);border-radius:calc(var(--zg-sz-h) * .6)}
99
+ .zg-field[data-size] .zg-imgup{width:var(--zg-fm-iu,100%)}
100
+ .zg-field[data-size] .zg-imgup__e .zg-hint{font-size:max(10px,calc(var(--zg-sz-fs) - 2px))}
101
+ .zg-field[data-size] .zg-imgup__o{width:calc(var(--zg-sz-h) * .85);height:calc(var(--zg-sz-h) * .85)}
102
+
103
+ /* ---- rich editor ---- */
104
+ .zg-field[data-size] .zg-rte__t .zg-ibtn{--h:var(--zg-fm-btn)}
105
+ .zg-field[data-size] .zg-rte__c{min-height:calc(var(--zg-sz-h) * 3.5);padding:calc(var(--zg-sz-pad) - 2px) calc(var(--zg-sz-pad) + 2px);font-size:var(--zg-fm-fs)}
106
+
107
+ /* ---- calendars (Calendar, RangeCalendar, calendar inside DatePicker) ---- */
108
+ .zg-cal[data-size],.zg-field[data-size] .zg-cal{min-width:calc(var(--zg-sz-h) * 7)}
109
+ .zg-cal[data-size] .zg-cal__d,.zg-field[data-size] .zg-cal .zg-cal__d{height:calc(var(--zg-sz-h) - 4px);font-size:var(--zg-sz-fs)}
110
+ .zg-cal[data-size] .zg-cal__w,.zg-field[data-size] .zg-cal .zg-cal__w{font-size:max(10px,calc(var(--zg-sz-fs) - 3px))}
111
+ .zg-cal[data-size] .zg-cal__h .zg-ibtn,.zg-field[data-size] .zg-cal .zg-cal__h .zg-ibtn{--h:var(--zg-fm-btn)}
112
+ .zg-cal[data-size] .zg-cal__h b,.zg-field[data-size] .zg-cal .zg-cal__h b{font-size:var(--zg-fm-fs)}
113
+ .zg-cal[data-size]:not([data-size="md"]) .zg-cal__h .zg-icon,.zg-field[data-size]:not([data-size="md"]) .zg-cal .zg-cal__h .zg-icon{width:calc(var(--zg-sz-icon) - 2px)!important;height:calc(var(--zg-sz-icon) - 2px)!important}
114
+
115
+ /* ---- stepper (Stepper, StepForm) ---- */
116
+ .zg-stepper[data-size],.zg-field[data-size] .zg-stepper{gap:calc(var(--zg-sz-gap) - 2px)}
117
+ .zg-stepper[data-size] .zg-step,.zg-field[data-size] .zg-stepper .zg-step{gap:calc(var(--zg-sz-gap) - 2px);font-size:calc(var(--zg-sz-fs) - 1px)}
118
+ .zg-stepper[data-size] .zg-step__n,.zg-field[data-size] .zg-stepper .zg-step__n{width:calc(var(--zg-sz-h) * .7);height:calc(var(--zg-sz-h) * .7)}
119
+ .zg-stepper[data-size]:not([data-size="md"]) .zg-step__n .zg-icon,.zg-field[data-size]:not([data-size="md"]) .zg-stepper .zg-step__n .zg-icon{width:calc(var(--zg-sz-icon) - 4px)!important;height:calc(var(--zg-sz-icon) - 4px)!important}
120
+
121
+ /* ---- LoginForm submit (plain element) ---- */
122
+ .zg-field[data-size] .zg-btn--block{--h:var(--zg-fm-h);font-size:var(--zg-fm-fs)}