@tryghost/shade 0.1.0-alpha.2 → 0.1.0-alpha.21
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/README.md +30 -64
- package/es/components/page-templates/list-page.js +2 -1
- package/es/components/page-templates/list-page.js.map +1 -1
- package/es/components/patterns/filter-bar.js +4 -6
- package/es/components/patterns/filter-bar.js.map +1 -1
- package/es/components/patterns/filters.js +35 -22
- package/es/components/patterns/filters.js.map +1 -1
- package/es/components/patterns/gh-chart.js +6 -3
- package/es/components/patterns/gh-chart.js.map +1 -1
- package/es/components/patterns/image-upload.js +1 -3
- package/es/components/patterns/image-upload.js.map +1 -1
- package/es/components/patterns/page-header.js +18 -43
- package/es/components/patterns/page-header.js.map +1 -1
- package/es/components/patterns/setting-group-variants.js +1 -1
- package/es/components/patterns/setting-group-variants.js.map +1 -1
- package/es/components/patterns/share-modal.js +3 -15
- package/es/components/patterns/share-modal.js.map +1 -1
- package/es/components/ui/alert-dialog.js +2 -4
- package/es/components/ui/alert-dialog.js.map +1 -1
- package/es/components/ui/avatar.js +8 -4
- package/es/components/ui/avatar.js.map +1 -1
- package/es/components/ui/badge-variants.js +1 -1
- package/es/components/ui/badge-variants.js.map +1 -1
- package/es/components/ui/banner-variants.js +4 -4
- package/es/components/ui/banner-variants.js.map +1 -1
- package/es/components/ui/button-variants.js +2 -33
- package/es/components/ui/button-variants.js.map +1 -1
- package/es/components/ui/button.js +1 -2
- package/es/components/ui/button.js.map +1 -1
- package/es/components/ui/calendar.js +5 -6
- package/es/components/ui/calendar.js.map +1 -1
- package/es/components/ui/card-variants.js +1 -1
- package/es/components/ui/card-variants.js.map +1 -1
- package/es/components/ui/card.js +1 -1
- package/es/components/ui/card.js.map +1 -1
- package/es/components/ui/chart.js +2 -29
- package/es/components/ui/chart.js.map +1 -1
- package/es/components/ui/combobox.js +2 -2
- package/es/components/ui/combobox.js.map +1 -1
- package/es/components/ui/copy-field.js +1 -3
- package/es/components/ui/copy-field.js.map +1 -1
- package/es/components/ui/data-list.js +1 -3
- package/es/components/ui/data-list.js.map +1 -1
- package/es/components/ui/dialog.js +32 -8
- package/es/components/ui/dialog.js.map +1 -1
- package/es/components/ui/dropzone-variants.js +1 -3
- package/es/components/ui/dropzone-variants.js.map +1 -1
- package/es/components/ui/dropzone.js +2 -2
- package/es/components/ui/dropzone.js.map +1 -1
- package/es/components/ui/floating-sidebar.js +4 -4
- package/es/components/ui/floating-sidebar.js.map +1 -1
- package/es/components/ui/image-overlay-button.js +2 -2
- package/es/components/ui/image-overlay-button.js.map +1 -1
- package/es/components/ui/input-group.js +2 -5
- package/es/components/ui/input-group.js.map +1 -1
- package/es/components/ui/navbar.js +1 -3
- package/es/components/ui/navbar.js.map +1 -1
- package/es/components/ui/pagemenu.js +33 -9
- package/es/components/ui/pagemenu.js.map +1 -1
- package/es/components/ui/select-variants.js +2 -10
- package/es/components/ui/select-variants.js.map +1 -1
- package/es/components/ui/select.js +1 -4
- package/es/components/ui/select.js.map +1 -1
- package/es/components/ui/simple-pagination.js +4 -7
- package/es/components/ui/simple-pagination.js.map +1 -1
- package/es/components/ui/sticky-footer.js +1 -1
- package/es/components/ui/sticky-footer.js.map +1 -1
- package/es/components/ui/toast.js +2 -0
- package/es/components/ui/toggle-group.js +1 -3
- package/es/components/ui/toggle-group.js.map +1 -1
- package/es/components/ui/toggle-variants.js +1 -7
- package/es/components/ui/toggle-variants.js.map +1 -1
- package/es/components/ui/toggle.js +1 -2
- package/es/components/ui/toggle.js.map +1 -1
- package/es/components/ui/token-field.js +2 -2
- package/es/components/ui/token-field.js.map +1 -1
- package/es/components/ui/tooltip.js +8 -17
- package/es/components/ui/tooltip.js.map +1 -1
- package/es/components.js +3 -2
- package/es/index.js +3 -2
- package/es/lib/date-utils.js +151 -0
- package/es/lib/date-utils.js.map +1 -0
- package/es/lib/ds-utils.js +16 -72
- package/es/lib/ds-utils.js.map +1 -1
- package/es/lib/utils.js +3 -2
- package/es/providers/header-tooltip-provider.js +1 -4
- package/es/providers/header-tooltip-provider.js.map +1 -1
- package/es/providers/shade-context.js +1 -1
- package/es/providers/shade-context.js.map +1 -1
- package/es/providers/shade-provider.js +3 -3
- package/es/providers/shade-provider.js.map +1 -1
- package/es/shade-app.js +3 -3
- package/es/shade-app.js.map +1 -1
- package/es/shade-scope.js +2 -2
- package/es/shade-scope.js.map +1 -1
- package/es/tokens.js +1 -8
- package/es/tokens.js.map +1 -1
- package/es/utils.js +3 -2
- package/package.json +6 -6
- package/styles.css +12 -10
- package/tailwind.theme.css +202 -187
- package/theme-variables.css +291 -42
- package/types/components/page-templates/list-page.d.ts +2 -1
- package/types/components/page-templates/list-page.d.ts.map +1 -1
- package/types/components/patterns/filter-bar.d.ts.map +1 -1
- package/types/components/patterns/filters.d.ts +2 -4
- package/types/components/patterns/filters.d.ts.map +1 -1
- package/types/components/patterns/gh-chart.d.ts.map +1 -1
- package/types/components/patterns/image-upload.d.ts.map +1 -1
- package/types/components/patterns/page-header.d.ts +6 -11
- package/types/components/patterns/page-header.d.ts.map +1 -1
- package/types/components/patterns/share-modal.d.ts +1 -1
- package/types/components/patterns/share-modal.d.ts.map +1 -1
- package/types/components/ui/avatar.d.ts.map +1 -1
- package/types/components/ui/button-variants.d.ts +0 -1
- package/types/components/ui/button-variants.d.ts.map +1 -1
- package/types/components/ui/button.d.ts +1 -1
- package/types/components/ui/button.d.ts.map +1 -1
- package/types/components/ui/calendar.d.ts.map +1 -1
- package/types/components/ui/chart.d.ts +1 -17
- package/types/components/ui/chart.d.ts.map +1 -1
- package/types/components/ui/combobox.d.ts.map +1 -1
- package/types/components/ui/copy-field.d.ts.map +1 -1
- package/types/components/ui/data-list.d.ts.map +1 -1
- package/types/components/ui/dialog.d.ts +11 -2
- package/types/components/ui/dialog.d.ts.map +1 -1
- package/types/components/ui/dropzone-variants.d.ts +1 -1
- package/types/components/ui/dropzone-variants.d.ts.map +1 -1
- package/types/components/ui/image-overlay-button.d.ts +1 -1
- package/types/components/ui/image-overlay-button.d.ts.map +1 -1
- package/types/components/ui/input-group.d.ts.map +1 -1
- package/types/components/ui/navbar.d.ts.map +1 -1
- package/types/components/ui/pagemenu.d.ts +3 -0
- package/types/components/ui/pagemenu.d.ts.map +1 -1
- package/types/components/ui/select-variants.d.ts +0 -1
- package/types/components/ui/select-variants.d.ts.map +1 -1
- package/types/components/ui/select.d.ts +1 -1
- package/types/components/ui/select.d.ts.map +1 -1
- package/types/components/ui/simple-pagination.d.ts.map +1 -1
- package/types/components/ui/toast.d.ts +2 -0
- package/types/components/ui/toast.d.ts.map +1 -0
- package/types/components/ui/toggle-group.d.ts +4 -6
- package/types/components/ui/toggle-group.d.ts.map +1 -1
- package/types/components/ui/toggle-variants.d.ts +0 -1
- package/types/components/ui/toggle-variants.d.ts.map +1 -1
- package/types/components/ui/toggle.d.ts +2 -3
- package/types/components/ui/toggle.d.ts.map +1 -1
- package/types/components/ui/token-field.d.ts +2 -2
- package/types/components/ui/token-field.d.ts.map +1 -1
- package/types/components/ui/tooltip.d.ts.map +1 -1
- package/types/components.d.ts +1 -0
- package/types/components.d.ts.map +1 -1
- package/types/lib/date-utils.d.ts +17 -0
- package/types/lib/date-utils.d.ts.map +1 -0
- package/types/lib/ds-utils.d.ts +2 -16
- package/types/lib/ds-utils.d.ts.map +1 -1
- package/types/lib/utils.d.ts +1 -0
- package/types/lib/utils.d.ts.map +1 -1
- package/types/providers/header-tooltip-provider.d.ts.map +1 -1
- package/types/providers/shade-context.d.ts +2 -1
- package/types/providers/shade-context.d.ts.map +1 -1
- package/types/providers/shade-provider.d.ts +1 -1
- package/types/providers/shade-provider.d.ts.map +1 -1
- package/types/shade-app.d.ts +5 -2
- package/types/shade-app.d.ts.map +1 -1
- package/types/tokens.d.ts +1 -1
- package/types/tokens.d.ts.map +1 -1
- package/types/utils.d.ts +2 -1
- package/types/utils.d.ts.map +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare const buttonVariants: (props?: ({
|
|
2
2
|
variant?: "default" | "destructive" | "destructive-ghost" | "dropdown" | "ghost" | "link" | "outline" | "secondary" | "subtle" | null | undefined;
|
|
3
3
|
size?: "default" | "icon" | "icon-sm" | "lg" | "sm" | null | undefined;
|
|
4
|
-
isAdmin7?: boolean | null | undefined;
|
|
5
4
|
shape?: "pill" | "rounded" | null | undefined;
|
|
6
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
6
|
export { buttonVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;8EA+FnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { buttonVariants } from '../../components/ui/button-variants';
|
|
4
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
4
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIjE,MAAM,WAAW,WACf,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIjE,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IAC1F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,uFA6BX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAI9E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGhD,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAI9E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGhD,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,qBAwHA;kBAnIQ,QAAQ;;;AAsIjB,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,qBAkCxC;kBAvCQ,iBAAiB;;;AA0C1B,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -70,21 +70,5 @@ interface AlignedAxisTickProps {
|
|
|
70
70
|
formatter?: (value: string | number) => string;
|
|
71
71
|
}
|
|
72
72
|
declare const AlignedAxisTick: React.FC<AlignedAxisTickProps>;
|
|
73
|
-
|
|
74
|
-
value: number;
|
|
75
|
-
payload: {
|
|
76
|
-
date?: string;
|
|
77
|
-
formattedValue?: string;
|
|
78
|
-
label?: string;
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
interface DateTooltipProps {
|
|
82
|
-
color?: string;
|
|
83
|
-
active?: boolean;
|
|
84
|
-
payload?: DateTooltipPayload[];
|
|
85
|
-
range?: number;
|
|
86
|
-
}
|
|
87
|
-
declare const DateTooltipContent: ({ color, active, payload, range }: DateTooltipProps) => React.JSX.Element | null;
|
|
88
|
-
export default DateTooltipContent;
|
|
89
|
-
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, AlignedAxisTick, DateTooltipContent, };
|
|
73
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, AlignedAxisTick, };
|
|
90
74
|
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../src/components/ui/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAC;AAK9C,QAAA,MAAM,MAAM;aAAK,KAAK,EAAE,EAAE;aAAE,IAAI,EAAE,OAAO;CAAW,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAC5B,GAAG,CACA;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE,GACjC;QAAE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,OAAO,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAChE;CACF,CAAC;AAkBF,QAAA,MAAM,cAAc;YAGR,WAAW;cACT,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,UAAU,CAAC;gDAsB1F,CAAC;AAGH,QAAA,MAAM,UAAU,mBAAoB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,6BA6BtE,CAAC;AAEF,QAAA,MAAM,YAAY,kCAA4B,CAAC;AAE/C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;gBAIP,OAAO;oBACH,OAAO;gBACX,MAAM,GAAG,KAAK,GAAG,QAAQ;cAC3B,MAAM;eACL,MAAM;gDAqItB,CAAC;AAGF,QAAA,MAAM,WAAW,iCAA2B,CAAC;AAE7C,QAAA,MAA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AC;AAGH,QAAA,MAAM,UAAU,mBAAoB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,6BA6BtE,CAAC;AAEF,QAAA,MAAM,YAAY,kCAA4B,CAAC;AAE/C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;gBAIP,OAAO;oBACH,OAAO;gBACX,MAAM,GAAG,KAAK,GAAG,QAAQ;cAC3B,MAAM;eACL,MAAM;gDAqItB,CAAC;AAGF,QAAA,MAAM,WAAW,iCAA2B,CAAC;AAE7C,QAAA,MAAM,kBAAkB;eAIP,OAAO;cACR,MAAM;gDA2CpB,CAAC;AA6BH,UAAU,oBAAoB;IAC5B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;KACxB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACxC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;CAChD;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAenD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,eAAe,GAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,QAAQ,0DAAU,CAAC;AAEzB,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,QAAQ,0DAAU,CAAC;AAEzB,QAAA,MAAM,eAAe,uIAsBnB,CAAC;AAGH,UAAU,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,aAAa,4FAYlB,CAAC;AAGF,QAAA,MAAM,eAAe,oOAUnB,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/copy-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"copy-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/copy-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAwBlE,UAAU,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,SAAS,uFA8Dd,CAAC;AAGF,QAAA,MAAM,cAAc,4JAmBnB,CAAC;AAGF,QAAA,MAAM,gBAAgB,6GAarB,CAAC;AAGF,QAAA,MAAM,cAAc,4JAwBnB,CAAC;AAGF,QAAA,MAAM,gBAAgB,gKAerB,CAAC;AAGF,UAAU,wBAAyB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,QAAA,MAAM,mBAAmB,oGA0BxB,CAAC;AAGF,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,cAAc,GACf,CAAC;AACF,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-list.d.ts","sourceRoot":"","sources":["../../../src/components/ui/data-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-list.d.ts","sourceRoot":"","sources":["../../../src/components/ui/data-list.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAClE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,QAAQ,sFAQb,CAAC;AAMF,UAAU,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,cAAc,4FAenB,CAAC;AAMF,UAAU,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,0FAQjB,CAAC;AAMF,UAAU,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,0FAQjB,CAAC;AAM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,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,GACtB,CAAC"}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
-
declare const Dialog: React.
|
|
3
|
+
declare const Dialog: ({ modal, ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) => React.JSX.Element;
|
|
4
4
|
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
6
|
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
|
|
8
|
+
export interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
9
|
+
/**
|
|
10
|
+
* How a dialog taller than the window scrolls. `fixed` (the default) pins the dialog near
|
|
11
|
+
* the top of the window, so it needs its own height limit and inner scroll. `overlay` makes
|
|
12
|
+
* the backdrop the scroll container instead: the whole dialog scrolls as one piece, the way
|
|
13
|
+
* a page does.
|
|
14
|
+
*/
|
|
15
|
+
scroll?: 'fixed' | 'overlay';
|
|
16
|
+
}
|
|
17
|
+
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
18
|
declare function DialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
10
19
|
declare namespace DialogHeader {
|
|
11
20
|
var displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAQ1D,QAAA,MAAM,MAAM,wBAAgC,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,sBAI5F,CAAC;AAEF,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,8JAajB,CAAC;AAOH,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,wBAAwB,CACxE,OAAO,eAAe,CAAC,OAAO,CAC/B;IACC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,QAAA,MAAM,aAAa,2FAwDjB,CAAC;8BAGmB,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;;;8BAK7D,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;;;AAWnF,QAAA,MAAM,WAAW,oKASf,CAAC;AAGH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
|
|
@@ -2,6 +2,6 @@ import type { ControlShape } from '../../providers/shade-context';
|
|
|
2
2
|
declare const dropzoneBaseVariants: (props?: ({
|
|
3
3
|
variant?: "button" | "buttonSecondary" | "default" | "filled" | null | undefined;
|
|
4
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
-
declare function dropzoneVariants(props?: Parameters<typeof dropzoneBaseVariants>[0],
|
|
5
|
+
declare function dropzoneVariants(props?: Parameters<typeof dropzoneBaseVariants>[0], shape?: ControlShape): string;
|
|
6
6
|
export { dropzoneVariants };
|
|
7
7
|
//# sourceMappingURL=dropzone-variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropzone-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropzone-variants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,QAAA,MAAM,oBAAoB;;8EAqBzB,CAAC;AAGF,iBAAS,gBAAgB,CACvB,KAAK,GAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAM,EACtD,
|
|
1
|
+
{"version":3,"file":"dropzone-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropzone-variants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,QAAA,MAAM,oBAAoB;;8EAqBzB,CAAC;AAGF,iBAAS,gBAAgB,CACvB,KAAK,GAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAM,EACtD,KAAK,GAAE,YAAqB,UAS7B;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -3,5 +3,5 @@ export declare const imageOverlayButtonClasses: {
|
|
|
3
3
|
readonly pressed: 'enabled:active:bg-surface-inverse enabled:active:text-surface-inverse-foreground enabled:aria-expanded:bg-surface-inverse enabled:aria-expanded:text-surface-inverse-foreground';
|
|
4
4
|
};
|
|
5
5
|
/** Keep image-overlay controls legible over the image in every button state. */
|
|
6
|
-
export declare function imageOverlayButton(
|
|
6
|
+
export declare function imageOverlayButton(): string;
|
|
7
7
|
//# sourceMappingURL=image-overlay-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-overlay-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/image-overlay-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,sHAAsH;aAC5H,OAAO,EACL,iLAAiL;CAC3K,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"image-overlay-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/image-overlay-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,sHAAsH;aAC5H,OAAO,EACL,iLAAiL;CAC3K,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,kBAAkB,WAEjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAEjF,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,qBAY3E;AAED,QAAA,MAAM,uBAAuB;;8EAiB5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,qBA0B5E;AAiBD,QAAA,MAAM,gBAAgB;;iIAoBpB,CAAC;AAGH,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAU5E;AAED,QAAA,MAAM,eAAe,8KAYpB,CAAC;AAGF,QAAA,MAAM,kBAAkB,0LAYvB,CAAC;AAGF,OAAO,EACL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,2FAelB,CAAC;AAIF,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,8FAarB,CAAC;AAIF,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,oFAgBX,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -3,8 +3,11 @@ import { type ButtonProps } from './button';
|
|
|
3
3
|
export interface PageMenuProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
responsive?: boolean;
|
|
6
|
+
/** The active item's value. Pass with `onValueChange` to control the menu, e.g. from the current route. */
|
|
6
7
|
value?: string;
|
|
8
|
+
/** The item active on first render when the menu manages its own selection. */
|
|
7
9
|
defaultValue?: string;
|
|
10
|
+
/** Called with the item's value when the user picks a different item. */
|
|
8
11
|
onValueChange?: (value: string) => void;
|
|
9
12
|
className?: string;
|
|
10
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagemenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagemenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"pagemenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagemenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAepD,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2GAA2G;IAC3G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,QAAQ,sFA0Mb,CAAC;AAIF,QAAA,MAAM,YAAY,6FA6BjB,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare const selectTriggerVariants: (props?: ({
|
|
2
2
|
variant?: "default" | "ghost" | "secondary" | null | undefined;
|
|
3
|
-
isAdmin7?: boolean | null | undefined;
|
|
4
3
|
shape?: "pill" | "rounded" | null | undefined;
|
|
5
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
5
|
export { selectTriggerVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"select-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB;;;8EAmC1B,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { selectTriggerVariants } from '../../components/ui/select-variants';
|
|
|
5
5
|
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
6
6
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
8
|
-
export interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>,
|
|
8
|
+
export interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
9
9
|
/** Show the dropdown chevron. Defaults to hidden for the secondary variant. */
|
|
10
10
|
showChevron?: boolean;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAKxE,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C,MAAM,WAAW,kBACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAC9D,YAAY,CAAC,OAAO,qBAAqB,CAAC;IAC5C,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,aAAa,8FAgClB,CAAC;AAGF,QAAA,MAAM,oBAAoB,qKAWxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,uKAW1B,CAAC;AAGH,QAAA,MAAM,aAAa,8JAgCjB,CAAC;AAGH,QAAA,MAAM,WAAW,4JASf,CAAC;AAGH,QAAA,MAAM,UAAU,2JAmBd,CAAC;AAGH,QAAA,MAAM,eAAe,gKASnB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"simple-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/simple-pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;AAG/C;;GAEG;AAEH,QAAA,MAAM,gBAAgB,6GAYrB,CAAC;AAIF,UAAU,0BAA2B,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,qBAAqB,oGAQ1B,CAAC;AAIF,QAAA,MAAM,0BAA0B,6GAS9B,CAAC;AAIH,QAAA,MAAM,8BAA8B,uFAQnC,CAAC;AAIF,QAAA,MAAM,0BAA0B,uFAQ/B,CAAC;AAIF,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toast.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref">) &
|
|
4
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | null | undefined;
|
|
6
6
|
size?: "button" | "default" | null | undefined;
|
|
7
|
-
isAdmin7?: boolean | null | undefined;
|
|
8
7
|
shape?: "pill" | "rounded" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
10
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
11
10
|
variant?: "default" | null | undefined;
|
|
12
11
|
size?: "button" | "default" | null | undefined;
|
|
13
|
-
isAdmin7?: boolean | null | undefined;
|
|
14
12
|
shape?: "pill" | "rounded" | null | undefined;
|
|
15
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
14
|
export { ToggleGroup, ToggleGroupItem };
|
|
17
15
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,QAAA,MAAM,WAAW;;;;uHAwBf,CAAC;AAIH,QAAA,MAAM,eAAe;;;;yHAyBnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare const toggleVariants: (props?: ({
|
|
2
2
|
variant?: "default" | null | undefined;
|
|
3
3
|
size?: "button" | "default" | null | undefined;
|
|
4
|
-
isAdmin7?: boolean | null | undefined;
|
|
5
4
|
shape?: "pill" | "rounded" | null | undefined;
|
|
6
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
6
|
export { toggleVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"toggle-variants.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-variants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;8EA4BnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
-
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
4
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | null | undefined;
|
|
6
6
|
size?: "button" | "default" | null | undefined;
|
|
7
|
-
isAdmin7?: boolean | null | undefined;
|
|
8
7
|
shape?: "pill" | "rounded" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
9
|
export { Toggle };
|
|
11
10
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAM7D,QAAA,MAAM,MAAM;;;;yHAeV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const tokenFieldClasses: {
|
|
3
3
|
readonly field: string;
|
|
4
4
|
readonly input: 'min-w-20 flex-1 bg-transparent px-2 text-control outline-hidden placeholder:text-muted-foreground';
|
|
5
|
-
readonly chip: 'h-6 max-w-full cursor-pointer gap-1 rounded-
|
|
6
|
-
readonly chevron: 'pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2)] right-
|
|
5
|
+
readonly chip: 'h-auto min-h-6 max-w-full cursor-pointer gap-1 rounded-xl border-transparent px-2 py-0.75 pr-1.5 text-left text-sm leading-4 whitespace-normal';
|
|
6
|
+
readonly chevron: 'pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2-1px)] right-1.5 size-4 text-muted-foreground';
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=token-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/token-field.ts"],"names":[],"mappings":"AAGA,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB;aAC5B,KAAK;aAIL,KAAK,EACH,mGAAmG;
|
|
1
|
+
{"version":3,"file":"token-field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/token-field.ts"],"names":[],"mappings":"AAGA,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB;aAC5B,KAAK;aAIL,KAAK,EACH,mGAAmG;aAErG,IAAI,EAAE,gJAAgJ;aAEtJ,OAAO,EACL,gIAAgI;CAC1H,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAU5D;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EACvB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,qBAqCxD;AAED,iBAAS,OAAO,CAAC,EACf,IAAI,EAAE,cAAc,EACpB,WAAmB,EACnB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAiCpD;AAED,QAAA,MAAM,cAAc,sKAoBlB,CAAC;AAGH,QAAA,MAAM,sBAAsB;;8EAW3B,CAAC;AAEF,MAAM,WAAW,mBACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,EAC/D,YAAY,CAAC,OAAO,sBAAsB,CAAC;CAAG;AAElD,QAAA,MAAM,cAAc,4FAgBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
package/types/components.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export * from './components/ui/table';
|
|
|
70
70
|
export * from './components/ui/tabs';
|
|
71
71
|
export * from './components/ui/tabs-variants';
|
|
72
72
|
export * from './components/ui/textarea';
|
|
73
|
+
export * from './components/ui/toast';
|
|
73
74
|
export * from './components/ui/toggle-group';
|
|
74
75
|
export * from './components/ui/tooltip';
|
|
75
76
|
export type { DropdownMenuCheckboxItemProps as DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc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;AAEpG,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const formatDisplayDate: (dateString: string, timezone?: string) => string;
|
|
2
|
+
/**
|
|
3
|
+
* Format a plain time in a given time zone.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* formatDisplayTime('2020-04-20T18:09:12.345Z', 'Africa/Lagos')
|
|
7
|
+
* // 7:09pm
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatDisplayTime: (dateString: string, timezone: string) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Formats a date based on the range, in the browser's time zone
|
|
12
|
+
* - For ranges above 365 days: shows month and year (e.g. "Apr 2025")
|
|
13
|
+
* - For ranges of 91 days or more: shows "Week of [date]"
|
|
14
|
+
* - For other ranges: shows the date in the same format as formatDisplayDate
|
|
15
|
+
*/
|
|
16
|
+
export declare const formatDisplayDateWithRange: (date: string, range: number, showHours?: boolean, hoursOnly?: boolean) => string;
|
|
17
|
+
//# sourceMappingURL=date-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-utils.d.ts","sourceRoot":"","sources":["../../src/lib/date-utils.ts"],"names":[],"mappings":"AAiLA,eAAO,MAAM,iBAAiB,eAAgB,MAAM,aAAa,MAAM,KAAG,MAczE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,eAAgB,MAAM,YAAY,MAAM,KAAG,MAQxE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,SAC/B,MAAM,SACL,MAAM,cACF,OAAO,cACP,OAAO,KACjB,MAqBF,CAAC"}
|
package/types/lib/ds-utils.d.ts
CHANGED
|
@@ -3,15 +3,6 @@ export declare function cn(...inputs: ClassValue[]): string;
|
|
|
3
3
|
export declare function debounce<T extends unknown[]>(func: (...args: T) => void, wait: number, immediate?: boolean): (...args: T) => void;
|
|
4
4
|
export declare function getScrollParent(node: Node | null): HTMLElement | null;
|
|
5
5
|
export declare const kebabToPascalCase: (str: string) => string;
|
|
6
|
-
export declare const formatDisplayDate: (dateString: string, timezone?: string) => string;
|
|
7
|
-
/**
|
|
8
|
-
* Format a plain time in a given time zone.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* formatDisplayTime('2020-04-20T18:09:12.345Z', 'Africa/Lagos')
|
|
12
|
-
* // 7:09pm
|
|
13
|
-
*/
|
|
14
|
-
export declare const formatDisplayTime: (dateString: string, timezone: string) => string;
|
|
15
6
|
export declare const formatTimestamp: (timestamp: string) => string;
|
|
16
7
|
export declare const formatNumber: (value: number, options?: Pick<Intl.NumberFormatOptions, 'minimumFractionDigits' | 'maximumFractionDigits'>) => string;
|
|
17
8
|
export declare function abbreviateNumber(number: number): string;
|
|
@@ -19,13 +10,8 @@ export declare const formatDuration: (seconds: number) => string;
|
|
|
19
10
|
export declare const formatPercentage: (value: number) => string;
|
|
20
11
|
export declare function getCountryFlag(countryCode: string): string;
|
|
21
12
|
export declare const stringToHslColor: (str: string, saturation: string, lightness: string) => string;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
* - For ranges above 365 days: shows month and year (e.g. "Apr 2025")
|
|
25
|
-
* - For ranges above 91 days: shows "Week of [date]"
|
|
26
|
-
* - For other ranges: uses the default formatDisplayDate
|
|
27
|
-
*/
|
|
28
|
-
export declare const formatDisplayDateWithRange: (date: string, range: number, showHours?: boolean, hoursOnly?: boolean) => string;
|
|
13
|
+
/** The admin7Design initials avatar colours: one palette family picked by the string's hash. */
|
|
14
|
+
export declare const stringToTonalAvatarClasses: (str: string) => string;
|
|
29
15
|
export declare const getYRange: (data: {
|
|
30
16
|
value: number;
|
|
31
17
|
}[]) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-utils.d.ts","sourceRoot":"","sources":["../../src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AE,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,KAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAiD/E,CAAC;AAGF,eAAO,MAAM,mBAAmB,UACvB,MAAM,EAAE,aACJ,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,KACnC,MAYF,CAAC"}
|
package/types/lib/utils.d.ts
CHANGED
package/types/lib/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-tooltip-provider.d.ts","sourceRoot":"","sources":["../../src/providers/header-tooltip-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"header-tooltip-provider.d.ts","sourceRoot":"","sources":["../../src/providers/header-tooltip-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,iBAAiB,qBAc1E"}
|
|
@@ -2,7 +2,8 @@ interface ShadeContextType {
|
|
|
2
2
|
isAnyTextFieldFocused: boolean;
|
|
3
3
|
setFocusState: (value: boolean) => void;
|
|
4
4
|
darkMode: boolean;
|
|
5
|
-
|
|
5
|
+
/** Admin's `admin7Design` Labs flag; see ShadeApp. */
|
|
6
|
+
admin7Design: boolean;
|
|
6
7
|
controlShape: ControlShape;
|
|
7
8
|
}
|
|
8
9
|
export type ControlShape = 'rounded' | 'pill';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-context.d.ts","sourceRoot":"","sources":["../../src/providers/shade-context.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"shade-context.d.ts","sourceRoot":"","sources":["../../src/providers/shade-context.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,CAAC;AAE9C,eAAO,MAAM,YAAY,2CAMvB,CAAC;AAEH,eAAO,MAAM,QAAQ,wBAAiC,CAAC;AAEvD,eAAO,MAAM,eAAe,wBAM3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-provider.d.ts","sourceRoot":"","sources":["../../src/providers/shade-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAwC5E,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"shade-provider.d.ts","sourceRoot":"","sources":["../../src/providers/shade-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAwC5E,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgC/C,CAAC;eAEa,aAAa"}
|
package/types/shade-app.d.ts
CHANGED
|
@@ -9,8 +9,11 @@ export declare const SHADE_APP_NAMESPACES = "shade shade-admin shade-activitypub
|
|
|
9
9
|
export interface ShadeAppProps extends React.HTMLProps<HTMLDivElement> {
|
|
10
10
|
darkMode: boolean;
|
|
11
11
|
controlShape?: ControlShape;
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Admin's `admin7Design` Labs flag. Admin passes the flag's value; isolated Shade
|
|
14
|
+
* previews and standalone apps default to the Admin 7 design. Removed with the flag.
|
|
15
|
+
*/
|
|
16
|
+
admin7Design?: boolean;
|
|
14
17
|
}
|
|
15
18
|
declare const ShadeApp: React.FC<ShadeAppProps>;
|
|
16
19
|
export default ShadeApp;
|
package/types/shade-app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-app.d.ts","sourceRoot":"","sources":["../src/shade-app.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,wCAAwC,CAAC;AAE1E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACpE,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B
|
|
1
|
+
{"version":3,"file":"shade-app.d.ts","sourceRoot":"","sources":["../src/shade-app.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,wCAAwC,CAAC;AAE1E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACpE,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiBrC,CAAC;eAEa,QAAQ"}
|
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', '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-
|
|
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', '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-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-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-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-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-foreground', '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', 'focus-ring', 'font-body', 'font-code', 'font-heading', 'font-inherit', 'font-mono', 'font-sans', 'font-serif', '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', 'mobile-navbar-height', 'muted', 'muted-foreground', 'popover', 'popover-foreground', 'primary', 'primary-foreground', 'radius', 'radius-2xl', 'radius-3xl', 'radius-badge', 'radius-card', 'radius-control', 'radius-control-sm', '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-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-foreground', 'surface-elevated', 'surface-page', 'surface-panel', '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-lg', 'text-md', 'text-primary', 'text-secondary', 'text-sm', 'text-tertiary', 'text-xl', 'text-xs', 'tracking-normal', '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,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,
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,YAC5B,QAAQ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