@nubase/frontend 0.1.21 → 0.1.22
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/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +38 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -26
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +3 -8
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5912,7 +5912,7 @@ var textInputVariants = cva7([
|
|
|
5912
5912
|
"selection:bg-primary selection:text-primary-foreground",
|
|
5913
5913
|
// Focus State
|
|
5914
5914
|
"focus-visible:border-ring",
|
|
5915
|
-
"focus-visible:ring-ring/50",
|
|
5915
|
+
"focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
5916
5916
|
// Invalid State
|
|
5917
5917
|
"aria-invalid:border-destructive",
|
|
5918
5918
|
"aria-invalid:ring-destructive/20",
|
|
@@ -6554,7 +6554,7 @@ var SchemaFormBody = ({
|
|
|
6554
6554
|
" ",
|
|
6555
6555
|
metadataError.message
|
|
6556
6556
|
] }),
|
|
6557
|
-
/* @__PURE__ */ jsx32("div", { className: "flex-1 space-y-4", children: /* @__PURE__ */ jsx32(
|
|
6557
|
+
/* @__PURE__ */ jsx32("div", { className: "flex-1 space-y-4 pt-1", children: /* @__PURE__ */ jsx32(
|
|
6558
6558
|
SchemaFormVerticalLayout,
|
|
6559
6559
|
{
|
|
6560
6560
|
layout,
|
|
@@ -14365,6 +14365,7 @@ var checkListCommand = {
|
|
|
14365
14365
|
};
|
|
14366
14366
|
|
|
14367
14367
|
// src/components/markdown-textarea/MarkdownTextArea.tsx
|
|
14368
|
+
import { cva as cva14 } from "class-variance-authority";
|
|
14368
14369
|
import { forwardRef as forwardRef18, useImperativeHandle as useImperativeHandle3, useRef as useRef19 } from "react";
|
|
14369
14370
|
|
|
14370
14371
|
// src/components/markdown-textarea/text-controller.ts
|
|
@@ -14478,6 +14479,27 @@ function canManipulateViaTextNodes(input) {
|
|
|
14478
14479
|
|
|
14479
14480
|
// src/components/markdown-textarea/MarkdownTextArea.tsx
|
|
14480
14481
|
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
14482
|
+
var markdownTextAreaVariants = cva14([
|
|
14483
|
+
// Layout & Sizing
|
|
14484
|
+
"w-full min-h-[200px]",
|
|
14485
|
+
// Spacing & Borders
|
|
14486
|
+
"px-3 py-2 rounded-md border border-border",
|
|
14487
|
+
// Background & Text
|
|
14488
|
+
"bg-background text-foreground",
|
|
14489
|
+
"font-mono text-sm",
|
|
14490
|
+
// Resize behavior
|
|
14491
|
+
"resize-vertical",
|
|
14492
|
+
// Visual Effects
|
|
14493
|
+
"outline-none",
|
|
14494
|
+
// Placeholder
|
|
14495
|
+
"placeholder:text-muted-foreground",
|
|
14496
|
+
// Focus State
|
|
14497
|
+
"focus-visible:border-ring",
|
|
14498
|
+
"focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
14499
|
+
// Disabled State
|
|
14500
|
+
"disabled:opacity-50",
|
|
14501
|
+
"disabled:cursor-not-allowed"
|
|
14502
|
+
]);
|
|
14481
14503
|
var MarkdownTextArea = forwardRef18(({ className, ...props }, ref) => {
|
|
14482
14504
|
const textAreaRef = useRef19(null);
|
|
14483
14505
|
const textControllerRef = useRef19(void 0);
|
|
@@ -14506,17 +14528,7 @@ var MarkdownTextArea = forwardRef18(({ className, ...props }, ref) => {
|
|
|
14506
14528
|
"textarea",
|
|
14507
14529
|
{
|
|
14508
14530
|
ref: textAreaRef,
|
|
14509
|
-
className: cn(
|
|
14510
|
-
"w-full min-h-[200px] px-3 py-2",
|
|
14511
|
-
"bg-background text-foreground",
|
|
14512
|
-
"border border-border rounded-md",
|
|
14513
|
-
"resize-vertical",
|
|
14514
|
-
"focus:outline-none focus:ring-2 focus:ring-ring/20 focus:border-primary",
|
|
14515
|
-
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
14516
|
-
"placeholder:text-muted-foreground",
|
|
14517
|
-
"font-mono text-sm",
|
|
14518
|
-
className
|
|
14519
|
-
),
|
|
14531
|
+
className: cn(markdownTextAreaVariants({ className })),
|
|
14520
14532
|
...props
|
|
14521
14533
|
}
|
|
14522
14534
|
);
|
|
@@ -14685,7 +14697,7 @@ var MainNav = forwardRef19(
|
|
|
14685
14697
|
MainNav.displayName = "MainNav";
|
|
14686
14698
|
|
|
14687
14699
|
// src/components/navigation/main-nav/NavItemComponent.tsx
|
|
14688
|
-
import { cva as
|
|
14700
|
+
import { cva as cva15 } from "class-variance-authority";
|
|
14689
14701
|
|
|
14690
14702
|
// src/components/navigation/main-nav/SafeLink.tsx
|
|
14691
14703
|
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
@@ -14707,7 +14719,7 @@ var SafeLink = ({ to, className, onClick, children }) => {
|
|
|
14707
14719
|
|
|
14708
14720
|
// src/components/navigation/main-nav/NavItemComponent.tsx
|
|
14709
14721
|
import { Fragment as Fragment9, jsx as jsx102, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
14710
|
-
var navItemVariants =
|
|
14722
|
+
var navItemVariants = cva15(
|
|
14711
14723
|
"flex items-center gap-3 px-3 py-2 text-sm font-medium transition-all duration-200 rounded-md group",
|
|
14712
14724
|
{
|
|
14713
14725
|
variants: {
|
|
@@ -15178,17 +15190,17 @@ import { useNavigate as useNavigate3 } from "@tanstack/react-router";
|
|
|
15178
15190
|
import { memo as memo9, useCallback as useCallback15, useEffect as useEffect15, useMemo as useMemo19, useState as useState30 } from "react";
|
|
15179
15191
|
|
|
15180
15192
|
// src/components/search-controls/LookupSelectFilter.tsx
|
|
15181
|
-
import { cva as
|
|
15193
|
+
import { cva as cva17 } from "class-variance-authority";
|
|
15182
15194
|
import { debounce } from "lodash-es";
|
|
15183
15195
|
import * as React9 from "react";
|
|
15184
15196
|
|
|
15185
15197
|
// src/components/search-controls/SearchFilterDropdown.tsx
|
|
15186
15198
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
15187
|
-
import { cva as
|
|
15199
|
+
import { cva as cva16 } from "class-variance-authority";
|
|
15188
15200
|
import { ChevronDownIcon, TypeIcon } from "lucide-react";
|
|
15189
15201
|
import * as React8 from "react";
|
|
15190
15202
|
import { jsx as jsx110, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15191
|
-
var searchFilterTriggerVariants =
|
|
15203
|
+
var searchFilterTriggerVariants = cva16(
|
|
15192
15204
|
[
|
|
15193
15205
|
// Base - matching TextInput height/roundness
|
|
15194
15206
|
"inline-flex items-center gap-1.5 h-9 px-3 rounded-md",
|
|
@@ -15210,7 +15222,7 @@ var searchFilterTriggerVariants = cva15(
|
|
|
15210
15222
|
}
|
|
15211
15223
|
}
|
|
15212
15224
|
);
|
|
15213
|
-
var searchFilterContentVariants =
|
|
15225
|
+
var searchFilterContentVariants = cva16([
|
|
15214
15226
|
// Background & Border
|
|
15215
15227
|
"bg-popover text-popover-foreground",
|
|
15216
15228
|
"border rounded-md shadow-md",
|
|
@@ -15315,7 +15327,7 @@ SearchFilterDropdown.displayName = "SearchFilterDropdown";
|
|
|
15315
15327
|
|
|
15316
15328
|
// src/components/search-controls/LookupSelectFilter.tsx
|
|
15317
15329
|
import { jsx as jsx111, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
15318
|
-
var optionVariants3 =
|
|
15330
|
+
var optionVariants3 = cva17(
|
|
15319
15331
|
[
|
|
15320
15332
|
"flex items-center gap-2 px-3 py-2",
|
|
15321
15333
|
"cursor-pointer select-none",
|
|
@@ -15611,13 +15623,13 @@ var LookupSelectFilter = React9.forwardRef(
|
|
|
15611
15623
|
LookupSelectFilter.displayName = "LookupSelectFilter";
|
|
15612
15624
|
|
|
15613
15625
|
// src/components/search-controls/SearchFilterBar.tsx
|
|
15614
|
-
import { cva as
|
|
15626
|
+
import { cva as cva18 } from "class-variance-authority";
|
|
15615
15627
|
import { debounce as debounce2 } from "lodash-es";
|
|
15616
15628
|
import { Search as Search2, XIcon } from "lucide-react";
|
|
15617
15629
|
import * as React10 from "react";
|
|
15618
15630
|
import { jsx as jsx112, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
15619
|
-
var searchFilterBarVariants =
|
|
15620
|
-
var searchFilterBarInputVariants =
|
|
15631
|
+
var searchFilterBarVariants = cva18(["flex items-center gap-2", "flex-wrap"]);
|
|
15632
|
+
var searchFilterBarInputVariants = cva18([
|
|
15621
15633
|
// Layout & Sizing
|
|
15622
15634
|
"flex h-9 min-w-0",
|
|
15623
15635
|
// Spacing & Borders (pl-10 for search icon)
|
|
@@ -15639,7 +15651,7 @@ var searchFilterBarInputVariants = cva17([
|
|
|
15639
15651
|
"disabled:cursor-not-allowed",
|
|
15640
15652
|
"disabled:opacity-50"
|
|
15641
15653
|
]);
|
|
15642
|
-
var searchFilterBarClearButtonVariants =
|
|
15654
|
+
var searchFilterBarClearButtonVariants = cva18([
|
|
15643
15655
|
"inline-flex items-center gap-1 h-9 px-3",
|
|
15644
15656
|
"text-sm font-medium text-muted-foreground",
|
|
15645
15657
|
"hover:text-foreground",
|
|
@@ -15737,10 +15749,10 @@ var SearchFilterBar = React10.forwardRef(
|
|
|
15737
15749
|
SearchFilterBar.displayName = "SearchFilterBar";
|
|
15738
15750
|
|
|
15739
15751
|
// src/components/search-controls/SelectFilter.tsx
|
|
15740
|
-
import { cva as
|
|
15752
|
+
import { cva as cva19 } from "class-variance-authority";
|
|
15741
15753
|
import * as React11 from "react";
|
|
15742
15754
|
import { jsx as jsx113, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
15743
|
-
var optionVariants4 =
|
|
15755
|
+
var optionVariants4 = cva19(
|
|
15744
15756
|
[
|
|
15745
15757
|
// Layout
|
|
15746
15758
|
"flex items-center gap-2 px-3 py-2",
|