@inspirare/design-system 0.0.20 → 0.0.22

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 (157) hide show
  1. package/dist/components/ui/accordion.js +44 -0
  2. package/dist/components/ui/alert-dialog.js +61 -0
  3. package/dist/{src/components → components}/ui/alert.js +10 -10
  4. package/dist/components/ui/aspect-ratio.js +6 -0
  5. package/dist/components/ui/avatar.js +29 -0
  6. package/dist/{src/components → components}/ui/badge.js +6 -6
  7. package/dist/components/ui/breadcrumb.js +60 -0
  8. package/dist/components/ui/button-group.js +38 -0
  9. package/dist/{src/components → components}/ui/button.js +6 -6
  10. package/dist/{src/components → components}/ui/calendar.js +16 -16
  11. package/dist/{src/components → components}/ui/carousel.js +29 -29
  12. package/dist/{src/components → components}/ui/checkbox.js +10 -10
  13. package/dist/components/ui/collapsible.js +26 -0
  14. package/dist/{src/components → components}/ui/combobox.js +10 -10
  15. package/dist/{src/components → components}/ui/command.js +17 -17
  16. package/dist/{src/components → components}/ui/context-menu.js +37 -37
  17. package/dist/{src/components → components}/ui/dialog.js +36 -36
  18. package/dist/{src/components → components}/ui/dropdown-menu.js +46 -46
  19. package/dist/{src/components → components}/ui/empty.js +21 -21
  20. package/dist/{src/components → components}/ui/field.js +27 -27
  21. package/dist/components/ui/form.js +77 -0
  22. package/dist/{src/components → components}/ui/hover-card.js +14 -14
  23. package/dist/{src/components → components}/ui/input-group.js +18 -18
  24. package/dist/{src/components → components}/ui/input-otp.js +13 -13
  25. package/dist/components/ui/item.js +116 -0
  26. package/dist/{src/components → components}/ui/label.js +3 -3
  27. package/dist/components/ui/menubar.js +105 -0
  28. package/dist/components/ui/navigation-menu.js +58 -0
  29. package/dist/{src/components → components}/ui/pagination.js +18 -18
  30. package/dist/components/ui/popover.js +36 -0
  31. package/dist/components/ui/progress.js +20 -0
  32. package/dist/{src/components → components}/ui/radio-group.js +14 -14
  33. package/dist/{src/components → components}/ui/resizable.js +7 -7
  34. package/dist/{src/components → components}/ui/select.js +44 -44
  35. package/dist/{src/components → components}/ui/separator.js +3 -3
  36. package/dist/{src/components → components}/ui/sheet.js +35 -35
  37. package/dist/{src/components → components}/ui/sidebar.js +124 -124
  38. package/dist/{src/components → components}/ui/slider.js +20 -20
  39. package/dist/{src/components → components}/ui/spinner.js +3 -3
  40. package/dist/{src/components → components}/ui/switch.js +9 -9
  41. package/dist/{src/components → components}/ui/tabs.js +19 -19
  42. package/dist/{src/components → components}/ui/theme-toggle.js +10 -10
  43. package/dist/components/ui/toggle-group.js +44 -0
  44. package/dist/{src/components → components}/ui/toggle.js +7 -7
  45. package/dist/components/ui/tooltip.js +37 -0
  46. package/dist/index.css +1 -1
  47. package/package.json +1 -1
  48. package/src/index.css +37 -16
  49. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -359
  50. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -328
  51. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1._f1bed12861163fa290e602839f1ebdb9/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -212
  52. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -97
  53. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -106
  54. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.2/node_modules/@radix-ui/number/dist/index.js +0 -6
  55. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.4/node_modules/@radix-ui/primitive/dist/index.js +0 -8
  56. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1_90771884ca9639bf31e5f01b1faf83e4/node_modules/@radix-ui/react-accordion/dist/index.js +0 -195
  57. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialo_0211f1deb04a7e512244dbbc3e4765ed/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -119
  58. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.9_b34b7156178de4198a23e93f83c57da5/node_modules/@radix-ui/react-arrow/dist/index.js +0 -20
  59. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-rati_62430dda2e5090a076c492dea1ecc5d8/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +0 -31
  60. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1._d460f1c45278b86e7424fb8ae25577de/node_modules/@radix-ui/react-avatar/dist/index.js +0 -73
  61. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1._e21be6412c310c083d6755285c4c1ad9/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -158
  62. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible_d381d44d4b8a6d58d9dfaae3a0126ca3/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -97
  63. package/dist/node_modules/.pnpm/@radix-ui_react-collection@_9d7b7379fb7a1e56af9d4a8d107ecba8/node_modules/@radix-ui/react-collection/dist/index.js +0 -62
  64. package/dist/node_modules/.pnpm/@radix-ui_react-compose-ref_1124f78b370d43bfeceaaa9b791be73d/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -25
  65. package/dist/node_modules/.pnpm/@radix-ui_react-context-men_f76d1e5eaec57e990fe72d3c41a037df/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -240
  66. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1_796eddd33de3050019fa09b10c68d7ca/node_modules/@radix-ui/react-context/dist/index.js +0 -80
  67. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1._ef5419b1d5914b6ed85fc377af02cd8c/node_modules/@radix-ui/react-dialog/dist/index.js +0 -225
  68. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1_2157d1ab8e201288009ff536bb11c468/node_modules/@radix-ui/react-direction/dist/index.js +0 -11
  69. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable_1202449cfd75d4d3d4e876187986c0d8/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -108
  70. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-me_9dd0889a66ea847559fd572aaa20379b/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -225
  71. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guard_6b3d65e71789b2986a17d5efdb8859bf/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -22
  72. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope_c97f9e7487f0abcea30d185973e4d237/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -146
  73. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@_8a3f4d1399bacc84c908e03b45229f87/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -161
  74. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.2_@types_react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js +0 -12
  75. package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.9_386dd2eabe41e70ee233c5790da58dd5/node_modules/@radix-ui/react-label/dist/index.js +0 -16
  76. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.17_cc73edd868dbfc82392e3731b66f2e59/node_modules/@radix-ui/react-menu/dist/index.js +0 -563
  77. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1_52e1207bf5981387ca85fb7a6f7b2195/node_modules/@radix-ui/react-menubar/dist/index.js +0 -312
  78. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-_ce246f1abffb4c1bd00bc4d15b1887f5/node_modules/@radix-ui/react-navigation-menu/dist/index.js +0 -553
  79. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1_0f96f9f03b66af70568af721c965c5cd/node_modules/@radix-ui/react-popover/dist/index.js +0 -199
  80. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3._bd7668c1d3a757f9e8c97f0d7e635b5d/node_modules/@radix-ui/react-popper/dist/index.js +0 -203
  81. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1._32b1caf40ac61f8d30d412d28d60b4ca/node_modules/@radix-ui/react-portal/dist/index.js +0 -19
  82. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1._dc6e30df35507eb8a116c12c3da26e18/node_modules/@radix-ui/react-presence/dist/index.js +0 -85
  83. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2_9b6ae4cdaf3918ddbf0b21069e38e2ef/node_modules/@radix-ui/react-primitive/dist/index.js +0 -41
  84. package/dist/node_modules/.pnpm/@radix-ui_react-progress@1._4cd7f31ebaa5416f0f0f54265ec22793/node_modules/@radix-ui/react-progress/dist/index.js +0 -71
  85. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group_385226f717d657e4aea3688d6214f1c0/node_modules/@radix-ui/react-radio-group/dist/index.js +0 -249
  86. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focu_d783d3abe701a7f2fb2c68867b8f1f65/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -154
  87. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.3._b9232b5aa23e604443839e7a081b7527/node_modules/@radix-ui/react-select/dist/index.js +0 -727
  88. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1_f5efb6a4d38fd7cb82808cb6f7a6326a/node_modules/@radix-ui/react-separator/dist/index.js +0 -23
  89. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4._cfb70bb4d45c3eedb16b2d4d4cf80f46/node_modules/@radix-ui/react-slider/dist/index.js +0 -404
  90. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.5_@types_react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +0 -71
  91. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3._d2f9574497ecbe08e0e7c2298fb35dc1/node_modules/@radix-ui/react-switch/dist/index.js +0 -138
  92. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.14_769bbb0130198553b196f258bd99ab92/node_modules/@radix-ui/react-tabs/dist/index.js +0 -120
  93. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-grou_9d4cd233d31c4687b287c174e894620a/node_modules/@radix-ui/react-toggle-group/dist/index.js +0 -125
  94. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1._afb5f705be3deb4ba78b89b6c70d5cf9/node_modules/@radix-ui/react-toggle/dist/index.js +0 -30
  95. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2_02a5bba0cb45f3ddbe548efab47eabcc/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -351
  96. package/dist/node_modules/.pnpm/@radix-ui_react-use-callbac_5106d65c013fadfe178f87486239c7af/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  97. package/dist/node_modules/.pnpm/@radix-ui_react-use-control_e3b0d353471f209a120bf58c8d35c552/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -45
  98. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-_c83bcf92add652965a36806e6d79891c/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  99. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydr_d8b55bd05f5d50f7ea21f52744760552/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -19
  100. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-_ad41f999ca2019252b887df955038ce1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -5
  101. package/dist/node_modules/.pnpm/@radix-ui_react-use-previou_58b78c95af3b98dc4c1bc8bce73c779d/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -11
  102. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1._4b75a7cfb879b922004e7a6caa492077/node_modules/@radix-ui/react-use-size/dist/index.js +0 -29
  103. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hi_fbf0dd0d68bb58b2410fc7a153ed1d9c/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -27
  104. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -46
  105. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +0 -33
  106. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -7
  107. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -70
  108. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -4
  109. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -3
  110. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -27
  111. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -14
  112. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -116
  113. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -52
  114. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -13
  115. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -52
  116. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  117. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  118. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  119. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  120. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
  121. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -28
  122. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -19
  123. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.31_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  124. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.31_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  125. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.31_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -22
  126. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.31_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js +0 -16
  127. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.31_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js +0 -69
  128. package/dist/src/components/ui/accordion.js +0 -44
  129. package/dist/src/components/ui/alert-dialog.js +0 -61
  130. package/dist/src/components/ui/aspect-ratio.js +0 -6
  131. package/dist/src/components/ui/avatar.js +0 -29
  132. package/dist/src/components/ui/breadcrumb.js +0 -60
  133. package/dist/src/components/ui/button-group.js +0 -38
  134. package/dist/src/components/ui/collapsible.js +0 -26
  135. package/dist/src/components/ui/form.js +0 -76
  136. package/dist/src/components/ui/item.js +0 -116
  137. package/dist/src/components/ui/menubar.js +0 -105
  138. package/dist/src/components/ui/navigation-menu.js +0 -58
  139. package/dist/src/components/ui/popover.js +0 -36
  140. package/dist/src/components/ui/progress.js +0 -20
  141. package/dist/src/components/ui/toggle-group.js +0 -44
  142. package/dist/src/components/ui/tooltip.js +0 -37
  143. /package/dist/{src/components → components}/ui/accessibility-improvements.js +0 -0
  144. /package/dist/{src/components → components}/ui/card.js +0 -0
  145. /package/dist/{src/components → components}/ui/chart.js +0 -0
  146. /package/dist/{src/components → components}/ui/color-picker.js +0 -0
  147. /package/dist/{src/components → components}/ui/drawer.js +0 -0
  148. /package/dist/{src/components → components}/ui/input.js +0 -0
  149. /package/dist/{src/components → components}/ui/kbd.js +0 -0
  150. /package/dist/{src/components → components}/ui/scroll-area.js +0 -0
  151. /package/dist/{src/components → components}/ui/skeleton.js +0 -0
  152. /package/dist/{src/components → components}/ui/sonner.js +0 -0
  153. /package/dist/{src/components → components}/ui/table.js +0 -0
  154. /package/dist/{src/components → components}/ui/textarea.js +0 -0
  155. /package/dist/{src/hooks → hooks}/use-mobile.js +0 -0
  156. /package/dist/{src/index.js → index.js} +0 -0
  157. /package/dist/{src/lib → lib}/utils.js +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@inspirare/design-system",
3
3
  "private": false,
4
- "version": "0.0.20",
4
+ "version": "0.0.22",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "*.css"
package/src/index.css CHANGED
@@ -10,7 +10,23 @@
10
10
  @source not "./main.tsx";
11
11
  @source not "./demo";
12
12
 
13
+ html {
14
+ /* Base explícita da escala rem: 1rem = 16px. Todo tamanho de fonte no
15
+ design system deve ser expresso em rem relativo a esta base (escala:
16
+ 0.75/0.875/1/1.125/1.5/2rem = 12/14/16/18/24/32px). */
17
+ font-size: 16px;
18
+ }
19
+
13
20
  :root {
21
+ /* Tokens de tamanho de ícone — grid de 8px, em rem (base 1rem = 16px).
22
+ Use estes valores (ou as classes Tailwind equivalentes h-4/w-4 etc.) em
23
+ vez de tamanhos arbitrários (h-[18px], size={17}) pra manter ritmo
24
+ visual consistente entre ícones lucide-react/@inspirare/design-system. */
25
+ --icon-xs: 1rem; /* 16px — ícones inline em texto pequeno, badges */
26
+ --icon-sm: 1.5rem; /* 24px — padrão em botões e itens de lista */
27
+ --icon-md: 2rem; /* 32px — destaque em cards, headers de seção */
28
+ --icon-lg: 2.5rem; /* 40px — ícones hero/empty state */
29
+
14
30
  --background: #F9F5F2;
15
31
  --foreground: #1e1815;
16
32
  --card: #FDF7F1;
@@ -859,7 +875,7 @@ body {
859
875
 
860
876
  /* Fallback fonts removed. Next.js handles fonts via next/font, and these unresolved absolute URLs cause Webpack/Remotion bundling errors. */
861
877
 
862
- /* Tour Styles - React Joyride */
878
+ /* Tour Styles (@reactour/tour) */
863
879
  [data-tour] {
864
880
  position: relative;
865
881
  z-index: 1;
@@ -871,24 +887,29 @@ body {
871
887
  width: 90vw;
872
888
  }
873
889
 
890
+ /* Tamanhos de fonte do tour na escala rem (base 1rem = 16px):
891
+ 0.75rem=12px · 0.875rem=14px · 1rem=16px · 1.125rem=18px.
892
+ Valores originais de 11/13/17px arredondados pro degrau mais próximo da
893
+ escala (nunca abaixo de 12px, piso de legibilidade). */
894
+
874
895
  /* Mobile Tour Styles (up to 640px) */
875
896
  @media (max-width: 640px) {
876
897
  .inspirare-tour [data-tour-elem="tooltip"] {
877
898
  max-width: 320px;
878
899
  width: 95vw;
879
900
  padding: 16px !important;
880
- font-size: 14px;
901
+ font-size: 0.875rem; /* 14px */
881
902
  margin: 8px;
882
903
  }
883
904
 
884
905
  .inspirare-tour [data-tour-elem="tooltip"] h3 {
885
- font-size: 16px !important;
906
+ font-size: 1rem !important; /* 16px */
886
907
  line-height: 1.4 !important;
887
908
  margin-bottom: 8px !important;
888
909
  }
889
910
 
890
911
  .inspirare-tour [data-tour-elem="tooltip"] p {
891
- font-size: 13px !important;
912
+ font-size: 0.875rem !important; /* 14px (era 13px) */
892
913
  line-height: 1.5 !important;
893
914
  margin-bottom: 6px !important;
894
915
  }
@@ -901,7 +922,7 @@ body {
901
922
 
902
923
  .inspirare-tour [data-tour-elem="tooltip"] .glass p,
903
924
  .inspirare-tour [data-tour-elem="tooltip"] .bg-primary\/5 p {
904
- font-size: 11px !important;
925
+ font-size: 0.75rem !important; /* 12px (era 11px) */
905
926
  line-height: 1.4 !important;
906
927
  margin-bottom: 0 !important;
907
928
  }
@@ -913,7 +934,7 @@ body {
913
934
 
914
935
  .inspirare-tour [data-tour-elem="controls"] button {
915
936
  padding: 8px 12px !important;
916
- font-size: 12px !important;
937
+ font-size: 0.75rem !important; /* 12px */
917
938
  min-width: 60px !important;
918
939
  }
919
940
 
@@ -932,17 +953,17 @@ body {
932
953
  max-width: 380px;
933
954
  width: 85vw;
934
955
  padding: 20px !important;
935
- font-size: 14px;
956
+ font-size: 0.875rem; /* 14px */
936
957
  }
937
958
 
938
959
  .inspirare-tour [data-tour-elem="tooltip"] h3 {
939
- font-size: 17px !important;
960
+ font-size: 1.125rem !important; /* 18px (era 17px) */
940
961
  line-height: 1.4 !important;
941
962
  margin-bottom: 10px !important;
942
963
  }
943
964
 
944
965
  .inspirare-tour [data-tour-elem="tooltip"] p {
945
- font-size: 13px !important;
966
+ font-size: 0.875rem !important; /* 14px (era 13px) */
946
967
  line-height: 1.6 !important;
947
968
  margin-bottom: 8px !important;
948
969
  }
@@ -955,7 +976,7 @@ body {
955
976
 
956
977
  .inspirare-tour [data-tour-elem="tooltip"] .glass p,
957
978
  .inspirare-tour [data-tour-elem="tooltip"] .bg-primary\/5 p {
958
- font-size: 11px !important;
979
+ font-size: 0.75rem !important; /* 12px (era 11px) */
959
980
  line-height: 1.4 !important;
960
981
  margin-bottom: 0 !important;
961
982
  }
@@ -967,7 +988,7 @@ body {
967
988
 
968
989
  .inspirare-tour [data-tour-elem="controls"] button {
969
990
  padding: 10px 16px !important;
970
- font-size: 13px !important;
991
+ font-size: 0.875rem !important; /* 14px (era 13px) */
971
992
  }
972
993
 
973
994
  .inspirare-tour .space-y-4 > * + * {
@@ -985,17 +1006,17 @@ body {
985
1006
  max-width: 420px;
986
1007
  width: auto;
987
1008
  padding: 24px !important;
988
- font-size: 14px;
1009
+ font-size: 0.875rem; /* 14px */
989
1010
  }
990
1011
 
991
1012
  .inspirare-tour [data-tour-elem="tooltip"] h3 {
992
- font-size: 18px !important;
1013
+ font-size: 1.125rem !important; /* 18px */
993
1014
  line-height: 1.4 !important;
994
1015
  margin-bottom: 12px !important;
995
1016
  }
996
1017
 
997
1018
  .inspirare-tour [data-tour-elem="tooltip"] p {
998
- font-size: 14px !important;
1019
+ font-size: 0.875rem !important; /* 14px */
999
1020
  line-height: 1.6 !important;
1000
1021
  margin-bottom: 10px !important;
1001
1022
  }
@@ -1008,7 +1029,7 @@ body {
1008
1029
 
1009
1030
  .inspirare-tour [data-tour-elem="tooltip"] .glass p,
1010
1031
  .inspirare-tour [data-tour-elem="tooltip"] .bg-primary\/5 p {
1011
- font-size: 12px !important;
1032
+ font-size: 0.75rem !important; /* 12px */
1012
1033
  line-height: 1.4 !important;
1013
1034
  margin-bottom: 0 !important;
1014
1035
  }
@@ -1020,7 +1041,7 @@ body {
1020
1041
 
1021
1042
  .inspirare-tour [data-tour-elem="controls"] button {
1022
1043
  padding: 12px 20px !important;
1023
- font-size: 14px !important;
1044
+ font-size: 0.875rem !important; /* 14px */
1024
1045
  }
1025
1046
 
1026
1047
  .inspirare-tour .space-y-4 > * + * {
@@ -1,359 +0,0 @@
1
- import { clamp as e, evaluate as t, getAlignment as n, getAlignmentAxis as r, getAlignmentSides as i, getAxisLength as a, getExpandedPlacements as o, getOppositeAxis as s, getOppositeAxisPlacements as c, getOppositePlacement as l, getPaddingObject as u, getSide as d, getSideAxis as f, max as p, min as m, rectToClientRect as h, sides as g } from "../../../../../@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
2
- //#region node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
3
- function _(e, t, i) {
4
- let { reference: o, floating: s } = e, c = f(t), l = r(t), u = a(l), p = d(t), m = c === "y", h = o.x + o.width / 2 - s.width / 2, g = o.y + o.height / 2 - s.height / 2, _ = o[u] / 2 - s[u] / 2, v;
5
- switch (p) {
6
- case "top":
7
- v = {
8
- x: h,
9
- y: o.y - s.height
10
- };
11
- break;
12
- case "bottom":
13
- v = {
14
- x: h,
15
- y: o.y + o.height
16
- };
17
- break;
18
- case "right":
19
- v = {
20
- x: o.x + o.width,
21
- y: g
22
- };
23
- break;
24
- case "left":
25
- v = {
26
- x: o.x - s.width,
27
- y: g
28
- };
29
- break;
30
- default: v = {
31
- x: o.x,
32
- y: o.y
33
- };
34
- }
35
- switch (n(t)) {
36
- case "start":
37
- v[l] -= _ * (i && m ? -1 : 1);
38
- break;
39
- case "end":
40
- v[l] += _ * (i && m ? -1 : 1);
41
- break;
42
- }
43
- return v;
44
- }
45
- async function v(e, n) {
46
- n === void 0 && (n = {});
47
- let { x: r, y: i, platform: a, rects: o, elements: s, strategy: c } = e, { boundary: l = "clippingAncestors", rootBoundary: d = "viewport", elementContext: f = "floating", altBoundary: p = !1, padding: m = 0 } = t(n, e), g = u(m), _ = s[p ? f === "floating" ? "reference" : "floating" : f], v = h(await a.getClippingRect({
48
- element: await (a.isElement == null ? void 0 : a.isElement(_)) ?? !0 ? _ : _.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(s.floating)),
49
- boundary: l,
50
- rootBoundary: d,
51
- strategy: c
52
- })), y = f === "floating" ? {
53
- x: r,
54
- y: i,
55
- width: o.floating.width,
56
- height: o.floating.height
57
- } : o.reference, b = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(s.floating)), x = await (a.isElement == null ? void 0 : a.isElement(b)) && await (a.getScale == null ? void 0 : a.getScale(b)) || {
58
- x: 1,
59
- y: 1
60
- }, S = h(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
61
- elements: s,
62
- rect: y,
63
- offsetParent: b,
64
- strategy: c
65
- }) : y);
66
- return {
67
- top: (v.top - S.top + g.top) / x.y,
68
- bottom: (S.bottom - v.bottom + g.bottom) / x.y,
69
- left: (v.left - S.left + g.left) / x.x,
70
- right: (S.right - v.right + g.right) / x.x
71
- };
72
- }
73
- var y = 50, b = async (e, t, n) => {
74
- let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
75
- ...o,
76
- detectOverflow: v
77
- }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
78
- reference: e,
79
- floating: t,
80
- strategy: i
81
- }), { x: u, y: d } = _(l, r, c), f = r, p = 0, m = {};
82
- for (let n = 0; n < a.length; n++) {
83
- let h = a[n];
84
- if (!h) continue;
85
- let { name: g, fn: v } = h, { x: b, y: x, data: S, reset: C } = await v({
86
- x: u,
87
- y: d,
88
- initialPlacement: r,
89
- placement: f,
90
- strategy: i,
91
- middlewareData: m,
92
- rects: l,
93
- platform: s,
94
- elements: {
95
- reference: e,
96
- floating: t
97
- }
98
- });
99
- u = b ?? u, d = x ?? d, m[g] = {
100
- ...m[g],
101
- ...S
102
- }, C && p < y && (p++, typeof C == "object" && (C.placement && (f = C.placement), C.rects && (l = C.rects === !0 ? await o.getElementRects({
103
- reference: e,
104
- floating: t,
105
- strategy: i
106
- }) : C.rects), {x: u, y: d} = _(l, f, c)), n = -1);
107
- }
108
- return {
109
- x: u,
110
- y: d,
111
- placement: f,
112
- strategy: i,
113
- middlewareData: m
114
- };
115
- }, x = (i) => ({
116
- name: "arrow",
117
- options: i,
118
- async fn(o) {
119
- let { x: s, y: c, placement: l, rects: d, platform: f, elements: p, middlewareData: h } = o, { element: g, padding: _ = 0 } = t(i, o) || {};
120
- if (g == null) return {};
121
- let v = u(_), y = {
122
- x: s,
123
- y: c
124
- }, b = r(l), x = a(b), S = await f.getDimensions(g), C = b === "y", w = C ? "top" : "left", T = C ? "bottom" : "right", E = C ? "clientHeight" : "clientWidth", D = d.reference[x] + d.reference[b] - y[b] - d.floating[x], O = y[b] - d.reference[b], k = await (f.getOffsetParent == null ? void 0 : f.getOffsetParent(g)), A = k ? k[E] : 0;
125
- (!A || !await (f.isElement == null ? void 0 : f.isElement(k))) && (A = p.floating[E] || d.floating[x]);
126
- let j = D / 2 - O / 2, M = A / 2 - S[x] / 2 - 1, N = m(v[w], M), P = m(v[T], M), F = N, I = A - S[x] - P, L = A / 2 - S[x] / 2 + j, R = e(F, L, I), z = !h.arrow && n(l) != null && L !== R && d.reference[x] / 2 - (L < F ? N : P) - S[x] / 2 < 0, B = z ? L < F ? L - F : L - I : 0;
127
- return {
128
- [b]: y[b] + B,
129
- data: {
130
- [b]: R,
131
- centerOffset: L - R - B,
132
- ...z && { alignmentOffset: B }
133
- },
134
- reset: z
135
- };
136
- }
137
- }), S = function(e) {
138
- return e === void 0 && (e = {}), {
139
- name: "flip",
140
- options: e,
141
- async fn(n) {
142
- var r;
143
- let { placement: a, middlewareData: s, rects: u, initialPlacement: p, platform: m, elements: h } = n, { mainAxis: g = !0, crossAxis: _ = !0, fallbackPlacements: v, fallbackStrategy: y = "bestFit", fallbackAxisSideDirection: b = "none", flipAlignment: x = !0, ...S } = t(e, n);
144
- if ((r = s.arrow) != null && r.alignmentOffset) return {};
145
- let C = d(a), w = f(p), T = d(p) === p, E = await (m.isRTL == null ? void 0 : m.isRTL(h.floating)), D = v || (T || !x ? [l(p)] : o(p)), O = b !== "none";
146
- !v && O && D.push(...c(p, x, b, E));
147
- let k = [p, ...D], A = await m.detectOverflow(n, S), j = [], M = s.flip?.overflows || [];
148
- if (g && j.push(A[C]), _) {
149
- let e = i(a, u, E);
150
- j.push(A[e[0]], A[e[1]]);
151
- }
152
- if (M = [...M, {
153
- placement: a,
154
- overflows: j
155
- }], !j.every((e) => e <= 0)) {
156
- let e = (s.flip?.index || 0) + 1, t = k[e];
157
- if (t && (!(_ === "alignment" && w !== f(t)) || M.every((e) => f(e.placement) === w ? e.overflows[0] > 0 : !0))) return {
158
- data: {
159
- index: e,
160
- overflows: M
161
- },
162
- reset: { placement: t }
163
- };
164
- let n = M.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
165
- if (!n) switch (y) {
166
- case "bestFit": {
167
- let e = M.filter((e) => {
168
- if (O) {
169
- let t = f(e.placement);
170
- return t === w || t === "y";
171
- }
172
- return !0;
173
- }).map((e) => [e.placement, e.overflows.filter((e) => e > 0).reduce((e, t) => e + t, 0)]).sort((e, t) => e[1] - t[1])[0]?.[0];
174
- e && (n = e);
175
- break;
176
- }
177
- case "initialPlacement":
178
- n = p;
179
- break;
180
- }
181
- if (a !== n) return { reset: { placement: n } };
182
- }
183
- return {};
184
- }
185
- };
186
- };
187
- function C(e, t) {
188
- return {
189
- top: e.top - t.height,
190
- right: e.right - t.width,
191
- bottom: e.bottom - t.height,
192
- left: e.left - t.width
193
- };
194
- }
195
- function w(e) {
196
- return g.some((t) => e[t] >= 0);
197
- }
198
- var T = function(e) {
199
- return e === void 0 && (e = {}), {
200
- name: "hide",
201
- options: e,
202
- async fn(n) {
203
- let { rects: r, platform: i } = n, { strategy: a = "referenceHidden", ...o } = t(e, n);
204
- switch (a) {
205
- case "referenceHidden": {
206
- let e = C(await i.detectOverflow(n, {
207
- ...o,
208
- elementContext: "reference"
209
- }), r.reference);
210
- return { data: {
211
- referenceHiddenOffsets: e,
212
- referenceHidden: w(e)
213
- } };
214
- }
215
- case "escaped": {
216
- let e = C(await i.detectOverflow(n, {
217
- ...o,
218
- altBoundary: !0
219
- }), r.floating);
220
- return { data: {
221
- escapedOffsets: e,
222
- escaped: w(e)
223
- } };
224
- }
225
- default: return {};
226
- }
227
- }
228
- };
229
- }, E = /*#__PURE__*/ new Set(["left", "top"]);
230
- async function D(e, r) {
231
- let { placement: i, platform: a, elements: o } = e, s = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), c = d(i), l = n(i), u = f(i) === "y", p = E.has(c) ? -1 : 1, m = s && u ? -1 : 1, h = t(r, e), { mainAxis: g, crossAxis: _, alignmentAxis: v } = typeof h == "number" ? {
232
- mainAxis: h,
233
- crossAxis: 0,
234
- alignmentAxis: null
235
- } : {
236
- mainAxis: h.mainAxis || 0,
237
- crossAxis: h.crossAxis || 0,
238
- alignmentAxis: h.alignmentAxis
239
- };
240
- return l && typeof v == "number" && (_ = l === "end" ? v * -1 : v), u ? {
241
- x: _ * m,
242
- y: g * p
243
- } : {
244
- x: g * p,
245
- y: _ * m
246
- };
247
- }
248
- var O = function(e) {
249
- return e === void 0 && (e = 0), {
250
- name: "offset",
251
- options: e,
252
- async fn(t) {
253
- var n;
254
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await D(t, e);
255
- return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
256
- x: r + s.x,
257
- y: i + s.y,
258
- data: {
259
- ...s,
260
- placement: a
261
- }
262
- };
263
- }
264
- };
265
- }, k = function(n) {
266
- return n === void 0 && (n = {}), {
267
- name: "shift",
268
- options: n,
269
- async fn(r) {
270
- let { x: i, y: a, placement: o, platform: c } = r, { mainAxis: l = !0, crossAxis: u = !1, limiter: p = { fn: (e) => {
271
- let { x: t, y: n } = e;
272
- return {
273
- x: t,
274
- y: n
275
- };
276
- } }, ...m } = t(n, r), h = {
277
- x: i,
278
- y: a
279
- }, g = await c.detectOverflow(r, m), _ = f(d(o)), v = s(_), y = h[v], b = h[_];
280
- if (l) {
281
- let t = v === "y" ? "top" : "left", n = v === "y" ? "bottom" : "right", r = y + g[t], i = y - g[n];
282
- y = e(r, y, i);
283
- }
284
- if (u) {
285
- let t = _ === "y" ? "top" : "left", n = _ === "y" ? "bottom" : "right", r = b + g[t], i = b - g[n];
286
- b = e(r, b, i);
287
- }
288
- let x = p.fn({
289
- ...r,
290
- [v]: y,
291
- [_]: b
292
- });
293
- return {
294
- ...x,
295
- data: {
296
- x: x.x - i,
297
- y: x.y - a,
298
- enabled: {
299
- [v]: l,
300
- [_]: u
301
- }
302
- }
303
- };
304
- }
305
- };
306
- }, A = function(e) {
307
- return e === void 0 && (e = {}), {
308
- options: e,
309
- fn(n) {
310
- let { x: r, y: i, placement: a, rects: o, middlewareData: c } = n, { offset: l = 0, mainAxis: u = !0, crossAxis: p = !0 } = t(e, n), m = {
311
- x: r,
312
- y: i
313
- }, h = f(a), g = s(h), _ = m[g], v = m[h], y = t(l, n), b = typeof y == "number" ? {
314
- mainAxis: y,
315
- crossAxis: 0
316
- } : {
317
- mainAxis: 0,
318
- crossAxis: 0,
319
- ...y
320
- };
321
- if (u) {
322
- let e = g === "y" ? "height" : "width", t = o.reference[g] - o.floating[e] + b.mainAxis, n = o.reference[g] + o.reference[e] - b.mainAxis;
323
- _ < t ? _ = t : _ > n && (_ = n);
324
- }
325
- if (p) {
326
- let e = g === "y" ? "width" : "height", t = E.has(d(a)), n = o.reference[h] - o.floating[e] + (t && c.offset?.[h] || 0) + (t ? 0 : b.crossAxis), r = o.reference[h] + o.reference[e] + (t ? 0 : c.offset?.[h] || 0) - (t ? b.crossAxis : 0);
327
- v < n ? v = n : v > r && (v = r);
328
- }
329
- return {
330
- [g]: _,
331
- [h]: v
332
- };
333
- }
334
- };
335
- }, j = function(e) {
336
- return e === void 0 && (e = {}), {
337
- name: "size",
338
- options: e,
339
- async fn(r) {
340
- var i, a;
341
- let { placement: o, rects: s, platform: c, elements: l } = r, { apply: u = () => {}, ...h } = t(e, r), g = await c.detectOverflow(r, h), _ = d(o), v = n(o), y = f(o) === "y", { width: b, height: x } = s.floating, S, C;
342
- _ === "top" || _ === "bottom" ? (S = _, C = v === (await (c.isRTL == null ? void 0 : c.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (C = _, S = v === "end" ? "top" : "bottom");
343
- let w = x - g.top - g.bottom, T = b - g.left - g.right, E = m(x - g[S], w), D = m(b - g[C], T), O = !r.middlewareData.shift, k = E, A = D;
344
- if ((i = r.middlewareData.shift) != null && i.enabled.x && (A = T), (a = r.middlewareData.shift) != null && a.enabled.y && (k = w), O && !v) {
345
- let e = p(g.left, 0), t = p(g.right, 0), n = p(g.top, 0), r = p(g.bottom, 0);
346
- y ? A = b - 2 * (e !== 0 || t !== 0 ? e + t : p(g.left, g.right)) : k = x - 2 * (n !== 0 || r !== 0 ? n + r : p(g.top, g.bottom));
347
- }
348
- await u({
349
- ...r,
350
- availableWidth: A,
351
- availableHeight: k
352
- });
353
- let j = await c.getDimensions(l.floating);
354
- return b !== j.width || x !== j.height ? { reset: { rects: !0 } } : {};
355
- }
356
- };
357
- };
358
- //#endregion
359
- export { x as arrow, b as computePosition, S as flip, T as hide, A as limitShift, O as offset, k as shift, j as size };