@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.
- package/commerce/ui/context.tsx +13 -16
- package/components/access-code-input.tsx +3 -4
- package/components/analytics.tsx +8 -17
- package/components/auth/login-panel.tsx +7 -6
- package/components/auth/login.tsx +1 -1
- package/components/auth/widget.tsx +1 -1
- package/components/back-button.tsx +4 -7
- package/components/chat-widget.tsx +5 -6
- package/components/commerce/bag-button.tsx +8 -7
- package/components/commerce/buy-button.tsx +2 -3
- package/components/commerce/checkout-button.tsx +12 -10
- package/components/commerce/checkout-panel/cart-accordian.tsx +3 -4
- package/components/commerce/checkout-panel/desktop-cp.tsx +5 -6
- package/components/commerce/checkout-panel/index.tsx +1 -1
- package/components/commerce/checkout-panel/mobile-cp.tsx +4 -4
- package/components/commerce/checkout-panel/policy-links.tsx +7 -12
- package/components/commerce/checkout-panel/steps-indicator.tsx +1 -1
- package/components/commerce/desktop-bag-popup.tsx +1 -1
- package/components/commerce/drawer/micro.tsx +30 -30
- package/components/commerce/drawer/shell.tsx +3 -5
- package/components/contact-dialog/contact-form.tsx +6 -13
- package/components/contact-dialog/index.tsx +2 -2
- package/components/copyright.tsx +3 -2
- package/components/drawer-margin.tsx +2 -2
- package/components/footer.tsx +6 -7
- package/components/header/desktop-nav-menu.tsx +6 -6
- package/components/header/desktop.tsx +5 -5
- package/components/header/index.tsx +1 -1
- package/components/header/mobile-bag-drawer.tsx +1 -1
- package/components/header/mobile-menu-toggle-button.tsx +5 -6
- package/components/header/mobile-nav-menu-ai.tsx +13 -12
- package/components/header/mobile-nav-menu-item.tsx +12 -11
- package/components/header/mobile-nav-menu.tsx +17 -16
- package/components/header/mobile.tsx +7 -8
- package/components/icons/social-icon.tsx +1 -1
- package/components/logo.tsx +3 -2
- package/components/main.tsx +3 -4
- package/components/mini-chart/mini-chart.tsx +2 -1
- package/next/font/font-desc.ts +18 -0
- package/next/font/fonts.ts +40 -0
- package/next/font/get-app-router-font-classes.ts +14 -12
- package/next/font/load-and-return-lux-next-fonts-on-import.ts +16 -24
- package/next/font/local/Zen-Variable.woff2 +0 -0
- package/next/font/next-font-desc.ts +18 -17
- package/next/head-metadata/index.tsx +7 -6
- package/next/head-metadata/next-metadata.ts +49 -0
- package/package.json +9 -10
- package/root-layout/index.tsx +39 -19
- package/style/fonts/Zen-Variable.woff2 +0 -0
- package/style/lux-colors.css +0 -1
- package/style/lux-fonts.css +5 -11
- package/style/lux-global-non-next.css +9 -9
- package/style/lux-global.css +56 -21
- package/tsconfig.json +8 -0
- package/next/font/local/Druk-Wide-Bold.ttf +0 -0
- package/next/font/local/Druk-Wide-Medium.ttf +0 -0
- package/next/head-metadata/from-next/metadata-types.ts +0 -158
- package/next/head-metadata/from-next/opengraph-types.ts +0 -267
- package/next/head-metadata/from-next/twitter-types.ts +0 -92
- package/style/fonts/Druk-Wide-Bold.ttf +0 -0
- package/style/fonts/Druk-Wide-Medium.ttf +0 -0
- package/tailwind/fontFamily.tailwind.lux.ts +0 -18
- package/tailwind/index.ts +0 -2
- package/tailwind/lux-tw-fonts.ts +0 -40
- package/tailwind/tailwind.config.lux-preset.ts +0 -10
package/tailwind/lux-tw-fonts.ts
DELETED
|
@@ -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[]
|