@luxfi/ui 5.5.5 → 5.5.6

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 (65) hide show
  1. package/commerce/ui/context.tsx +13 -16
  2. package/components/access-code-input.tsx +3 -4
  3. package/components/analytics.tsx +8 -17
  4. package/components/auth/login-panel.tsx +7 -6
  5. package/components/auth/login.tsx +1 -1
  6. package/components/auth/widget.tsx +1 -1
  7. package/components/back-button.tsx +4 -7
  8. package/components/chat-widget.tsx +5 -6
  9. package/components/commerce/bag-button.tsx +8 -7
  10. package/components/commerce/buy-button.tsx +2 -3
  11. package/components/commerce/checkout-button.tsx +12 -10
  12. package/components/commerce/checkout-panel/cart-accordian.tsx +3 -4
  13. package/components/commerce/checkout-panel/desktop-cp.tsx +5 -6
  14. package/components/commerce/checkout-panel/index.tsx +1 -1
  15. package/components/commerce/checkout-panel/mobile-cp.tsx +4 -4
  16. package/components/commerce/checkout-panel/policy-links.tsx +7 -12
  17. package/components/commerce/checkout-panel/steps-indicator.tsx +1 -1
  18. package/components/commerce/desktop-bag-popup.tsx +1 -1
  19. package/components/commerce/drawer/micro.tsx +30 -30
  20. package/components/commerce/drawer/shell.tsx +3 -5
  21. package/components/contact-dialog/contact-form.tsx +6 -13
  22. package/components/contact-dialog/index.tsx +2 -2
  23. package/components/copyright.tsx +3 -2
  24. package/components/drawer-margin.tsx +2 -2
  25. package/components/footer.tsx +6 -7
  26. package/components/header/desktop-nav-menu.tsx +6 -6
  27. package/components/header/desktop.tsx +5 -5
  28. package/components/header/index.tsx +1 -1
  29. package/components/header/mobile-bag-drawer.tsx +1 -1
  30. package/components/header/mobile-menu-toggle-button.tsx +5 -6
  31. package/components/header/mobile-nav-menu-ai.tsx +13 -12
  32. package/components/header/mobile-nav-menu-item.tsx +12 -11
  33. package/components/header/mobile-nav-menu.tsx +17 -16
  34. package/components/header/mobile.tsx +7 -8
  35. package/components/icons/social-icon.tsx +1 -1
  36. package/components/logo.tsx +3 -2
  37. package/components/main.tsx +3 -4
  38. package/components/mini-chart/mini-chart.tsx +2 -1
  39. package/next/font/font-desc.ts +18 -0
  40. package/next/font/fonts.ts +40 -0
  41. package/next/font/get-app-router-font-classes.ts +14 -12
  42. package/next/font/load-and-return-lux-next-fonts-on-import.ts +16 -24
  43. package/next/font/local/Zen-Variable.woff2 +0 -0
  44. package/next/font/next-font-desc.ts +18 -17
  45. package/next/head-metadata/index.tsx +7 -6
  46. package/next/head-metadata/next-metadata.ts +49 -0
  47. package/package.json +9 -10
  48. package/root-layout/index.tsx +39 -19
  49. package/style/fonts/Zen-Variable.woff2 +0 -0
  50. package/style/lux-colors.css +0 -1
  51. package/style/lux-fonts.css +5 -11
  52. package/style/lux-global-non-next.css +9 -9
  53. package/style/lux-global.css +56 -21
  54. package/tsconfig.json +8 -0
  55. package/next/font/local/Druk-Wide-Bold.ttf +0 -0
  56. package/next/font/local/Druk-Wide-Medium.ttf +0 -0
  57. package/next/head-metadata/from-next/metadata-types.ts +0 -158
  58. package/next/head-metadata/from-next/opengraph-types.ts +0 -267
  59. package/next/head-metadata/from-next/twitter-types.ts +0 -92
  60. package/style/fonts/Druk-Wide-Bold.ttf +0 -0
  61. package/style/fonts/Druk-Wide-Medium.ttf +0 -0
  62. package/tailwind/fontFamily.tailwind.lux.ts +0 -18
  63. package/tailwind/index.ts +0 -2
  64. package/tailwind/lux-tw-fonts.ts +0 -40
  65. package/tailwind/tailwind.config.lux-preset.ts +0 -10
@@ -1,40 +0,0 @@
1
- import type { TwFontDesc } from '@hanzo/ui/tailwind'
2
-
3
-
4
- /* NOTE: /next/load-and-return....ts depends on this file! */
5
-
6
- export default [
7
- {
8
- fontFamily: ['var(--font-inter)'], // do not provide fall-backs due to next bug
9
- cssVar: '--font-inter',
10
- twName: 'sans'
11
- },
12
- {
13
- fontFamily: ['var(--font-druk-text-wide)'], // do not provide fall-backs due to next bug
14
- cssVar: '--font-druk-text-wide',
15
- twName: 'nav'
16
- },
17
- {
18
- fontFamily: ['var(--font-druk-wide)'], // do not provide fall-backs due to next bug
19
- cssVar: '--font-druk-wide',
20
- twName: 'heading'
21
- },
22
- {
23
- twName: 'serif',
24
- fontFamily: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times']
25
- },
26
- {
27
- twName: 'mono',
28
- fontFamily: [
29
- 'ui-monospace',
30
- 'SFMono-Regular',
31
- 'Menlo',
32
- 'Monaco',
33
- 'Consolas',
34
- '"Liberation Mono"',
35
- '"Courier New"',
36
- 'monospace',
37
- ]
38
- }
39
-
40
- ] as TwFontDesc[]
@@ -1,10 +0,0 @@
1
- import type { Config } from 'tailwindcss'
2
- import { preset } from '@hanzo/ui/tailwind'
3
- import { fontFamily } from './fontFamily.tailwind.lux'
4
-
5
- export default {
6
- presets: [preset],
7
- content: [],
8
- theme: { fontFamily }
9
- } satisfies Config
10
-