@tryghost/shade 0.1.0-alpha.29 → 0.1.0-alpha.30
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/es/components/patterns/setting-group.js +1 -1
- package/es/components/patterns/setting-group.js.map +1 -1
- package/es/components/ui/tabs-variants.js +1 -1
- package/es/components/ui/tabs-variants.js.map +1 -1
- package/es/components/ui/tabs.js +70 -10
- package/es/components/ui/tabs.js.map +1 -1
- package/es/tokens.js +3 -0
- package/es/tokens.js.map +1 -1
- package/package.json +1 -1
- package/styles.css +14 -1
- package/tailwind.theme.css +3 -0
- package/theme-variables.css +3 -3
- package/types/components/ui/tabs.d.ts.map +1 -1
- package/types/tokens.d.ts +1 -1
- package/types/tokens.d.ts.map +1 -1
|
@@ -38,7 +38,7 @@ SettingGroupDetails.displayName = "SettingGroupDetails";
|
|
|
38
38
|
var SettingGroupTitle = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Text, {
|
|
39
39
|
ref,
|
|
40
40
|
as: "h5",
|
|
41
|
-
className: cn("section-heading md:text-lg", className),
|
|
41
|
+
className: cn("section-heading settings-heading md:text-lg", className),
|
|
42
42
|
leading: "supertight",
|
|
43
43
|
weight: "semibold",
|
|
44
44
|
...props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-group.js","names":[],"sources":["../../../src/components/patterns/setting-group.tsx"],"sourcesContent":["import * as React from 'react';\nimport { type VariantProps } from 'class-variance-authority';\n\nimport { settingGroupVariants } from '@/components/patterns/setting-group-variants';\nimport { Grid } from '@/components/primitives/grid';\nimport { Inline } from '@/components/primitives/inline';\nimport { Stack } from '@/components/primitives/stack';\nimport { Text } from '@/components/primitives/text';\nimport { cn } from '@/lib/utils';\n\ninterface SettingGroupProps\n extends React.ComponentPropsWithoutRef<'div'>, VariantProps<typeof settingGroupVariants> {\n editing?: boolean;\n}\n\nconst SettingGroup = React.forwardRef<HTMLDivElement, SettingGroupProps>(\n ({ className, variant, highlighted, editing = false, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(settingGroupVariants({ variant, highlighted, className }))}\n data-editing={editing}\n {...props}\n />\n ),\n);\nSettingGroup.displayName = 'SettingGroup';\n\nconst SettingGroupHeader = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Inline>\n>(({ className, ...props }, ref) => (\n <Inline\n ref={ref}\n align=\"start\"\n as=\"div\"\n className={cn('relative z-10 w-full', className)}\n gap=\"lg\"\n justify=\"between\"\n {...props}\n />\n));\nSettingGroupHeader.displayName = 'SettingGroupHeader';\n\nconst SettingGroupDetails = React.forwardRef<\n HTMLDivElement,\n React.ComponentPropsWithoutRef<typeof Stack>\n>(({ className, ...props }, ref) => (\n <Stack ref={ref} className={cn('min-w-0', className)} gap=\"xs\" {...props} />\n));\nSettingGroupDetails.displayName = 'SettingGroupDetails';\n\nconst SettingGroupTitle = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Text>\n>(({ className, ...props }, ref) => (\n <Text\n ref={ref}\n as=\"h5\"\n className={cn('section-heading md:text-lg', className)}\n leading=\"supertight\"\n weight=\"semibold\"\n {...props}\n />\n));\nSettingGroupTitle.displayName = 'SettingGroupTitle';\n\nconst SettingGroupDescription = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Text>\n>(({ className, ...props }, ref) => (\n <Text\n ref={ref}\n className={cn(\n 'mr-5 hidden text-pretty group-data-[editing=false]/setting-group:block in-data-[admin7-design=true]:text-muted-foreground md:block',\n className,\n )}\n {...props}\n />\n));\nSettingGroupDescription.displayName = 'SettingGroupDescription';\n\nconst SettingGroupActions = React.forwardRef<HTMLDivElement, React.ComponentPropsWithoutRef<'div'>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('shrink-0 [&_button]:text-control!', className)} {...props} />\n ),\n);\nSettingGroupActions.displayName = 'SettingGroupActions';\n\ninterface SettingGroupContentProps extends React.ComponentPropsWithoutRef<'div'> {\n columns?: 1 | 2;\n}\n\nconst SettingGroupContent = React.forwardRef<HTMLDivElement, SettingGroupContentProps>(\n ({ children, className, columns = 1, ...props }, ref) => {\n if (columns === 2) {\n return (\n <Grid\n ref={ref}\n className={cn('grid-cols-1 gap-x-8 gap-y-6 md:grid-cols-2', className)}\n columns={1}\n gap=\"none\"\n {...props}\n >\n {children}\n </Grid>\n );\n }\n\n return (\n <Stack ref={ref} className={cn('gap-y-7', className)} gap=\"none\" {...props}>\n {children}\n </Stack>\n );\n },\n);\nSettingGroupContent.displayName = 'SettingGroupContent';\n\nconst SettingGroupValue = React.forwardRef<\n HTMLDivElement,\n React.ComponentPropsWithoutRef<typeof Stack>\n>(({ className, ...props }, ref) => (\n <Stack ref={ref} className={className} gap=\"none\" {...props} />\n));\nSettingGroupValue.displayName = 'SettingGroupValue';\n\nconst SettingGroupValueTitle = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Text>\n>(({ className, ...props }, ref) => (\n <Text ref={ref} as=\"h6\" className={cn('text-base', className)} weight=\"semibold\" {...props} />\n));\nSettingGroupValueTitle.displayName = 'SettingGroupValueTitle';\n\nconst SettingGroupValueContent = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Inline>\n>(({ className, ...props }, ref) => (\n <Inline ref={ref} as=\"div\" className={className} gap=\"none\" {...props} />\n));\nSettingGroupValueContent.displayName = 'SettingGroupValueContent';\n\nexport {\n SettingGroup,\n SettingGroupActions,\n SettingGroupContent,\n SettingGroupDescription,\n SettingGroupDetails,\n SettingGroupHeader,\n SettingGroupTitle,\n SettingGroupValue,\n SettingGroupValueContent,\n SettingGroupValueTitle,\n};\nexport type { SettingGroupContentProps, SettingGroupProps };\n"],"mappings":";;;;;;;;;AAeA,IAAM,eAAe,QAAM,YACxB,EAAE,WAAW,SAAS,aAAa,UAAU,OAAO,GAAG,SAAS,QAC/D,oBAAC,OAAD;CACO;CACL,WAAW,GAAG,qBAAqB;EAAE;EAAS;EAAa;CAAU,CAAC,CAAC;CACvE,gBAAc;CACd,GAAI;AACL,CAAA,CAEL;AACA,aAAa,cAAc;AAE3B,IAAM,qBAAqB,QAAM,YAG9B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,QAAD;CACO;CACL,OAAM;CACN,IAAG;CACH,WAAW,GAAG,wBAAwB,SAAS;CAC/C,KAAI;CACJ,SAAQ;CACR,GAAI;AACL,CAAA,CACF;AACD,mBAAmB,cAAc;AAEjC,IAAM,sBAAsB,QAAM,YAG/B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,OAAD;CAAY;CAAK,WAAW,GAAG,WAAW,SAAS;CAAG,KAAI;CAAK,GAAI;AAAQ,CAAA,CAC5E;AACD,oBAAoB,cAAc;AAElC,IAAM,oBAAoB,QAAM,YAG7B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,MAAD;CACO;CACL,IAAG;CACH,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"setting-group.js","names":[],"sources":["../../../src/components/patterns/setting-group.tsx"],"sourcesContent":["import * as React from 'react';\nimport { type VariantProps } from 'class-variance-authority';\n\nimport { settingGroupVariants } from '@/components/patterns/setting-group-variants';\nimport { Grid } from '@/components/primitives/grid';\nimport { Inline } from '@/components/primitives/inline';\nimport { Stack } from '@/components/primitives/stack';\nimport { Text } from '@/components/primitives/text';\nimport { cn } from '@/lib/utils';\n\ninterface SettingGroupProps\n extends React.ComponentPropsWithoutRef<'div'>, VariantProps<typeof settingGroupVariants> {\n editing?: boolean;\n}\n\nconst SettingGroup = React.forwardRef<HTMLDivElement, SettingGroupProps>(\n ({ className, variant, highlighted, editing = false, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(settingGroupVariants({ variant, highlighted, className }))}\n data-editing={editing}\n {...props}\n />\n ),\n);\nSettingGroup.displayName = 'SettingGroup';\n\nconst SettingGroupHeader = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Inline>\n>(({ className, ...props }, ref) => (\n <Inline\n ref={ref}\n align=\"start\"\n as=\"div\"\n className={cn('relative z-10 w-full', className)}\n gap=\"lg\"\n justify=\"between\"\n {...props}\n />\n));\nSettingGroupHeader.displayName = 'SettingGroupHeader';\n\nconst SettingGroupDetails = React.forwardRef<\n HTMLDivElement,\n React.ComponentPropsWithoutRef<typeof Stack>\n>(({ className, ...props }, ref) => (\n <Stack ref={ref} className={cn('min-w-0', className)} gap=\"xs\" {...props} />\n));\nSettingGroupDetails.displayName = 'SettingGroupDetails';\n\nconst SettingGroupTitle = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Text>\n>(({ className, ...props }, ref) => (\n <Text\n ref={ref}\n as=\"h5\"\n className={cn('section-heading settings-heading md:text-lg', className)}\n leading=\"supertight\"\n weight=\"semibold\"\n {...props}\n />\n));\nSettingGroupTitle.displayName = 'SettingGroupTitle';\n\nconst SettingGroupDescription = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Text>\n>(({ className, ...props }, ref) => (\n <Text\n ref={ref}\n className={cn(\n 'mr-5 hidden text-pretty group-data-[editing=false]/setting-group:block in-data-[admin7-design=true]:text-muted-foreground md:block',\n className,\n )}\n {...props}\n />\n));\nSettingGroupDescription.displayName = 'SettingGroupDescription';\n\nconst SettingGroupActions = React.forwardRef<HTMLDivElement, React.ComponentPropsWithoutRef<'div'>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('shrink-0 [&_button]:text-control!', className)} {...props} />\n ),\n);\nSettingGroupActions.displayName = 'SettingGroupActions';\n\ninterface SettingGroupContentProps extends React.ComponentPropsWithoutRef<'div'> {\n columns?: 1 | 2;\n}\n\nconst SettingGroupContent = React.forwardRef<HTMLDivElement, SettingGroupContentProps>(\n ({ children, className, columns = 1, ...props }, ref) => {\n if (columns === 2) {\n return (\n <Grid\n ref={ref}\n className={cn('grid-cols-1 gap-x-8 gap-y-6 md:grid-cols-2', className)}\n columns={1}\n gap=\"none\"\n {...props}\n >\n {children}\n </Grid>\n );\n }\n\n return (\n <Stack ref={ref} className={cn('gap-y-7', className)} gap=\"none\" {...props}>\n {children}\n </Stack>\n );\n },\n);\nSettingGroupContent.displayName = 'SettingGroupContent';\n\nconst SettingGroupValue = React.forwardRef<\n HTMLDivElement,\n React.ComponentPropsWithoutRef<typeof Stack>\n>(({ className, ...props }, ref) => (\n <Stack ref={ref} className={className} gap=\"none\" {...props} />\n));\nSettingGroupValue.displayName = 'SettingGroupValue';\n\nconst SettingGroupValueTitle = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Text>\n>(({ className, ...props }, ref) => (\n <Text ref={ref} as=\"h6\" className={cn('text-base', className)} weight=\"semibold\" {...props} />\n));\nSettingGroupValueTitle.displayName = 'SettingGroupValueTitle';\n\nconst SettingGroupValueContent = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<typeof Inline>\n>(({ className, ...props }, ref) => (\n <Inline ref={ref} as=\"div\" className={className} gap=\"none\" {...props} />\n));\nSettingGroupValueContent.displayName = 'SettingGroupValueContent';\n\nexport {\n SettingGroup,\n SettingGroupActions,\n SettingGroupContent,\n SettingGroupDescription,\n SettingGroupDetails,\n SettingGroupHeader,\n SettingGroupTitle,\n SettingGroupValue,\n SettingGroupValueContent,\n SettingGroupValueTitle,\n};\nexport type { SettingGroupContentProps, SettingGroupProps };\n"],"mappings":";;;;;;;;;AAeA,IAAM,eAAe,QAAM,YACxB,EAAE,WAAW,SAAS,aAAa,UAAU,OAAO,GAAG,SAAS,QAC/D,oBAAC,OAAD;CACO;CACL,WAAW,GAAG,qBAAqB;EAAE;EAAS;EAAa;CAAU,CAAC,CAAC;CACvE,gBAAc;CACd,GAAI;AACL,CAAA,CAEL;AACA,aAAa,cAAc;AAE3B,IAAM,qBAAqB,QAAM,YAG9B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,QAAD;CACO;CACL,OAAM;CACN,IAAG;CACH,WAAW,GAAG,wBAAwB,SAAS;CAC/C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CAAA,CAC/D;AACD,kBAAkB,cAAc;AAEhC,IAAM,yBAAyB,QAAM,YAGlC,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,MAAD;CAAW;CAAK,IAAG;CAAK,WAAW,GAAG,aAAa,SAAS;CAAG,QAAO;CAAW,GAAI;AAAQ,CAAA,CAC9F;AACD,uBAAuB,cAAc;AAErC,IAAM,2BAA2B,QAAM,YAGpC,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,QAAD;CAAa;CAAK,IAAG;CAAiB;CAAW,KAAI;CAAO,GAAI;AAAQ,CAAA,CACzE;AACD,yBAAyB,cAAc"}
|
|
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
|
|
|
3
3
|
var tabSurfaceVariants = cva("", {
|
|
4
4
|
variants: {
|
|
5
5
|
admin7Design: {
|
|
6
|
-
true: "rounded-full bg-
|
|
6
|
+
true: "rounded-full border border-border bg-transparent text-foreground hover:bg-tab-hover hover:text-foreground enabled:active:bg-button-ghost-hover enabled:aria-expanded:bg-button-ghost-hover enabled:aria-expanded:text-foreground data-[state=active]:border-transparent data-[state=active]:bg-tab-inactive data-[state=active]:text-foreground data-[state=active]:hover:bg-tab-inactive data-[state=active]:hover:text-foreground data-[state=active]:enabled:active:bg-button-ghost-hover data-[state=active]:enabled:aria-expanded:bg-button-ghost-hover data-[state=active]:enabled:aria-expanded:text-foreground",
|
|
7
7
|
false: ""
|
|
8
8
|
},
|
|
9
9
|
size: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-variants.js","names":[],"sources":["../../../src/components/ui/tabs-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\n// Shared by
|
|
1
|
+
{"version":3,"file":"tabs-variants.js","names":[],"sources":["../../../src/components/ui/tabs-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\n// Shared by button tabs, including Settings previews, and PageMenu navigation.\nconst tabSurfaceVariants = cva('', {\n variants: {\n admin7Design: {\n true: 'rounded-full border border-border bg-transparent text-foreground hover:bg-tab-hover hover:text-foreground enabled:active:bg-button-ghost-hover enabled:aria-expanded:bg-button-ghost-hover enabled:aria-expanded:text-foreground data-[state=active]:border-transparent data-[state=active]:bg-tab-inactive data-[state=active]:text-foreground data-[state=active]:hover:bg-tab-inactive data-[state=active]:hover:text-foreground data-[state=active]:enabled:active:bg-button-ghost-hover data-[state=active]:enabled:aria-expanded:bg-button-ghost-hover data-[state=active]:enabled:aria-expanded:text-foreground',\n false: '',\n },\n size: {\n default: '',\n compact: '',\n },\n },\n compoundVariants: [\n { admin7Design: true, size: 'default', className: 'px-4' },\n { admin7Design: true, size: 'compact', className: 'px-3' },\n ],\n defaultVariants: { size: 'default' },\n});\n\nconst tabsVariants = cva('', {\n variants: {\n variant: {\n segmented: '',\n 'segmented-sm': '',\n button: '',\n 'button-sm': '',\n underline: '',\n navbar: '',\n pill: '',\n kpis: '',\n },\n },\n defaultVariants: {\n variant: 'segmented',\n },\n});\n\nexport { tabsVariants, tabSurfaceVariants };\n"],"mappings":";;AAGA,IAAM,qBAAqB,IAAI,IAAI;CACjC,UAAU;EACR,cAAc;GACZ,MAAM;GACN,OAAO;EACT;EACA,MAAM;GACJ,SAAS;GACT,SAAS;EACX;CACF;CACA,kBAAkB,CAChB;EAAE,cAAc;EAAM,MAAM;EAAW,WAAW;CAAO,GACzD;EAAE,cAAc;EAAM,MAAM;EAAW,WAAW;CAAO,CAC3D;CACA,iBAAiB,EAAE,MAAM,UAAU;AACrC,CAAC;AAED,IAAM,eAAe,IAAI,IAAI;CAC3B,UAAU,EACR,SAAS;EACP,WAAW;EACX,gBAAgB;EAChB,QAAQ;EACR,aAAa;EACb,WAAW;EACX,QAAQ;EACR,MAAM;EACN,MAAM;CACR,EACF;CACA,iBAAiB,EACf,SAAS,YACX;AACF,CAAC"}
|
package/es/components/ui/tabs.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useShade } from "../../providers/shade-context.js";
|
|
|
3
3
|
import { DropdownMenuTrigger } from "./dropdown-menu.js";
|
|
4
4
|
import { tabSurfaceVariants } from "./tabs-variants.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { cva } from "class-variance-authority";
|
|
8
8
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
9
9
|
//#region src/components/ui/tabs.tsx
|
|
@@ -11,9 +11,9 @@ var TabsContext = React$1.createContext({
|
|
|
11
11
|
variant: "segmented",
|
|
12
12
|
controlShape: "rounded"
|
|
13
13
|
});
|
|
14
|
-
var Tabs = React$1.forwardRef(({ variant
|
|
14
|
+
var Tabs = React$1.forwardRef(({ variant, ...props }, ref) => {
|
|
15
15
|
const { controlShape, admin7Design } = useShade();
|
|
16
|
-
const resolvedVariant =
|
|
16
|
+
const resolvedVariant = variant ?? (admin7Design ? "underline" : "segmented");
|
|
17
17
|
return /* @__PURE__ */ jsx(TabsContext.Provider, {
|
|
18
18
|
value: {
|
|
19
19
|
variant: resolvedVariant,
|
|
@@ -44,6 +44,10 @@ var tabsListVariants = cva("inline-flex items-center text-muted-foreground", {
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
compoundVariants: [{
|
|
47
|
+
variant: "underline",
|
|
48
|
+
admin7Design: true,
|
|
49
|
+
className: "overflow-y-hidden border-b-0 inset-shadow-[0_-1px_0] inset-shadow-border-default"
|
|
50
|
+
}, {
|
|
47
51
|
variant: ["button", "button-sm"],
|
|
48
52
|
admin7Design: true,
|
|
49
53
|
className: "no-scrollbar max-w-full overflow-x-auto"
|
|
@@ -79,9 +83,17 @@ var tabsTriggerVariants = cva("inline-flex items-center justify-center px-3 py-1
|
|
|
79
83
|
controlShape: {
|
|
80
84
|
rounded: "",
|
|
81
85
|
pill: ""
|
|
86
|
+
},
|
|
87
|
+
admin7Design: {
|
|
88
|
+
true: "",
|
|
89
|
+
false: ""
|
|
82
90
|
}
|
|
83
91
|
},
|
|
84
92
|
compoundVariants: [{
|
|
93
|
+
variant: "underline",
|
|
94
|
+
admin7Design: true,
|
|
95
|
+
className: "h-auto py-2.5 text-control-lg font-normal data-[state=active]:font-semibold after:bottom-0 after:h-px"
|
|
96
|
+
}, {
|
|
85
97
|
variant: ["button", "button-sm"],
|
|
86
98
|
controlShape: "pill",
|
|
87
99
|
className: "rounded-full"
|
|
@@ -91,15 +103,61 @@ var tabsTriggerVariants = cva("inline-flex items-center justify-center px-3 py-1
|
|
|
91
103
|
controlShape: "rounded"
|
|
92
104
|
}
|
|
93
105
|
});
|
|
94
|
-
|
|
106
|
+
function renderTabsTriggerLabel(children, asChild = false) {
|
|
107
|
+
if (children === null || children === void 0) return children;
|
|
108
|
+
if (asChild && React$1.isValidElement(children)) return React$1.cloneElement(children, void 0, renderTabsTriggerLabel(children.props.children));
|
|
109
|
+
const sizedChildren = React$1.Children.map(children, (child) => {
|
|
110
|
+
if (typeof child === "string" || typeof child === "number") {
|
|
111
|
+
const label = typeof child === "string" ? child.trim() : child;
|
|
112
|
+
if (label === "") return child;
|
|
113
|
+
const leadingSpace = typeof child === "string" ? child.match(/^\s*/)?.[0] : void 0;
|
|
114
|
+
const trailingSpace = typeof child === "string" ? child.match(/\s*$/)?.[0] : void 0;
|
|
115
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
116
|
+
leadingSpace,
|
|
117
|
+
/* @__PURE__ */ jsxs("span", {
|
|
118
|
+
className: "inline-grid",
|
|
119
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
120
|
+
"aria-hidden": "true",
|
|
121
|
+
className: "pointer-events-none invisible col-start-1 row-start-1 font-semibold select-none",
|
|
122
|
+
children: label
|
|
123
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
124
|
+
className: "col-start-1 row-start-1",
|
|
125
|
+
children: label
|
|
126
|
+
})]
|
|
127
|
+
}),
|
|
128
|
+
trailingSpace
|
|
129
|
+
] });
|
|
130
|
+
}
|
|
131
|
+
if (React$1.isValidElement(child) && (child.type === React$1.Fragment || typeof child.type === "string" && child.type !== "svg")) return React$1.cloneElement(child, void 0, renderTabsTriggerLabel(child.props.children));
|
|
132
|
+
return child;
|
|
133
|
+
});
|
|
134
|
+
const renderedChildren = [];
|
|
135
|
+
let labelChildren = [];
|
|
136
|
+
const flushLabel = () => {
|
|
137
|
+
if (labelChildren.length > 1 && labelChildren.some((child) => typeof child !== "string" || child.trim())) renderedChildren.push(/* @__PURE__ */ jsx("span", { children: labelChildren }, `label-${renderedChildren.length}`));
|
|
138
|
+
else renderedChildren.push(...labelChildren);
|
|
139
|
+
labelChildren = [];
|
|
140
|
+
};
|
|
141
|
+
React$1.Children.toArray(sizedChildren).forEach((child) => {
|
|
142
|
+
if (typeof child === "string" || typeof child === "number" || React$1.isValidElement(child) && (child.type === React$1.Fragment || typeof child.type === "string" && child.type !== "svg")) labelChildren.push(child);
|
|
143
|
+
else {
|
|
144
|
+
flushLabel();
|
|
145
|
+
renderedChildren.push(child);
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
flushLabel();
|
|
149
|
+
return renderedChildren;
|
|
150
|
+
}
|
|
151
|
+
var TabsTrigger = React$1.forwardRef(({ children, className, onMouseDownCapture, ...props }, ref) => {
|
|
95
152
|
const { variant, controlShape } = React$1.useContext(TabsContext);
|
|
96
153
|
const { admin7Design } = useShade();
|
|
97
154
|
return /* @__PURE__ */ jsx(TabsPrimitive.Trigger, {
|
|
98
155
|
ref,
|
|
99
156
|
className: cn(tabsTriggerVariants({
|
|
100
157
|
variant,
|
|
101
|
-
controlShape
|
|
102
|
-
|
|
158
|
+
controlShape,
|
|
159
|
+
admin7Design
|
|
160
|
+
}), (variant === "button" || variant === "button-sm") && tabSurfaceVariants({
|
|
103
161
|
admin7Design,
|
|
104
162
|
size: variant === "button-sm" ? "compact" : "default"
|
|
105
163
|
}), className),
|
|
@@ -108,7 +166,8 @@ var TabsTrigger = React$1.forwardRef(({ className, onMouseDownCapture, ...props
|
|
|
108
166
|
if (activeElement instanceof HTMLElement && activeElement.matches("input, textarea, select, [contenteditable=\"true\"]")) activeElement.blur();
|
|
109
167
|
onMouseDownCapture?.(event);
|
|
110
168
|
},
|
|
111
|
-
...props
|
|
169
|
+
...props,
|
|
170
|
+
children: admin7Design && variant === "underline" ? renderTabsTriggerLabel(children, props.asChild) : children
|
|
112
171
|
});
|
|
113
172
|
});
|
|
114
173
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
@@ -153,15 +212,16 @@ var TabsDropdownTrigger = React$1.forwardRef(({ children, className, ...props },
|
|
|
153
212
|
ref,
|
|
154
213
|
className: cn(tabsTriggerVariants({
|
|
155
214
|
variant,
|
|
156
|
-
controlShape
|
|
157
|
-
|
|
215
|
+
controlShape,
|
|
216
|
+
admin7Design
|
|
217
|
+
}), (variant === "button" || variant === "button-sm") && tabSurfaceVariants({
|
|
158
218
|
admin7Design,
|
|
159
219
|
size: variant === "button-sm" ? "compact" : "default"
|
|
160
220
|
}), className),
|
|
161
221
|
...props,
|
|
162
222
|
children: /* @__PURE__ */ jsx("div", {
|
|
163
223
|
className: "flex items-center gap-2",
|
|
164
|
-
children
|
|
224
|
+
children: admin7Design && variant === "underline" ? renderTabsTriggerLabel(children) : children
|
|
165
225
|
})
|
|
166
226
|
}), /* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
167
227
|
className: "absolute inset-0 size-full cursor-pointer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.js","names":[],"sources":["../../../src/components/ui/tabs.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\nimport { DropdownMenuTrigger } from './dropdown-menu';\n\nimport { cn } from '@/lib/utils';\nimport { cva } from 'class-variance-authority';\nimport { type ControlShape, useShade } from '@/providers/shade-context';\nimport { tabSurfaceVariants } from '@/components/ui/tabs-variants';\n\ntype TabsVariant =\n | 'segmented'\n | 'segmented-sm'\n | 'button'\n | 'button-sm'\n | 'underline'\n | 'navbar'\n | 'pill'\n | 'kpis';\n\ninterface TabsContextValue {\n variant: TabsVariant;\n controlShape: ControlShape;\n}\n\nconst TabsContext = React.createContext<TabsContextValue>({\n variant: 'segmented',\n controlShape: 'rounded',\n});\n\nexport interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {\n variant?: TabsVariant;\n}\n\nconst Tabs = React.forwardRef<React.ElementRef<typeof TabsPrimitive.Root>, TabsProps>(\n ({ variant = 'segmented', ...props }, ref) => {\n const { controlShape, admin7Design } = useShade();\n // Standard tabs share the Admin 7 pill treatment. KPI tabs retain their\n // chart-card layout; compact tabs retain their smaller size.\n const resolvedVariant =\n admin7Design && variant !== 'kpis'\n ? variant === 'button-sm' || variant === 'segmented-sm' || variant === 'pill'\n ? 'button-sm'\n : 'button'\n : variant;\n\n return (\n <TabsContext.Provider value={{ variant: resolvedVariant, controlShape }}>\n <TabsPrimitive.Root ref={ref} {...props} />\n </TabsContext.Provider>\n );\n },\n);\nTabs.displayName = TabsPrimitive.Root.displayName;\n\nconst tabsListVariants = cva('inline-flex items-center text-muted-foreground', {\n variants: {\n variant: {\n segmented: 'h-(--control-height) rounded-lg bg-muted px-[3px]',\n 'segmented-sm': 'h-8 rounded-lg bg-muted px-[3px]',\n button: 'gap-2',\n 'button-sm': 'gap-1',\n underline:\n 'no-scrollbar w-full max-w-full gap-5 overflow-x-auto border-b border-border-default',\n navbar: 'h-[52px] items-end gap-6',\n pill: '-ml-0.5 h-[30px] gap-px',\n // The `kpis` variant is consumed only by `features/kpi/kpi-tabs.tsx`.\n // Kept here so the cva variant set is in one place; not for direct use by app code.\n kpis: 'border-b ring-0',\n },\n admin7Design: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n variant: ['button', 'button-sm'],\n admin7Design: true,\n className: 'no-scrollbar max-w-full overflow-x-auto',\n },\n ],\n defaultVariants: {\n variant: 'segmented',\n },\n});\n\nconst TabsList = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>\n>(({ className, ...props }, ref) => {\n const { variant } = React.useContext(TabsContext);\n const { admin7Design } = useShade();\n return (\n <TabsPrimitive.List\n ref={ref}\n className={cn(tabsListVariants({ variant, admin7Design, className }))}\n {...props}\n />\n );\n});\nTabsList.displayName = TabsPrimitive.List.displayName;\n\nconst tabsTriggerVariants = cva(\n 'inline-flex items-center justify-center px-3 py-1 whitespace-nowrap ring-offset-background transition-all focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n segmented:\n 'h-[calc(var(--control-height)-4px)] rounded-control text-control font-medium data-[state=active]:shadow-md',\n 'segmented-sm':\n 'h-[26px] rounded-control text-sm font-medium data-[state=active]:shadow-md',\n button:\n 'h-(--control-height) gap-1.5 rounded-control py-2 text-control font-medium hover:bg-tab-hover data-[state=active]:bg-tab-active data-[state=active]:hover:bg-tab-active',\n 'button-sm':\n 'h-6 gap-1.5 rounded-control p-2 text-sm font-medium text-text-secondary hover:bg-tab-hover data-[state=active]:bg-tab-active data-[state=active]:text-foreground data-[state=active]:hover:bg-tab-active',\n underline:\n 'relative h-9 px-0 text-control font-semibold text-text-secondary after:absolute after:inset-x-0 after:-bottom-px after:h-0.5 after:bg-foreground after:opacity-0 after:content-[\"\"] hover:after:opacity-10 data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:after:opacity-100!',\n navbar:\n 'relative h-[52px] px-px text-control font-semibold text-muted-foreground after:absolute after:inset-x-0 after:-bottom-px after:h-0.5 after:bg-foreground after:opacity-0 after:content-[\"\"] hover:text-foreground data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:after:opacity-100!',\n pill: 'relative h-[30px] rounded-md px-3 text-control font-medium text-text-secondary hover:bg-tab-hover hover:text-foreground data-[state=active]:bg-tab-active data-[state=active]:text-foreground data-[state=active]:hover:bg-tab-active',\n kpis: 'relative h-full! items-start! rounded-none border-border bg-transparent px-6 py-5 text-foreground ring-0 transition-all after:absolute after:inset-x-0 after:-bottom-px after:h-0.5 after:bg-foreground after:opacity-0 after:content-[\"\"] first:rounded-tl-md last:rounded-tr-md hover:bg-interactive-hover data-[state=active]:bg-transparent data-[state=active]:after:opacity-100 [&:not(:last-child)]:border-r [&[data-state=active]_[data-type=\"value\"]]:text-foreground',\n },\n controlShape: {\n rounded: '',\n pill: '',\n },\n },\n compoundVariants: [\n {\n variant: ['button', 'button-sm'],\n controlShape: 'pill',\n className: 'rounded-full',\n },\n ],\n defaultVariants: {\n variant: 'segmented',\n controlShape: 'rounded',\n },\n },\n);\n\nconst TabsTrigger = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>\n>(({ className, onMouseDownCapture, ...props }, ref) => {\n const { variant, controlShape } = React.useContext(TabsContext);\n const { admin7Design } = useShade();\n return (\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(\n tabsTriggerVariants({ variant, controlShape }),\n variant !== 'kpis' &&\n tabSurfaceVariants({\n admin7Design,\n size: variant === 'button-sm' ? 'compact' : 'default',\n }),\n className,\n )}\n onMouseDownCapture={(event) => {\n const activeElement = document.activeElement;\n if (\n activeElement instanceof HTMLElement &&\n activeElement.matches('input, textarea, select, [contenteditable=\"true\"]')\n ) {\n activeElement.blur();\n }\n onMouseDownCapture?.(event);\n }}\n {...props}\n />\n );\n});\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName;\n\ninterface TabsTriggerCountProps {\n children: React.ReactNode;\n className?: string;\n}\n\nconst TabsTriggerCount: React.FC<TabsTriggerCountProps> = ({ className = '', children }) => {\n return (\n <span\n className={cn(\n 'mt-px ml-1.5 flex h-5 items-center justify-center rounded-full bg-secondary px-1.5 py-0 text-xs leading-[21px] font-semibold text-text-secondary',\n className,\n )}\n >\n {children}\n </span>\n );\n};\nTabsTriggerCount.displayName = 'TabsTriggerCount';\n\nconst tabsContentVariants = cva(\n 'ring-offset-background focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:outline-hidden',\n {\n variants: {\n variant: {\n segmented: '',\n 'segmented-sm': '',\n button: '',\n 'button-sm': '',\n underline: '',\n navbar: '',\n pill: '',\n kpis: 'ring-0',\n },\n },\n defaultVariants: {\n variant: 'segmented',\n },\n },\n);\n\nconst TabsContent = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>\n>(({ className, ...props }, ref) => {\n const { variant } = React.useContext(TabsContext);\n return (\n <TabsPrimitive.Content\n ref={ref}\n className={cn(tabsContentVariants({ variant, className }))}\n {...props}\n />\n );\n});\nTabsContent.displayName = TabsPrimitive.Content.displayName;\n\ninterface TabsDropdownTriggerProps extends Omit<\n React.ComponentProps<typeof TabsPrimitive.Trigger>,\n 'asChild'\n> {\n children: React.ReactNode;\n}\n\nconst TabsDropdownTrigger = React.forwardRef<HTMLButtonElement, TabsDropdownTriggerProps>(\n ({ children, className, ...props }, ref) => {\n const { variant, controlShape } = React.useContext(TabsContext);\n const { admin7Design } = useShade();\n return (\n <div\n className={cn(\n 'relative rounded-control hover:bg-tab-hover',\n (variant === 'button' || variant === 'button-sm') &&\n controlShape === 'pill' &&\n 'rounded-full',\n )}\n >\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(\n tabsTriggerVariants({ variant, controlShape }),\n variant !== 'kpis' &&\n tabSurfaceVariants({\n admin7Design,\n size: variant === 'button-sm' ? 'compact' : 'default',\n }),\n className,\n )}\n {...props}\n >\n <div className=\"flex items-center gap-2\">{children}</div>\n </TabsPrimitive.Trigger>\n <DropdownMenuTrigger\n className=\"absolute inset-0 size-full cursor-pointer\"\n onClick={(e) => {\n // Stop propagation to prevent tab change\n e.preventDefault();\n }}\n />\n </div>\n );\n },\n);\nTabsDropdownTrigger.displayName = 'TabsDropdownTrigger';\n\nexport { Tabs, TabsList, TabsTrigger, TabsTriggerCount, TabsContent, TabsDropdownTrigger };\n"],"mappings":";;;;;;;;;AAwBA,IAAM,cAAc,QAAM,cAAgC;CACxD,SAAS;CACT,cAAc;AAChB,CAAC;AAMD,IAAM,OAAO,QAAM,YAChB,EAAE,UAAU,aAAa,GAAG,SAAS,QAAQ;CAC5C,MAAM,EAAE,cAAc,iBAAiB,SAAS;CAGhD,MAAM,kBACJ,gBAAgB,YAAY,SACxB,YAAY,eAAe,YAAY,kBAAkB,YAAY,SACnE,cACA,WACF;CAEN,OACE,oBAAC,YAAY,UAAb;EAAsB,OAAO;GAAE,SAAS;GAAiB;EAAa;YACpE,oBAAC,cAAc,MAAf;GAAyB;GAAK,GAAI;EAAQ,CAAA;CACtB,CAAA;AAE1B,CACF;AACA,KAAK,cAAc,cAAc,KAAK;AAEtC,IAAM,mBAAmB,IAAI,kDAAkD;CAC7E,UAAU;EACR,SAAS;GACP,WAAW;GACX,gBAAgB;GAChB,QAAQ;GACR,aAAa;GACb,WACE;GACF,QAAQ;GACR,MAAM;GAGN,MAAM;EACR;EACA,cAAc;GACZ,MAAM;GACN,OAAO;EACT;CACF;CACA,kBAAkB,CAChB;EACE,SAAS,CAAC,UAAU,WAAW;EAC/B,cAAc;EACd,WAAW;CACb,CACF;CACA,iBAAiB,EACf,SAAS,YACX;AACF,CAAC;AAED,IAAM,WAAW,QAAM,YAGpB,EAAE,WAAW,GAAG,SAAS,QAAQ;CAClC,MAAM,EAAE,YAAY,QAAM,WAAW,WAAW;CAChD,MAAM,EAAE,iBAAiB,SAAS;CAClC,OACE,oBAAC,cAAc,MAAf;EACO;EACL,WAAW,GAAG,iBAAiB;GAAE;GAAS;GAAc;EAAU,CAAC,CAAC;EACpE,GAAI;CACL,CAAA;AAEL,CAAC;AACD,SAAS,cAAc,cA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AW,GAAG,SAAS,QAAQ;CAClC,MAAM,EAAE,YAAY,QAAM,WAAW,WAAW;CAChD,OACE,oBAAC,cAAc,SAAf;EACO;EACL,WAAW,GAAG,oBAAoB;GAAE;GAAS;EAAU,CAAC,CAAC;EACzD,GAAI;CACL,CAAA;AAEL,CAAC;AACD,YAAY,cAAc,cAAc,QAAQ;AAShD,IAAM,sBAAsB,QAAM,YAC/B,EAAE,UAAU,WAAW,GAAG,SAAS,QAAQ;CAC1C,MAAM,EAAE,SAAS,iBAAiB,QAAM,WAAW,WAAW;CAC9D,MAAM,EAAE,iBAAiB,SAAS;CAClC,OACE,qBAAC,OAAD;EACE,WAAW,GACT,gDACC,YAAY,YAAY,YAAY,gBACnC,iBAAiB,UACjB,cACJ;YANF,CAQE,oBAAC,cAAc,SAAf;GACO;GACL,WAAW,GACT,oBAAoB;IAAE;IAAS;GAAa,CAAC,GAC7C,YAAY,UACV,mBAAmB;IACjB;IACA,MAAM,YAAY,cAAc,YAAY;GAC9C,CAAC,GACH,SACF;GACA,GAAI;aAEJ,oBAAC,OAAD;IAAK,WAAU;IAA2B;GAAc,CAAA;EACnC,CAAA,GACvB,oBAAC,qBAAD;GACE,WAAU;GACV,UAAU,MAAM;IAEd,EAAE,eAAe;GACnB;EACD,CAAA,CACE;;AAET,CACF;AACA,oBAAoB,cAAc"}
|
|
1
|
+
{"version":3,"file":"tabs.js","names":[],"sources":["../../../src/components/ui/tabs.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\nimport { DropdownMenuTrigger } from './dropdown-menu';\n\nimport { cn } from '@/lib/utils';\nimport { cva } from 'class-variance-authority';\nimport { type ControlShape, useShade } from '@/providers/shade-context';\nimport { tabSurfaceVariants } from '@/components/ui/tabs-variants';\n\ntype TabsVariant =\n | 'segmented'\n | 'segmented-sm'\n | 'button'\n | 'button-sm'\n | 'underline'\n | 'navbar'\n | 'pill'\n | 'kpis';\n\ninterface TabsContextValue {\n variant: TabsVariant;\n controlShape: ControlShape;\n}\n\nconst TabsContext = React.createContext<TabsContextValue>({\n variant: 'segmented',\n controlShape: 'rounded',\n});\n\nexport interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {\n variant?: TabsVariant;\n}\n\nconst Tabs = React.forwardRef<React.ElementRef<typeof TabsPrimitive.Root>, TabsProps>(\n ({ variant, ...props }, ref) => {\n const { controlShape, admin7Design } = useShade();\n const resolvedVariant = variant ?? (admin7Design ? 'underline' : 'segmented');\n\n return (\n <TabsContext.Provider value={{ variant: resolvedVariant, controlShape }}>\n <TabsPrimitive.Root ref={ref} {...props} />\n </TabsContext.Provider>\n );\n },\n);\nTabs.displayName = TabsPrimitive.Root.displayName;\n\nconst tabsListVariants = cva('inline-flex items-center text-muted-foreground', {\n variants: {\n variant: {\n segmented: 'h-(--control-height) rounded-lg bg-muted px-[3px]',\n 'segmented-sm': 'h-8 rounded-lg bg-muted px-[3px]',\n button: 'gap-2',\n 'button-sm': 'gap-1',\n underline:\n 'no-scrollbar w-full max-w-full gap-5 overflow-x-auto border-b border-border-default',\n navbar: 'h-[52px] items-end gap-6',\n pill: '-ml-0.5 h-[30px] gap-px',\n // The `kpis` variant is consumed only by `features/kpi/kpi-tabs.tsx`.\n // Kept here so the cva variant set is in one place; not for direct use by app code.\n kpis: 'border-b ring-0',\n },\n admin7Design: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n variant: 'underline',\n admin7Design: true,\n className: 'overflow-y-hidden border-b-0 inset-shadow-[0_-1px_0] inset-shadow-border-default',\n },\n {\n variant: ['button', 'button-sm'],\n admin7Design: true,\n className: 'no-scrollbar max-w-full overflow-x-auto',\n },\n ],\n defaultVariants: {\n variant: 'segmented',\n },\n});\n\nconst TabsList = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>\n>(({ className, ...props }, ref) => {\n const { variant } = React.useContext(TabsContext);\n const { admin7Design } = useShade();\n return (\n <TabsPrimitive.List\n ref={ref}\n className={cn(tabsListVariants({ variant, admin7Design, className }))}\n {...props}\n />\n );\n});\nTabsList.displayName = TabsPrimitive.List.displayName;\n\nconst tabsTriggerVariants = cva(\n 'inline-flex items-center justify-center px-3 py-1 whitespace-nowrap ring-offset-background transition-all focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n segmented:\n 'h-[calc(var(--control-height)-4px)] rounded-control text-control font-medium data-[state=active]:shadow-md',\n 'segmented-sm':\n 'h-[26px] rounded-control text-sm font-medium data-[state=active]:shadow-md',\n button:\n 'h-(--control-height) gap-1.5 rounded-control py-2 text-control font-medium hover:bg-tab-hover data-[state=active]:bg-tab-active data-[state=active]:hover:bg-tab-active',\n 'button-sm':\n 'h-6 gap-1.5 rounded-control p-2 text-sm font-medium text-text-secondary hover:bg-tab-hover data-[state=active]:bg-tab-active data-[state=active]:text-foreground data-[state=active]:hover:bg-tab-active',\n underline:\n 'relative h-9 px-0 text-control font-semibold text-text-secondary after:absolute after:inset-x-0 after:-bottom-px after:h-0.5 after:bg-foreground after:opacity-0 after:content-[\"\"] hover:after:opacity-10 data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:after:opacity-100!',\n navbar:\n 'relative h-[52px] px-px text-control font-semibold text-muted-foreground after:absolute after:inset-x-0 after:-bottom-px after:h-0.5 after:bg-foreground after:opacity-0 after:content-[\"\"] hover:text-foreground data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:after:opacity-100!',\n pill: 'relative h-[30px] rounded-md px-3 text-control font-medium text-text-secondary hover:bg-tab-hover hover:text-foreground data-[state=active]:bg-tab-active data-[state=active]:text-foreground data-[state=active]:hover:bg-tab-active',\n kpis: 'relative h-full! items-start! rounded-none border-border bg-transparent px-6 py-5 text-foreground ring-0 transition-all after:absolute after:inset-x-0 after:-bottom-px after:h-0.5 after:bg-foreground after:opacity-0 after:content-[\"\"] first:rounded-tl-md last:rounded-tr-md hover:bg-interactive-hover data-[state=active]:bg-transparent data-[state=active]:after:opacity-100 [&:not(:last-child)]:border-r [&[data-state=active]_[data-type=\"value\"]]:text-foreground',\n },\n controlShape: {\n rounded: '',\n pill: '',\n },\n admin7Design: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n variant: 'underline',\n admin7Design: true,\n className:\n 'h-auto py-2.5 text-control-lg font-normal data-[state=active]:font-semibold after:bottom-0 after:h-px',\n },\n {\n variant: ['button', 'button-sm'],\n controlShape: 'pill',\n className: 'rounded-full',\n },\n ],\n defaultVariants: {\n variant: 'segmented',\n controlShape: 'rounded',\n },\n },\n);\n\n// Reserve selected-weight text width without duplicating icons, badges or child components.\nfunction renderTabsTriggerLabel(children: React.ReactNode, asChild = false): React.ReactNode {\n if (children === null || children === undefined) {\n return children;\n }\n\n if (asChild && React.isValidElement<{ children?: React.ReactNode }>(children)) {\n return React.cloneElement(children, undefined, renderTabsTriggerLabel(children.props.children));\n }\n\n const sizedChildren = React.Children.map(children, (child) => {\n if (typeof child === 'string' || typeof child === 'number') {\n const label = typeof child === 'string' ? child.trim() : child;\n if (label === '') {\n return child;\n }\n\n // Keep boundary spaces in the inline flow between nested label elements.\n const leadingSpace = typeof child === 'string' ? child.match(/^\\s*/)?.[0] : undefined;\n const trailingSpace = typeof child === 'string' ? child.match(/\\s*$/)?.[0] : undefined;\n return (\n <>\n {leadingSpace}\n <span className=\"inline-grid\">\n <span\n aria-hidden=\"true\"\n className=\"pointer-events-none invisible col-start-1 row-start-1 font-semibold select-none\"\n >\n {label}\n </span>\n <span className=\"col-start-1 row-start-1\">{label}</span>\n </span>\n {trailingSpace}\n </>\n );\n }\n if (\n React.isValidElement<{ children?: React.ReactNode }>(child) &&\n (child.type === React.Fragment || (typeof child.type === 'string' && child.type !== 'svg'))\n ) {\n return React.cloneElement(child, undefined, renderTabsTriggerLabel(child.props.children));\n }\n return child;\n });\n\n const renderedChildren: React.ReactNode[] = [];\n let labelChildren: React.ReactNode[] = [];\n const flushLabel = () => {\n if (\n labelChildren.length > 1 &&\n labelChildren.some((child) => typeof child !== 'string' || child.trim())\n ) {\n // A single inline context preserves spaces between direct trigger children.\n renderedChildren.push(<span key={`label-${renderedChildren.length}`}>{labelChildren}</span>);\n } else {\n renderedChildren.push(...labelChildren);\n }\n labelChildren = [];\n };\n\n React.Children.toArray(sizedChildren).forEach((child) => {\n if (\n typeof child === 'string' ||\n typeof child === 'number' ||\n (React.isValidElement(child) &&\n (child.type === React.Fragment || (typeof child.type === 'string' && child.type !== 'svg')))\n ) {\n labelChildren.push(child);\n } else {\n flushLabel();\n renderedChildren.push(child);\n }\n });\n flushLabel();\n return renderedChildren;\n}\n\nconst TabsTrigger = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>\n>(({ children, className, onMouseDownCapture, ...props }, ref) => {\n const { variant, controlShape } = React.useContext(TabsContext);\n const { admin7Design } = useShade();\n return (\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(\n tabsTriggerVariants({ variant, controlShape, admin7Design }),\n (variant === 'button' || variant === 'button-sm') &&\n tabSurfaceVariants({\n admin7Design,\n size: variant === 'button-sm' ? 'compact' : 'default',\n }),\n className,\n )}\n onMouseDownCapture={(event) => {\n const activeElement = document.activeElement;\n if (\n activeElement instanceof HTMLElement &&\n activeElement.matches('input, textarea, select, [contenteditable=\"true\"]')\n ) {\n activeElement.blur();\n }\n onMouseDownCapture?.(event);\n }}\n {...props}\n >\n {admin7Design && variant === 'underline'\n ? renderTabsTriggerLabel(children, props.asChild)\n : children}\n </TabsPrimitive.Trigger>\n );\n});\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName;\n\ninterface TabsTriggerCountProps {\n children: React.ReactNode;\n className?: string;\n}\n\nconst TabsTriggerCount: React.FC<TabsTriggerCountProps> = ({ className = '', children }) => {\n return (\n <span\n className={cn(\n 'mt-px ml-1.5 flex h-5 items-center justify-center rounded-full bg-secondary px-1.5 py-0 text-xs leading-[21px] font-semibold text-text-secondary',\n className,\n )}\n >\n {children}\n </span>\n );\n};\nTabsTriggerCount.displayName = 'TabsTriggerCount';\n\nconst tabsContentVariants = cva(\n 'ring-offset-background focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 focus-visible:outline-hidden',\n {\n variants: {\n variant: {\n segmented: '',\n 'segmented-sm': '',\n button: '',\n 'button-sm': '',\n underline: '',\n navbar: '',\n pill: '',\n kpis: 'ring-0',\n },\n },\n defaultVariants: {\n variant: 'segmented',\n },\n },\n);\n\nconst TabsContent = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>\n>(({ className, ...props }, ref) => {\n const { variant } = React.useContext(TabsContext);\n return (\n <TabsPrimitive.Content\n ref={ref}\n className={cn(tabsContentVariants({ variant, className }))}\n {...props}\n />\n );\n});\nTabsContent.displayName = TabsPrimitive.Content.displayName;\n\ninterface TabsDropdownTriggerProps extends Omit<\n React.ComponentProps<typeof TabsPrimitive.Trigger>,\n 'asChild'\n> {\n children: React.ReactNode;\n}\n\nconst TabsDropdownTrigger = React.forwardRef<HTMLButtonElement, TabsDropdownTriggerProps>(\n ({ children, className, ...props }, ref) => {\n const { variant, controlShape } = React.useContext(TabsContext);\n const { admin7Design } = useShade();\n return (\n <div\n className={cn(\n 'relative rounded-control hover:bg-tab-hover',\n (variant === 'button' || variant === 'button-sm') &&\n controlShape === 'pill' &&\n 'rounded-full',\n )}\n >\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(\n tabsTriggerVariants({ variant, controlShape, admin7Design }),\n (variant === 'button' || variant === 'button-sm') &&\n tabSurfaceVariants({\n admin7Design,\n size: variant === 'button-sm' ? 'compact' : 'default',\n }),\n className,\n )}\n {...props}\n >\n <div className=\"flex items-center gap-2\">\n {admin7Design && variant === 'underline' ? renderTabsTriggerLabel(children) : children}\n </div>\n </TabsPrimitive.Trigger>\n <DropdownMenuTrigger\n className=\"absolute inset-0 size-full cursor-pointer\"\n onClick={(e) => {\n // Stop propagation to prevent tab change\n e.preventDefault();\n }}\n />\n </div>\n );\n },\n);\nTabsDropdownTrigger.displayName = 'TabsDropdownTrigger';\n\nexport { Tabs, TabsList, TabsTrigger, TabsTriggerCount, TabsContent, TabsDropdownTrigger };\n"],"mappings":";;;;;;;;;AAwBA,IAAM,cAAc,QAAM,cAAgC;CACxD,SAAS;CACT,cAAc;AAChB,CAAC;AAMD,IAAM,OAAO,QAAM,YAChB,EAAE,SAAS,GAAG,SAAS,QAAQ;CAC9B,MAAM,EAAE,cAAc,iBAAiB,SAAS;CAChD,MAAM,kBAAkB,YAAY,eAAe,cAAc;CAEjE,OACE,oBAAC,YAAY,UAAb;EAAsB,OAAO;GAAE,SAAS;GAAiB;EAAa;YACpE,oBAAC,cAAc,MAAf;GAAyB;GAAK,GAAI;EAAQ,CAAA;CACtB,CAAA;AAE1B,CACF;AACA,KAAK,cAAc,cAAc,KAAK;AAEtC,IAAM,mBAAmB,IAAI,kDAAkD;CAC7E,UAAU;EACR,SAAS;GACP,WAAW;GACX,gBAAgB;GAChB,QAAQ;GACR,aAAa;GACb,WACE;GACF,QAAQ;GACR,MAAM;GAGN,MAAM;EACR;EACA,cAAc;GACZ,MAAM;GACN,OAAO;EACT;CACF;CACA,kBAAkB,CAChB;EACE,SAAS;EACT,cAAc;EACd,WAAW;CACb,GACA;EACE,SAAS,CAAC,UAAU,WAAW;EAC/B,cAAc;EACd,WAAW;CACb,CACF;CACA,iBAAiB,EACf,SAAS,YACX;AACF,CAAC;AAED,IAAM,WAAW,QAAM,YAGpB,EAAE,WAAW,GAAG,SAAS,QAAQ;CAClC,MAAM,EAAE,YAAY,QAAM,WAAW,WAAW;CAChD,MAAM,EAAE,iBAAiB,SAAS;C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AY,YAAY,YAAY,gBACnC,mBAAmB;IACjB;IACA,MAAM,YAAY,cAAc,YAAY;GAC9C,CAAC,GACH,SACF;GACA,GAAI;aAEJ,oBAAC,OAAD;IAAK,WAAU;cACZ,gBAAgB,YAAY,cAAc,uBAAuB,QAAQ,IAAI;GAC3E,CAAA;EACgB,CAAA,GACvB,oBAAC,qBAAD;GACE,WAAU;GACV,UAAU,MAAM;IAEd,EAAE,eAAe;GACnB;EACD,CAAA,CACE;;AAET,CACF;AACA,oBAAoB,cAAc"}
|
package/es/tokens.js
CHANGED
|
@@ -285,6 +285,7 @@ var SHADE_TOKEN_NAMES = [
|
|
|
285
285
|
"font-mono",
|
|
286
286
|
"font-sans",
|
|
287
287
|
"font-serif",
|
|
288
|
+
"font-weight-settings-heading",
|
|
288
289
|
"font-weight-title",
|
|
289
290
|
"foreground",
|
|
290
291
|
"input",
|
|
@@ -401,6 +402,8 @@ var SHADE_TOKEN_NAMES = [
|
|
|
401
402
|
"text-xl",
|
|
402
403
|
"text-xs",
|
|
403
404
|
"tracking-normal",
|
|
405
|
+
"tracking-section-heading",
|
|
406
|
+
"tracking-settings-heading",
|
|
404
407
|
"tracking-tight",
|
|
405
408
|
"tracking-tighter",
|
|
406
409
|
"tracking-tightest",
|
package/es/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","names":[],"sources":["../src/tokens.ts"],"sourcesContent":["// Token helpers generated from Tailwind + runtime CSS variable surfaces.\nexport const SHADE_TOKEN_NAMES = [\n 'accent',\n 'accent-foreground',\n 'animate-accordion-down',\n 'animate-accordion-up',\n 'animate-fade-in',\n 'animate-fade-out',\n 'animate-modal-backdrop-in',\n 'animate-modal-in',\n 'animate-modal-in-from-right',\n 'animate-modal-in-reverse',\n 'animate-spin',\n 'animate-toaster-in',\n 'animate-toaster-out',\n 'animate-toaster-top-in',\n 'background',\n 'border',\n 'border-default',\n 'border-strong',\n 'breakpoint-lg',\n 'breakpoint-md',\n 'breakpoint-sidebar',\n 'breakpoint-sidebarlg',\n 'breakpoint-sm',\n 'breakpoint-tablet',\n 'breakpoint-xl',\n 'breakpoint-xxl',\n 'breakpoint-xxxl',\n 'card',\n 'card-foreground',\n 'character-count',\n 'chart-1',\n 'chart-2',\n 'chart-3',\n 'chart-4',\n 'chart-5',\n 'chart-amber',\n 'chart-blue',\n 'chart-darkblue',\n 'chart-darkgray',\n 'chart-gray',\n 'chart-green',\n 'chart-orange',\n 'chart-purple',\n 'chart-rose',\n 'chart-teal',\n 'chart-yellow',\n 'color-accent',\n 'color-accent-foreground',\n 'color-background',\n 'color-black',\n 'color-blue',\n 'color-blue-100',\n 'color-blue-200',\n 'color-blue-300',\n 'color-blue-400',\n 'color-blue-50',\n 'color-blue-500',\n 'color-blue-600',\n 'color-blue-700',\n 'color-blue-800',\n 'color-blue-900',\n 'color-border',\n 'color-border-default',\n 'color-border-strong',\n 'color-card',\n 'color-card-foreground',\n 'color-character-count',\n 'color-chart-1',\n 'color-chart-2',\n 'color-chart-3',\n 'color-chart-4',\n 'color-chart-5',\n 'color-chart-amber',\n 'color-chart-blue',\n 'color-chart-darkgray',\n 'color-chart-gray',\n 'color-chart-green',\n 'color-chart-orange',\n 'color-chart-purple',\n 'color-chart-rose',\n 'color-chart-teal',\n 'color-chart-yellow',\n 'color-current',\n 'color-destructive',\n 'color-destructive-foreground',\n 'color-event-email-icon',\n 'color-event-email-surface',\n 'color-event-engagement-icon',\n 'color-event-engagement-surface',\n 'color-event-gain-icon',\n 'color-event-gain-surface',\n 'color-event-gift-icon',\n 'color-event-gift-surface',\n 'color-event-loss-icon',\n 'color-event-loss-surface',\n 'color-event-warning-icon',\n 'color-event-warning-surface',\n 'color-focus-ring',\n 'color-foreground',\n 'color-ghostaccent',\n 'color-gray',\n 'color-gray-100',\n 'color-gray-200',\n 'color-gray-300',\n 'color-gray-400',\n 'color-gray-50',\n 'color-gray-500',\n 'color-gray-600',\n 'color-gray-700',\n 'color-gray-800',\n 'color-gray-900',\n 'color-gray-950',\n 'color-green',\n 'color-green-100',\n 'color-green-200',\n 'color-green-300',\n 'color-green-400',\n 'color-green-50',\n 'color-green-500',\n 'color-green-600',\n 'color-green-700',\n 'color-green-800',\n 'color-green-900',\n 'color-input',\n 'color-lime',\n 'color-lime-100',\n 'color-lime-200',\n 'color-lime-300',\n 'color-lime-400',\n 'color-lime-50',\n 'color-lime-500',\n 'color-lime-600',\n 'color-lime-700',\n 'color-lime-800',\n 'color-lime-900',\n 'color-map-surface',\n 'color-muted',\n 'color-muted-foreground',\n 'color-orange',\n 'color-orange-100',\n 'color-orange-200',\n 'color-orange-300',\n 'color-orange-400',\n 'color-orange-50',\n 'color-orange-500',\n 'color-orange-600',\n 'color-orange-700',\n 'color-orange-800',\n 'color-orange-900',\n 'color-pink',\n 'color-pink-100',\n 'color-pink-200',\n 'color-pink-300',\n 'color-pink-400',\n 'color-pink-50',\n 'color-pink-500',\n 'color-pink-600',\n 'color-pink-700',\n 'color-pink-800',\n 'color-pink-900',\n 'color-popover',\n 'color-popover-foreground',\n 'color-primary',\n 'color-primary-foreground',\n 'color-publish-accent',\n 'color-purple',\n 'color-purple-100',\n 'color-purple-200',\n 'color-purple-300',\n 'color-purple-400',\n 'color-purple-50',\n 'color-purple-500',\n 'color-purple-600',\n 'color-purple-700',\n 'color-purple-800',\n 'color-purple-900',\n 'color-red',\n 'color-red-100',\n 'color-red-200',\n 'color-red-300',\n 'color-red-400',\n 'color-red-50',\n 'color-red-500',\n 'color-red-600',\n 'color-red-700',\n 'color-red-800',\n 'color-red-900',\n 'color-ring',\n 'color-secondary',\n 'color-secondary-foreground',\n 'color-sidebar',\n 'color-sidebar-accent',\n 'color-sidebar-accent-foreground',\n 'color-sidebar-border',\n 'color-sidebar-foreground',\n 'color-sidebar-primary',\n 'color-sidebar-primary-foreground',\n 'color-sidebar-ring',\n 'color-state-danger',\n 'color-state-danger-foreground',\n 'color-state-info',\n 'color-state-info-foreground',\n 'color-state-success',\n 'color-state-success-foreground',\n 'color-state-warning',\n 'color-state-warning-border',\n 'color-state-warning-fill',\n 'color-state-warning-foreground',\n 'color-state-warning-surface',\n 'color-surface-elevated',\n 'color-surface-page',\n 'color-surface-panel',\n 'color-text-primary',\n 'color-text-secondary',\n 'color-text-tertiary',\n 'color-transparent',\n 'color-white',\n 'color-yellow',\n 'color-yellow-100',\n 'color-yellow-200',\n 'color-yellow-300',\n 'color-yellow-400',\n 'color-yellow-50',\n 'color-yellow-500',\n 'color-yellow-600',\n 'color-yellow-700',\n 'color-yellow-800',\n 'color-yellow-900',\n 'container-0',\n 'container-2xl',\n 'container-3xl',\n 'container-4xl',\n 'container-5xl',\n 'container-6xl',\n 'container-7xl',\n 'container-8xl',\n 'container-9xl',\n 'container-lg',\n 'container-md',\n 'container-page',\n 'container-pageminsidebar',\n 'container-prose',\n 'container-sm',\n 'container-xl',\n 'container-xs',\n 'control-height',\n 'control-height-lg',\n 'control-outline-pressed-shadow',\n 'control-outline-shadow',\n 'control-pressed-shadow',\n 'destructive',\n 'destructive-foreground',\n 'duration-base',\n 'duration-fast',\n 'duration-slow',\n 'ease-emphasized',\n 'ease-standard',\n 'event-email-icon',\n 'event-email-surface',\n 'event-engagement-icon',\n 'event-engagement-surface',\n 'event-gain-icon',\n 'event-gain-surface',\n 'event-gift-icon',\n 'event-gift-surface',\n 'event-loss-icon',\n 'event-loss-surface',\n 'event-warning-icon',\n 'event-warning-surface',\n 'field-border',\n 'field-chip-internal-border',\n 'field-chip-internal-surface',\n 'field-chip-surface',\n 'field-disabled-surface',\n 'field-readonly-surface',\n 'field-shadow',\n 'field-surface',\n 'focus-ring',\n 'font-body',\n 'font-code',\n 'font-heading',\n 'font-inherit',\n 'font-mono',\n 'font-sans',\n 'font-serif',\n 'font-weight-title',\n 'foreground',\n 'input',\n 'input-group-radius',\n 'leading-base',\n 'leading-body',\n 'leading-heading',\n 'leading-loose',\n 'leading-none',\n 'leading-normal',\n 'leading-relaxed',\n 'leading-snug',\n 'leading-supertight',\n 'leading-tight',\n 'leading-tighter',\n 'map-surface',\n 'mobile-navbar-height',\n 'muted',\n 'muted-foreground',\n 'popover',\n 'popover-foreground',\n 'primary',\n 'primary-foreground',\n 'publish-accent',\n 'radius',\n 'radius-2xl',\n 'radius-3xl',\n 'radius-badge',\n 'radius-card',\n 'radius-control',\n 'radius-control-sm',\n 'radius-field',\n 'radius-full',\n 'radius-lg',\n 'radius-md',\n 'radius-menu',\n 'radius-menu-item',\n 'radius-pill',\n 'radius-sm',\n 'radius-surface',\n 'radius-trend-badge',\n 'radius-xl',\n 'radius-xs',\n 'ring',\n 'secondary',\n 'secondary-foreground',\n 'shadow',\n 'shadow-control-outline',\n 'shadow-control-outline-pressed',\n 'shadow-control-pressed',\n 'shadow-field',\n 'shadow-inner',\n 'shadow-lg',\n 'shadow-md',\n 'shadow-md-heavy',\n 'shadow-none',\n 'shadow-sm',\n 'shadow-xl',\n 'shadow-xs',\n 'sidebar-accent',\n 'sidebar-accent-foreground',\n 'sidebar-background',\n 'sidebar-border',\n 'sidebar-foreground',\n 'sidebar-primary',\n 'sidebar-primary-foreground',\n 'sidebar-ring',\n 'spacing',\n 'state-danger',\n 'state-danger-foreground',\n 'state-info',\n 'state-info-foreground',\n 'state-success',\n 'state-success-foreground',\n 'state-warning',\n 'state-warning-border',\n 'state-warning-fill',\n 'state-warning-foreground',\n 'state-warning-surface',\n 'surface-elevated',\n 'surface-page',\n 'surface-panel',\n 'tab-inactive',\n 'tab-inactive-hover',\n 'text-2xl',\n 'text-2xs',\n 'text-3xl',\n 'text-4xl',\n 'text-5xl',\n 'text-5xl--line-height',\n 'text-6xl',\n 'text-6xl--line-height',\n 'text-7xl',\n 'text-7xl--line-height',\n 'text-8xl',\n 'text-8xl--line-height',\n 'text-9xl',\n 'text-9xl--line-height',\n 'text-base',\n 'text-body-lg',\n 'text-body-md',\n 'text-body-sm',\n 'text-control',\n 'text-control-lg',\n 'text-field',\n 'text-lg',\n 'text-md',\n 'text-primary',\n 'text-secondary',\n 'text-section-heading',\n 'text-section-heading-lg',\n 'text-sm',\n 'text-tertiary',\n 'text-xl',\n 'text-xs',\n 'tracking-normal',\n 'tracking-tight',\n 'tracking-tighter',\n 'tracking-tightest',\n 'tracking-wide',\n 'tracking-wider',\n 'tracking-widest',\n] as const;\n\nexport type ShadeTokenName = (typeof SHADE_TOKEN_NAMES)[number];\n\nexport const shadeToken = (name: ShadeTokenName): string => `var(--${name})`;\n"],"mappings":";AACA,IAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAIA,IAAa,cAAc,SAAiC,SAAS,KAAK"}
|
|
1
|
+
{"version":3,"file":"tokens.js","names":[],"sources":["../src/tokens.ts"],"sourcesContent":["// Token helpers generated from Tailwind + runtime CSS variable surfaces.\nexport const SHADE_TOKEN_NAMES = [\n 'accent',\n 'accent-foreground',\n 'animate-accordion-down',\n 'animate-accordion-up',\n 'animate-fade-in',\n 'animate-fade-out',\n 'animate-modal-backdrop-in',\n 'animate-modal-in',\n 'animate-modal-in-from-right',\n 'animate-modal-in-reverse',\n 'animate-spin',\n 'animate-toaster-in',\n 'animate-toaster-out',\n 'animate-toaster-top-in',\n 'background',\n 'border',\n 'border-default',\n 'border-strong',\n 'breakpoint-lg',\n 'breakpoint-md',\n 'breakpoint-sidebar',\n 'breakpoint-sidebarlg',\n 'breakpoint-sm',\n 'breakpoint-tablet',\n 'breakpoint-xl',\n 'breakpoint-xxl',\n 'breakpoint-xxxl',\n 'card',\n 'card-foreground',\n 'character-count',\n 'chart-1',\n 'chart-2',\n 'chart-3',\n 'chart-4',\n 'chart-5',\n 'chart-amber',\n 'chart-blue',\n 'chart-darkblue',\n 'chart-darkgray',\n 'chart-gray',\n 'chart-green',\n 'chart-orange',\n 'chart-purple',\n 'chart-rose',\n 'chart-teal',\n 'chart-yellow',\n 'color-accent',\n 'color-accent-foreground',\n 'color-background',\n 'color-black',\n 'color-blue',\n 'color-blue-100',\n 'color-blue-200',\n 'color-blue-300',\n 'color-blue-400',\n 'color-blue-50',\n 'color-blue-500',\n 'color-blue-600',\n 'color-blue-700',\n 'color-blue-800',\n 'color-blue-900',\n 'color-border',\n 'color-border-default',\n 'color-border-strong',\n 'color-card',\n 'color-card-foreground',\n 'color-character-count',\n 'color-chart-1',\n 'color-chart-2',\n 'color-chart-3',\n 'color-chart-4',\n 'color-chart-5',\n 'color-chart-amber',\n 'color-chart-blue',\n 'color-chart-darkgray',\n 'color-chart-gray',\n 'color-chart-green',\n 'color-chart-orange',\n 'color-chart-purple',\n 'color-chart-rose',\n 'color-chart-teal',\n 'color-chart-yellow',\n 'color-current',\n 'color-destructive',\n 'color-destructive-foreground',\n 'color-event-email-icon',\n 'color-event-email-surface',\n 'color-event-engagement-icon',\n 'color-event-engagement-surface',\n 'color-event-gain-icon',\n 'color-event-gain-surface',\n 'color-event-gift-icon',\n 'color-event-gift-surface',\n 'color-event-loss-icon',\n 'color-event-loss-surface',\n 'color-event-warning-icon',\n 'color-event-warning-surface',\n 'color-focus-ring',\n 'color-foreground',\n 'color-ghostaccent',\n 'color-gray',\n 'color-gray-100',\n 'color-gray-200',\n 'color-gray-300',\n 'color-gray-400',\n 'color-gray-50',\n 'color-gray-500',\n 'color-gray-600',\n 'color-gray-700',\n 'color-gray-800',\n 'color-gray-900',\n 'color-gray-950',\n 'color-green',\n 'color-green-100',\n 'color-green-200',\n 'color-green-300',\n 'color-green-400',\n 'color-green-50',\n 'color-green-500',\n 'color-green-600',\n 'color-green-700',\n 'color-green-800',\n 'color-green-900',\n 'color-input',\n 'color-lime',\n 'color-lime-100',\n 'color-lime-200',\n 'color-lime-300',\n 'color-lime-400',\n 'color-lime-50',\n 'color-lime-500',\n 'color-lime-600',\n 'color-lime-700',\n 'color-lime-800',\n 'color-lime-900',\n 'color-map-surface',\n 'color-muted',\n 'color-muted-foreground',\n 'color-orange',\n 'color-orange-100',\n 'color-orange-200',\n 'color-orange-300',\n 'color-orange-400',\n 'color-orange-50',\n 'color-orange-500',\n 'color-orange-600',\n 'color-orange-700',\n 'color-orange-800',\n 'color-orange-900',\n 'color-pink',\n 'color-pink-100',\n 'color-pink-200',\n 'color-pink-300',\n 'color-pink-400',\n 'color-pink-50',\n 'color-pink-500',\n 'color-pink-600',\n 'color-pink-700',\n 'color-pink-800',\n 'color-pink-900',\n 'color-popover',\n 'color-popover-foreground',\n 'color-primary',\n 'color-primary-foreground',\n 'color-publish-accent',\n 'color-purple',\n 'color-purple-100',\n 'color-purple-200',\n 'color-purple-300',\n 'color-purple-400',\n 'color-purple-50',\n 'color-purple-500',\n 'color-purple-600',\n 'color-purple-700',\n 'color-purple-800',\n 'color-purple-900',\n 'color-red',\n 'color-red-100',\n 'color-red-200',\n 'color-red-300',\n 'color-red-400',\n 'color-red-50',\n 'color-red-500',\n 'color-red-600',\n 'color-red-700',\n 'color-red-800',\n 'color-red-900',\n 'color-ring',\n 'color-secondary',\n 'color-secondary-foreground',\n 'color-sidebar',\n 'color-sidebar-accent',\n 'color-sidebar-accent-foreground',\n 'color-sidebar-border',\n 'color-sidebar-foreground',\n 'color-sidebar-primary',\n 'color-sidebar-primary-foreground',\n 'color-sidebar-ring',\n 'color-state-danger',\n 'color-state-danger-foreground',\n 'color-state-info',\n 'color-state-info-foreground',\n 'color-state-success',\n 'color-state-success-foreground',\n 'color-state-warning',\n 'color-state-warning-border',\n 'color-state-warning-fill',\n 'color-state-warning-foreground',\n 'color-state-warning-surface',\n 'color-surface-elevated',\n 'color-surface-page',\n 'color-surface-panel',\n 'color-text-primary',\n 'color-text-secondary',\n 'color-text-tertiary',\n 'color-transparent',\n 'color-white',\n 'color-yellow',\n 'color-yellow-100',\n 'color-yellow-200',\n 'color-yellow-300',\n 'color-yellow-400',\n 'color-yellow-50',\n 'color-yellow-500',\n 'color-yellow-600',\n 'color-yellow-700',\n 'color-yellow-800',\n 'color-yellow-900',\n 'container-0',\n 'container-2xl',\n 'container-3xl',\n 'container-4xl',\n 'container-5xl',\n 'container-6xl',\n 'container-7xl',\n 'container-8xl',\n 'container-9xl',\n 'container-lg',\n 'container-md',\n 'container-page',\n 'container-pageminsidebar',\n 'container-prose',\n 'container-sm',\n 'container-xl',\n 'container-xs',\n 'control-height',\n 'control-height-lg',\n 'control-outline-pressed-shadow',\n 'control-outline-shadow',\n 'control-pressed-shadow',\n 'destructive',\n 'destructive-foreground',\n 'duration-base',\n 'duration-fast',\n 'duration-slow',\n 'ease-emphasized',\n 'ease-standard',\n 'event-email-icon',\n 'event-email-surface',\n 'event-engagement-icon',\n 'event-engagement-surface',\n 'event-gain-icon',\n 'event-gain-surface',\n 'event-gift-icon',\n 'event-gift-surface',\n 'event-loss-icon',\n 'event-loss-surface',\n 'event-warning-icon',\n 'event-warning-surface',\n 'field-border',\n 'field-chip-internal-border',\n 'field-chip-internal-surface',\n 'field-chip-surface',\n 'field-disabled-surface',\n 'field-readonly-surface',\n 'field-shadow',\n 'field-surface',\n 'focus-ring',\n 'font-body',\n 'font-code',\n 'font-heading',\n 'font-inherit',\n 'font-mono',\n 'font-sans',\n 'font-serif',\n 'font-weight-settings-heading',\n 'font-weight-title',\n 'foreground',\n 'input',\n 'input-group-radius',\n 'leading-base',\n 'leading-body',\n 'leading-heading',\n 'leading-loose',\n 'leading-none',\n 'leading-normal',\n 'leading-relaxed',\n 'leading-snug',\n 'leading-supertight',\n 'leading-tight',\n 'leading-tighter',\n 'map-surface',\n 'mobile-navbar-height',\n 'muted',\n 'muted-foreground',\n 'popover',\n 'popover-foreground',\n 'primary',\n 'primary-foreground',\n 'publish-accent',\n 'radius',\n 'radius-2xl',\n 'radius-3xl',\n 'radius-badge',\n 'radius-card',\n 'radius-control',\n 'radius-control-sm',\n 'radius-field',\n 'radius-full',\n 'radius-lg',\n 'radius-md',\n 'radius-menu',\n 'radius-menu-item',\n 'radius-pill',\n 'radius-sm',\n 'radius-surface',\n 'radius-trend-badge',\n 'radius-xl',\n 'radius-xs',\n 'ring',\n 'secondary',\n 'secondary-foreground',\n 'shadow',\n 'shadow-control-outline',\n 'shadow-control-outline-pressed',\n 'shadow-control-pressed',\n 'shadow-field',\n 'shadow-inner',\n 'shadow-lg',\n 'shadow-md',\n 'shadow-md-heavy',\n 'shadow-none',\n 'shadow-sm',\n 'shadow-xl',\n 'shadow-xs',\n 'sidebar-accent',\n 'sidebar-accent-foreground',\n 'sidebar-background',\n 'sidebar-border',\n 'sidebar-foreground',\n 'sidebar-primary',\n 'sidebar-primary-foreground',\n 'sidebar-ring',\n 'spacing',\n 'state-danger',\n 'state-danger-foreground',\n 'state-info',\n 'state-info-foreground',\n 'state-success',\n 'state-success-foreground',\n 'state-warning',\n 'state-warning-border',\n 'state-warning-fill',\n 'state-warning-foreground',\n 'state-warning-surface',\n 'surface-elevated',\n 'surface-page',\n 'surface-panel',\n 'tab-inactive',\n 'tab-inactive-hover',\n 'text-2xl',\n 'text-2xs',\n 'text-3xl',\n 'text-4xl',\n 'text-5xl',\n 'text-5xl--line-height',\n 'text-6xl',\n 'text-6xl--line-height',\n 'text-7xl',\n 'text-7xl--line-height',\n 'text-8xl',\n 'text-8xl--line-height',\n 'text-9xl',\n 'text-9xl--line-height',\n 'text-base',\n 'text-body-lg',\n 'text-body-md',\n 'text-body-sm',\n 'text-control',\n 'text-control-lg',\n 'text-field',\n 'text-lg',\n 'text-md',\n 'text-primary',\n 'text-secondary',\n 'text-section-heading',\n 'text-section-heading-lg',\n 'text-sm',\n 'text-tertiary',\n 'text-xl',\n 'text-xs',\n 'tracking-normal',\n 'tracking-section-heading',\n 'tracking-settings-heading',\n 'tracking-tight',\n 'tracking-tighter',\n 'tracking-tightest',\n 'tracking-wide',\n 'tracking-wider',\n 'tracking-widest',\n] as const;\n\nexport type ShadeTokenName = (typeof SHADE_TOKEN_NAMES)[number];\n\nexport const shadeToken = (name: ShadeTokenName): string => `var(--${name})`;\n"],"mappings":";AACA,IAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAIA,IAAa,cAAc,SAAiC,SAAS,KAAK"}
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
.section-heading:where([data-admin7-design='true'] *) {
|
|
34
34
|
font-size: var(--text-section-heading);
|
|
35
35
|
font-weight: var(--font-weight-medium);
|
|
36
|
-
letter-spacing: var(--tracking-
|
|
36
|
+
letter-spacing: var(--tracking-section-heading);
|
|
37
37
|
line-height: 1.35;
|
|
38
38
|
font-variation-settings:
|
|
39
39
|
'opsz' 28,
|
|
@@ -41,6 +41,19 @@
|
|
|
41
41
|
font-feature-settings: 'dlig', 'zero', 'ss01', 'ss02', 'cv10', 'cv06';
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
/* Settings headings share weight and tracking without changing headings on
|
|
45
|
+
member and tag details. Large Settings titles keep their own size. */
|
|
46
|
+
.settings-heading:where([data-admin7-design='true'] *) {
|
|
47
|
+
font-weight: var(--font-weight-settings-heading);
|
|
48
|
+
letter-spacing: var(--tracking-settings-heading);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.section-heading.settings-heading:where([data-admin7-design='true'] *) {
|
|
52
|
+
font-variation-settings:
|
|
53
|
+
'opsz' 28,
|
|
54
|
+
'wght' var(--font-weight-settings-heading);
|
|
55
|
+
}
|
|
56
|
+
|
|
44
57
|
/* admin7Design: a small label above a stat or a value, and a large, light number
|
|
45
58
|
for stats. Any unit inside the number is the number's size too. */
|
|
46
59
|
.stat-label:where([data-admin7-design='true'] *) {
|
package/tailwind.theme.css
CHANGED
|
@@ -136,6 +136,9 @@
|
|
|
136
136
|
--font-mono: Consolas, Liberation Mono, Menlo, Courier, monospace;
|
|
137
137
|
--font-inherit: inherit;
|
|
138
138
|
--font-weight-title: 540;
|
|
139
|
+
--font-weight-settings-heading: 540;
|
|
140
|
+
--tracking-section-heading: -0.01em;
|
|
141
|
+
--tracking-settings-heading: -0.01em;
|
|
139
142
|
--tracking-tightest: -0.05em;
|
|
140
143
|
--tracking-tighter: -0.025em;
|
|
141
144
|
--tracking-tight: -0.01em;
|
package/theme-variables.css
CHANGED
|
@@ -167,12 +167,12 @@
|
|
|
167
167
|
--control-border: color-mix(in oklab, var(--color-gray-200), var(--color-gray-300));
|
|
168
168
|
--text-section-heading: 1.6rem;
|
|
169
169
|
--text-section-heading-lg: 2.1rem;
|
|
170
|
-
/* Text-entry fields have a defined outline and a
|
|
170
|
+
/* Text-entry fields have a defined outline and a flat surface. */
|
|
171
171
|
--field-surface: var(--control-surface);
|
|
172
172
|
--field-readonly-surface: var(--control-readonly-surface);
|
|
173
173
|
--field-disabled-surface: var(--control-disabled-surface);
|
|
174
174
|
--field-border: var(--color-gray-400);
|
|
175
|
-
--field-shadow: 0
|
|
175
|
+
--field-shadow: 0 0 #0000;
|
|
176
176
|
--field-chip-surface: var(--secondary);
|
|
177
177
|
--field-chip-internal-surface: transparent;
|
|
178
178
|
--field-chip-internal-border: var(--field-chip-surface);
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
--control-disabled-surface: var(--color-gray-950);
|
|
394
394
|
--control-border: color-mix(in oklab, var(--color-gray-900) 70%, transparent);
|
|
395
395
|
--field-border: var(--color-gray-900);
|
|
396
|
-
--field-shadow: 0
|
|
396
|
+
--field-shadow: 0 0 #0000;
|
|
397
397
|
--control-pressed-shadow: lch(0 0 0 / 0.07) 0px 1px 2px 0px inset;
|
|
398
398
|
--control-outline-shadow:
|
|
399
399
|
lch(0 0 0 / 0.1) 0px 0px 0px 0.5px, lch(0 0 0 / 0.02) 0px 3px 6px -2px,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM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,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,mBAAmB,iHAwCxB,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC"}
|
package/types/tokens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SHADE_TOKEN_NAMES: readonly ['accent', 'accent-foreground', 'animate-accordion-down', 'animate-accordion-up', 'animate-fade-in', 'animate-fade-out', 'animate-modal-backdrop-in', 'animate-modal-in', 'animate-modal-in-from-right', 'animate-modal-in-reverse', 'animate-spin', 'animate-toaster-in', 'animate-toaster-out', 'animate-toaster-top-in', 'background', 'border', 'border-default', 'border-strong', 'breakpoint-lg', 'breakpoint-md', 'breakpoint-sidebar', 'breakpoint-sidebarlg', 'breakpoint-sm', 'breakpoint-tablet', 'breakpoint-xl', 'breakpoint-xxl', 'breakpoint-xxxl', 'card', 'card-foreground', 'character-count', 'chart-1', 'chart-2', 'chart-3', 'chart-4', 'chart-5', 'chart-amber', 'chart-blue', 'chart-darkblue', 'chart-darkgray', 'chart-gray', 'chart-green', 'chart-orange', 'chart-purple', 'chart-rose', 'chart-teal', 'chart-yellow', 'color-accent', 'color-accent-foreground', 'color-background', 'color-black', 'color-blue', 'color-blue-100', 'color-blue-200', 'color-blue-300', 'color-blue-400', 'color-blue-50', 'color-blue-500', 'color-blue-600', 'color-blue-700', 'color-blue-800', 'color-blue-900', 'color-border', 'color-border-default', 'color-border-strong', 'color-card', 'color-card-foreground', 'color-character-count', 'color-chart-1', 'color-chart-2', 'color-chart-3', 'color-chart-4', 'color-chart-5', 'color-chart-amber', 'color-chart-blue', 'color-chart-darkgray', 'color-chart-gray', 'color-chart-green', 'color-chart-orange', 'color-chart-purple', 'color-chart-rose', 'color-chart-teal', 'color-chart-yellow', 'color-current', 'color-destructive', 'color-destructive-foreground', 'color-event-email-icon', 'color-event-email-surface', 'color-event-engagement-icon', 'color-event-engagement-surface', 'color-event-gain-icon', 'color-event-gain-surface', 'color-event-gift-icon', 'color-event-gift-surface', 'color-event-loss-icon', 'color-event-loss-surface', 'color-event-warning-icon', 'color-event-warning-surface', 'color-focus-ring', 'color-foreground', 'color-ghostaccent', 'color-gray', 'color-gray-100', 'color-gray-200', 'color-gray-300', 'color-gray-400', 'color-gray-50', 'color-gray-500', 'color-gray-600', 'color-gray-700', 'color-gray-800', 'color-gray-900', 'color-gray-950', 'color-green', 'color-green-100', 'color-green-200', 'color-green-300', 'color-green-400', 'color-green-50', 'color-green-500', 'color-green-600', 'color-green-700', 'color-green-800', 'color-green-900', 'color-input', 'color-lime', 'color-lime-100', 'color-lime-200', 'color-lime-300', 'color-lime-400', 'color-lime-50', 'color-lime-500', 'color-lime-600', 'color-lime-700', 'color-lime-800', 'color-lime-900', 'color-map-surface', 'color-muted', 'color-muted-foreground', 'color-orange', 'color-orange-100', 'color-orange-200', 'color-orange-300', 'color-orange-400', 'color-orange-50', 'color-orange-500', 'color-orange-600', 'color-orange-700', 'color-orange-800', 'color-orange-900', 'color-pink', 'color-pink-100', 'color-pink-200', 'color-pink-300', 'color-pink-400', 'color-pink-50', 'color-pink-500', 'color-pink-600', 'color-pink-700', 'color-pink-800', 'color-pink-900', 'color-popover', 'color-popover-foreground', 'color-primary', 'color-primary-foreground', 'color-publish-accent', 'color-purple', 'color-purple-100', 'color-purple-200', 'color-purple-300', 'color-purple-400', 'color-purple-50', 'color-purple-500', 'color-purple-600', 'color-purple-700', 'color-purple-800', 'color-purple-900', 'color-red', 'color-red-100', 'color-red-200', 'color-red-300', 'color-red-400', 'color-red-50', 'color-red-500', 'color-red-600', 'color-red-700', 'color-red-800', 'color-red-900', 'color-ring', 'color-secondary', 'color-secondary-foreground', 'color-sidebar', 'color-sidebar-accent', 'color-sidebar-accent-foreground', 'color-sidebar-border', 'color-sidebar-foreground', 'color-sidebar-primary', 'color-sidebar-primary-foreground', 'color-sidebar-ring', 'color-state-danger', 'color-state-danger-foreground', 'color-state-info', 'color-state-info-foreground', 'color-state-success', 'color-state-success-foreground', 'color-state-warning', 'color-state-warning-border', 'color-state-warning-fill', 'color-state-warning-foreground', 'color-state-warning-surface', 'color-surface-elevated', 'color-surface-page', 'color-surface-panel', 'color-text-primary', 'color-text-secondary', 'color-text-tertiary', 'color-transparent', 'color-white', 'color-yellow', 'color-yellow-100', 'color-yellow-200', 'color-yellow-300', 'color-yellow-400', 'color-yellow-50', 'color-yellow-500', 'color-yellow-600', 'color-yellow-700', 'color-yellow-800', 'color-yellow-900', 'container-0', 'container-2xl', 'container-3xl', 'container-4xl', 'container-5xl', 'container-6xl', 'container-7xl', 'container-8xl', 'container-9xl', 'container-lg', 'container-md', 'container-page', 'container-pageminsidebar', 'container-prose', 'container-sm', 'container-xl', 'container-xs', 'control-height', 'control-height-lg', 'control-outline-pressed-shadow', 'control-outline-shadow', 'control-pressed-shadow', 'destructive', 'destructive-foreground', 'duration-base', 'duration-fast', 'duration-slow', 'ease-emphasized', 'ease-standard', 'event-email-icon', 'event-email-surface', 'event-engagement-icon', 'event-engagement-surface', 'event-gain-icon', 'event-gain-surface', 'event-gift-icon', 'event-gift-surface', 'event-loss-icon', 'event-loss-surface', 'event-warning-icon', 'event-warning-surface', 'field-border', 'field-chip-internal-border', 'field-chip-internal-surface', 'field-chip-surface', 'field-disabled-surface', 'field-readonly-surface', 'field-shadow', 'field-surface', 'focus-ring', 'font-body', 'font-code', 'font-heading', 'font-inherit', 'font-mono', 'font-sans', 'font-serif', 'font-weight-title', 'foreground', 'input', 'input-group-radius', 'leading-base', 'leading-body', 'leading-heading', 'leading-loose', 'leading-none', 'leading-normal', 'leading-relaxed', 'leading-snug', 'leading-supertight', 'leading-tight', 'leading-tighter', 'map-surface', 'mobile-navbar-height', 'muted', 'muted-foreground', 'popover', 'popover-foreground', 'primary', 'primary-foreground', 'publish-accent', 'radius', 'radius-2xl', 'radius-3xl', 'radius-badge', 'radius-card', 'radius-control', 'radius-control-sm', 'radius-field', 'radius-full', 'radius-lg', 'radius-md', 'radius-menu', 'radius-menu-item', 'radius-pill', 'radius-sm', 'radius-surface', 'radius-trend-badge', 'radius-xl', 'radius-xs', 'ring', 'secondary', 'secondary-foreground', 'shadow', 'shadow-control-outline', 'shadow-control-outline-pressed', 'shadow-control-pressed', 'shadow-field', 'shadow-inner', 'shadow-lg', 'shadow-md', 'shadow-md-heavy', 'shadow-none', 'shadow-sm', 'shadow-xl', 'shadow-xs', 'sidebar-accent', 'sidebar-accent-foreground', 'sidebar-background', 'sidebar-border', 'sidebar-foreground', 'sidebar-primary', 'sidebar-primary-foreground', 'sidebar-ring', 'spacing', 'state-danger', 'state-danger-foreground', 'state-info', 'state-info-foreground', 'state-success', 'state-success-foreground', 'state-warning', 'state-warning-border', 'state-warning-fill', 'state-warning-foreground', 'state-warning-surface', 'surface-elevated', 'surface-page', 'surface-panel', 'tab-inactive', 'tab-inactive-hover', 'text-2xl', 'text-2xs', 'text-3xl', 'text-4xl', 'text-5xl', 'text-5xl--line-height', 'text-6xl', 'text-6xl--line-height', 'text-7xl', 'text-7xl--line-height', 'text-8xl', 'text-8xl--line-height', 'text-9xl', 'text-9xl--line-height', 'text-base', 'text-body-lg', 'text-body-md', 'text-body-sm', 'text-control', 'text-control-lg', 'text-field', 'text-lg', 'text-md', 'text-primary', 'text-secondary', 'text-section-heading', 'text-section-heading-lg', 'text-sm', 'text-tertiary', 'text-xl', 'text-xs', 'tracking-normal', 'tracking-tight', 'tracking-tighter', 'tracking-tightest', 'tracking-wide', 'tracking-wider', 'tracking-widest'];
|
|
1
|
+
export declare const SHADE_TOKEN_NAMES: readonly ['accent', 'accent-foreground', 'animate-accordion-down', 'animate-accordion-up', 'animate-fade-in', 'animate-fade-out', 'animate-modal-backdrop-in', 'animate-modal-in', 'animate-modal-in-from-right', 'animate-modal-in-reverse', 'animate-spin', 'animate-toaster-in', 'animate-toaster-out', 'animate-toaster-top-in', 'background', 'border', 'border-default', 'border-strong', 'breakpoint-lg', 'breakpoint-md', 'breakpoint-sidebar', 'breakpoint-sidebarlg', 'breakpoint-sm', 'breakpoint-tablet', 'breakpoint-xl', 'breakpoint-xxl', 'breakpoint-xxxl', 'card', 'card-foreground', 'character-count', 'chart-1', 'chart-2', 'chart-3', 'chart-4', 'chart-5', 'chart-amber', 'chart-blue', 'chart-darkblue', 'chart-darkgray', 'chart-gray', 'chart-green', 'chart-orange', 'chart-purple', 'chart-rose', 'chart-teal', 'chart-yellow', 'color-accent', 'color-accent-foreground', 'color-background', 'color-black', 'color-blue', 'color-blue-100', 'color-blue-200', 'color-blue-300', 'color-blue-400', 'color-blue-50', 'color-blue-500', 'color-blue-600', 'color-blue-700', 'color-blue-800', 'color-blue-900', 'color-border', 'color-border-default', 'color-border-strong', 'color-card', 'color-card-foreground', 'color-character-count', 'color-chart-1', 'color-chart-2', 'color-chart-3', 'color-chart-4', 'color-chart-5', 'color-chart-amber', 'color-chart-blue', 'color-chart-darkgray', 'color-chart-gray', 'color-chart-green', 'color-chart-orange', 'color-chart-purple', 'color-chart-rose', 'color-chart-teal', 'color-chart-yellow', 'color-current', 'color-destructive', 'color-destructive-foreground', 'color-event-email-icon', 'color-event-email-surface', 'color-event-engagement-icon', 'color-event-engagement-surface', 'color-event-gain-icon', 'color-event-gain-surface', 'color-event-gift-icon', 'color-event-gift-surface', 'color-event-loss-icon', 'color-event-loss-surface', 'color-event-warning-icon', 'color-event-warning-surface', 'color-focus-ring', 'color-foreground', 'color-ghostaccent', 'color-gray', 'color-gray-100', 'color-gray-200', 'color-gray-300', 'color-gray-400', 'color-gray-50', 'color-gray-500', 'color-gray-600', 'color-gray-700', 'color-gray-800', 'color-gray-900', 'color-gray-950', 'color-green', 'color-green-100', 'color-green-200', 'color-green-300', 'color-green-400', 'color-green-50', 'color-green-500', 'color-green-600', 'color-green-700', 'color-green-800', 'color-green-900', 'color-input', 'color-lime', 'color-lime-100', 'color-lime-200', 'color-lime-300', 'color-lime-400', 'color-lime-50', 'color-lime-500', 'color-lime-600', 'color-lime-700', 'color-lime-800', 'color-lime-900', 'color-map-surface', 'color-muted', 'color-muted-foreground', 'color-orange', 'color-orange-100', 'color-orange-200', 'color-orange-300', 'color-orange-400', 'color-orange-50', 'color-orange-500', 'color-orange-600', 'color-orange-700', 'color-orange-800', 'color-orange-900', 'color-pink', 'color-pink-100', 'color-pink-200', 'color-pink-300', 'color-pink-400', 'color-pink-50', 'color-pink-500', 'color-pink-600', 'color-pink-700', 'color-pink-800', 'color-pink-900', 'color-popover', 'color-popover-foreground', 'color-primary', 'color-primary-foreground', 'color-publish-accent', 'color-purple', 'color-purple-100', 'color-purple-200', 'color-purple-300', 'color-purple-400', 'color-purple-50', 'color-purple-500', 'color-purple-600', 'color-purple-700', 'color-purple-800', 'color-purple-900', 'color-red', 'color-red-100', 'color-red-200', 'color-red-300', 'color-red-400', 'color-red-50', 'color-red-500', 'color-red-600', 'color-red-700', 'color-red-800', 'color-red-900', 'color-ring', 'color-secondary', 'color-secondary-foreground', 'color-sidebar', 'color-sidebar-accent', 'color-sidebar-accent-foreground', 'color-sidebar-border', 'color-sidebar-foreground', 'color-sidebar-primary', 'color-sidebar-primary-foreground', 'color-sidebar-ring', 'color-state-danger', 'color-state-danger-foreground', 'color-state-info', 'color-state-info-foreground', 'color-state-success', 'color-state-success-foreground', 'color-state-warning', 'color-state-warning-border', 'color-state-warning-fill', 'color-state-warning-foreground', 'color-state-warning-surface', 'color-surface-elevated', 'color-surface-page', 'color-surface-panel', 'color-text-primary', 'color-text-secondary', 'color-text-tertiary', 'color-transparent', 'color-white', 'color-yellow', 'color-yellow-100', 'color-yellow-200', 'color-yellow-300', 'color-yellow-400', 'color-yellow-50', 'color-yellow-500', 'color-yellow-600', 'color-yellow-700', 'color-yellow-800', 'color-yellow-900', 'container-0', 'container-2xl', 'container-3xl', 'container-4xl', 'container-5xl', 'container-6xl', 'container-7xl', 'container-8xl', 'container-9xl', 'container-lg', 'container-md', 'container-page', 'container-pageminsidebar', 'container-prose', 'container-sm', 'container-xl', 'container-xs', 'control-height', 'control-height-lg', 'control-outline-pressed-shadow', 'control-outline-shadow', 'control-pressed-shadow', 'destructive', 'destructive-foreground', 'duration-base', 'duration-fast', 'duration-slow', 'ease-emphasized', 'ease-standard', 'event-email-icon', 'event-email-surface', 'event-engagement-icon', 'event-engagement-surface', 'event-gain-icon', 'event-gain-surface', 'event-gift-icon', 'event-gift-surface', 'event-loss-icon', 'event-loss-surface', 'event-warning-icon', 'event-warning-surface', 'field-border', 'field-chip-internal-border', 'field-chip-internal-surface', 'field-chip-surface', 'field-disabled-surface', 'field-readonly-surface', 'field-shadow', 'field-surface', 'focus-ring', 'font-body', 'font-code', 'font-heading', 'font-inherit', 'font-mono', 'font-sans', 'font-serif', 'font-weight-settings-heading', 'font-weight-title', 'foreground', 'input', 'input-group-radius', 'leading-base', 'leading-body', 'leading-heading', 'leading-loose', 'leading-none', 'leading-normal', 'leading-relaxed', 'leading-snug', 'leading-supertight', 'leading-tight', 'leading-tighter', 'map-surface', 'mobile-navbar-height', 'muted', 'muted-foreground', 'popover', 'popover-foreground', 'primary', 'primary-foreground', 'publish-accent', 'radius', 'radius-2xl', 'radius-3xl', 'radius-badge', 'radius-card', 'radius-control', 'radius-control-sm', 'radius-field', 'radius-full', 'radius-lg', 'radius-md', 'radius-menu', 'radius-menu-item', 'radius-pill', 'radius-sm', 'radius-surface', 'radius-trend-badge', 'radius-xl', 'radius-xs', 'ring', 'secondary', 'secondary-foreground', 'shadow', 'shadow-control-outline', 'shadow-control-outline-pressed', 'shadow-control-pressed', 'shadow-field', 'shadow-inner', 'shadow-lg', 'shadow-md', 'shadow-md-heavy', 'shadow-none', 'shadow-sm', 'shadow-xl', 'shadow-xs', 'sidebar-accent', 'sidebar-accent-foreground', 'sidebar-background', 'sidebar-border', 'sidebar-foreground', 'sidebar-primary', 'sidebar-primary-foreground', 'sidebar-ring', 'spacing', 'state-danger', 'state-danger-foreground', 'state-info', 'state-info-foreground', 'state-success', 'state-success-foreground', 'state-warning', 'state-warning-border', 'state-warning-fill', 'state-warning-foreground', 'state-warning-surface', 'surface-elevated', 'surface-page', 'surface-panel', 'tab-inactive', 'tab-inactive-hover', 'text-2xl', 'text-2xs', 'text-3xl', 'text-4xl', 'text-5xl', 'text-5xl--line-height', 'text-6xl', 'text-6xl--line-height', 'text-7xl', 'text-7xl--line-height', 'text-8xl', 'text-8xl--line-height', 'text-9xl', 'text-9xl--line-height', 'text-base', 'text-body-lg', 'text-body-md', 'text-body-sm', 'text-control', 'text-control-lg', 'text-field', 'text-lg', 'text-md', 'text-primary', 'text-secondary', 'text-section-heading', 'text-section-heading-lg', 'text-sm', 'text-tertiary', 'text-xl', 'text-xs', 'tracking-normal', 'tracking-section-heading', 'tracking-settings-heading', 'tracking-tight', 'tracking-tighter', 'tracking-tightest', 'tracking-wide', 'tracking-wider', 'tracking-widest'];
|
|
2
2
|
export type ShadeTokenName = (typeof SHADE_TOKEN_NAMES)[number];
|
|
3
3
|
export declare const shadeToken: (name: ShadeTokenName) => string;
|
|
4
4
|
//# sourceMappingURL=tokens.d.ts.map
|
package/types/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,YAC5B,QAAQ,EACR,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,kBAAkB,EAClB,6BAA6B,EAC7B,0BAA0B,EAC1B,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,SAAS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AiB,CACT,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,eAAO,MAAM,UAAU,SAAU,cAAc,KAAG,MAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,YAC5B,QAAQ,EACR,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,kBAAkB,EAClB,6BAA6B,EAC7B,0BAA0B,EAC1B,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,cAAc,EACd,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,yBAAyB,EACzB,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,EACZ,uBAAuB,EACvB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EAC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