@luxfi/core 4.4.14 → 4.4.16
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/components/access-code-input.tsx +71 -71
- package/components/auth/auth-listener.tsx +29 -29
- package/components/auth/auth-token/clear-auth-token.tsx +12 -12
- package/components/auth/auth-token/set-auth-token.tsx +16 -16
- package/components/auth/common-auth-domains.ts +16 -16
- package/components/auth/login-panel.tsx +103 -98
- package/components/chat-widget.tsx +77 -77
- package/components/commerce/bag-button.tsx +67 -67
- package/components/commerce/checkout-panel/close-button.tsx +26 -26
- package/components/commerce/checkout-panel/dt-bag-carousel.tsx +36 -36
- package/components/commerce/checkout-panel/dt-checkout-panel.tsx +66 -66
- package/components/commerce/checkout-panel/index.tsx +123 -123
- package/components/commerce/checkout-panel/links-row.tsx +21 -21
- package/components/commerce/checkout-panel/mb-checkout-panel.tsx +55 -55
- package/components/commerce/checkout-panel/steps-indicator.tsx +39 -39
- package/components/commerce/checkout-panel/thank-you.tsx +18 -18
- package/components/commerce/desktop-bag-popup.tsx +78 -78
- package/components/commerce/mobile-bag-drawer.tsx +51 -51
- package/components/commerce/mobile-menu-toggle-button.tsx +35 -35
- package/components/commerce/mobile-nav-menu.tsx +64 -64
- package/components/contact-dialog/contact-form.tsx +112 -112
- package/components/contact-dialog/disclaimer.tsx +13 -13
- package/components/contact-dialog/index.tsx +64 -64
- package/components/copyright.tsx +21 -21
- package/components/footer.tsx +77 -77
- package/components/header/desktop.tsx +54 -54
- package/components/header/index.tsx +26 -26
- package/components/header/mobile.tsx +161 -161
- package/components/header/theme-toggle.tsx +26 -26
- package/components/icons/bag-icon.tsx +10 -10
- package/components/icons/github.tsx +14 -14
- package/components/icons/index.tsx +35 -35
- package/components/icons/lux-logo.tsx +10 -10
- package/components/icons/secure-delivery.tsx +13 -13
- package/components/icons/social-icon.tsx +35 -35
- package/components/icons/social-svg.css +3 -3
- package/components/icons/youtube-logo.tsx +59 -59
- package/components/index.ts +27 -27
- package/components/logo.tsx +81 -81
- package/components/mini-chart/index.tsx +7 -7
- package/components/mini-chart/mini-chart-props.ts +43 -43
- package/components/mini-chart/mini-chart.tsx +85 -85
- package/components/mini-chart/wrapper.tsx +23 -23
- package/components/not-found/index.tsx +27 -27
- package/components/not-found/not-found-content.mdx +5 -5
- package/components/root-layout.tsx +71 -71
- package/components/scripts.tsx +23 -23
- package/conf/index.ts +50 -50
- package/environment.d.ts +5 -5
- package/next/analytics/fpixel.ts +15 -15
- package/next/analytics/google-analytics.ts +13 -13
- package/next/analytics/index.ts +3 -3
- package/next/analytics/pixel-analytics.tsx +54 -54
- package/next/determine-device-mw.ts +16 -16
- package/next/font/get-app-router-font-classes.ts +12 -12
- package/next/font/load-and-return-lux-next-fonts-on-import.ts +68 -68
- package/next/font/next-font-desc.ts +27 -27
- package/next/font/pages-router-font-vars.tsx +18 -18
- package/next/head-metadata/from-next/metadata-types.ts +158 -158
- package/next/head-metadata/from-next/opengraph-types.ts +267 -267
- package/next/head-metadata/from-next/twitter-types.ts +92 -92
- package/next/head-metadata/index.tsx +208 -208
- package/package.json +73 -73
- package/server-actions/firebase-app.ts +14 -14
- package/server-actions/index.ts +5 -5
- package/server-actions/store-contact.ts +51 -51
- package/site-def/footer/community.tsx +67 -67
- package/site-def/footer/company.ts +37 -37
- package/site-def/footer/ecosystem.ts +37 -37
- package/site-def/footer/index.tsx +26 -26
- package/site-def/footer/legal.ts +28 -28
- package/site-def/footer/network.ts +45 -45
- package/site-def/footer/svg/warpcast-logo.svg +11 -11
- package/site-def/index.ts +2 -2
- package/site-def/main-nav.ts +35 -35
- package/site-def/site-def.ts +36 -36
- package/style/lux-colors.css +85 -85
- package/style/lux-global.css +30 -30
- package/tailwind/fontFamily.tailwind.lux.ts +18 -18
- package/tailwind/index.ts +2 -2
- package/tailwind/lux-tw-fonts.ts +39 -39
- package/tailwind/tailwind.config.lux-preset.ts +10 -10
- package/tsconfig.json +10 -10
- package/types/contact-info.ts +10 -10
package/tailwind/lux-tw-fonts.ts
CHANGED
@@ -1,40 +1,40 @@
|
|
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
|
-
|
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
40
|
] as TwFontDesc[]
|
@@ -1,10 +1,10 @@
|
|
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
|
-
|
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
|
+
|
package/tsconfig.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
{
|
2
|
-
"extends": "../tsconfig.hanzo-modules.base.json",
|
3
|
-
"include": [
|
4
|
-
"**/*.ts",
|
5
|
-
"**/*.tsx",
|
6
|
-
],
|
7
|
-
"exclude": [
|
8
|
-
"node_modules",
|
9
|
-
],
|
10
|
-
}
|
1
|
+
{
|
2
|
+
"extends": "../tsconfig.hanzo-modules.base.json",
|
3
|
+
"include": [
|
4
|
+
"**/*.ts",
|
5
|
+
"**/*.tsx",
|
6
|
+
],
|
7
|
+
"exclude": [
|
8
|
+
"node_modules",
|
9
|
+
],
|
10
|
+
}
|
package/types/contact-info.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
interface ContactInfo {
|
2
|
-
email: string
|
3
|
-
phone?: string
|
4
|
-
}
|
5
|
-
|
6
|
-
type ContactInfoFields = keyof ContactInfo
|
7
|
-
|
8
|
-
export {
|
9
|
-
type ContactInfo,
|
10
|
-
type ContactInfoFields
|
1
|
+
interface ContactInfo {
|
2
|
+
email: string
|
3
|
+
phone?: string
|
4
|
+
}
|
5
|
+
|
6
|
+
type ContactInfoFields = keyof ContactInfo
|
7
|
+
|
8
|
+
export {
|
9
|
+
type ContactInfo,
|
10
|
+
type ContactInfoFields
|
11
11
|
}
|