@epilot/spark-ui 0.31.0 → 0.31.1
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/dist/components/accordion.cjs +2 -2
- package/dist/components/accordion.js +2 -2
- package/dist/components/alert-dialog.cjs +1 -1
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/attachment.cjs +1 -1
- package/dist/components/attachment.d.cts +1 -1
- package/dist/components/attachment.d.ts +1 -1
- package/dist/components/attachment.js +1 -1
- package/dist/components/autocomplete.cjs +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.cjs +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/box.cjs +1 -1
- package/dist/components/box.js +1 -1
- package/dist/components/bubble.cjs +1 -1
- package/dist/components/bubble.d.cts +2 -2
- package/dist/components/bubble.d.ts +2 -2
- package/dist/components/bubble.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/button.cjs +39 -5
- package/dist/components/button.cjs.map +1 -1
- package/dist/components/button.d.cts +13 -5
- package/dist/components/button.d.ts +13 -5
- package/dist/components/button.js +40 -7
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar.cjs +2 -2
- package/dist/components/calendar.js +2 -2
- package/dist/components/callout.cjs +1 -1
- package/dist/components/callout.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.js +1 -1
- package/dist/components/checkbox-card.cjs +85 -0
- package/dist/components/checkbox-card.cjs.map +1 -0
- package/dist/components/checkbox-card.d.cts +27 -0
- package/dist/components/checkbox-card.d.ts +27 -0
- package/dist/components/checkbox-card.js +81 -0
- package/dist/components/checkbox-card.js.map +1 -0
- package/dist/components/checkbox-group.cjs +1 -1
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/combobox.cjs +3 -3
- package/dist/components/combobox.js +3 -3
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown-menu.cjs +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/field.cjs +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/input-date-time.cjs +4 -4
- package/dist/components/input-date-time.js +4 -4
- package/dist/components/input-date.cjs +1 -1
- package/dist/components/input-date.js +1 -1
- package/dist/components/input-group.cjs +1 -1
- package/dist/components/input-group.d.cts +1 -1
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-otp.cjs +1 -1
- package/dist/components/input-otp.js +1 -1
- package/dist/components/input.cjs +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/line-chart.cjs +1 -1
- package/dist/components/line-chart.js +1 -1
- package/dist/components/link.cjs +31 -0
- package/dist/components/link.cjs.map +1 -0
- package/dist/components/link.d.cts +16 -0
- package/dist/components/link.d.ts +16 -0
- package/dist/components/link.js +28 -0
- package/dist/components/link.js.map +1 -0
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/marker.cjs +1 -1
- package/dist/components/marker.d.cts +2 -2
- package/dist/components/marker.d.ts +2 -2
- package/dist/components/marker.js +1 -1
- package/dist/components/message-scroller.cjs +1 -1
- package/dist/components/message-scroller.js +1 -1
- package/dist/components/page-header.cjs +1 -1
- package/dist/components/page-header.d.cts +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/period-tabs.cjs +1 -1
- package/dist/components/period-tabs.js +1 -1
- package/dist/components/pill.cjs +1 -1
- package/dist/components/pill.js +2 -2
- package/dist/components/power-history-chart.cjs +1 -1
- package/dist/components/power-history-chart.js +1 -1
- package/dist/components/power-network.cjs +1 -1
- package/dist/components/power-network.js +1 -1
- package/dist/components/radio.cjs +1 -1
- package/dist/components/radio.js +2 -2
- package/dist/components/schedule-list.cjs +1 -1
- package/dist/components/schedule-list.js +1 -1
- package/dist/components/select.cjs +2 -2
- package/dist/components/select.js +2 -2
- package/dist/components/sheet.cjs +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/stepper.cjs +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/switch-group.cjs +1 -1
- package/dist/components/switch-group.js +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/textarea.cjs +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/theme.js +1 -1
- package/dist/components/toast.cjs +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/trace.cjs +1 -1
- package/dist/components/trace.js +1 -1
- package/dist/lib/calendar-lists.cjs +1 -1
- package/dist/lib/calendar-lists.js +1 -1
- package/package.json +2 -2
package/dist/components/toast.js
CHANGED
|
@@ -5,8 +5,8 @@ import { PortalTheme } from "./theme.js";
|
|
|
5
5
|
import { buttonVariants } from "./button.js";
|
|
6
6
|
import { Spinner } from "./spinner.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import { Cancel, CheckCircle, Close, Info, Warning } from "@epilot/spark-icons";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { Cancel, CheckCircle, Close, Info, Warning } from "@epilot/spark-icons";
|
|
10
10
|
import { Toast } from "@base-ui/react/toast";
|
|
11
11
|
//#region src/components/toast.tsx
|
|
12
12
|
const TOAST_ICONS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { cn } from "../utils/cn.js";
|
|
4
3
|
import { accentByColor } from "../lib/accent-colors.js";
|
|
4
|
+
import { cn } from "../utils/cn.js";
|
|
5
5
|
import { ToggleGroupContext } from "../lib/toggle-group-context.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { cn } from "../utils/cn.js";
|
|
4
3
|
import { accentByColor } from "../lib/accent-colors.js";
|
|
4
|
+
import { cn } from "../utils/cn.js";
|
|
5
5
|
import { buttonVariants } from "./button.js";
|
|
6
6
|
import { ToggleGroupContext } from "../lib/toggle-group-context.js";
|
|
7
7
|
import * as React$1 from "react";
|
|
@@ -4,8 +4,8 @@ const require_chunk = require("../chunk-DY84GLCh.cjs");
|
|
|
4
4
|
const require_components_theme = require("./theme.cjs");
|
|
5
5
|
let react = require("react");
|
|
6
6
|
react = require_chunk.__toESM(react);
|
|
7
|
-
let _epilot_spark_icons = require("@epilot/spark-icons");
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let _epilot_spark_icons = require("@epilot/spark-icons");
|
|
9
9
|
let _base_ui_react_tooltip = require("@base-ui/react/tooltip");
|
|
10
10
|
let cn = require("cn");
|
|
11
11
|
//#region src/components/tooltip.tsx
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { cn } from "../utils/cn.js";
|
|
3
3
|
import { PortalTheme } from "./theme.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { Info } from "@epilot/spark-icons";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Info } from "@epilot/spark-icons";
|
|
7
7
|
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
8
8
|
//#region src/components/tooltip.tsx
|
|
9
9
|
const TooltipProvider = ({ delay = 0, ...props }) => {
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const require_chunk = require("../chunk-DY84GLCh.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
react = require_chunk.__toESM(react);
|
|
6
|
-
let _epilot_spark_icons = require("@epilot/spark-icons");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let _epilot_spark_icons = require("@epilot/spark-icons");
|
|
8
8
|
let _base_ui_react_collapsible = require("@base-ui/react/collapsible");
|
|
9
9
|
let cn = require("cn");
|
|
10
10
|
//#region src/components/trace.tsx
|
package/dist/components/trace.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../utils/cn.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { ChevronRight } from "@epilot/spark-icons";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronRight } from "@epilot/spark-icons";
|
|
6
6
|
import { Collapsible } from "@base-ui/react/collapsible";
|
|
7
7
|
//#region src/components/trace.tsx
|
|
8
8
|
function Trace({ className, ...props }) {
|
|
@@ -6,9 +6,9 @@ const require_components_button = require("../components/button.cjs");
|
|
|
6
6
|
const require_lib_scroll_within = require("./scroll-within.cjs");
|
|
7
7
|
let react = require("react");
|
|
8
8
|
react = require_chunk.__toESM(react);
|
|
9
|
-
let _epilot_spark_icons = require("@epilot/spark-icons");
|
|
10
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
10
|
let _daypicker_react = require("@daypicker/react");
|
|
11
|
+
let _epilot_spark_icons = require("@epilot/spark-icons");
|
|
12
12
|
let cn = require("cn");
|
|
13
13
|
//#region src/lib/calendar-lists.tsx
|
|
14
14
|
const ListContext = react.createContext({
|
|
@@ -4,9 +4,9 @@ import { cn } from "../utils/cn.js";
|
|
|
4
4
|
import { buttonVariants } from "../components/button.js";
|
|
5
5
|
import { focusWithin, scrollWithin } from "./scroll-within.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
|
-
import { ArrowDropDown, Check, ChevronLeft, ChevronRight } from "@epilot/spark-icons";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { MonthGrid as MonthGrid$1, useDayPicker } from "@daypicker/react";
|
|
9
|
+
import { ArrowDropDown, Check, ChevronLeft, ChevronRight } from "@epilot/spark-icons";
|
|
10
10
|
//#region src/lib/calendar-lists.tsx
|
|
11
11
|
const ListContext = React$1.createContext({
|
|
12
12
|
labels: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/spark-ui",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.1",
|
|
4
4
|
"description": "React UI component library from Spark SDK",
|
|
5
5
|
"homepage": "https://spark-ui.epilot.io/docs/ui",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"colorjs.io": "^0.5.2",
|
|
84
84
|
"ictus": "^1.1.0",
|
|
85
85
|
"vaul": "^1.1.2",
|
|
86
|
-
"@epilot/spark-icons": "^0.0.
|
|
86
|
+
"@epilot/spark-icons": "^0.0.3"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@stryker-mutator/core": "^10.0.0",
|