@opensearch-project/oui 2.0.0-alpha.1 → 2.0.0-alpha.2
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/CHANGELOG.md +19 -2
- package/dist/components/custom/avatar.d.ts +2 -2
- package/dist/components/custom/avatar.d.ts.map +1 -1
- package/dist/components/custom/avatar.js +6 -21
- package/dist/components/custom/avatar.js.map +1 -1
- package/dist/components/custom/breadcrumb.d.ts +1 -1
- package/dist/components/custom/breadcrumb.d.ts.map +1 -1
- package/dist/components/custom/breadcrumb.js +3 -18
- package/dist/components/custom/breadcrumb.js.map +1 -1
- package/dist/components/custom/button-group.d.ts +2 -2
- package/dist/components/custom/button-group.d.ts.map +1 -1
- package/dist/components/custom/button-group.js +5 -20
- package/dist/components/custom/button-group.js.map +1 -1
- package/dist/components/custom/button.d.ts +10 -3
- package/dist/components/custom/button.d.ts.map +1 -1
- package/dist/components/custom/button.js +16 -23
- package/dist/components/custom/button.js.map +1 -1
- package/dist/components/custom/checkbox.d.ts +1 -1
- package/dist/components/custom/checkbox.d.ts.map +1 -1
- package/dist/components/custom/checkbox.js +3 -18
- package/dist/components/custom/checkbox.js.map +1 -1
- package/dist/components/custom/combobox.d.ts +1 -1
- package/dist/components/custom/combobox.d.ts.map +1 -1
- package/dist/components/custom/combobox.js +47 -81
- package/dist/components/custom/combobox.js.map +1 -1
- package/dist/components/custom/context-menu.d.ts +4 -4
- package/dist/components/custom/context-menu.d.ts.map +1 -1
- package/dist/components/custom/context-menu.js +9 -20
- package/dist/components/custom/context-menu.js.map +1 -1
- package/dist/components/custom/pagination.d.ts +4 -4
- package/dist/components/custom/pagination.d.ts.map +1 -1
- package/dist/components/custom/pagination.js +9 -28
- package/dist/components/custom/pagination.js.map +1 -1
- package/dist/components/custom/progress.js +9 -19
- package/dist/components/custom/progress.js.map +1 -1
- package/dist/components/custom/radio-group.d.ts +2 -2
- package/dist/components/custom/radio-group.d.ts.map +1 -1
- package/dist/components/custom/radio-group.js +9 -24
- package/dist/components/custom/radio-group.js.map +1 -1
- package/dist/components/custom/select.d.ts +1 -1
- package/dist/components/custom/select.d.ts.map +1 -1
- package/dist/components/custom/select.js +3 -18
- package/dist/components/custom/select.js.map +1 -1
- package/dist/components/custom/switch.d.ts +1 -1
- package/dist/components/custom/switch.d.ts.map +1 -1
- package/dist/components/custom/switch.js +9 -29
- package/dist/components/custom/switch.js.map +1 -1
- package/dist/components/custom/tabs.d.ts +1 -1
- package/dist/components/custom/tabs.d.ts.map +1 -1
- package/dist/components/custom/tabs.js +6 -17
- package/dist/components/custom/tabs.js.map +1 -1
- package/dist/components/ui/accordion.d.ts +4 -4
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +8 -27
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +11 -11
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +20 -33
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/alert.d.ts +3 -3
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/alert.js +8 -23
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +1 -1
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/components/ui/aspect-ratio.js +2 -13
- package/dist/components/ui/aspect-ratio.js.map +1 -1
- package/dist/components/ui/avatar.d.ts +3 -3
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/avatar.js +7 -22
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +5 -20
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +7 -7
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.js +15 -32
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/button-group.d.ts +3 -3
- package/dist/components/ui/button-group.d.ts.map +1 -1
- package/dist/components/ui/button-group.js +9 -24
- package/dist/components/ui/button-group.js.map +1 -1
- package/dist/components/ui/button.d.ts +5 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +12 -21
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/calendar.d.ts +2 -2
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +20 -38
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +15 -30
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/carousel.d.ts +5 -5
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +40 -56
- package/dist/components/ui/carousel.js.map +1 -1
- package/dist/components/ui/checkbox.d.ts +1 -1
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +3 -20
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/collapsible.d.ts +3 -3
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +4 -15
- package/dist/components/ui/collapsible.js.map +1 -1
- package/dist/components/ui/command.d.ts +9 -9
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/command.js +18 -36
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +15 -15
- package/dist/components/ui/context-menu.d.ts.map +1 -1
- package/dist/components/ui/context-menu.js +25 -51
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/dialog.d.ts +10 -10
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +17 -38
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/drawer.d.ts +10 -10
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/drawer.js +17 -32
- package/dist/components/ui/drawer.js.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +15 -15
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +25 -51
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/form.d.ts +6 -6
- package/dist/components/ui/form.d.ts.map +1 -1
- package/dist/components/ui/form.js +35 -47
- package/dist/components/ui/form.js.map +1 -1
- package/dist/components/ui/hover-card.d.ts +3 -3
- package/dist/components/ui/hover-card.d.ts.map +1 -1
- package/dist/components/ui/hover-card.js +5 -17
- package/dist/components/ui/hover-card.js.map +1 -1
- package/dist/components/ui/input-otp.d.ts +4 -4
- package/dist/components/ui/input-otp.d.ts.map +1 -1
- package/dist/components/ui/input-otp.js +14 -28
- package/dist/components/ui/input-otp.js.map +1 -1
- package/dist/components/ui/input.d.ts +1 -1
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.js +3 -18
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.d.ts +1 -1
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/label.js +3 -14
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/menubar.d.ts +16 -16
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +28 -54
- package/dist/components/ui/menubar.js.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +8 -8
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +18 -40
- package/dist/components/ui/navigation-menu.js.map +1 -1
- package/dist/components/ui/pagination.d.ts +7 -7
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +15 -36
- package/dist/components/ui/pagination.js.map +1 -1
- package/dist/components/ui/popover.d.ts +4 -4
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +6 -18
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/progress.d.ts +1 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +3 -19
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/radio-group.d.ts +2 -2
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +5 -18
- package/dist/components/ui/radio-group.js.map +1 -1
- package/dist/components/ui/resizable.d.ts +3 -3
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/resizable.js +6 -22
- package/dist/components/ui/resizable.js.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +2 -2
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.js +6 -21
- package/dist/components/ui/scroll-area.js.map +1 -1
- package/dist/components/ui/select.d.ts +10 -10
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +20 -48
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/separator.d.ts +1 -1
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/separator.js +3 -14
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/sheet.d.ts +8 -8
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sheet.js +21 -42
- package/dist/components/ui/sheet.js.map +1 -1
- package/dist/components/ui/sidebar.d.ts +23 -23
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +108 -134
- package/dist/components/ui/sidebar.js.map +1 -1
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeleton.js +3 -18
- package/dist/components/ui/skeleton.js.map +1 -1
- package/dist/components/ui/slider.d.ts +1 -1
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +8 -23
- package/dist/components/ui/slider.js.map +1 -1
- package/dist/components/ui/sonner.d.ts +1 -2
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/components/ui/sonner.js +9 -24
- package/dist/components/ui/sonner.js.map +1 -1
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/spinner.js +3 -18
- package/dist/components/ui/spinner.js.map +1 -1
- package/dist/components/ui/switch.d.ts +1 -1
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +3 -19
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/table.d.ts +8 -8
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/table.js +17 -29
- package/dist/components/ui/table.js.map +1 -1
- package/dist/components/ui/tabs.d.ts +4 -4
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +9 -24
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/components/ui/textarea.d.ts +1 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea.js +3 -18
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +8 -19
- package/dist/components/ui/toggle-group.js.map +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +4 -15
- package/dist/components/ui/toggle.js.map +1 -1
- package/dist/components/ui/tooltip.d.ts +4 -4
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/components/ui/tooltip.js +7 -26
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/hooks/use-mobile.js +6 -6
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/lib/react-compat.js +5 -5
- package/dist/lib/react-compat.js.map +1 -1
- package/dist/lib/utils.js +1 -5
- package/dist/lib/utils.js.map +1 -1
- package/dist/style.css +82 -49
- package/dist/style.scoped.css +116 -87
- package/package.json +7 -12
|
@@ -3,17 +3,6 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
"use client";
|
|
6
|
-
var __assign = (this && this.__assign) || function () {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
6
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
18
7
|
var t = {};
|
|
19
8
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -25,11 +14,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
25
14
|
}
|
|
26
15
|
return t;
|
|
27
16
|
};
|
|
28
|
-
import
|
|
17
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
18
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
30
19
|
import { cva } from "class-variance-authority";
|
|
31
20
|
import { cn } from "../../lib/utils";
|
|
32
|
-
|
|
21
|
+
const toggleVariants = cva("oui:inline-flex oui:items-center oui:justify-center oui:gap-2 oui:rounded-md oui:text-sm oui:font-medium oui:hover:bg-muted oui:hover:text-muted-foreground oui:disabled:pointer-events-none oui:disabled:opacity-50 oui:data-[state=on]:bg-accent oui:data-[state=on]:text-accent-foreground oui:[&_svg]:pointer-events-none oui:[&_svg:not([class*=size-])]:size-4 oui:[&_svg]:shrink-0 oui:focus-visible:border-ring oui:focus-visible:ring-ring/50 oui:focus-visible:ring-[3px] oui:outline-none oui:transition-[color,box-shadow] oui:aria-invalid:ring-destructive/20 oui:dark:aria-invalid:ring-destructive/40 oui:aria-invalid:border-destructive oui:whitespace-nowrap", {
|
|
33
22
|
variants: {
|
|
34
23
|
variant: {
|
|
35
24
|
default: "oui:bg-transparent",
|
|
@@ -47,8 +36,8 @@ var toggleVariants = cva("oui:inline-flex oui:items-center oui:justify-center ou
|
|
|
47
36
|
},
|
|
48
37
|
});
|
|
49
38
|
function Toggle(_a) {
|
|
50
|
-
var
|
|
51
|
-
return (
|
|
39
|
+
var { className, variant, size } = _a, props = __rest(_a, ["className", "variant", "size"]);
|
|
40
|
+
return (_jsx(TogglePrimitive.Root, Object.assign({ "data-slot": "toggle", className: cn(toggleVariants({ variant, size, className })) }, props)));
|
|
52
41
|
}
|
|
53
42
|
export { Toggle, toggleVariants };
|
|
54
43
|
//# sourceMappingURL=toggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../src/components/ui/toggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,YAAY,CAAA;;;;;;;;;;;;;AAGZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,MAAM,cAAc,GAAG,GAAG,CACxB,ipBAAipB,EACjpB;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,oBAAoB;YAC7B,OAAO,EACL,mHAAmH;SACtH;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,8BAA8B;YACvC,EAAE,EAAE,gCAAgC;YACpC,EAAE,EAAE,kCAAkC;SACvC;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAA;AAED,SAAS,MAAM,CAAC,EAMqB;QANrB,EACd,SAAS,EACT,OAAO,EACP,IAAI,OAG+B,EAFhC,KAAK,cAJM,gCAKf,CADS;IAGR,OAAO,CACL,KAAC,eAAe,CAAC,IAAI,+BACT,QAAQ,EAClB,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,IACvD,KAAK,EACT,CACH,CAAA;AACH,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
-
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
4
|
-
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
5
|
-
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
6
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
3
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
8
8
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,eAAe,CAAC,EACvB,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,eAAe,CAAC,EACvB,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQxD;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAMpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAiBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright OpenSearch Contributors
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
var __assign = (this && this.__assign) || function () {
|
|
6
|
-
__assign = Object.assign || function(t) {
|
|
7
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
-
s = arguments[i];
|
|
9
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
10
|
-
t[p] = s[p];
|
|
11
|
-
}
|
|
12
|
-
return t;
|
|
13
|
-
};
|
|
14
|
-
return __assign.apply(this, arguments);
|
|
15
|
-
};
|
|
16
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
17
2
|
var t = {};
|
|
18
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -24,28 +9,24 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
24
9
|
}
|
|
25
10
|
return t;
|
|
26
11
|
};
|
|
27
|
-
import
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
13
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
29
14
|
import { cn } from "../../lib/utils";
|
|
30
15
|
function TooltipProvider(_a) {
|
|
31
|
-
var
|
|
32
|
-
return (
|
|
16
|
+
var { delayDuration = 0 } = _a, props = __rest(_a, ["delayDuration"]);
|
|
17
|
+
return (_jsx(TooltipPrimitive.Provider, Object.assign({ "data-slot": "tooltip-provider", delayDuration: delayDuration }, props)));
|
|
33
18
|
}
|
|
34
19
|
function Tooltip(_a) {
|
|
35
20
|
var props = __rest(_a, []);
|
|
36
|
-
return (
|
|
37
|
-
React.createElement(TooltipPrimitive.Root, __assign({ "data-slot": "tooltip" }, props))));
|
|
21
|
+
return (_jsx(TooltipProvider, { children: _jsx(TooltipPrimitive.Root, Object.assign({ "data-slot": "tooltip" }, props)) }));
|
|
38
22
|
}
|
|
39
23
|
function TooltipTrigger(_a) {
|
|
40
24
|
var props = __rest(_a, []);
|
|
41
|
-
return
|
|
25
|
+
return _jsx(TooltipPrimitive.Trigger, Object.assign({ "data-slot": "tooltip-trigger" }, props));
|
|
42
26
|
}
|
|
43
27
|
function TooltipContent(_a) {
|
|
44
|
-
var
|
|
45
|
-
return (
|
|
46
|
-
React.createElement(TooltipPrimitive.Content, __assign({ "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn("oui:bg-foreground oui:text-background oui:animate-in oui:fade-in-0 oui:zoom-in-95 oui:data-[state=closed]:animate-out oui:data-[state=closed]:fade-out-0 oui:data-[state=closed]:zoom-out-95 oui:data-[side=bottom]:slide-in-from-top-2 oui:data-[side=left]:slide-in-from-right-2 oui:data-[side=right]:slide-in-from-left-2 oui:data-[side=top]:slide-in-from-bottom-2 oui:z-50 oui:w-fit oui:origin-(--radix-tooltip-content-transform-origin) oui:rounded-md oui:px-3 oui:py-1.5 oui:text-xs oui:text-balance", className) }, props),
|
|
47
|
-
children,
|
|
48
|
-
React.createElement(TooltipPrimitive.Arrow, { className: "oui:bg-foreground oui:fill-foreground oui:z-50 oui:size-2.5 oui:translate-y-[calc(-50%_-_2px)] oui:rotate-45 oui:rounded-[2px]" }))));
|
|
28
|
+
var { className, sideOffset = 0, children } = _a, props = __rest(_a, ["className", "sideOffset", "children"]);
|
|
29
|
+
return (_jsx(TooltipPrimitive.Portal, { children: _jsxs(TooltipPrimitive.Content, Object.assign({ "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn("oui:bg-foreground oui:text-background oui:animate-in oui:fade-in-0 oui:zoom-in-95 oui:data-[state=closed]:animate-out oui:data-[state=closed]:fade-out-0 oui:data-[state=closed]:zoom-out-95 oui:data-[side=bottom]:slide-in-from-top-2 oui:data-[side=left]:slide-in-from-right-2 oui:data-[side=right]:slide-in-from-left-2 oui:data-[side=top]:slide-in-from-bottom-2 oui:z-50 oui:w-fit oui:origin-(--radix-tooltip-content-transform-origin) oui:rounded-md oui:px-3 oui:py-1.5 oui:text-xs oui:text-balance", className) }, props, { children: [children, _jsx(TooltipPrimitive.Arrow, { className: "oui:bg-foreground oui:fill-foreground oui:z-50 oui:size-2.5 oui:translate-y-[calc(-50%_-_2px)] oui:rotate-45 oui:rounded-[2px]" })] })) }));
|
|
49
30
|
}
|
|
50
31
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
51
32
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAOA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAE3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,SAAS,eAAe,CAAC,EAGgC;QAHhC,EACvB,aAAa,GAAG,CAAC,OAEsC,EADpD,KAAK,cAFe,iBAGxB,CADS;IAER,OAAO,CACL,KAAC,gBAAgB,CAAC,QAAQ,+BACd,kBAAkB,EAC5B,aAAa,EAAE,aAAa,IACxB,KAAK,EACT,CACH,CAAA;AACH,CAAC;AAED,SAAS,OAAO,CAAC,EAEoC;QADhD,KAAK,cADO,EAEhB,CADS;IAER,OAAO,CACL,KAAC,eAAe,cACd,KAAC,gBAAgB,CAAC,IAAI,+BAAW,SAAS,IAAK,KAAK,EAAI,GACxC,CACnB,CAAA;AACH,CAAC;AAED,SAAS,cAAc,CAAC,EAEgC;QADnD,KAAK,cADc,EAEvB,CADS;IAER,OAAO,KAAC,gBAAgB,CAAC,OAAO,+BAAW,iBAAiB,IAAK,KAAK,EAAI,CAAA;AAC5E,CAAC;AAED,SAAS,cAAc,CAAC,EAKgC;QALhC,EACtB,SAAS,EACT,UAAU,GAAG,CAAC,EACd,QAAQ,OAE8C,EADnD,KAAK,cAJc,uCAKvB,CADS;IAER,OAAO,CACL,KAAC,gBAAgB,CAAC,MAAM,cACtB,MAAC,gBAAgB,CAAC,OAAO,+BACb,iBAAiB,EAC3B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,EAAE,CACX,mfAAmf,EACnf,SAAS,CACV,IACG,KAAK,eAER,QAAQ,EACT,KAAC,gBAAgB,CAAC,KAAK,IAAC,SAAS,EAAC,gIAAgI,GAAG,KAC5I,GACH,CAC3B,CAAA;AACH,CAAC;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
package/dist/hooks/use-mobile.js
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
|
|
6
|
+
const MOBILE_BREAKPOINT = 768;
|
|
7
7
|
export function useIsMobile() {
|
|
8
|
-
|
|
9
|
-
React.useEffect(
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const [isMobile, setIsMobile] = React.useState(undefined);
|
|
9
|
+
React.useEffect(() => {
|
|
10
|
+
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
11
|
+
const onChange = () => {
|
|
12
12
|
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
13
13
|
};
|
|
14
14
|
mql.addEventListener('change', onChange);
|
|
15
15
|
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
16
|
-
return
|
|
16
|
+
return () => mql.removeEventListener('change', onChange);
|
|
17
17
|
}, []);
|
|
18
18
|
return !!isMobile;
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mobile.js","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,
|
|
1
|
+
{"version":3,"file":"use-mobile.js","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,iBAAiB,GAAG,GAAG,CAAC;AAE9B,MAAM,UAAU,WAAW;IACzB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAC5C,SAAS,CACV,CAAC;IAEF,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,iBAAiB,GAAG,CAAC,KAAK,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,GAAG,EAAE;YACpB,WAAW,CAAC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAC,CAAC;QACrD,CAAC,CAAC;QACF,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACzC,WAAW,CAAC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAC,CAAC;QACnD,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CAAC,CAAC,QAAQ,CAAC;AACpB,CAAC"}
|
package/dist/lib/react-compat.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
2
|
+
let idCounter = 0;
|
|
3
3
|
/**
|
|
4
4
|
* Polyfill for React.useId (React 18+)
|
|
5
5
|
* Generates a unique ID for React 16/17 compatibility
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
|
|
7
|
+
export const useId = () => {
|
|
8
|
+
const [id] = React.useState(() => `react-id-${++idCounter}`);
|
|
9
9
|
return id;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Cross-version compatible useId hook
|
|
13
13
|
* Uses React.useId if available (React 18+), otherwise uses polyfill
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export const useCompatId = () => {
|
|
16
16
|
// Check if React.useId exists (React 18+)
|
|
17
17
|
// @ts-ignore - React.useId might not exist in older React versions
|
|
18
18
|
if (typeof React.useId === 'function') {
|
|
@@ -25,7 +25,7 @@ export var useCompatId = function () {
|
|
|
25
25
|
/**
|
|
26
26
|
* Runtime detection of React features for conditional logic
|
|
27
27
|
*/
|
|
28
|
-
export
|
|
28
|
+
export const reactFeatures = {
|
|
29
29
|
hasUseId: typeof React.useId === 'function',
|
|
30
30
|
hasNewJSXTransform: typeof React.createElement !== 'undefined',
|
|
31
31
|
version: React.version
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-compat.js","sourceRoot":"","sources":["../../src/lib/react-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,IAAI,SAAS,GAAG,CAAC,CAAA;AAEjB;;;GAGG;AACH,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"react-compat.js","sourceRoot":"","sources":["../../src/lib/react-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,IAAI,SAAS,GAAG,CAAC,CAAA;AAEjB;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,GAAW,EAAE;IAChC,MAAM,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,CAAC,CAAA;IAC5D,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAW,EAAE;IACtC,0CAA0C;IAC1C,mEAAmE;IACnE,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,UAAU,EAAE,CAAC;QACtC,aAAa;QACb,OAAO,KAAK,CAAC,KAAK,EAAE,CAAA;IACtB,CAAC;IAED,uCAAuC;IACvC,OAAO,KAAK,EAAE,CAAA;AAChB,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,QAAQ,EAAE,OAAQ,KAAa,CAAC,KAAK,KAAK,UAAU;IACpD,kBAAkB,EAAE,OAAO,KAAK,CAAC,aAAa,KAAK,WAAW;IAC9D,OAAO,EAAE,KAAK,CAAC,OAAO;CACvB,CAAA"}
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { clsx } from "clsx";
|
|
2
2
|
import { twMerge } from "tailwind-merge";
|
|
3
|
-
export function cn() {
|
|
4
|
-
var inputs = [];
|
|
5
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6
|
-
inputs[_i] = arguments[_i];
|
|
7
|
-
}
|
|
3
|
+
export function cn(...inputs) {
|
|
8
4
|
return twMerge(clsx(inputs));
|
|
9
5
|
}
|
|
10
6
|
//# sourceMappingURL=utils.js.map
|
package/dist/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,MAAM,UAAU,EAAE
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;AAC9B,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
5
5
|
:root, :host {
|
|
6
|
-
--oui-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
7
|
-
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
8
|
-
--oui-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
|
-
"Courier New", monospace;
|
|
10
6
|
--oui-color-red-500: oklch(63.7% 0.237 25.331);
|
|
11
7
|
--oui-color-red-600: oklch(57.7% 0.245 27.325);
|
|
12
8
|
--oui-color-orange-100: oklch(95.4% 0.038 75.164);
|
|
@@ -14,10 +10,13 @@
|
|
|
14
10
|
--oui-color-orange-800: oklch(47% 0.157 37.304);
|
|
15
11
|
--oui-color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
16
12
|
--oui-color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
13
|
+
--oui-color-green-50: oklch(98.2% 0.018 155.826);
|
|
17
14
|
--oui-color-green-100: oklch(96.2% 0.044 156.743);
|
|
15
|
+
--oui-color-green-200: oklch(92.5% 0.084 155.995);
|
|
18
16
|
--oui-color-green-500: oklch(72.3% 0.219 149.579);
|
|
19
17
|
--oui-color-green-600: oklch(62.7% 0.194 149.214);
|
|
20
18
|
--oui-color-green-800: oklch(44.8% 0.119 151.328);
|
|
19
|
+
--oui-color-green-900: oklch(39.3% 0.095 152.535);
|
|
21
20
|
--oui-color-blue-100: oklch(93.2% 0.032 255.585);
|
|
22
21
|
--oui-color-blue-500: oklch(62.3% 0.214 259.815);
|
|
23
22
|
--oui-color-blue-600: oklch(54.6% 0.245 262.881);
|
|
@@ -79,8 +78,8 @@
|
|
|
79
78
|
--oui-aspect-video: 16 / 9;
|
|
80
79
|
--oui-default-transition-duration: 150ms;
|
|
81
80
|
--oui-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
|
-
--oui-default-font-family:
|
|
83
|
-
--oui-default-mono-font-family:
|
|
81
|
+
--oui-default-font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segge UI Emoji', 'Segue UI Symbol';
|
|
82
|
+
--oui-default-mono-font-family: 'Source Code Pro', Consolas, Menlo, Courier, monospace;
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
85
|
@layer base {
|
|
@@ -1335,6 +1334,9 @@
|
|
|
1335
1334
|
.oui\:border-destructive {
|
|
1336
1335
|
border-color: var(--oui-destructive);
|
|
1337
1336
|
}
|
|
1337
|
+
.oui\:border-green-200 {
|
|
1338
|
+
border-color: var(--oui-color-green-200);
|
|
1339
|
+
}
|
|
1338
1340
|
.oui\:border-green-500 {
|
|
1339
1341
|
border-color: var(--oui-color-green-500);
|
|
1340
1342
|
}
|
|
@@ -1398,12 +1400,21 @@
|
|
|
1398
1400
|
.oui\:bg-destructive {
|
|
1399
1401
|
background-color: var(--oui-destructive);
|
|
1400
1402
|
}
|
|
1403
|
+
.oui\:bg-destructive\/10 {
|
|
1404
|
+
background-color: var(--oui-destructive);
|
|
1405
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1406
|
+
background-color: color-mix(in oklab, var(--oui-destructive) 10%, transparent);
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1401
1409
|
.oui\:bg-foreground {
|
|
1402
1410
|
background-color: var(--oui-foreground);
|
|
1403
1411
|
}
|
|
1404
1412
|
.oui\:bg-gray-400 {
|
|
1405
1413
|
background-color: var(--oui-color-gray-400);
|
|
1406
1414
|
}
|
|
1415
|
+
.oui\:bg-green-50 {
|
|
1416
|
+
background-color: var(--oui-color-green-50);
|
|
1417
|
+
}
|
|
1407
1418
|
.oui\:bg-green-100 {
|
|
1408
1419
|
background-color: var(--oui-color-green-100);
|
|
1409
1420
|
}
|
|
@@ -1650,7 +1661,7 @@
|
|
|
1650
1661
|
vertical-align: middle;
|
|
1651
1662
|
}
|
|
1652
1663
|
.oui\:font-mono {
|
|
1653
|
-
font-family:
|
|
1664
|
+
font-family: 'Source Code Pro', Consolas, Menlo, Courier, monospace;
|
|
1654
1665
|
}
|
|
1655
1666
|
.oui\:text-2xl {
|
|
1656
1667
|
font-size: var(--oui-text-2xl);
|
|
@@ -1777,6 +1788,9 @@
|
|
|
1777
1788
|
.oui\:text-green-800 {
|
|
1778
1789
|
color: var(--oui-color-green-800);
|
|
1779
1790
|
}
|
|
1791
|
+
.oui\:text-green-900 {
|
|
1792
|
+
color: var(--oui-color-green-900);
|
|
1793
|
+
}
|
|
1780
1794
|
.oui\:text-muted-foreground {
|
|
1781
1795
|
color: var(--oui-muted-foreground);
|
|
1782
1796
|
}
|
|
@@ -2456,6 +2470,13 @@
|
|
|
2456
2470
|
}
|
|
2457
2471
|
}
|
|
2458
2472
|
}
|
|
2473
|
+
.oui\:hover\:bg-blue-600 {
|
|
2474
|
+
&:hover {
|
|
2475
|
+
@media (hover: hover) {
|
|
2476
|
+
background-color: var(--oui-color-blue-600);
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2459
2480
|
.oui\:hover\:bg-destructive\/90 {
|
|
2460
2481
|
&:hover {
|
|
2461
2482
|
@media (hover: hover) {
|
|
@@ -4846,81 +4867,84 @@
|
|
|
4846
4867
|
}
|
|
4847
4868
|
:root {
|
|
4848
4869
|
--oui-background: #fff;
|
|
4849
|
-
--oui-foreground: oklch(
|
|
4870
|
+
--oui-foreground: oklch(14.5% 0 0);
|
|
4850
4871
|
--oui-card: #fff;
|
|
4851
|
-
--oui-card-foreground: oklch(
|
|
4872
|
+
--oui-card-foreground: oklch(14.5% 0 0);
|
|
4852
4873
|
--oui-popover: #fff;
|
|
4853
|
-
--oui-popover-foreground: oklch(
|
|
4854
|
-
--oui-primary: oklch(
|
|
4855
|
-
--oui-primary-foreground: oklch(98.
|
|
4856
|
-
--oui-secondary: oklch(
|
|
4874
|
+
--oui-popover-foreground: oklch(14.5% 0 0);
|
|
4875
|
+
--oui-primary: oklch(50% 0.134 242.749);
|
|
4876
|
+
--oui-primary-foreground: oklch(98.5% 0 0);
|
|
4877
|
+
--oui-secondary: oklch(97% 0 0);
|
|
4857
4878
|
--oui-secondary-foreground: oklch(20.5% 0 0);
|
|
4858
|
-
--oui-muted: oklch(
|
|
4859
|
-
--oui-muted-foreground: oklch(55.
|
|
4860
|
-
--oui-accent: oklch(
|
|
4861
|
-
--oui-accent-foreground: oklch(20.
|
|
4879
|
+
--oui-muted: oklch(97% 0 0);
|
|
4880
|
+
--oui-muted-foreground: oklch(55.6% 0 0);
|
|
4881
|
+
--oui-accent: oklch(97% 0 0);
|
|
4882
|
+
--oui-accent-foreground: oklch(20.5% 0 0);
|
|
4862
4883
|
--oui-destructive: oklch(57.7% 0.245 27.325);
|
|
4863
4884
|
--oui-destructive-foreground: oklch(97.1% 0.013 17.38);
|
|
4864
|
-
--oui-border: oklch(92.
|
|
4865
|
-
--oui-input: oklch(92.
|
|
4866
|
-
--oui-ring: oklch(
|
|
4885
|
+
--oui-border: oklch(92.2% 0 0);
|
|
4886
|
+
--oui-input: oklch(92.2% 0 0);
|
|
4887
|
+
--oui-ring: oklch(50% 0.134 242.749);
|
|
4867
4888
|
--oui-chart-1: oklch(64.6% 0.222 41.116);
|
|
4868
4889
|
--oui-chart-2: oklch(60% 0.118 184.704);
|
|
4869
4890
|
--oui-chart-3: oklch(39.8% 0.07 227.392);
|
|
4870
4891
|
--oui-chart-4: oklch(82.8% 0.189 84.429);
|
|
4871
4892
|
--oui-chart-5: oklch(76.9% 0.188 70.08);
|
|
4872
4893
|
--oui-radius: 0.625rem;
|
|
4873
|
-
--oui-sidebar: oklch(98.
|
|
4874
|
-
--oui-sidebar-foreground: oklch(
|
|
4875
|
-
--oui-sidebar-primary: oklch(20.
|
|
4876
|
-
--oui-sidebar-primary-foreground: oklch(98.
|
|
4877
|
-
--oui-sidebar-accent: oklch(
|
|
4878
|
-
--oui-sidebar-accent-foreground: oklch(20.
|
|
4879
|
-
--oui-sidebar-border: oklch(92.
|
|
4880
|
-
--oui-sidebar-ring: oklch(70.
|
|
4894
|
+
--oui-sidebar: oklch(98.5% 0 0);
|
|
4895
|
+
--oui-sidebar-foreground: oklch(14.5% 0 0);
|
|
4896
|
+
--oui-sidebar-primary: oklch(20.5% 0 0);
|
|
4897
|
+
--oui-sidebar-primary-foreground: oklch(98.5% 0 0);
|
|
4898
|
+
--oui-sidebar-accent: oklch(97% 0 0);
|
|
4899
|
+
--oui-sidebar-accent-foreground: oklch(20.5% 0 0);
|
|
4900
|
+
--oui-sidebar-border: oklch(92.2% 0 0);
|
|
4901
|
+
--oui-sidebar-ring: oklch(70.8% 0 0);
|
|
4881
4902
|
--oui-severity-low: oklch(82.8% 0.189 84.429);
|
|
4882
4903
|
--oui-severity-med: oklch(66.6% 0.179 58.318);
|
|
4883
4904
|
--oui-severity-high: oklch(55.3% 0.195 38.402);
|
|
4884
4905
|
--oui-severity-critical: oklch(44.4% 0.177 26.899);
|
|
4885
4906
|
}
|
|
4886
4907
|
.dark {
|
|
4887
|
-
--oui-background: oklch(
|
|
4888
|
-
--oui-foreground: oklch(98.
|
|
4889
|
-
--oui-card: oklch(20.
|
|
4890
|
-
--oui-card-foreground: oklch(98.
|
|
4891
|
-
--oui-popover: oklch(
|
|
4892
|
-
--oui-popover-foreground: oklch(98.
|
|
4893
|
-
--oui-primary: oklch(
|
|
4894
|
-
--oui-primary-foreground: oklch(98.
|
|
4895
|
-
--oui-secondary: oklch(
|
|
4896
|
-
--oui-secondary-foreground: oklch(98.
|
|
4897
|
-
--oui-muted: oklch(
|
|
4898
|
-
--oui-muted-foreground: oklch(70.
|
|
4899
|
-
--oui-accent: oklch(37.
|
|
4900
|
-
--oui-accent-foreground: oklch(98.
|
|
4908
|
+
--oui-background: oklch(14.5% 0 0);
|
|
4909
|
+
--oui-foreground: oklch(98.5% 0 0);
|
|
4910
|
+
--oui-card: oklch(20.5% 0 0);
|
|
4911
|
+
--oui-card-foreground: oklch(98.5% 0 0);
|
|
4912
|
+
--oui-popover: oklch(26.9% 0 0);
|
|
4913
|
+
--oui-popover-foreground: oklch(98.5% 0 0);
|
|
4914
|
+
--oui-primary: oklch(68.5% 0.169 237.323);
|
|
4915
|
+
--oui-primary-foreground: oklch(98.5% 0 0);
|
|
4916
|
+
--oui-secondary: oklch(44.3% 0.11 240.79);
|
|
4917
|
+
--oui-secondary-foreground: oklch(98.5% 0 0);
|
|
4918
|
+
--oui-muted: oklch(26.9% 0 0);
|
|
4919
|
+
--oui-muted-foreground: oklch(70.8% 0 0);
|
|
4920
|
+
--oui-accent: oklch(37.1% 0 0);
|
|
4921
|
+
--oui-accent-foreground: oklch(98.5% 0 0);
|
|
4901
4922
|
--oui-destructive: oklch(70.4% 0.191 22.216);
|
|
4902
4923
|
--oui-destructive-foreground: oklch(97.1% 0.013 17.38);
|
|
4903
4924
|
--oui-border: color-mix(in oklab, #fff 10%, transparent);
|
|
4904
4925
|
--oui-input: color-mix(in oklab, #fff 15%, transparent);
|
|
4905
|
-
--oui-ring: oklch(
|
|
4926
|
+
--oui-ring: oklch(68.5% 0.169 237.323);
|
|
4906
4927
|
--oui-chart-1: oklch(48.8% 0.243 264.376);
|
|
4907
4928
|
--oui-chart-2: oklch(69.6% 0.17 162.48);
|
|
4908
4929
|
--oui-chart-3: oklch(76.9% 0.188 70.08);
|
|
4909
4930
|
--oui-chart-4: oklch(62.7% 0.265 303.9);
|
|
4910
4931
|
--oui-chart-5: oklch(64.5% 0.246 16.439);
|
|
4911
|
-
--oui-sidebar: oklch(
|
|
4912
|
-
--oui-sidebar-foreground: oklch(98.
|
|
4932
|
+
--oui-sidebar: oklch(14.5% 0 0);
|
|
4933
|
+
--oui-sidebar-foreground: oklch(98.5% 0 0);
|
|
4913
4934
|
--oui-sidebar-primary: oklch(48.8% 0.243 264.376);
|
|
4914
|
-
--oui-sidebar-primary-foreground: oklch(98.
|
|
4915
|
-
--oui-sidebar-accent: oklch(
|
|
4916
|
-
--oui-sidebar-accent-foreground: oklch(98.
|
|
4935
|
+
--oui-sidebar-primary-foreground: oklch(98.5% 0 0);
|
|
4936
|
+
--oui-sidebar-accent: oklch(26.9% 0 0);
|
|
4937
|
+
--oui-sidebar-accent-foreground: oklch(98.5% 0 0);
|
|
4917
4938
|
--oui-sidebar-border: color-mix(in oklab, #fff 10%, transparent);
|
|
4918
|
-
--oui-sidebar-ring: oklch(
|
|
4939
|
+
--oui-sidebar-ring: oklch(43.9% 0 0);
|
|
4919
4940
|
--oui-severity-low: oklch(82.8% 0.189 84.429);
|
|
4920
4941
|
--oui-severity-med: oklch(66.6% 0.179 58.318);
|
|
4921
4942
|
--oui-severity-high: oklch(55.3% 0.195 38.402);
|
|
4922
4943
|
--oui-severity-critical: oklch(44.4% 0.177 26.899);
|
|
4923
4944
|
}
|
|
4945
|
+
.__oui-scoped-styles-start {
|
|
4946
|
+
display: none;
|
|
4947
|
+
}
|
|
4924
4948
|
@layer base {
|
|
4925
4949
|
* {
|
|
4926
4950
|
border-color: var(--oui-border);
|
|
@@ -4933,6 +4957,12 @@
|
|
|
4933
4957
|
background-color: var(--oui-background);
|
|
4934
4958
|
color: var(--oui-foreground);
|
|
4935
4959
|
}
|
|
4960
|
+
.oui2 {
|
|
4961
|
+
color: var(--oui-foreground);
|
|
4962
|
+
}
|
|
4963
|
+
.oui2-body {
|
|
4964
|
+
background-color: var(--oui-background);
|
|
4965
|
+
}
|
|
4936
4966
|
}
|
|
4937
4967
|
[data-sonner-toaster] [data-description], [data-sonner-toaster] .sonner-description, .sonner-description {
|
|
4938
4968
|
color: var(--oui-muted-foreground) !important;
|
|
@@ -4958,6 +4988,9 @@
|
|
|
4958
4988
|
[data-sonner-toaster] button {
|
|
4959
4989
|
margin-left: auto !important;
|
|
4960
4990
|
}
|
|
4991
|
+
.__oui-scoped-styles-end {
|
|
4992
|
+
display: none;
|
|
4993
|
+
}
|
|
4961
4994
|
@property --tw-translate-x {
|
|
4962
4995
|
syntax: "*";
|
|
4963
4996
|
inherits: false;
|