@keboola/design 6.3.0 → 6.4.0
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/editors.cjs +25 -1
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +25 -1
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +24 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +3 -1
- package/dist/icons.d.ts +3 -1
- package/dist/icons.js +24 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +110 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +51 -39
- package/dist/index.d.ts +51 -39
- package/dist/index.js +110 -5
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +40 -2
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +40 -2
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +25 -1
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +25 -1
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +39 -3
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +39 -3
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1048,7 +1048,8 @@ var require_es = __commonJS({
|
|
|
1048
1048
|
var icons_exports = {};
|
|
1049
1049
|
__export(icons_exports, {
|
|
1050
1050
|
Google: () => Google,
|
|
1051
|
-
Keboola: () => Keboola
|
|
1051
|
+
Keboola: () => Keboola,
|
|
1052
|
+
Microsoft: () => Microsoft
|
|
1052
1053
|
});
|
|
1053
1054
|
__reExport(icons_exports, lucide_react_star);
|
|
1054
1055
|
var twMerge = extendTailwindMerge({
|
|
@@ -1475,6 +1476,29 @@ var Keboola = forwardRef(
|
|
|
1475
1476
|
)
|
|
1476
1477
|
);
|
|
1477
1478
|
Keboola.displayName = "Keboola";
|
|
1479
|
+
var Microsoft = forwardRef(
|
|
1480
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
|
|
1481
|
+
"svg",
|
|
1482
|
+
{
|
|
1483
|
+
ref,
|
|
1484
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1485
|
+
width: size,
|
|
1486
|
+
height: size,
|
|
1487
|
+
viewBox: "0 0 21 21",
|
|
1488
|
+
fill: "none",
|
|
1489
|
+
className: cn("lucide", className),
|
|
1490
|
+
...rest,
|
|
1491
|
+
children: [
|
|
1492
|
+
/* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "10", height: "10", fill: "#F25022" }),
|
|
1493
|
+
/* @__PURE__ */ jsx("rect", { x: "11", y: "0", width: "10", height: "10", fill: "#7FBA00" }),
|
|
1494
|
+
/* @__PURE__ */ jsx("rect", { x: "0", y: "11", width: "10", height: "10", fill: "#00A4EF" }),
|
|
1495
|
+
/* @__PURE__ */ jsx("rect", { x: "11", y: "11", width: "10", height: "10", fill: "#FFB900" }),
|
|
1496
|
+
children
|
|
1497
|
+
]
|
|
1498
|
+
}
|
|
1499
|
+
)
|
|
1500
|
+
);
|
|
1501
|
+
Microsoft.displayName = "Microsoft";
|
|
1478
1502
|
var variants = cva(
|
|
1479
1503
|
[
|
|
1480
1504
|
"tailwindcss-preflight",
|
|
@@ -3129,6 +3153,75 @@ var CopyField = {
|
|
|
3129
3153
|
Footer: CopyFooter
|
|
3130
3154
|
};
|
|
3131
3155
|
var LABELS = {
|
|
3156
|
+
signin: "Sign in with Microsoft",
|
|
3157
|
+
signup: "Sign up with Microsoft",
|
|
3158
|
+
continue: "Continue with Microsoft"
|
|
3159
|
+
};
|
|
3160
|
+
var MICROSOFT_FONT_STACK = "'Segoe UI', 'Helvetica Neue', Arial, sans-serif";
|
|
3161
|
+
var CLASSES = [
|
|
3162
|
+
"tailwindcss-preflight",
|
|
3163
|
+
"tw-inline-flex",
|
|
3164
|
+
"tw-items-center",
|
|
3165
|
+
"tw-justify-center",
|
|
3166
|
+
"tw-gap-3",
|
|
3167
|
+
"tw-h-[41px]",
|
|
3168
|
+
"tw-px-3",
|
|
3169
|
+
"tw-rounded-none",
|
|
3170
|
+
"tw-border",
|
|
3171
|
+
"tw-text-[15px]",
|
|
3172
|
+
"tw-font-normal",
|
|
3173
|
+
"tw-leading-none",
|
|
3174
|
+
"tw-whitespace-nowrap",
|
|
3175
|
+
"tw-select-none",
|
|
3176
|
+
"tw-cursor-pointer",
|
|
3177
|
+
"tw-transition-colors",
|
|
3178
|
+
"[&_svg]:tw-shrink-0",
|
|
3179
|
+
// focus — Microsoft's brand blue ring, independent of the active brand.
|
|
3180
|
+
"focus-visible:tw-outline-none",
|
|
3181
|
+
"focus-visible:tw-ring-2",
|
|
3182
|
+
"focus-visible:tw-ring-[#0067b8]/60",
|
|
3183
|
+
// disabled
|
|
3184
|
+
"disabled:tw-cursor-not-allowed",
|
|
3185
|
+
"disabled:tw-opacity-60",
|
|
3186
|
+
// light treatment — the base.
|
|
3187
|
+
"tw-bg-white",
|
|
3188
|
+
"tw-text-[#5e5e5e]",
|
|
3189
|
+
"tw-border-[#8c8c8c]",
|
|
3190
|
+
"hover:not-disabled:tw-bg-[#f3f3f3]",
|
|
3191
|
+
// dark treatment — auto-applied under html[data-theme=dark] (the ancestor
|
|
3192
|
+
// selector out-specifies the plain light classes above).
|
|
3193
|
+
"[[data-theme=dark]_&]:tw-bg-[#2f2f2f]",
|
|
3194
|
+
"[[data-theme=dark]_&]:tw-text-white",
|
|
3195
|
+
"[[data-theme=dark]_&]:tw-border-[#2f2f2f]",
|
|
3196
|
+
"[[data-theme=dark]_&]:hover:not-disabled:tw-bg-[#3b3b3b]"
|
|
3197
|
+
];
|
|
3198
|
+
var MicrosoftButton = ({
|
|
3199
|
+
ref,
|
|
3200
|
+
label = "signin",
|
|
3201
|
+
isLoading = false,
|
|
3202
|
+
disabled = false,
|
|
3203
|
+
type = "button",
|
|
3204
|
+
className,
|
|
3205
|
+
children,
|
|
3206
|
+
style,
|
|
3207
|
+
...buttonProps
|
|
3208
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3209
|
+
"button",
|
|
3210
|
+
{
|
|
3211
|
+
...buttonProps,
|
|
3212
|
+
ref,
|
|
3213
|
+
type,
|
|
3214
|
+
disabled: disabled || isLoading,
|
|
3215
|
+
"aria-disabled": disabled || isLoading,
|
|
3216
|
+
style: { fontFamily: MICROSOFT_FONT_STACK, ...style },
|
|
3217
|
+
className: cn(CLASSES, className),
|
|
3218
|
+
children: [
|
|
3219
|
+
isLoading ? /* @__PURE__ */ jsx(icons_exports.Loader2, { className: "tw-size-[21px] tw-shrink-0 tw-animate-spin", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Microsoft, { className: "tw-size-[21px]" }),
|
|
3220
|
+
/* @__PURE__ */ jsx("span", { children: children ?? LABELS[label] })
|
|
3221
|
+
]
|
|
3222
|
+
}
|
|
3223
|
+
);
|
|
3224
|
+
var LABELS2 = {
|
|
3132
3225
|
signin: "Sign in with Google",
|
|
3133
3226
|
signup: "Sign up with Google",
|
|
3134
3227
|
continue: "Continue with Google",
|
|
@@ -3231,7 +3324,7 @@ var GoogleButton = ({
|
|
|
3231
3324
|
className: cn({
|
|
3232
3325
|
"tw-sr-only": size === "icon"
|
|
3233
3326
|
}),
|
|
3234
|
-
children: children ??
|
|
3327
|
+
children: children ?? LABELS2[label]
|
|
3235
3328
|
}
|
|
3236
3329
|
)
|
|
3237
3330
|
]
|
|
@@ -4448,6 +4541,11 @@ var variants4 = cva(
|
|
|
4448
4541
|
"tw-group/popover-content",
|
|
4449
4542
|
"tw-z-[1055]",
|
|
4450
4543
|
"focus-visible:tw-outline-none",
|
|
4544
|
+
// An open Radix Dialog locks `pointer-events: none` on <body>. Popover content
|
|
4545
|
+
// is portalled to <body> as a sibling of the dialog, so it inherits the lock
|
|
4546
|
+
// and clicks fall through — re-enable pointer events on the content itself
|
|
4547
|
+
// (dismiss-on-outside-click still works, it listens on document).
|
|
4548
|
+
"tw-pointer-events-auto",
|
|
4451
4549
|
// sizing
|
|
4452
4550
|
"tw-min-w-32",
|
|
4453
4551
|
"tw-max-h-[var(--radix-popover-content-available-height)]",
|
|
@@ -9458,8 +9556,15 @@ var inputGroupVariants = cva(
|
|
|
9458
9556
|
"tw-border-input",
|
|
9459
9557
|
"tw-text-foreground",
|
|
9460
9558
|
"has-[:is(input,textarea):disabled]:tw-opacity-50",
|
|
9559
|
+
// readonly: keep the themed input surface/border. The base layer's fixed
|
|
9560
|
+
// `neutral-150` (a light grey) is correct for the legacy light chrome but
|
|
9561
|
+
// collides with argo's themed `foreground` text — light-on-light, invisible
|
|
9562
|
+
// in dark mode. Re-pin to the same `muted`/`input` tokens the editable argo
|
|
9563
|
+
// input uses (validated AA), so readonly stays legible in every scheme.
|
|
9564
|
+
"has-[:is(input,textarea)[readonly]]:tw-bg-muted",
|
|
9565
|
+
"has-[:is(input,textarea)[readonly]]:tw-border-input",
|
|
9461
9566
|
// higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly
|
|
9462
|
-
"has-[:is(input,textarea)[readonly]:focus]:tw-border-
|
|
9567
|
+
"has-[:is(input,textarea)[readonly]:focus]:tw-border-input",
|
|
9463
9568
|
// aria-invalid on the control surfaces the error chrome without a `state` prop — the
|
|
9464
9569
|
// accessible path (uses the themeable `destructive` status token).
|
|
9465
9570
|
"has-[:is(input,textarea)[aria-invalid=true]]:tw-border-destructive",
|
|
@@ -11989,7 +12094,7 @@ var BadgeLabel = ({
|
|
|
11989
12094
|
var badgeColors = {
|
|
11990
12095
|
gray: "tw-bg-neutral-400 tw-text-white tw-decoration-neutral-400",
|
|
11991
12096
|
"gray-darker": "tw-bg-neutral-500 tw-text-white tw-decoration-neutral-500",
|
|
11992
|
-
"gray-inverse": "tw-bg-neutral-100 tw-text-neutral-500 tw-decoration-neutral-100 [[data-theme=dark]_&]:tw-bg-neutral-
|
|
12097
|
+
"gray-inverse": "tw-bg-neutral-100 tw-text-neutral-500 tw-decoration-neutral-100 [[data-theme=dark]_&]:tw-bg-neutral-700 [[data-theme=dark]_&]:tw-text-neutral-300 [[data-theme=dark]_&]:tw-decoration-neutral-700",
|
|
11993
12098
|
green: "tw-bg-green-500 tw-text-white tw-decoration-green-500",
|
|
11994
12099
|
"green-darker": "tw-bg-green-600 tw-text-white tw-decoration-green-600",
|
|
11995
12100
|
"green-inverse": "tw-bg-green-100 tw-text-green-900 tw-decoration-green-100 [[data-theme=dark]_&]:tw-bg-green-900 [[data-theme=dark]_&]:tw-text-green-200 [[data-theme=dark]_&]:tw-decoration-green-900",
|
|
@@ -24661,6 +24766,6 @@ object-assign/index.js:
|
|
|
24661
24766
|
*)
|
|
24662
24767
|
*/
|
|
24663
24768
|
|
|
24664
|
-
export { Alert, AlertModal, AnswerSummary, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, Card, ChartPanel, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, InlineStepLabel, InputGroup, Kbd, Label2 as Label, Link, Markdown, MarkedText, MessageBubble, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, RadioGroup2 as RadioGroup, ResizableHandle, ResizablePanelGroup, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select2 as Select, Separator2 as Separator, Sheet, Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table, Tabs2 as Tabs, TabsContent, Tagger, TextInput, Textarea, ThemeProvider, ThinkingIndicator, TimeInput, TimePicker, Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, Tooltip, TooltipProvider, Truncated, UsageStats, UsageStatsRing, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
|
|
24769
|
+
export { Alert, AlertModal, AnswerSummary, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, Card, ChartPanel, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, DateInput, DatePicker, DateRangeInput, DateRangePicker, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, ErrorState, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, InlineStepLabel, InputGroup, Kbd, Label2 as Label, Link, Markdown, MarkedText, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, PlanRewritingIndicator, Popconfirm, Popover, Progress, PromptInput, Question, QuestionBlock, RadioGroup2 as RadioGroup, ResizableHandle, ResizablePanelGroup, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select2 as Select, Separator2 as Separator, Sheet, Sidebar, SidebarProvider, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, StatCard, StatCardGrid, Stepper, SuggestedPrompt, Switch, Table, Tabs2 as Tabs, TabsContent, Tagger, TextInput, Textarea, ThemeProvider, ThinkingIndicator, TimeInput, TimePicker, Timeline, Toaster, Toggle, ToggleGroup, ToolCallApproval, ToolCallChip, Tooltip, TooltipProvider, Truncated, UsageStats, UsageStatsRing, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
|
|
24665
24770
|
//# sourceMappingURL=index.js.map
|
|
24666
24771
|
//# sourceMappingURL=index.js.map
|