@keboola/design 2.0.1 → 2.1.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/README.md +57 -1
- package/dist/icon-names.d.cts +7 -0
- package/dist/icon-names.d.ts +7 -0
- package/dist/icons.cjs +4 -0
- package/dist/icons.d.cts +6 -0
- package/dist/icons.d.ts +6 -0
- package/dist/icons.js +1 -1
- package/dist/index.cjs +127 -97
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10184 -0
- package/dist/index.d.ts +10184 -0
- package/dist/index.js +163 -133
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +30 -33
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.d.cts +74 -0
- package/dist/markdown-editor.d.ts +74 -0
- package/dist/markdown-editor.js +30 -33
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +18 -14
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.d.cts +11 -0
- package/dist/mermaid.d.ts +11 -0
- package/dist/mermaid.js +18 -14
- package/dist/mermaid.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +79 -9
- package/src/blocks/AIKit/AnswerSummary.stories.tsx +0 -38
- package/src/blocks/AIKit/AnswerSummary.tsx +0 -63
- package/src/blocks/AIKit/CollapsibleStepHeader.stories.tsx +0 -53
- package/src/blocks/AIKit/CollapsibleStepHeader.tsx +0 -64
- package/src/blocks/AIKit/InlineStepDetail.stories.tsx +0 -25
- package/src/blocks/AIKit/InlineStepDetail.tsx +0 -13
- package/src/blocks/AIKit/InlineStepLabel.stories.tsx +0 -37
- package/src/blocks/AIKit/InlineStepLabel.tsx +0 -36
- package/src/blocks/AIKit/MessageBubble.stories.tsx +0 -145
- package/src/blocks/AIKit/MessageBubble.tsx +0 -68
- package/src/blocks/AIKit/PlanApproval.stories.tsx +0 -121
- package/src/blocks/AIKit/PlanApproval.test.tsx +0 -241
- package/src/blocks/AIKit/PlanApproval.tsx +0 -363
- package/src/blocks/AIKit/PlanRewritingIndicator.test.tsx +0 -17
- package/src/blocks/AIKit/PlanRewritingIndicator.tsx +0 -20
- package/src/blocks/AIKit/PromptInput.stories.tsx +0 -106
- package/src/blocks/AIKit/PromptInput.test.tsx +0 -53
- package/src/blocks/AIKit/PromptInput.tsx +0 -218
- package/src/blocks/AIKit/PromptInputAction.tsx +0 -18
- package/src/blocks/AIKit/PromptInputSubmit.tsx +0 -59
- package/src/blocks/AIKit/Question.stories.tsx +0 -235
- package/src/blocks/AIKit/Question.tsx +0 -350
- package/src/blocks/AIKit/QuestionBlock.stories.tsx +0 -99
- package/src/blocks/AIKit/QuestionBlock.tsx +0 -83
- package/src/blocks/AIKit/SuggestedPrompt.stories.tsx +0 -82
- package/src/blocks/AIKit/SuggestedPrompt.tsx +0 -42
- package/src/blocks/AIKit/ThinkingIndicator.stories.tsx +0 -21
- package/src/blocks/AIKit/ThinkingIndicator.tsx +0 -14
- package/src/blocks/AIKit/index.ts +0 -12
- package/src/blocks/AutoSaveTextarea/AutoSaveTextarea.stories.tsx +0 -78
- package/src/blocks/AutoSaveTextarea/AutoSaveTextarea.tsx +0 -103
- package/src/blocks/AutoSaveTextarea/index.ts +0 -1
- package/src/blocks/ClipboardButton/ClipboardButton.stories.tsx +0 -28
- package/src/blocks/ClipboardButton/ClipboardButton.tsx +0 -43
- package/src/blocks/ClipboardButton/ClipboardInline.tsx +0 -40
- package/src/blocks/ClipboardButton/index.ts +0 -2
- package/src/blocks/ColorInput/ColorInput.stories.tsx +0 -109
- package/src/blocks/ColorInput/ColorInput.test.tsx +0 -163
- package/src/blocks/ColorInput/ColorInput.tsx +0 -171
- package/src/blocks/ColorInput/ColorPicker.tsx +0 -42
- package/src/blocks/ColorInput/index.ts +0 -1
- package/src/blocks/ColorInput/utils.test.ts +0 -189
- package/src/blocks/ColorInput/utils.ts +0 -74
- package/src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.stories.tsx +0 -30
- package/src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.tsx +0 -20
- package/src/blocks/EmptyConfigurationActionCard/index.ts +0 -1
- package/src/blocks/EmptyState/EmptyState.stories.tsx +0 -93
- package/src/blocks/EmptyState/EmptyState.tsx +0 -146
- package/src/blocks/EmptyState/index.ts +0 -1
- package/src/blocks/ErrorState/ErrorState.stories.tsx +0 -125
- package/src/blocks/ErrorState/ErrorState.tsx +0 -162
- package/src/blocks/ErrorState/index.ts +0 -1
- package/src/blocks/Form/components/FormBody.tsx +0 -27
- package/src/blocks/Form/components/SubmitButton.tsx +0 -30
- package/src/blocks/Form/connectors/CheckboxField.tsx +0 -34
- package/src/blocks/Form/connectors/FieldShell.tsx +0 -46
- package/src/blocks/Form/connectors/NumberField.tsx +0 -36
- package/src/blocks/Form/connectors/PasswordField.tsx +0 -38
- package/src/blocks/Form/connectors/SelectField.tsx +0 -73
- package/src/blocks/Form/connectors/SwitchField.tsx +0 -34
- package/src/blocks/Form/connectors/TextAreaField.tsx +0 -36
- package/src/blocks/Form/connectors/TextField.tsx +0 -36
- package/src/blocks/Form/contexts.ts +0 -4
- package/src/blocks/Form/formHook.ts +0 -45
- package/src/blocks/Form/index.ts +0 -2
- package/src/blocks/Form/setServerFieldErrors.test.ts +0 -38
- package/src/blocks/Form/setServerFieldErrors.ts +0 -21
- package/src/blocks/InputOtp/InputOtp.stories.tsx +0 -214
- package/src/blocks/InputOtp/InputOtp.test.tsx +0 -162
- package/src/blocks/InputOtp/InputOtp.tsx +0 -62
- package/src/blocks/InputOtp/InputOtpGroup.tsx +0 -13
- package/src/blocks/InputOtp/InputOtpSeparator.tsx +0 -23
- package/src/blocks/InputOtp/InputOtpSlot.styles.ts +0 -52
- package/src/blocks/InputOtp/InputOtpSlot.tsx +0 -44
- package/src/blocks/InputOtp/context.ts +0 -23
- package/src/blocks/InputOtp/index.ts +0 -23
- package/src/blocks/MermaidDiagram/MermaidDiagram.stories.tsx +0 -87
- package/src/blocks/MermaidDiagram/MermaidDiagram.tsx +0 -266
- package/src/blocks/MermaidDiagram/index.ts +0 -1
- package/src/blocks/MultiActionButtonGroup/MultiActionButton.stories.tsx +0 -119
- package/src/blocks/MultiActionButtonGroup/MultiActionButton.tsx +0 -41
- package/src/blocks/MultiActionButtonGroup/MultiActionButtonGroup.tsx +0 -16
- package/src/blocks/MultiActionButtonGroup/index.ts +0 -1
- package/src/blocks/MultiCombobox/MultiCombobox.stories.tsx +0 -324
- package/src/blocks/MultiCombobox/MultiCombobox.tsx +0 -257
- package/src/blocks/MultiCombobox/index.ts +0 -1
- package/src/blocks/NumberInput/NumberInput.stories.tsx +0 -112
- package/src/blocks/NumberInput/NumberInput.test.tsx +0 -148
- package/src/blocks/NumberInput/NumberInput.tsx +0 -89
- package/src/blocks/NumberInput/index.ts +0 -1
- package/src/blocks/PageHeader/AGENTS.md +0 -137
- package/src/blocks/PageHeader/PageHeader.stories.tsx +0 -371
- package/src/blocks/PageHeader/PageHeader.tsx +0 -22
- package/src/blocks/PageHeader/PageHeaderDetail.tsx +0 -84
- package/src/blocks/PageHeader/PageHeaderIndex.tsx +0 -75
- package/src/blocks/PageHeader/index.ts +0 -1
- package/src/blocks/PageHeader/styles.ts +0 -6
- package/src/blocks/PageLayout/AGENTS.md +0 -94
- package/src/blocks/PageLayout/PageLayout.stories.tsx +0 -146
- package/src/blocks/PageLayout/PageLayout.tsx +0 -139
- package/src/blocks/PageLayout/index.ts +0 -1
- package/src/blocks/PageToolbar/PageToolbar.stories.tsx +0 -353
- package/src/blocks/PageToolbar/PageToolbar.tsx +0 -160
- package/src/blocks/PageToolbar/PageToolbarToken.tsx +0 -61
- package/src/blocks/PageToolbar/index.ts +0 -1
- package/src/blocks/PasswordInput/PasswordInput.stories.tsx +0 -114
- package/src/blocks/PasswordInput/PasswordInput.test.tsx +0 -219
- package/src/blocks/PasswordInput/PasswordInput.tsx +0 -180
- package/src/blocks/PasswordInput/index.ts +0 -1
- package/src/blocks/SearchInput/SearchInput.stories.tsx +0 -127
- package/src/blocks/SearchInput/SearchInput.test.tsx +0 -162
- package/src/blocks/SearchInput/SearchInput.tsx +0 -172
- package/src/blocks/SearchInput/index.ts +0 -1
- package/src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.stories.tsx +0 -73
- package/src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.tsx +0 -92
- package/src/blocks/SearchInputWithNavigation/index.ts +0 -1
- package/src/blocks/SplitButton/SplitButton.stories.tsx +0 -91
- package/src/blocks/SplitButton/SplitButton.tsx +0 -81
- package/src/blocks/SplitButton/index.ts +0 -1
- package/src/blocks/Tagger/TagItem.tsx +0 -32
- package/src/blocks/Tagger/TagSelectPopover/TagSelectCreateItem.tsx +0 -44
- package/src/blocks/Tagger/TagSelectPopover/TagSelectItem.tsx +0 -31
- package/src/blocks/Tagger/TagSelectPopover/TagSelectList.tsx +0 -67
- package/src/blocks/Tagger/TagSelectPopover/TagSelectPopover.tsx +0 -34
- package/src/blocks/Tagger/TagSelectPopover/TagSelectValue.tsx +0 -47
- package/src/blocks/Tagger/TagSelectPopover/index.ts +0 -1
- package/src/blocks/Tagger/Tagger.stories.tsx +0 -80
- package/src/blocks/Tagger/Tagger.tsx +0 -101
- package/src/blocks/Tagger/index.ts +0 -1
- package/src/blocks/Tagger/types.ts +0 -11
- package/src/blocks/Textarea/Textarea.stories.tsx +0 -47
- package/src/blocks/Textarea/Textarea.tsx +0 -50
- package/src/blocks/Textarea/index.ts +0 -1
- package/src/components/Alert/Alert.stories.tsx +0 -101
- package/src/components/Alert/Alert.tsx +0 -121
- package/src/components/Alert/AlertAction.tsx +0 -31
- package/src/components/Alert/AlertCollapsibleIcon.tsx +0 -25
- package/src/components/Alert/AlertDescription.tsx +0 -36
- package/src/components/Alert/AlertIcon.tsx +0 -40
- package/src/components/Alert/AlertRoot.tsx +0 -64
- package/src/components/Alert/AlertTitle.tsx +0 -25
- package/src/components/Alert/index.ts +0 -1
- package/src/components/Avatar.stories.tsx +0 -22
- package/src/components/Avatar.tsx +0 -88
- package/src/components/Badge/Badge.stories.tsx +0 -122
- package/src/components/Badge/Badge.tsx +0 -71
- package/src/components/Badge/BadgeAddon.tsx +0 -63
- package/src/components/Badge/BadgeButton.tsx +0 -40
- package/src/components/Badge/BadgeLabel.tsx +0 -37
- package/src/components/Badge/BadgeRoot.tsx +0 -21
- package/src/components/Badge/index.ts +0 -1
- package/src/components/Badge/styles.ts +0 -74
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -135
- package/src/components/Breadcrumb/Breadcrumb.tsx +0 -23
- package/src/components/Breadcrumb/BreadcrumbEllipsis.tsx +0 -43
- package/src/components/Breadcrumb/BreadcrumbItem.tsx +0 -9
- package/src/components/Breadcrumb/BreadcrumbLink.tsx +0 -48
- package/src/components/Breadcrumb/BreadcrumbList.tsx +0 -26
- package/src/components/Breadcrumb/BreadcrumbPage.tsx +0 -22
- package/src/components/Breadcrumb/BreadcrumbSeparator.tsx +0 -28
- package/src/components/Breadcrumb/index.ts +0 -1
- package/src/components/Button/Button.stories.tsx +0 -80
- package/src/components/Button/Button.tsx +0 -110
- package/src/components/Button/ButtonInline.stories.tsx +0 -54
- package/src/components/Button/ButtonInline.tsx +0 -77
- package/src/components/Button/index.ts +0 -3
- package/src/components/Button/styles.ts +0 -313
- package/src/components/ButtonGroup/ButtonGroup.stories.tsx +0 -140
- package/src/components/ButtonGroup/ButtonGroup.tsx +0 -79
- package/src/components/ButtonGroup/index.ts +0 -1
- package/src/components/Calendar/Calendar.stories.tsx +0 -101
- package/src/components/Calendar/Calendar.tsx +0 -44
- package/src/components/Calendar/index.ts +0 -2
- package/src/components/Card/Card.stories.tsx +0 -60
- package/src/components/Card/Card.tsx +0 -42
- package/src/components/Card/CardContent.tsx +0 -5
- package/src/components/Card/CardHeader.tsx +0 -5
- package/src/components/Card/CardTitle.tsx +0 -13
- package/src/components/Card/index.ts +0 -1
- package/src/components/Card/styles.ts +0 -32
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -210
- package/src/components/Checkbox/Checkbox.test.tsx +0 -140
- package/src/components/Checkbox/Checkbox.tsx +0 -83
- package/src/components/Checkbox/index.ts +0 -1
- package/src/components/Checkbox/styles.ts +0 -77
- package/src/components/Clipboard/Clipboard.stories.tsx +0 -44
- package/src/components/Clipboard/Clipboard.tsx +0 -89
- package/src/components/Clipboard/index.ts +0 -1
- package/src/components/CodeEditor/ButtonToolbar.tsx +0 -14
- package/src/components/CodeEditor/CodeEditor.tsx +0 -155
- package/src/components/CodeEditor/SqlEditor.stories.tsx +0 -76
- package/src/components/CodeEditor/SqlEditor.tsx +0 -206
- package/src/components/CodeEditor/ToggleComponentHelp.tsx +0 -7
- package/src/components/CodeEditor/activeQueryHighlight.test.ts +0 -178
- package/src/components/CodeEditor/activeQueryHighlight.ts +0 -245
- package/src/components/CodeEditor/helpers.ts +0 -100
- package/src/components/CodeEditor/highlighting.ts +0 -184
- package/src/components/CodeEditor/index.ts +0 -3
- package/src/components/CodeEditor/search.ts +0 -186
- package/src/components/Collapse.stories.tsx +0 -56
- package/src/components/Collapse.tsx +0 -61
- package/src/components/Collapsible/Collapsible.stories.tsx +0 -55
- package/src/components/Collapsible/Collapsible.tsx +0 -11
- package/src/components/Collapsible/CollapsibleContent.tsx +0 -25
- package/src/components/Collapsible/index.ts +0 -1
- package/src/components/CollapsiblePanel.stories.tsx +0 -25
- package/src/components/CollapsiblePanel.tsx +0 -127
- package/src/components/Combobox/Combobox.stories.tsx +0 -426
- package/src/components/Combobox/Combobox.test.tsx +0 -165
- package/src/components/Combobox/Combobox.tsx +0 -345
- package/src/components/Combobox/ComboboxChips.tsx +0 -68
- package/src/components/Combobox/ComboboxContent.tsx +0 -95
- package/src/components/Combobox/ComboboxEmpty.tsx +0 -30
- package/src/components/Combobox/ComboboxInput.tsx +0 -10
- package/src/components/Combobox/ComboboxInputGroup.tsx +0 -38
- package/src/components/Combobox/ComboboxItem.tsx +0 -70
- package/src/components/Combobox/ComboboxItemIndicator.tsx +0 -78
- package/src/components/Combobox/ComboboxList.tsx +0 -32
- package/src/components/Combobox/ComboboxRoot.tsx +0 -5
- package/src/components/Combobox/ComboboxSeparator.tsx +0 -20
- package/src/components/Combobox/Group/ComboboxCollection.tsx +0 -7
- package/src/components/Combobox/Group/ComboboxGroup.tsx +0 -23
- package/src/components/Combobox/Group/ComboboxGroupLabel.tsx +0 -38
- package/src/components/Combobox/Group/index.ts +0 -3
- package/src/components/Combobox/index.ts +0 -1
- package/src/components/Combobox/types.ts +0 -22
- package/src/components/Combobox/utils.test.ts +0 -95
- package/src/components/Combobox/utils.ts +0 -103
- package/src/components/Command/Command.stories.tsx +0 -367
- package/src/components/Command/Command.tsx +0 -37
- package/src/components/Command/CommandContent.tsx +0 -19
- package/src/components/Command/CommandEmpty.tsx +0 -6
- package/src/components/Command/CommandGroup.tsx +0 -26
- package/src/components/Command/CommandInput.tsx +0 -27
- package/src/components/Command/CommandItem/CheckIndicator.tsx +0 -86
- package/src/components/Command/CommandItem/CommandItem.tsx +0 -94
- package/src/components/Command/CommandItem/index.ts +0 -1
- package/src/components/Command/CommandList.tsx +0 -32
- package/src/components/Command/CommandSeparator.tsx +0 -13
- package/src/components/Command/index.ts +0 -6
- package/src/components/DatePicker/DatePicker.tsx +0 -37
- package/src/components/DatePicker/index.ts +0 -1
- package/src/components/DiffView/DiffView.stories.tsx +0 -80
- package/src/components/DiffView/DiffView.tsx +0 -131
- package/src/components/DiffView/DiffViewMark.tsx +0 -21
- package/src/components/DiffView/DiffViewTd.tsx +0 -84
- package/src/components/DiffView/DiffViewTh.tsx +0 -23
- package/src/components/DiffView/index.ts +0 -11
- package/src/components/DiffView/util.test.ts +0 -231
- package/src/components/DiffView/util.ts +0 -311
- package/src/components/DotsLoader.tsx +0 -22
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +0 -310
- package/src/components/DropdownMenu/DropdownMenu.tsx +0 -61
- package/src/components/DropdownMenu/DropdownMenuCheckboxItem.tsx +0 -55
- package/src/components/DropdownMenu/DropdownMenuContent.tsx +0 -52
- package/src/components/DropdownMenu/DropdownMenuContext.tsx +0 -13
- package/src/components/DropdownMenu/DropdownMenuItem.tsx +0 -80
- package/src/components/DropdownMenu/DropdownMenuItemDescription.tsx +0 -42
- package/src/components/DropdownMenu/DropdownMenuItemIndicator.tsx +0 -104
- package/src/components/DropdownMenu/DropdownMenuLabel.tsx +0 -21
- package/src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioGroup.tsx +0 -31
- package/src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioItem.tsx +0 -67
- package/src/components/DropdownMenu/DropdownMenuRadioGroup/index.ts +0 -2
- package/src/components/DropdownMenu/DropdownMenuSeparator.tsx +0 -35
- package/src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSub.tsx +0 -3
- package/src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubContent.tsx +0 -21
- package/src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubTrigger.tsx +0 -17
- package/src/components/DropdownMenu/DropdownMenuSub/index.ts +0 -3
- package/src/components/DropdownMenu/DropdownMenuTrigger.tsx +0 -19
- package/src/components/DropdownMenu/ItemIcon.tsx +0 -30
- package/src/components/DropdownMenu/index.ts +0 -1
- package/src/components/DropdownMenu/styles.ts +0 -82
- package/src/components/EmptySearchContent.stories.tsx +0 -12
- package/src/components/EmptySearchContent.tsx +0 -13
- package/src/components/FieldBox/FieldBox.stories.tsx +0 -138
- package/src/components/FieldBox/FieldBox.tsx +0 -43
- package/src/components/FieldBox/FieldBoxDescription.tsx +0 -18
- package/src/components/FieldBox/FieldBoxTitle.tsx +0 -20
- package/src/components/FieldBox/index.ts +0 -1
- package/src/components/FieldBox/styles.ts +0 -37
- package/src/components/FormGroup/FormGroup.stories.tsx +0 -120
- package/src/components/FormGroup/FormGroup.tsx +0 -48
- package/src/components/FormGroup/FormGroupColorInput.tsx +0 -15
- package/src/components/FormGroup/FormGroupHelp.tsx +0 -17
- package/src/components/FormGroup/FormGroupNumberInput.tsx +0 -15
- package/src/components/FormGroup/FormGroupTextInput.tsx +0 -15
- package/src/components/FormGroup/FormGroupTextarea.tsx +0 -12
- package/src/components/FormGroup/context.ts +0 -11
- package/src/components/FormGroup/index.ts +0 -2
- package/src/components/FormGroup/types.ts +0 -5
- package/src/components/FullScreenModal/FullScreenModal.tsx +0 -8
- package/src/components/FullScreenModal/FullScreenModalBody.tsx +0 -16
- package/src/components/FullScreenModal/FullScreenModalHeader.tsx +0 -92
- package/src/components/FullScreenModal/FullScreenModalRoot.tsx +0 -79
- package/src/components/FullScreenModal/index.ts +0 -3
- package/src/components/HelpBlock/HelpBlock.stories.tsx +0 -28
- package/src/components/HelpBlock/HelpBlock.tsx +0 -31
- package/src/components/HelpBlock/index.ts +0 -1
- package/src/components/HoverCard/HoverCard.stories.tsx +0 -77
- package/src/components/HoverCard/HoverCard.tsx +0 -13
- package/src/components/HoverCard/HoverCardContent.tsx +0 -68
- package/src/components/HoverCard/index.ts +0 -1
- package/src/components/Icon/Icon.stories.tsx +0 -26
- package/src/components/Icon/Icon.tsx +0 -10
- package/src/components/Icon/Icons.mdx +0 -28
- package/src/components/Icon/constants.ts +0 -1
- package/src/components/Icon/index.ts +0 -27
- package/src/components/Input/DateInput/DateInput.stories.tsx +0 -58
- package/src/components/Input/DateInput/DateInput.tsx +0 -143
- package/src/components/Input/DateInput/helpers.test.ts +0 -102
- package/src/components/Input/DateInput/helpers.ts +0 -59
- package/src/components/Input/DateInput/index.ts +0 -1
- package/src/components/Input/DateRangeInput/DateRangeInput.stories.tsx +0 -66
- package/src/components/Input/DateRangeInput/DateRangeInput.tsx +0 -139
- package/src/components/Input/DateRangeInput/helpers.test.ts +0 -146
- package/src/components/Input/DateRangeInput/helpers.ts +0 -36
- package/src/components/Input/DateRangeInput/index.ts +0 -1
- package/src/components/Input/Input.stories.tsx +0 -93
- package/src/components/Input/Input.test.tsx +0 -112
- package/src/components/Input/Input.tsx +0 -163
- package/src/components/Input/TextInput/TextInput.stories.tsx +0 -68
- package/src/components/Input/TextInput/TextInput.test.tsx +0 -52
- package/src/components/Input/TextInput/TextInput.tsx +0 -73
- package/src/components/Input/TextInput/index.ts +0 -1
- package/src/components/Input/TimeInput/TimeInput.stories.tsx +0 -89
- package/src/components/Input/TimeInput/TimeInput.tsx +0 -106
- package/src/components/Input/TimeInput/index.ts +0 -1
- package/src/components/Input/index.ts +0 -4
- package/src/components/Input/utils.ts +0 -11
- package/src/components/InputGroup/InputGroup.stories.tsx +0 -215
- package/src/components/InputGroup/InputGroup.tsx +0 -228
- package/src/components/InputGroup/InputGroupAddon.tsx +0 -57
- package/src/components/InputGroup/InputGroupButton.tsx +0 -25
- package/src/components/InputGroup/InputGroupInput.tsx +0 -34
- package/src/components/InputGroup/InputGroupText.tsx +0 -21
- package/src/components/InputGroup/InputGroupTextArea.tsx +0 -78
- package/src/components/InputGroup/index.ts +0 -1
- package/src/components/Kbd/Kbd.stories.tsx +0 -82
- package/src/components/Kbd/Kbd.tsx +0 -17
- package/src/components/Kbd/KbdGroup.tsx +0 -35
- package/src/components/Kbd/KbdSeparator.tsx +0 -9
- package/src/components/Kbd/index.ts +0 -3
- package/src/components/Kbd/keyboardKeys.ts +0 -40
- package/src/components/Kbd/styles.ts +0 -39
- package/src/components/Label/Label.stories.tsx +0 -53
- package/src/components/Label/Label.tsx +0 -31
- package/src/components/Label/index.ts +0 -1
- package/src/components/Link.stories.tsx +0 -19
- package/src/components/Link.tsx +0 -37
- package/src/components/MarkdownEditor/MarkdownEditor.stories.tsx +0 -182
- package/src/components/MarkdownEditor/MarkdownEditor.test.ts +0 -171
- package/src/components/MarkdownEditor/MarkdownEditor.tsx +0 -245
- package/src/components/MarkdownEditor/context.ts +0 -10
- package/src/components/MarkdownEditor/index.ts +0 -1
- package/src/components/MarkdownEditor/nodes/ImageNode.tsx +0 -115
- package/src/components/MarkdownEditor/nodes/ImageNodeComponent.tsx +0 -18
- package/src/components/MarkdownEditor/nodes/MermaidNode.tsx +0 -72
- package/src/components/MarkdownEditor/nodes/MermaidNodeComponent.tsx +0 -35
- package/src/components/MarkdownEditor/plugins/ImagePastePlugin.tsx +0 -149
- package/src/components/MarkdownEditor/plugins/KeyboardPlugin.tsx +0 -81
- package/src/components/MarkdownEditor/plugins/MarkdownSyncPlugin.tsx +0 -65
- package/src/components/MarkdownEditor/plugins/ToolbarPlugin.tsx +0 -284
- package/src/components/MarkdownEditor/plugins/toolbar/AlignmentDropdown.tsx +0 -99
- package/src/components/MarkdownEditor/plugins/toolbar/BlockTypeDropdown.tsx +0 -142
- package/src/components/MarkdownEditor/plugins/toolbar/LinkPanel.tsx +0 -160
- package/src/components/MarkdownEditor/plugins/toolbar/ToolbarButton.tsx +0 -36
- package/src/components/MarkdownEditor/plugins/toolbar/ToolbarDivider.tsx +0 -1
- package/src/components/MarkdownEditor/theme.ts +0 -39
- package/src/components/MarkdownEditor/transformers.ts +0 -189
- package/src/components/MarkedText/MarkedText.stories.tsx +0 -46
- package/src/components/MarkedText/MarkedText.tsx +0 -36
- package/src/components/MarkedText/index.ts +0 -1
- package/src/components/MarkedText/utils.test.ts +0 -193
- package/src/components/MarkedText/utils.ts +0 -37
- package/src/components/MergeEditor/AcceptControls/AcceptButton.tsx +0 -25
- package/src/components/MergeEditor/AcceptControls/AcceptControls.tsx +0 -77
- package/src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.tsx +0 -38
- package/src/components/MergeEditor/MergeEditor.stories.tsx +0 -226
- package/src/components/MergeEditor/MergeEditor.tsx +0 -125
- package/src/components/MergeEditor/MergePane.tsx +0 -113
- package/src/components/MergeEditor/PaneHeader.tsx +0 -11
- package/src/components/MergeEditor/constants.ts +0 -48
- package/src/components/MergeEditor/decorations.ts +0 -126
- package/src/components/MergeEditor/helpers.test.ts +0 -172
- package/src/components/MergeEditor/helpers.ts +0 -118
- package/src/components/MergeEditor/index.ts +0 -5
- package/src/components/MergeEditor/useMergeDiff.ts +0 -573
- package/src/components/MergeEditor/useScrollSync.ts +0 -79
- package/src/components/Modal/Modal.stories.tsx +0 -680
- package/src/components/Modal/Modal.tsx +0 -49
- package/src/components/Modal/ModalBody.tsx +0 -33
- package/src/components/Modal/ModalCloseIcon.tsx +0 -31
- package/src/components/Modal/ModalContent.tsx +0 -95
- package/src/components/Modal/ModalDescription.tsx +0 -20
- package/src/components/Modal/ModalFooter.tsx +0 -20
- package/src/components/Modal/ModalHeader.tsx +0 -61
- package/src/components/Modal/ModalIcon.tsx +0 -109
- package/src/components/Modal/ModalOverlay.tsx +0 -42
- package/src/components/Modal/ModalTitle.tsx +0 -12
- package/src/components/Modal/index.ts +0 -1
- package/src/components/Navbar/Navbar.stories.tsx +0 -191
- package/src/components/Navbar/Navbar.tsx +0 -80
- package/src/components/Navbar/NavbarContent.tsx +0 -20
- package/src/components/Navbar/NavbarFooter.tsx +0 -11
- package/src/components/Navbar/NavbarHeader.tsx +0 -11
- package/src/components/Navbar/NavbarMenu.tsx +0 -30
- package/src/components/Navbar/NavbarMenuAvatar.tsx +0 -67
- package/src/components/Navbar/NavbarMenuButton.tsx +0 -135
- package/src/components/Navbar/NavbarMenuItem.tsx +0 -9
- package/src/components/Navbar/NavbarMenuItemAdornment.tsx +0 -65
- package/src/components/Navbar/index.ts +0 -1
- package/src/components/Pagination/Pagination.stories.tsx +0 -131
- package/src/components/Pagination/Pagination.tsx +0 -34
- package/src/components/Pagination/PaginationButton.tsx +0 -36
- package/src/components/Pagination/PaginationContent.tsx +0 -12
- package/src/components/Pagination/PaginationEllipsis.tsx +0 -26
- package/src/components/Pagination/PaginationItem.tsx +0 -9
- package/src/components/Pagination/PaginationNext.tsx +0 -20
- package/src/components/Pagination/PaginationPrevious.tsx +0 -14
- package/src/components/Pagination/index.ts +0 -1
- package/src/components/PanelWithDetails.stories.tsx +0 -28
- package/src/components/PanelWithDetails.tsx +0 -65
- package/src/components/Popconfirm/Popconfirm.stories.tsx +0 -373
- package/src/components/Popconfirm/Popconfirm.tsx +0 -82
- package/src/components/Popconfirm/PopconfirmBody.tsx +0 -5
- package/src/components/Popconfirm/PopconfirmCancel.tsx +0 -45
- package/src/components/Popconfirm/PopconfirmConfirm.tsx +0 -57
- package/src/components/Popconfirm/PopconfirmContent.tsx +0 -33
- package/src/components/Popconfirm/PopconfirmFooter.tsx +0 -9
- package/src/components/Popconfirm/PopconfirmTrigger.tsx +0 -22
- package/src/components/Popconfirm/context.ts +0 -19
- package/src/components/Popconfirm/index.ts +0 -1
- package/src/components/Popover/Popover.stories.tsx +0 -85
- package/src/components/Popover/Popover.tsx +0 -15
- package/src/components/Popover/PopoverContent.tsx +0 -103
- package/src/components/Popover/index.ts +0 -1
- package/src/components/Progress/Progress.stories.tsx +0 -67
- package/src/components/Progress/Progress.tsx +0 -45
- package/src/components/Progress/index.ts +0 -1
- package/src/components/RadioGroup/Radio.tsx +0 -61
- package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -300
- package/src/components/RadioGroup/RadioGroup.tsx +0 -64
- package/src/components/RadioGroup/RadioGroupItem.tsx +0 -60
- package/src/components/RadioGroup/RadioGroupItemButton.tsx +0 -79
- package/src/components/RadioGroup/RadioGroupSeparator.tsx +0 -12
- package/src/components/RadioGroup/context.ts +0 -13
- package/src/components/RadioGroup/index.ts +0 -1
- package/src/components/Resizable/Resizable.stories.tsx +0 -50
- package/src/components/Resizable/ResizableHandle.tsx +0 -50
- package/src/components/Resizable/ResizablePanel.tsx +0 -12
- package/src/components/Resizable/ResizablePanelGroup.tsx +0 -19
- package/src/components/Resizable/index.ts +0 -3
- package/src/components/ScrollArea/ScrollArea.stories.tsx +0 -43
- package/src/components/ScrollArea/ScrollArea.tsx +0 -50
- package/src/components/ScrollArea/ScrollBar.tsx +0 -32
- package/src/components/ScrollArea/index.ts +0 -2
- package/src/components/Search/ClearButton.tsx +0 -42
- package/src/components/Search/Search.stories.tsx +0 -77
- package/src/components/Search/Search.test.tsx +0 -224
- package/src/components/Search/Search.tsx +0 -139
- package/src/components/Search/SearchForm.tsx +0 -37
- package/src/components/Search/index.ts +0 -2
- package/src/components/Search/styles.ts +0 -88
- package/src/components/Search/utils.ts +0 -11
- package/src/components/Select/Select.stories.tsx +0 -109
- package/src/components/Select/Select.tsx +0 -141
- package/src/components/Select/SelectContent.tsx +0 -110
- package/src/components/Select/SelectGroup.tsx +0 -10
- package/src/components/Select/SelectItem.tsx +0 -72
- package/src/components/Select/SelectLabel.tsx +0 -32
- package/src/components/Select/SelectRoot.tsx +0 -6
- package/src/components/Select/SelectSeparator.tsx +0 -13
- package/src/components/Select/SelectTrigger.tsx +0 -161
- package/src/components/Select/index.ts +0 -1
- package/src/components/Separator/Separator.stories.tsx +0 -60
- package/src/components/Separator/Separator.test.tsx +0 -39
- package/src/components/Separator/Separator.tsx +0 -115
- package/src/components/Separator/index.ts +0 -1
- package/src/components/Sheet/Sheet.stories.tsx +0 -63
- package/src/components/Sheet/Sheet.tsx +0 -21
- package/src/components/Sheet/SheetBody.tsx +0 -12
- package/src/components/Sheet/SheetContent.tsx +0 -131
- package/src/components/Sheet/SheetFooter.tsx +0 -9
- package/src/components/Sheet/SheetHeader.tsx +0 -39
- package/src/components/Sheet/SheetOverlay.tsx +0 -11
- package/src/components/Sheet/SheetTitle.tsx +0 -12
- package/src/components/Sheet/index.ts +0 -1
- package/src/components/Sidebar/Sidebar.stories.tsx +0 -849
- package/src/components/Sidebar/Sidebar.tsx +0 -225
- package/src/components/Sidebar/SidebarContent.tsx +0 -61
- package/src/components/Sidebar/SidebarFillTrigger.tsx +0 -25
- package/src/components/Sidebar/SidebarFooter.tsx +0 -13
- package/src/components/Sidebar/SidebarGroup/SidebarGroup.tsx +0 -23
- package/src/components/Sidebar/SidebarGroup/SidebarGroupAction.tsx +0 -53
- package/src/components/Sidebar/SidebarGroup/SidebarGroupContent.tsx +0 -20
- package/src/components/Sidebar/SidebarGroup/SidebarGroupLabel.tsx +0 -76
- package/src/components/Sidebar/SidebarGroup/index.ts +0 -4
- package/src/components/Sidebar/SidebarHeader.tsx +0 -20
- package/src/components/Sidebar/SidebarInstanceContext.ts +0 -18
- package/src/components/Sidebar/SidebarMenu/SidebarMenu.tsx +0 -28
- package/src/components/Sidebar/SidebarMenu/SidebarMenuAction.tsx +0 -69
- package/src/components/Sidebar/SidebarMenu/SidebarMenuBadge.tsx +0 -56
- package/src/components/Sidebar/SidebarMenu/SidebarMenuButton.tsx +0 -110
- package/src/components/Sidebar/SidebarMenu/SidebarMenuCard.tsx +0 -108
- package/src/components/Sidebar/SidebarMenu/SidebarMenuIcon.tsx +0 -30
- package/src/components/Sidebar/SidebarMenu/SidebarMenuItem.tsx +0 -9
- package/src/components/Sidebar/SidebarMenu/SidebarMenuSub.tsx +0 -139
- package/src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.tsx +0 -106
- package/src/components/Sidebar/SidebarMenu/SidebarSearchInput.tsx +0 -88
- package/src/components/Sidebar/SidebarMenu/index.ts +0 -10
- package/src/components/Sidebar/SidebarProvider/SidebarProvider.tsx +0 -171
- package/src/components/Sidebar/SidebarProvider/context.ts +0 -35
- package/src/components/Sidebar/SidebarProvider/index.ts +0 -2
- package/src/components/Sidebar/SidebarProvider/useHoverTracking.test.ts +0 -199
- package/src/components/Sidebar/SidebarProvider/useHoverTracking.ts +0 -72
- package/src/components/Sidebar/SidebarProvider/useSidebarState.ts +0 -50
- package/src/components/Sidebar/SidebarProvider/useTransitionPresence.test.ts +0 -179
- package/src/components/Sidebar/SidebarProvider/useTransitionPresence.ts +0 -53
- package/src/components/Sidebar/SidebarResizeHandle.tsx +0 -28
- package/src/components/Sidebar/SidebarSeparator.tsx +0 -15
- package/src/components/Sidebar/SidebarTrigger.tsx +0 -40
- package/src/components/Sidebar/index.ts +0 -3
- package/src/components/Sidebar/types.ts +0 -6
- package/src/components/Sidebar/useResizeSidebar.ts +0 -112
- package/src/components/Sidebar/utils.test.ts +0 -178
- package/src/components/Sidebar/utils.ts +0 -70
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -106
- package/src/components/Skeleton/Skeleton.tsx +0 -77
- package/src/components/Skeleton/SkeletonList.stories.tsx +0 -11
- package/src/components/Skeleton/SkeletonList.tsx +0 -65
- package/src/components/Slider/Slider.stories.tsx +0 -99
- package/src/components/Slider/Slider.tsx +0 -85
- package/src/components/Slider/SliderThumb.tsx +0 -57
- package/src/components/Slider/SliderTrack.tsx +0 -49
- package/src/components/Slider/index.ts +0 -1
- package/src/components/Slider/useInteracting.test.ts +0 -159
- package/src/components/Slider/useInteracting.ts +0 -64
- package/src/components/Switch/Switch.stories.tsx +0 -177
- package/src/components/Switch/Switch.tsx +0 -58
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Switch/styles.ts +0 -173
- package/src/components/Table/Table.stories.tsx +0 -328
- package/src/components/Table/Table.tsx +0 -68
- package/src/components/Table/TableBody.tsx +0 -22
- package/src/components/Table/TableCell.tsx +0 -7
- package/src/components/Table/TableFooter.tsx +0 -15
- package/src/components/Table/TableHead.tsx +0 -15
- package/src/components/Table/TableHeader.tsx +0 -20
- package/src/components/Table/TableRow.tsx +0 -11
- package/src/components/Table/index.ts +0 -1
- package/src/components/Tabs.stories.tsx +0 -123
- package/src/components/Tabs.tsx +0 -134
- package/src/components/ThemeProvider/AIGradientSvg.tsx +0 -18
- package/src/components/ThemeProvider/ThemeProvider.tsx +0 -25
- package/src/components/ThemeProvider/index.ts +0 -1
- package/src/components/TimePicker/TimePicker.tsx +0 -95
- package/src/components/TimePicker/TimePickerButton.tsx +0 -39
- package/src/components/TimePicker/index.ts +0 -1
- package/src/components/TimePicker/utils.ts +0 -31
- package/src/components/Timeline/Timeline.stories.tsx +0 -246
- package/src/components/Timeline/Timeline.tsx +0 -35
- package/src/components/Timeline/TimelineConnector.tsx +0 -158
- package/src/components/Timeline/TimelineContent.tsx +0 -18
- package/src/components/Timeline/TimelineItem.tsx +0 -14
- package/src/components/Timeline/index.ts +0 -1
- package/src/components/Timeline/useLastLineHeight.ts +0 -36
- package/src/components/Toast/Toast.stories.tsx +0 -178
- package/src/components/Toast/ToastAction.tsx +0 -40
- package/src/components/Toast/ToastDescription.tsx +0 -28
- package/src/components/Toast/ToastDismiss.tsx +0 -36
- package/src/components/Toast/ToastDuration.tsx +0 -43
- package/src/components/Toast/ToastRoot.tsx +0 -135
- package/src/components/Toast/ToastTitle.tsx +0 -33
- package/src/components/Toast/Toaster.tsx +0 -25
- package/src/components/Toast/index.ts +0 -3
- package/src/components/Toast/toast.tsx +0 -94
- package/src/components/Toast/useNotification.tsx +0 -33
- package/src/components/Toggle/Toggle.stories.tsx +0 -67
- package/src/components/Toggle/Toggle.tsx +0 -202
- package/src/components/Toggle/index.ts +0 -1
- package/src/components/ToggleGroup/ToggleGroup.stories.tsx +0 -60
- package/src/components/ToggleGroup/ToggleGroup.tsx +0 -99
- package/src/components/ToggleGroup/index.ts +0 -1
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -82
- package/src/components/Tooltip/Tooltip.tsx +0 -110
- package/src/components/Tooltip/TooltipContent.tsx +0 -90
- package/src/components/Tooltip/TooltipRoot.tsx +0 -12
- package/src/components/Tooltip/TooltipTrigger.tsx +0 -42
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/Truncated.stories.tsx +0 -72
- package/src/components/Truncated.tsx +0 -78
- package/src/components/ZoomableSvg/ZoomableSvg.stories.tsx +0 -53
- package/src/components/ZoomableSvg/ZoomableSvg.tsx +0 -200
- package/src/components/ZoomableSvg/index.ts +0 -1
- package/src/constants/keyCodes.ts +0 -5
- package/src/docs/Colors.mdx +0 -19
- package/src/docs/Spacing.mdx +0 -35
- package/src/docs/Typography.mdx +0 -63
- package/src/docs/components/Typeset.tsx +0 -35
- package/src/hooks/useAutosizeInput.stories.tsx +0 -142
- package/src/hooks/useAutosizeInput.test.tsx +0 -77
- package/src/hooks/useAutosizeInput.tsx +0 -107
- package/src/hooks/useElement.ts +0 -16
- package/src/hooks/useScrollbarPosition.ts +0 -68
- package/src/icon-names.ts +0 -20
- package/src/icons/Keboola.tsx +0 -28
- package/src/icons/icons.stories.tsx +0 -174
- package/src/icons/index.ts +0 -188
- package/src/index.ts +0 -90
- package/src/patterns/AlertWithAction.stories.tsx +0 -30
- package/src/patterns/CardWithEmptyState.stories.tsx +0 -66
- package/src/patterns/ConfirmDialog.stories.tsx +0 -72
- package/src/patterns/CreatableMultiCombobox.stories.tsx +0 -33
- package/src/patterns/DataCardWithSkeleton.stories.tsx +0 -48
- package/src/patterns/DisabledButtonTooltip.stories.tsx +0 -30
- package/src/patterns/FilterToolbar.stories.tsx +0 -275
- package/src/patterns/InfoTooltip.stories.tsx +0 -56
- package/src/patterns/ListDetail.stories.tsx +0 -65
- package/src/patterns/ModalForm.stories.tsx +0 -59
- package/src/patterns/PageHeaderTabs.stories.tsx +0 -48
- package/src/utils/classNames.test.ts +0 -16
- package/src/utils/classNames.ts +0 -27
- package/src/utils/copyToClipboard.ts +0 -3
- package/src/utils/createChangeInputEvent.ts +0 -28
- package/src/utils/createPrefixedString.ts +0 -2
- package/src/utils/debounce.test.ts +0 -63
- package/src/utils/debounce.ts +0 -17
- package/src/utils/decorators.tsx +0 -16
- package/src/utils/escapeStringRegexp.ts +0 -4
- package/src/utils/index.ts +0 -11
- package/src/utils/isMac.ts +0 -26
- package/src/utils/legacyIcon.tsx +0 -28
- package/src/utils/mergeRefs.ts +0 -23
- package/src/utils/noop.ts +0 -1
- package/src/utils/useSHA256.ts +0 -21
- package/src/vite-env.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -1,46 +1,44 @@
|
|
|
1
1
|
import { Slot, Root as Root$1, Slottable } from '@radix-ui/react-slot';
|
|
2
2
|
export { Slot } from '@radix-ui/react-slot';
|
|
3
|
-
import { ChevronLeft,
|
|
3
|
+
import { ChevronLeft, ChevronDown, Plus, X, Minus, Loader2, Check, ArrowBigUpDash, EyeOff, Eye, ChevronUp, Calendar, Clock, Sparkles, Search, Copy, CircleCheck, AlertTriangle, Send, ChevronRight, FileText, Minimize2, Maximize2, Circle, Ellipsis, Pipette, XCircle, Info, ChevronsRight, ChevronsLeft, CirclePause, Play, AlertCircle, ToggleRight } from 'lucide-react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { extendTailwindMerge } from 'tailwind-merge';
|
|
6
6
|
import { createContext, useRef, useEffect, useMemo, useState, use, useId, useCallback, Fragment as Fragment$1, useLayoutEffect, useReducer, Children } from 'react';
|
|
7
|
-
import {
|
|
7
|
+
import { Root as Root$6, Trigger, Portal, Content, Provider } from '@radix-ui/react-tooltip';
|
|
8
8
|
import { cva } from 'class-variance-authority';
|
|
9
9
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
10
|
-
import { all, fas } from '@awesome.me/kit-be8bcf7e5e/icons';
|
|
11
|
-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
12
10
|
import { getDefaultClassNames, DayPicker } from 'react-day-picker';
|
|
13
11
|
import 'react-day-picker/src/style.css';
|
|
14
|
-
import { Root as Root$2, Trigger, Close, Portal as Portal$1, Content as Content$1 } from '@radix-ui/react-popover';
|
|
12
|
+
import { Root as Root$2, Trigger as Trigger$1, Close, Portal as Portal$1, Content as Content$1 } from '@radix-ui/react-popover';
|
|
15
13
|
import * as ScrollAreaPrimitive2 from '@radix-ui/react-scroll-area';
|
|
16
14
|
import TextareaAutosize from 'react-textarea-autosize';
|
|
17
15
|
import * as RLabel from '@radix-ui/react-label';
|
|
18
|
-
import { Button as Button$1, cn as cn$1, Switch as Switch$1, Checkbox as Checkbox$1, Select as Select$1, FormGroup as FormGroup$1, PasswordInput as PasswordInput$1, Tooltip as Tooltip$1, Label as Label$1, TextInput as TextInput$1, Separator as Separator$1, ButtonGroup as ButtonGroup$1 } from '@keboola/design';
|
|
19
16
|
import { Root as Root$3, Thumb } from '@radix-ui/react-switch';
|
|
20
|
-
import { Root as Root$
|
|
17
|
+
import { Root as Root$7, Trigger as Trigger$2, Portal as Portal$2, Content as Content$2 } from '@radix-ui/react-hover-card';
|
|
21
18
|
import * as RSeparator from '@radix-ui/react-separator';
|
|
22
19
|
import * as RRadioGroup from '@radix-ui/react-radio-group';
|
|
23
20
|
import { Item, Indicator as Indicator$2 } from '@radix-ui/react-radio-group';
|
|
24
|
-
import { Root as Root$
|
|
21
|
+
import { Root as Root$8, Track, Range, Thumb as Thumb$1 } from '@radix-ui/react-slider';
|
|
25
22
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
26
|
-
import { Root as Root$
|
|
27
|
-
import {
|
|
23
|
+
import { Root as Root$5 } from '@radix-ui/react-select';
|
|
24
|
+
import { all, fas } from '@awesome.me/kit-be8bcf7e5e/icons';
|
|
25
|
+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
26
|
+
import { Root as Root$4, Indicator } from '@radix-ui/react-checkbox';
|
|
28
27
|
import * as DropdownMenuPrimitive3 from '@radix-ui/react-dropdown-menu';
|
|
29
28
|
import { Root, Group, Trigger as Trigger$4 } from '@radix-ui/react-dropdown-menu';
|
|
30
29
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
31
|
-
import { Root as Root$
|
|
30
|
+
import { Root as Root$9, Close as Close$1, Trigger as Trigger$3, Portal as Portal$3, Content as Content$3, Overlay, Title } from '@radix-ui/react-dialog';
|
|
32
31
|
import { createPortal } from 'react-dom';
|
|
33
|
-
import {
|
|
34
|
-
import { Root as Root$8, CollapsibleTrigger, Content as Content$4 } from '@radix-ui/react-collapsible';
|
|
32
|
+
import { Root as Root$a, CollapsibleTrigger, Content as Content$4 } from '@radix-ui/react-collapsible';
|
|
35
33
|
import { Command as Command$1, CommandInput as CommandInput$1, defaultFilter, useCommandState } from 'cmdk';
|
|
36
34
|
export { defaultFilter, useCommandState } from 'cmdk';
|
|
37
35
|
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
38
36
|
import * as RadixAvatar from '@radix-ui/react-avatar';
|
|
39
37
|
import BoringAvatar from 'boring-avatars';
|
|
40
38
|
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
41
|
-
import { Root as Root$
|
|
39
|
+
import { Root as Root$b } from '@radix-ui/react-toggle';
|
|
42
40
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
43
|
-
import { Root as Root$
|
|
41
|
+
import { Root as Root$c, Indicator as Indicator$1 } from '@radix-ui/react-progress';
|
|
44
42
|
import { diffLines, diffWords } from 'diff';
|
|
45
43
|
import * as RadixTabs from '@radix-ui/react-tabs';
|
|
46
44
|
import { completeAnyWord, autocompletion } from '@codemirror/autocomplete';
|
|
@@ -189,7 +187,7 @@ var TooltipContent = ({
|
|
|
189
187
|
) });
|
|
190
188
|
};
|
|
191
189
|
var DELAY_SHOW_TOOLTIP = 300;
|
|
192
|
-
var TooltipRoot = ({ children, delayDuration = DELAY_SHOW_TOOLTIP, ...rest }) => /* @__PURE__ */ jsx(Root$
|
|
190
|
+
var TooltipRoot = ({ children, delayDuration = DELAY_SHOW_TOOLTIP, ...rest }) => /* @__PURE__ */ jsx(Root$6, { ...rest, delayDuration, children });
|
|
193
191
|
var TooltipTrigger = ({
|
|
194
192
|
ref,
|
|
195
193
|
children,
|
|
@@ -204,20 +202,28 @@ var TooltipTrigger = ({
|
|
|
204
202
|
if (keepOpenOnClick) event.preventDefault();
|
|
205
203
|
onClick?.(event);
|
|
206
204
|
};
|
|
207
|
-
const
|
|
205
|
+
const handlePointerDown = (event) => {
|
|
208
206
|
if (keepOpenOnClick) event.preventDefault();
|
|
209
207
|
onPointerDown?.(event);
|
|
210
208
|
};
|
|
211
209
|
return /* @__PURE__ */ jsx(
|
|
212
|
-
Trigger
|
|
210
|
+
Trigger,
|
|
213
211
|
{
|
|
214
212
|
...rest,
|
|
215
213
|
asChild: true,
|
|
216
214
|
ref,
|
|
217
215
|
className: cn("tailwindcss-preflight", className),
|
|
218
216
|
onClick: handleClick,
|
|
219
|
-
onPointerDown:
|
|
220
|
-
children: asChild ? children :
|
|
217
|
+
onPointerDown: handlePointerDown,
|
|
218
|
+
children: asChild ? children : (
|
|
219
|
+
// Default-mode trigger wraps children in a span so Radix has a
|
|
220
|
+
// single DOM element to attach handlers to. `tailwindcss-preflight`
|
|
221
|
+
// (merged in via Slot) activates Tailwind's preflight inside the
|
|
222
|
+
// span, which sets `svg { display: block }` — without an inline-flex
|
|
223
|
+
// container that would stack any bare Lucide icon onto its own
|
|
224
|
+
// line. `tw-inline-flex tw-items-center` keeps icon + text aligned.
|
|
225
|
+
/* @__PURE__ */ jsx("span", { className: "tw-inline-flex tw-items-center", children })
|
|
226
|
+
)
|
|
221
227
|
}
|
|
222
228
|
);
|
|
223
229
|
};
|
|
@@ -335,29 +341,20 @@ var sha256 = async (text) => {
|
|
|
335
341
|
var useSHA256 = (text) => {
|
|
336
342
|
const [hash, setHash] = useState("");
|
|
337
343
|
useEffect(() => {
|
|
338
|
-
if (text) {
|
|
339
|
-
|
|
344
|
+
if (!text) {
|
|
345
|
+
setHash("");
|
|
346
|
+
return;
|
|
340
347
|
}
|
|
348
|
+
let cancelled = false;
|
|
349
|
+
sha256(text).then((h) => {
|
|
350
|
+
if (!cancelled) setHash(h);
|
|
351
|
+
});
|
|
352
|
+
return () => {
|
|
353
|
+
cancelled = true;
|
|
354
|
+
};
|
|
341
355
|
}, [text]);
|
|
342
356
|
return hash;
|
|
343
357
|
};
|
|
344
|
-
var Icon = ({ ref, icon, ...rest }) => /* @__PURE__ */ jsx(FontAwesomeIcon, { ...rest, ref, icon });
|
|
345
|
-
|
|
346
|
-
// src/components/Icon/index.ts
|
|
347
|
-
var validIconNames;
|
|
348
|
-
var getValidIconNames = () => {
|
|
349
|
-
if (validIconNames) return validIconNames;
|
|
350
|
-
validIconNames = new Set(
|
|
351
|
-
Object.values(fas).flatMap((def) => {
|
|
352
|
-
if (def !== null && typeof def === "object" && "iconName" in def && typeof def.iconName === "string") {
|
|
353
|
-
return [def.iconName];
|
|
354
|
-
}
|
|
355
|
-
return [];
|
|
356
|
-
})
|
|
357
|
-
);
|
|
358
|
-
return validIconNames;
|
|
359
|
-
};
|
|
360
|
-
var isIconName = (name) => getValidIconNames().has(name);
|
|
361
358
|
var variants = cva(
|
|
362
359
|
[
|
|
363
360
|
"tailwindcss-preflight",
|
|
@@ -645,10 +642,10 @@ var Button = ({
|
|
|
645
642
|
variant = "primary",
|
|
646
643
|
size = "medium",
|
|
647
644
|
block = false,
|
|
648
|
-
icon,
|
|
649
645
|
...buttonProps
|
|
650
646
|
}) => {
|
|
651
647
|
const Comp = asChild ? Root$1 : "button";
|
|
648
|
+
const isIconOnly = String(size).startsWith("icon");
|
|
652
649
|
const classNames = argo ? argoVariants({ variant, size, block, className }) : variants({
|
|
653
650
|
size,
|
|
654
651
|
variant,
|
|
@@ -671,14 +668,13 @@ var Button = ({
|
|
|
671
668
|
disabled,
|
|
672
669
|
"aria-disabled": disabled,
|
|
673
670
|
"data-variant": variant,
|
|
674
|
-
"data-icon-only":
|
|
671
|
+
"data-icon-only": isIconOnly,
|
|
675
672
|
type,
|
|
676
673
|
onClick: handleClick,
|
|
677
674
|
className: cn(classNames),
|
|
678
675
|
children: [
|
|
679
676
|
isLoading && /* @__PURE__ */ jsx(Loader2, { className: "tw-size-4 tw-shrink-0 tw-animate-spin" }),
|
|
680
|
-
|
|
681
|
-
/* @__PURE__ */ jsx(Slottable, { children })
|
|
677
|
+
/* @__PURE__ */ jsx(Slottable, { children: isLoading && isIconOnly ? null : children })
|
|
682
678
|
]
|
|
683
679
|
}
|
|
684
680
|
);
|
|
@@ -927,7 +923,7 @@ var PopoverContent = ({
|
|
|
927
923
|
) });
|
|
928
924
|
var Popover = (props) => /* @__PURE__ */ jsx(Root$2, { ...props });
|
|
929
925
|
Popover.Content = PopoverContent;
|
|
930
|
-
Popover.Trigger = Trigger;
|
|
926
|
+
Popover.Trigger = Trigger$1;
|
|
931
927
|
Popover.Close = Close;
|
|
932
928
|
var DatePicker = ({
|
|
933
929
|
align = "end",
|
|
@@ -2076,21 +2072,21 @@ var Clipboard = ({
|
|
|
2076
2072
|
return tooltip;
|
|
2077
2073
|
})();
|
|
2078
2074
|
const tooltipVariant = state === "ready" && !!text ? tooltipVariantProp : "action";
|
|
2079
|
-
return /* @__PURE__ */ jsxs(Tooltip
|
|
2075
|
+
return /* @__PURE__ */ jsxs(Tooltip.Root, { open: isTooltipOpen, onOpenChange: handleOnOpenChange, children: [
|
|
2080
2076
|
/* @__PURE__ */ jsx(
|
|
2081
|
-
Tooltip
|
|
2077
|
+
Tooltip.Trigger,
|
|
2082
2078
|
{
|
|
2083
2079
|
...restButtonProps,
|
|
2084
2080
|
asChild,
|
|
2085
2081
|
keepOpenOnClick: true,
|
|
2086
2082
|
onClick: handleOnClick,
|
|
2087
|
-
className: cn
|
|
2083
|
+
className: cn("tw-cursor-pointer", className),
|
|
2088
2084
|
ref,
|
|
2089
2085
|
children: children ?? text
|
|
2090
2086
|
}
|
|
2091
2087
|
),
|
|
2092
2088
|
/* @__PURE__ */ jsx(
|
|
2093
|
-
Tooltip
|
|
2089
|
+
Tooltip.Content,
|
|
2094
2090
|
{
|
|
2095
2091
|
keepOpenOnPointerDownOutside: true,
|
|
2096
2092
|
placement: tooltipPlacement,
|
|
@@ -2449,9 +2445,9 @@ var HoverCardContent = ({
|
|
|
2449
2445
|
children
|
|
2450
2446
|
}
|
|
2451
2447
|
) });
|
|
2452
|
-
var HoverCard = ({ openDelay = 200, closeDelay = 200, ...rest }) => /* @__PURE__ */ jsx(Root$
|
|
2448
|
+
var HoverCard = ({ openDelay = 200, closeDelay = 200, ...rest }) => /* @__PURE__ */ jsx(Root$7, { ...rest, openDelay, closeDelay });
|
|
2453
2449
|
HoverCard.Content = HoverCardContent;
|
|
2454
|
-
HoverCard.Trigger = Trigger$
|
|
2450
|
+
HoverCard.Trigger = Trigger$2;
|
|
2455
2451
|
var separatorVariants = cva(
|
|
2456
2452
|
[
|
|
2457
2453
|
// position
|
|
@@ -2889,7 +2885,7 @@ var Slider = ({
|
|
|
2889
2885
|
onValueChange?.(next);
|
|
2890
2886
|
};
|
|
2891
2887
|
const body = /* @__PURE__ */ jsxs(
|
|
2892
|
-
Root$
|
|
2888
|
+
Root$8,
|
|
2893
2889
|
{
|
|
2894
2890
|
ref,
|
|
2895
2891
|
value: liveValues,
|
|
@@ -3089,39 +3085,53 @@ var Search2 = ({
|
|
|
3089
3085
|
onChange?.("", event);
|
|
3090
3086
|
onClear?.();
|
|
3091
3087
|
};
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
{
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3088
|
+
const handleWrapperMouseDown = (event) => {
|
|
3089
|
+
if (disabled || readOnly) return;
|
|
3090
|
+
if (event.target.closest('button, a, input, textarea, [role="button"]')) {
|
|
3091
|
+
return;
|
|
3092
|
+
}
|
|
3093
|
+
event.preventDefault();
|
|
3094
|
+
event.currentTarget.querySelector("input")?.focus();
|
|
3095
|
+
};
|
|
3096
|
+
return (
|
|
3097
|
+
// Mouse-only convenience: clicking the chrome focuses the input. The input itself is the
|
|
3098
|
+
// real interactive/focusable target, so no extra role or key handler is needed here.
|
|
3099
|
+
// oxlint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
3100
|
+
/* @__PURE__ */ jsxs(
|
|
3101
|
+
"div",
|
|
3102
|
+
{
|
|
3103
|
+
className: cn(
|
|
3104
|
+
searchWrapperVariants({ variant }),
|
|
3107
3105
|
{
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
"data-testid": testId.input,
|
|
3112
|
-
type: "text",
|
|
3113
|
-
value: internalValue ?? "",
|
|
3114
|
-
onChange: handleChange,
|
|
3115
|
-
onBlur: handleBlur,
|
|
3116
|
-
className: searchInputClassnames,
|
|
3117
|
-
disabled,
|
|
3118
|
-
readOnly
|
|
3119
|
-
}
|
|
3106
|
+
"tw-cursor-not-allowed tw-opacity-40": disabled
|
|
3107
|
+
},
|
|
3108
|
+
className
|
|
3120
3109
|
),
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3110
|
+
"data-testid": testId.wrapper,
|
|
3111
|
+
onMouseDown: handleWrapperMouseDown,
|
|
3112
|
+
children: [
|
|
3113
|
+
variant === "ai" ? /* @__PURE__ */ jsx(Sparkles, { className: "tw-size-4 tw-shrink-0 [&_*]:tw-stroke-aigradient-600" }) : /* @__PURE__ */ jsx(Search, { className: "tw-size-4 tw-shrink-0 tw-text-neutral-400" }),
|
|
3114
|
+
/* @__PURE__ */ jsx(
|
|
3115
|
+
"input",
|
|
3116
|
+
{
|
|
3117
|
+
...rest,
|
|
3118
|
+
ref,
|
|
3119
|
+
placeholder,
|
|
3120
|
+
"data-testid": testId.input,
|
|
3121
|
+
type: "text",
|
|
3122
|
+
value: internalValue ?? "",
|
|
3123
|
+
onChange: handleChange,
|
|
3124
|
+
onBlur: handleBlur,
|
|
3125
|
+
className: searchInputClassnames,
|
|
3126
|
+
disabled,
|
|
3127
|
+
readOnly
|
|
3128
|
+
}
|
|
3129
|
+
),
|
|
3130
|
+
isClearButtonVisible && /* @__PURE__ */ jsx(ClearButton, { onClick: handleClear, testId: testId.clearButton }),
|
|
3131
|
+
suffix
|
|
3132
|
+
]
|
|
3133
|
+
}
|
|
3134
|
+
)
|
|
3125
3135
|
);
|
|
3126
3136
|
};
|
|
3127
3137
|
var SearchForm = ({
|
|
@@ -3221,11 +3231,28 @@ var SelectContent = ({
|
|
|
3221
3231
|
children
|
|
3222
3232
|
}
|
|
3223
3233
|
),
|
|
3224
|
-
/* @__PURE__ */ jsx(SelectPrimitive.ScrollDownButton, { className: scrollButtonStyles, children: /* @__PURE__ */ jsx(ChevronDown
|
|
3234
|
+
/* @__PURE__ */ jsx(SelectPrimitive.ScrollDownButton, { className: scrollButtonStyles, children: /* @__PURE__ */ jsx(ChevronDown, {}) })
|
|
3225
3235
|
]
|
|
3226
3236
|
}
|
|
3227
3237
|
) });
|
|
3228
3238
|
var SelectGroup = ({ className, ...props }) => /* @__PURE__ */ jsx(SelectPrimitive.Group, { ...props, className: cn("tw-flex tw-flex-col tw-gap-0.5", className) });
|
|
3239
|
+
var Icon = ({ ref, icon, ...rest }) => /* @__PURE__ */ jsx(FontAwesomeIcon, { ...rest, ref, icon });
|
|
3240
|
+
|
|
3241
|
+
// src/components/Icon/index.ts
|
|
3242
|
+
var validIconNames;
|
|
3243
|
+
var getValidIconNames = () => {
|
|
3244
|
+
if (validIconNames) return validIconNames;
|
|
3245
|
+
validIconNames = new Set(
|
|
3246
|
+
Object.values(fas).flatMap((def) => {
|
|
3247
|
+
if (def !== null && typeof def === "object" && "iconName" in def && typeof def.iconName === "string") {
|
|
3248
|
+
return [def.iconName];
|
|
3249
|
+
}
|
|
3250
|
+
return [];
|
|
3251
|
+
})
|
|
3252
|
+
);
|
|
3253
|
+
return validIconNames;
|
|
3254
|
+
};
|
|
3255
|
+
var isIconName = (name) => getValidIconNames().has(name);
|
|
3229
3256
|
var isFAIconValue = (value) => typeof value === "string" || Array.isArray(value) && value.length === 2 && typeof value[0] === "string" && typeof value[1] === "string";
|
|
3230
3257
|
var renderLegacyIcon = (value) => isFAIconValue(value) ? /* @__PURE__ */ jsx(Icon, { icon: value }) : value;
|
|
3231
3258
|
var SelectItem = ({
|
|
@@ -3305,7 +3332,7 @@ var SelectLabel = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
|
3305
3332
|
)
|
|
3306
3333
|
}
|
|
3307
3334
|
);
|
|
3308
|
-
var SelectRoot = (props) => /* @__PURE__ */ jsx(Root$
|
|
3335
|
+
var SelectRoot = (props) => /* @__PURE__ */ jsx(Root$5, { ...props });
|
|
3309
3336
|
var SelectSeparator = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
3310
3337
|
SelectPrimitive.Separator,
|
|
3311
3338
|
{
|
|
@@ -3452,7 +3479,7 @@ var SelectTrigger = ({
|
|
|
3452
3479
|
...props,
|
|
3453
3480
|
children: [
|
|
3454
3481
|
/* @__PURE__ */ jsx(SelectPrimitive.Value, { placeholder }),
|
|
3455
|
-
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDown
|
|
3482
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDown, { className: "tw-size-5 tw-text-muted-foreground" }) })
|
|
3456
3483
|
]
|
|
3457
3484
|
}
|
|
3458
3485
|
);
|
|
@@ -3617,7 +3644,7 @@ function Checkbox({
|
|
|
3617
3644
|
const fallbackId = useId();
|
|
3618
3645
|
const id = idProp?.toString() ?? fallbackId;
|
|
3619
3646
|
const styleVariant = argo ? "argo" : "default";
|
|
3620
|
-
const checkboxElement = /* @__PURE__ */ jsx(Root$
|
|
3647
|
+
const checkboxElement = /* @__PURE__ */ jsx(Root$4, { id, ...rest, className: cn(rootVariants({ variant: styleVariant, className })), children: /* @__PURE__ */ jsxs(Indicator, { className: cn(indicatorVariants({ variant: styleVariant })), children: [
|
|
3621
3648
|
/* @__PURE__ */ jsx(Check, { className: "tw-hidden tw-size-3 tw-stroke-[4px] group-data-[state=checked]:tw-block" }),
|
|
3622
3649
|
/* @__PURE__ */ jsx(Minus, { className: "tw-hidden tw-size-3 tw-stroke-[4px] group-data-[state=indeterminate]:tw-block" })
|
|
3623
3650
|
] }) });
|
|
@@ -4349,7 +4376,7 @@ var ModalIcon = (props) => {
|
|
|
4349
4376
|
'[&_svg:not([class*="tw-size-"])]:tw-size-6',
|
|
4350
4377
|
"[&_svg]:tw-aspect-square"
|
|
4351
4378
|
),
|
|
4352
|
-
children:
|
|
4379
|
+
children: renderLegacyIcon(props.icon)
|
|
4353
4380
|
}
|
|
4354
4381
|
)
|
|
4355
4382
|
}
|
|
@@ -4357,9 +4384,9 @@ var ModalIcon = (props) => {
|
|
|
4357
4384
|
}
|
|
4358
4385
|
);
|
|
4359
4386
|
};
|
|
4360
|
-
var Modal = (props) => /* @__PURE__ */ jsx(Root$
|
|
4387
|
+
var Modal = (props) => /* @__PURE__ */ jsx(Root$9, { ...props });
|
|
4361
4388
|
Modal.Close = Close$1;
|
|
4362
|
-
Modal.Trigger = Trigger$
|
|
4389
|
+
Modal.Trigger = Trigger$3;
|
|
4363
4390
|
Modal.Content = ModalContent;
|
|
4364
4391
|
Modal.Body = ModalBody;
|
|
4365
4392
|
Modal.Icon = ModalIcon;
|
|
@@ -4390,7 +4417,7 @@ var Truncated = ({
|
|
|
4390
4417
|
const isScrollableTarget = (e) => {
|
|
4391
4418
|
return e.scrollHeight - OFFSET_TOLERANCE >= e.clientHeight;
|
|
4392
4419
|
};
|
|
4393
|
-
const truncatedClasses = cn
|
|
4420
|
+
const truncatedClasses = cn(
|
|
4394
4421
|
className,
|
|
4395
4422
|
"tw-overflow-hidden [word-break:break-all]",
|
|
4396
4423
|
"[display:-webkit-box!important] [-webkit-box-orient:vertical]",
|
|
@@ -4400,7 +4427,7 @@ var Truncated = ({
|
|
|
4400
4427
|
return /* @__PURE__ */ jsx("span", { ref, className: truncatedClasses, ...rest, children: text });
|
|
4401
4428
|
}
|
|
4402
4429
|
return /* @__PURE__ */ jsx(
|
|
4403
|
-
Tooltip
|
|
4430
|
+
Tooltip,
|
|
4404
4431
|
{
|
|
4405
4432
|
placement: tooltipPlacement,
|
|
4406
4433
|
variant: tooltipVariant,
|
|
@@ -4877,9 +4904,9 @@ var SheetHeader = ({
|
|
|
4877
4904
|
] });
|
|
4878
4905
|
};
|
|
4879
4906
|
var SheetTitle = ({ className, visuallyHidden = false, ...props }) => /* @__PURE__ */ jsx(Title, { className: cn({ "tw-sr-only": visuallyHidden }, className), ...props });
|
|
4880
|
-
var Sheet = ({ ...props }) => /* @__PURE__ */ jsx(Root$
|
|
4907
|
+
var Sheet = ({ ...props }) => /* @__PURE__ */ jsx(Root$9, { ...props });
|
|
4881
4908
|
Sheet.Close = Close$1;
|
|
4882
|
-
Sheet.Trigger = Trigger$
|
|
4909
|
+
Sheet.Trigger = Trigger$3;
|
|
4883
4910
|
Sheet.Content = SheetContent;
|
|
4884
4911
|
Sheet.Title = SheetTitle;
|
|
4885
4912
|
Sheet.Header = SheetHeader;
|
|
@@ -5858,7 +5885,7 @@ var CollapsibleContent = ({
|
|
|
5858
5885
|
children
|
|
5859
5886
|
}
|
|
5860
5887
|
);
|
|
5861
|
-
var Collapsible = (props) => /* @__PURE__ */ jsx(Root$
|
|
5888
|
+
var Collapsible = (props) => /* @__PURE__ */ jsx(Root$a, { ...props });
|
|
5862
5889
|
Collapsible.Trigger = CollapsibleTrigger;
|
|
5863
5890
|
Collapsible.Content = CollapsibleContent;
|
|
5864
5891
|
var SidebarMenuSub = ({
|
|
@@ -5937,7 +5964,7 @@ var SidebarMenuSub = ({
|
|
|
5937
5964
|
),
|
|
5938
5965
|
children: [
|
|
5939
5966
|
label,
|
|
5940
|
-
/* @__PURE__ */ jsx(ChevronDown
|
|
5967
|
+
/* @__PURE__ */ jsx(ChevronDown, { className: "tw-ml-auto tw-size-5 tw-transition-transform tw-duration-200 group-data-[state=open]:tw-rotate-180" })
|
|
5941
5968
|
]
|
|
5942
5969
|
}
|
|
5943
5970
|
) }),
|
|
@@ -7354,7 +7381,7 @@ var Combobox = ({
|
|
|
7354
7381
|
/* @__PURE__ */ jsx(ComboboxInput, { id, placeholder, disabled }),
|
|
7355
7382
|
/* @__PURE__ */ jsxs(InputGroup.Addon, { align: "inline-end", children: [
|
|
7356
7383
|
allowClear && /* @__PURE__ */ jsx(InputGroup.Button, { asChild: true, "aria-label": "Clear", disabled, children: /* @__PURE__ */ jsx(Combobox$1.Clear, { children: /* @__PURE__ */ jsx(X, { className: "tw-size-4" }) }) }),
|
|
7357
|
-
/* @__PURE__ */ jsx(InputGroup.Button, { disabled, asChild: true, "aria-label": "Open combobox", children: /* @__PURE__ */ jsx(Combobox$1.Trigger, { children: /* @__PURE__ */ jsx(ChevronDown
|
|
7384
|
+
/* @__PURE__ */ jsx(InputGroup.Button, { disabled, asChild: true, "aria-label": "Open combobox", children: /* @__PURE__ */ jsx(Combobox$1.Trigger, { children: /* @__PURE__ */ jsx(ChevronDown, { className: "tw-size-4" }) }) })
|
|
7358
7385
|
] })
|
|
7359
7386
|
]
|
|
7360
7387
|
}
|
|
@@ -7577,7 +7604,7 @@ var NavbarMenuAvatar = ({
|
|
|
7577
7604
|
...rest,
|
|
7578
7605
|
ref,
|
|
7579
7606
|
type,
|
|
7580
|
-
className: cn
|
|
7607
|
+
className: cn(
|
|
7581
7608
|
"tw-flex",
|
|
7582
7609
|
"tw-items-center",
|
|
7583
7610
|
"tw-justify-center",
|
|
@@ -7752,7 +7779,7 @@ var NavbarMenuButton = ({
|
|
|
7752
7779
|
const Comp = asChild ? Root$1 : "button";
|
|
7753
7780
|
const isSearchVariant = variant === "search";
|
|
7754
7781
|
const isEmphasizedVariant = variant === "emphasized";
|
|
7755
|
-
const adornment = isSearchVariant ? /* @__PURE__ */ jsx(Search
|
|
7782
|
+
const adornment = isSearchVariant ? /* @__PURE__ */ jsx(Search, {}) : renderLegacyIcon(icon);
|
|
7756
7783
|
const adornmentVariant = (() => {
|
|
7757
7784
|
if (isSearchVariant || variant === "icon") return "icon-button";
|
|
7758
7785
|
if (isEmphasizedVariant) return "icon-accent-emphasized";
|
|
@@ -7765,7 +7792,7 @@ var NavbarMenuButton = ({
|
|
|
7765
7792
|
ref,
|
|
7766
7793
|
type,
|
|
7767
7794
|
"data-variant": variant,
|
|
7768
|
-
className: cn
|
|
7795
|
+
className: cn(variants7({ className, variant })),
|
|
7769
7796
|
children: [
|
|
7770
7797
|
adornment && /* @__PURE__ */ jsx(NavbarMenuItemAdornment, { variant: adornmentVariant, children: adornment }),
|
|
7771
7798
|
/* @__PURE__ */ jsx(Slottable, { children })
|
|
@@ -7962,7 +7989,7 @@ var Avatar = ({
|
|
|
7962
7989
|
...props,
|
|
7963
7990
|
ref,
|
|
7964
7991
|
style: styles.wrapper,
|
|
7965
|
-
className: cn
|
|
7992
|
+
className: cn(
|
|
7966
7993
|
variant === "circle" ? "tw-rounded-full" : "tw-rounded-md",
|
|
7967
7994
|
"tw-overflow-hidden",
|
|
7968
7995
|
"focus-visible:tw-outline-none",
|
|
@@ -8186,7 +8213,7 @@ var Toggle = ({
|
|
|
8186
8213
|
const isAiVariant = variant === "ai";
|
|
8187
8214
|
const isIconOnly = Boolean(icon && children == null);
|
|
8188
8215
|
return /* @__PURE__ */ jsxs(
|
|
8189
|
-
Root$
|
|
8216
|
+
Root$b,
|
|
8190
8217
|
{
|
|
8191
8218
|
...props,
|
|
8192
8219
|
ref,
|
|
@@ -8593,7 +8620,7 @@ var Progress = ({
|
|
|
8593
8620
|
variant,
|
|
8594
8621
|
size,
|
|
8595
8622
|
...props
|
|
8596
|
-
}) => /* @__PURE__ */ jsx(Root$
|
|
8623
|
+
}) => /* @__PURE__ */ jsx(Root$c, { ...props, ref, className: cn(variants8({ variant, size, className })), value, children: /* @__PURE__ */ jsx(
|
|
8597
8624
|
Indicator$1,
|
|
8598
8625
|
{
|
|
8599
8626
|
"data-slot": "progress-indicator",
|
|
@@ -9112,7 +9139,7 @@ var MultiCombobox = ({
|
|
|
9112
9139
|
}
|
|
9113
9140
|
),
|
|
9114
9141
|
allowClear && /* @__PURE__ */ jsx(InputGroup.Button, { asChild: true, "aria-label": "Clear", disabled, children: /* @__PURE__ */ jsx(Combobox$1.Clear, { children: /* @__PURE__ */ jsx(X, { className: "tw-size-4" }) }) }),
|
|
9115
|
-
/* @__PURE__ */ jsx(InputGroup.Button, { disabled, asChild: true, "aria-label": "Open combobox", children: /* @__PURE__ */ jsx(Combobox$1.Trigger, { children: /* @__PURE__ */ jsx(ChevronDown
|
|
9142
|
+
/* @__PURE__ */ jsx(InputGroup.Button, { disabled, asChild: true, "aria-label": "Open combobox", children: /* @__PURE__ */ jsx(Combobox$1.Trigger, { children: /* @__PURE__ */ jsx(ChevronDown, { className: "tw-size-4" }) }) })
|
|
9116
9143
|
] })
|
|
9117
9144
|
] })
|
|
9118
9145
|
}
|
|
@@ -9567,7 +9594,7 @@ var AlertAction = ({
|
|
|
9567
9594
|
);
|
|
9568
9595
|
};
|
|
9569
9596
|
var AlertCollapsibleIcon = ({ open }) => /* @__PURE__ */ jsx(Tooltip, { placement: "top", tooltip: open ? "Collapse alert" : "Expand alert", triggerAsChild: true, children: /* @__PURE__ */ jsx(
|
|
9570
|
-
ChevronDown
|
|
9597
|
+
ChevronDown,
|
|
9571
9598
|
{
|
|
9572
9599
|
className: cn(
|
|
9573
9600
|
"tw-mt-px",
|
|
@@ -11590,7 +11617,7 @@ var CollapsiblePanel = ({
|
|
|
11590
11617
|
},
|
|
11591
11618
|
children: [
|
|
11592
11619
|
/* @__PURE__ */ jsx("div", { className: "tw-flex tw-flex-1 tw-items-center tw-gap-2 tw-py-px tw-text-sm tw-font-medium tw-text-neutral-800", children: header }),
|
|
11593
|
-
!isDisabled && /* @__PURE__ */ jsx("div", { className: "tw-ml-auto tw-shrink-0", children: /* @__PURE__ */ jsx(ChevronDown
|
|
11620
|
+
!isDisabled && /* @__PURE__ */ jsx("div", { className: "tw-ml-auto tw-shrink-0", children: /* @__PURE__ */ jsx(ChevronDown, { className: cn("tw-size-5 group-data-[state=open]:tw-rotate-180") }) })
|
|
11594
11621
|
]
|
|
11595
11622
|
}
|
|
11596
11623
|
),
|
|
@@ -11630,7 +11657,7 @@ var PanelWithDetails = ({
|
|
|
11630
11657
|
onKeyUp: handleKeyUp,
|
|
11631
11658
|
children: [
|
|
11632
11659
|
/* @__PURE__ */ jsx("div", { className: "tw-mr-2 tw-flex tw-shrink-0 tw-items-center", children: /* @__PURE__ */ jsx(
|
|
11633
|
-
ChevronDown
|
|
11660
|
+
ChevronDown,
|
|
11634
11661
|
{
|
|
11635
11662
|
className: cn(
|
|
11636
11663
|
"tw-size-5",
|
|
@@ -12128,6 +12155,7 @@ var ToastRoot = ({
|
|
|
12128
12155
|
"tw-inline-flex",
|
|
12129
12156
|
"tw-items-center",
|
|
12130
12157
|
"tw-justify-center",
|
|
12158
|
+
"tw-self-center",
|
|
12131
12159
|
// styles — container at 20px with no padding so the 20px Lucide
|
|
12132
12160
|
// glyph fills the slot (previous tw-size-4 + tw-p-1 clipped a
|
|
12133
12161
|
// 16px child into 8px of visible space)
|
|
@@ -12511,6 +12539,7 @@ var PageHeaderDetail = ({
|
|
|
12511
12539
|
breadcrumbs,
|
|
12512
12540
|
overflowActions,
|
|
12513
12541
|
title,
|
|
12542
|
+
titleIcon,
|
|
12514
12543
|
badges,
|
|
12515
12544
|
description,
|
|
12516
12545
|
primaryAction,
|
|
@@ -12525,6 +12554,7 @@ var PageHeaderDetail = ({
|
|
|
12525
12554
|
/* @__PURE__ */ jsxs("div", { className: "tw-flex tw-w-full tw-items-start tw-justify-between tw-gap-4", children: [
|
|
12526
12555
|
/* @__PURE__ */ jsxs("div", { className: "tw-flex tw-min-w-0 tw-flex-1 tw-flex-col tw-gap-2 tw-pr-2", children: [
|
|
12527
12556
|
/* @__PURE__ */ jsxs("div", { className: titleRowClass, children: [
|
|
12557
|
+
titleIcon && /* @__PURE__ */ jsx("span", { className: "tw-flex tw-shrink-0 tw-items-center", children: titleIcon }),
|
|
12528
12558
|
/* @__PURE__ */ jsx("h1", { className: titleClass, children: title }),
|
|
12529
12559
|
badges && /* @__PURE__ */ jsx("div", { className: badgesClass, children: badges })
|
|
12530
12560
|
] }),
|
|
@@ -12611,7 +12641,7 @@ var PageToolbarToken = ({
|
|
|
12611
12641
|
className: "tailwindcss-preflight tw-inline-flex tw-cursor-pointer tw-items-center tw-gap-1 tw-bg-inherit tw-text-inherit",
|
|
12612
12642
|
children: [
|
|
12613
12643
|
children,
|
|
12614
|
-
/* @__PURE__ */ jsx(ChevronDown
|
|
12644
|
+
/* @__PURE__ */ jsx(ChevronDown, { className: "tw-size-3" })
|
|
12615
12645
|
]
|
|
12616
12646
|
}
|
|
12617
12647
|
)
|
|
@@ -12628,7 +12658,7 @@ var Root30 = ({ ref, className, children, ...props }) => /* @__PURE__ */ jsx(
|
|
|
12628
12658
|
children
|
|
12629
12659
|
}
|
|
12630
12660
|
);
|
|
12631
|
-
var
|
|
12661
|
+
var Search3 = ({ ref, className, children, ...props }) => /* @__PURE__ */ jsx(
|
|
12632
12662
|
"div",
|
|
12633
12663
|
{
|
|
12634
12664
|
ref,
|
|
@@ -12686,7 +12716,7 @@ var AddFilter = ({ className, children, ...props }) => /* @__PURE__ */ jsxs(Butt
|
|
|
12686
12716
|
var Clear = ({ className, children, ...props }) => /* @__PURE__ */ jsx(Button, { argo: true, variant: "invisible", size: "small", className: cn("tw-ml-auto", className), ...props, children: children ?? "Clear all" });
|
|
12687
12717
|
var PageToolbar = Object.assign(Root30, {
|
|
12688
12718
|
/** Left slot — typically a `SearchInput`. */
|
|
12689
|
-
Search:
|
|
12719
|
+
Search: Search3,
|
|
12690
12720
|
/** Right cluster — host the four control groups below in the recommended order. */
|
|
12691
12721
|
Right,
|
|
12692
12722
|
/** Filter controls (`Combobox`, `Select`, `DatePicker`). */
|
|
@@ -12843,7 +12873,7 @@ var SearchInputWithNavigation = ({
|
|
|
12843
12873
|
}
|
|
12844
12874
|
};
|
|
12845
12875
|
return /* @__PURE__ */ jsx(
|
|
12846
|
-
TextInput
|
|
12876
|
+
TextInput,
|
|
12847
12877
|
{
|
|
12848
12878
|
ref,
|
|
12849
12879
|
allowClear: true,
|
|
@@ -12859,7 +12889,7 @@ var SearchInputWithNavigation = ({
|
|
|
12859
12889
|
leftSuffix: /* @__PURE__ */ jsxs(
|
|
12860
12890
|
"div",
|
|
12861
12891
|
{
|
|
12862
|
-
className: cn
|
|
12892
|
+
className: cn("tw-flex tw-items-center tw-gap-3", {
|
|
12863
12893
|
"tw-hidden": !withControls
|
|
12864
12894
|
}),
|
|
12865
12895
|
children: [
|
|
@@ -12868,10 +12898,10 @@ var SearchInputWithNavigation = ({
|
|
|
12868
12898
|
"/",
|
|
12869
12899
|
totalResults
|
|
12870
12900
|
] }),
|
|
12871
|
-
/* @__PURE__ */ jsx(Separator
|
|
12872
|
-
/* @__PURE__ */ jsxs(ButtonGroup
|
|
12901
|
+
/* @__PURE__ */ jsx(Separator, { orientation: "vertical", size: "3/4" }),
|
|
12902
|
+
/* @__PURE__ */ jsxs(ButtonGroup, { children: [
|
|
12873
12903
|
/* @__PURE__ */ jsx(
|
|
12874
|
-
Button
|
|
12904
|
+
Button,
|
|
12875
12905
|
{
|
|
12876
12906
|
variant: "inline",
|
|
12877
12907
|
size: "icon-3xs",
|
|
@@ -12881,13 +12911,13 @@ var SearchInputWithNavigation = ({
|
|
|
12881
12911
|
}
|
|
12882
12912
|
),
|
|
12883
12913
|
/* @__PURE__ */ jsx(
|
|
12884
|
-
Button
|
|
12914
|
+
Button,
|
|
12885
12915
|
{
|
|
12886
12916
|
variant: "inline",
|
|
12887
12917
|
size: "icon-3xs",
|
|
12888
12918
|
onClick: onNavigateNext,
|
|
12889
12919
|
disabled: !totalResults,
|
|
12890
|
-
children: /* @__PURE__ */ jsx(ChevronDown
|
|
12920
|
+
children: /* @__PURE__ */ jsx(ChevronDown, { className: "tw-size-4" })
|
|
12891
12921
|
}
|
|
12892
12922
|
)
|
|
12893
12923
|
] })
|
|
@@ -12923,7 +12953,7 @@ var TagSelectCreateItem = ({ onCreate, value }) => {
|
|
|
12923
12953
|
className: cn("[&_svg]:tw-text-primary-500", {
|
|
12924
12954
|
"tw-hidden": !isCreateItemVisible
|
|
12925
12955
|
}),
|
|
12926
|
-
icon: /* @__PURE__ */ jsx(Plus
|
|
12956
|
+
icon: /* @__PURE__ */ jsx(Plus, { className: "tw-size-4" }),
|
|
12927
12957
|
children: [
|
|
12928
12958
|
"Create",
|
|
12929
12959
|
" ",
|
|
@@ -13158,7 +13188,7 @@ var CollapsibleStepHeader = ({
|
|
|
13158
13188
|
/* @__PURE__ */ jsx("span", { children: label })
|
|
13159
13189
|
] }),
|
|
13160
13190
|
/* @__PURE__ */ jsx(
|
|
13161
|
-
ChevronDown
|
|
13191
|
+
ChevronDown,
|
|
13162
13192
|
{
|
|
13163
13193
|
className: cn("tw-size-4 tw-transition-transform", isExpanded && "tw-rotate-180")
|
|
13164
13194
|
}
|
|
@@ -13297,7 +13327,7 @@ var ExpandToggle = ({
|
|
|
13297
13327
|
children: [
|
|
13298
13328
|
/* @__PURE__ */ jsx("span", { children: isExpanded ? showLessLabel : showMoreLabel }),
|
|
13299
13329
|
/* @__PURE__ */ jsx(
|
|
13300
|
-
ChevronDown
|
|
13330
|
+
ChevronDown,
|
|
13301
13331
|
{
|
|
13302
13332
|
className: cn("tw-size-5 tw-transition-transform", isExpanded && "tw-rotate-180")
|
|
13303
13333
|
}
|
|
@@ -14478,7 +14508,7 @@ var FormBody = ({ children, className, ...formProps }) => {
|
|
|
14478
14508
|
"form",
|
|
14479
14509
|
{
|
|
14480
14510
|
...formProps,
|
|
14481
|
-
className: cn
|
|
14511
|
+
className: cn("tw-flex tw-flex-col tw-gap-4", className),
|
|
14482
14512
|
onSubmit: (e) => {
|
|
14483
14513
|
e.preventDefault();
|
|
14484
14514
|
e.stopPropagation();
|
|
@@ -14495,7 +14525,7 @@ var SubmitButton = ({ children = "Submit", ...buttonProps }) => {
|
|
|
14495
14525
|
{
|
|
14496
14526
|
selector: (state) => ({ isSubmitting: state.isSubmitting, canSubmit: state.canSubmit }),
|
|
14497
14527
|
children: ({ isSubmitting, canSubmit }) => /* @__PURE__ */ jsx(
|
|
14498
|
-
Button
|
|
14528
|
+
Button,
|
|
14499
14529
|
{
|
|
14500
14530
|
...buttonProps,
|
|
14501
14531
|
type: "submit",
|
|
@@ -14520,19 +14550,19 @@ var errorMessage = (field) => {
|
|
|
14520
14550
|
var FieldShell = ({ field, label, required, help, className, children }) => {
|
|
14521
14551
|
const error = errorMessage(field);
|
|
14522
14552
|
const showError = field.state.meta.isTouched && !!error;
|
|
14523
|
-
return /* @__PURE__ */ jsxs(FormGroup
|
|
14524
|
-
label && /* @__PURE__ */ jsxs(Label
|
|
14553
|
+
return /* @__PURE__ */ jsxs(FormGroup, { className, state: showError ? "error" : void 0, children: [
|
|
14554
|
+
label && /* @__PURE__ */ jsxs(Label, { htmlFor: field.name, children: [
|
|
14525
14555
|
label,
|
|
14526
14556
|
required && /* @__PURE__ */ jsx("span", { className: "tw-ml-0.5 tw-text-secondary-500", children: "*" })
|
|
14527
14557
|
] }),
|
|
14528
14558
|
children,
|
|
14529
|
-
showError ? /* @__PURE__ */ jsx(FormGroup
|
|
14559
|
+
showError ? /* @__PURE__ */ jsx(FormGroup.Help, { children: error }) : help && /* @__PURE__ */ jsx(FormGroup.Help, { children: help })
|
|
14530
14560
|
] });
|
|
14531
14561
|
};
|
|
14532
14562
|
var CheckboxField = ({ label, help, className, children, ...checkboxProps }) => {
|
|
14533
14563
|
const field = useFieldContext();
|
|
14534
14564
|
return /* @__PURE__ */ jsx(FieldShell, { field, help, className, children: /* @__PURE__ */ jsx(
|
|
14535
|
-
Checkbox
|
|
14565
|
+
Checkbox,
|
|
14536
14566
|
{
|
|
14537
14567
|
id: field.name,
|
|
14538
14568
|
name: field.name,
|
|
@@ -14549,7 +14579,7 @@ var CheckboxField = ({ label, help, className, children, ...checkboxProps }) =>
|
|
|
14549
14579
|
var NumberField = ({ label, required, help, className, ...inputProps }) => {
|
|
14550
14580
|
const field = useFieldContext();
|
|
14551
14581
|
return /* @__PURE__ */ jsx(FieldShell, { field, label, required, help, className, children: /* @__PURE__ */ jsx(
|
|
14552
|
-
FormGroup
|
|
14582
|
+
FormGroup.NumberInput,
|
|
14553
14583
|
{
|
|
14554
14584
|
id: field.name,
|
|
14555
14585
|
name: field.name,
|
|
@@ -14566,7 +14596,7 @@ var PasswordField = ({ label, required, help, className, ...inputProps }) => {
|
|
|
14566
14596
|
const field = useFieldContext();
|
|
14567
14597
|
const showError = field.state.meta.isTouched && field.state.meta.errors.length > 0;
|
|
14568
14598
|
return /* @__PURE__ */ jsx(FieldShell, { field, label, required, help, className, children: /* @__PURE__ */ jsx(
|
|
14569
|
-
PasswordInput
|
|
14599
|
+
PasswordInput,
|
|
14570
14600
|
{
|
|
14571
14601
|
id: field.name,
|
|
14572
14602
|
name: field.name,
|
|
@@ -14595,7 +14625,7 @@ var SelectField = ({
|
|
|
14595
14625
|
}) => {
|
|
14596
14626
|
const field = useFieldContext();
|
|
14597
14627
|
return /* @__PURE__ */ jsx(FieldShell, { field, label, required, help, className, children: /* @__PURE__ */ jsxs(
|
|
14598
|
-
Select
|
|
14628
|
+
Select.Root,
|
|
14599
14629
|
{
|
|
14600
14630
|
value: field.state.value ?? "",
|
|
14601
14631
|
onValueChange: (value) => {
|
|
@@ -14604,7 +14634,7 @@ var SelectField = ({
|
|
|
14604
14634
|
...rootProps,
|
|
14605
14635
|
children: [
|
|
14606
14636
|
/* @__PURE__ */ jsx(
|
|
14607
|
-
Select
|
|
14637
|
+
Select.Trigger,
|
|
14608
14638
|
{
|
|
14609
14639
|
id: field.name,
|
|
14610
14640
|
className: triggerClassName ?? "tw-w-full",
|
|
@@ -14615,7 +14645,7 @@ var SelectField = ({
|
|
|
14615
14645
|
onBlur: field.handleBlur
|
|
14616
14646
|
}
|
|
14617
14647
|
),
|
|
14618
|
-
/* @__PURE__ */ jsx(Select
|
|
14648
|
+
/* @__PURE__ */ jsx(Select.Content, { variant: variant === "argo" ? "argo" : "default", children: options.map((option) => /* @__PURE__ */ jsx(Select.Item, { value: option.value, children: option.label }, option.value)) })
|
|
14619
14649
|
]
|
|
14620
14650
|
}
|
|
14621
14651
|
) });
|
|
@@ -14623,7 +14653,7 @@ var SelectField = ({
|
|
|
14623
14653
|
var SwitchField = ({ label, help, className, children, ...switchProps }) => {
|
|
14624
14654
|
const field = useFieldContext();
|
|
14625
14655
|
return /* @__PURE__ */ jsx(FieldShell, { field, help, className, children: /* @__PURE__ */ jsx(
|
|
14626
|
-
Switch
|
|
14656
|
+
Switch,
|
|
14627
14657
|
{
|
|
14628
14658
|
id: field.name,
|
|
14629
14659
|
name: field.name,
|
|
@@ -14640,7 +14670,7 @@ var SwitchField = ({ label, help, className, children, ...switchProps }) => {
|
|
|
14640
14670
|
var TextAreaField = ({ label, required, help, className, ...inputProps }) => {
|
|
14641
14671
|
const field = useFieldContext();
|
|
14642
14672
|
return /* @__PURE__ */ jsx(FieldShell, { field, label, required, help, className, children: /* @__PURE__ */ jsx(
|
|
14643
|
-
FormGroup
|
|
14673
|
+
FormGroup.Textarea,
|
|
14644
14674
|
{
|
|
14645
14675
|
id: field.name,
|
|
14646
14676
|
name: field.name,
|
|
@@ -14656,7 +14686,7 @@ var TextAreaField = ({ label, required, help, className, ...inputProps }) => {
|
|
|
14656
14686
|
var TextField = ({ label, required, help, className, ...inputProps }) => {
|
|
14657
14687
|
const field = useFieldContext();
|
|
14658
14688
|
return /* @__PURE__ */ jsx(FieldShell, { field, label, required, help, className, children: /* @__PURE__ */ jsx(
|
|
14659
|
-
FormGroup
|
|
14689
|
+
FormGroup.TextInput,
|
|
14660
14690
|
{
|
|
14661
14691
|
id: field.name,
|
|
14662
14692
|
name: field.name,
|