@cjlapao/ui-kit-vue 0.2.0 → 0.2.3
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.cjs +18 -25
- package/dist/index.css +37732 -13285
- package/dist/index.js +31192 -21036
- package/dist/types/common/chat/markdown.d.ts +8 -0
- package/dist/types/common/chat/storage.d.ts +48 -0
- package/dist/types/common/chat/stream.d.ts +43 -0
- package/dist/types/common/chat/types.d.ts +143 -0
- package/dist/types/common/connectionFlow/header.d.ts +56 -0
- package/dist/types/common/connectionFlow/icons.d.ts +15 -0
- package/dist/types/common/connectionFlow/index.d.ts +6 -0
- package/dist/types/common/connectionFlow/layout.d.ts +73 -0
- package/dist/types/common/connectionFlow/measure.d.ts +94 -0
- package/dist/types/common/connectionFlow/paint.d.ts +36 -0
- package/dist/types/common/connectionFlow/router.d.ts +131 -0
- package/dist/types/common/connectionFlow/tones.d.ts +79 -0
- package/dist/types/common/connectionFlow/types.d.ts +394 -0
- package/dist/types/common/gantt/drag.d.ts +221 -0
- package/dist/types/common/gantt/index.d.ts +11 -0
- package/dist/types/common/gantt/layout.d.ts +133 -0
- package/dist/types/common/gantt/sample.d.ts +15 -0
- package/dist/types/common/gantt/time.d.ts +77 -0
- package/dist/types/common/gantt/tokens.d.ts +73 -0
- package/dist/types/common/gantt/types.d.ts +216 -0
- package/dist/types/common/i18n/builtIn/de.d.ts +2 -0
- package/dist/types/common/i18n/builtIn/en.d.ts +2 -0
- package/dist/types/common/i18n/builtIn/es.d.ts +2 -0
- package/dist/types/common/i18n/builtIn/fr.d.ts +2 -0
- package/dist/types/common/i18n/builtIn/index.d.ts +15 -0
- package/dist/types/common/i18n/builtIn/pt.d.ts +2 -0
- package/dist/types/common/i18n/catalog.d.ts +32 -0
- package/dist/types/common/i18n/createI18n.d.ts +2 -0
- package/dist/types/common/i18n/dates.d.ts +12 -0
- package/dist/types/common/i18n/detect.d.ts +29 -0
- package/dist/types/common/i18n/icu.d.ts +36 -0
- package/dist/types/common/i18n/index.d.ts +10 -0
- package/dist/types/common/i18n/provider.d.ts +7 -0
- package/dist/types/common/i18n/storage.d.ts +8 -0
- package/dist/types/common/i18n/types.d.ts +64 -0
- package/dist/types/common/i18n/warn.d.ts +5 -0
- package/dist/types/common/theme/Theme.d.ts +941 -3
- package/dist/types/common/theme/glass.d.ts +90 -11
- package/dist/types/common/theme/randomThemeColor.d.ts +4 -4
- package/dist/types/common/tooltip/placement.d.ts +103 -0
- package/dist/types/common/tooltip/tokens.d.ts +40 -0
- package/dist/types/common/types/TableSettings.d.ts +15 -0
- package/dist/types/common/types/Variables.d.ts +71 -1
- package/dist/types/common/utils/dates.d.ts +113 -0
- package/dist/types/common/utils/gravatar.d.ts +0 -10
- package/dist/types/common/utils/safeStorage.d.ts +28 -0
- package/dist/types/common/utils/sanitizeSvg.d.ts +44 -0
- package/dist/types/common/utils/smartVariables.d.ts +74 -18
- package/dist/types/common/utils/tableStorage.d.ts +38 -0
- package/dist/types/vue/src/chat/index.d.ts +4 -0
- package/dist/types/vue/src/components/AccessMatrix.test.d.ts +1 -0
- package/dist/types/vue/src/components/AccessMatrix.vue.d.ts +23 -1
- package/dist/types/vue/src/components/Accordion.test.d.ts +1 -0
- package/dist/types/vue/src/components/Accordion.vue.d.ts +42 -28
- package/dist/types/vue/src/components/ActivityFeed.test.d.ts +1 -0
- package/dist/types/vue/src/components/ActivityFeed.vue.d.ts +141 -0
- package/dist/types/vue/src/components/Alert.test.d.ts +1 -0
- package/dist/types/vue/src/components/Alert.vue.d.ts +59 -2
- package/dist/types/vue/src/components/ApiErrorState.test.d.ts +1 -0
- package/dist/types/vue/src/components/ApiErrorState.vue.d.ts +28 -8
- package/dist/types/vue/src/components/AppDivider.vue.d.ts +53 -4
- package/dist/types/vue/src/components/Badge.vue.d.ts +45 -13
- package/dist/types/vue/src/components/BadgeIcon.vue.d.ts +1 -1
- package/dist/types/vue/src/components/BreakdownCard.test.d.ts +1 -0
- package/dist/types/vue/src/components/BreakdownCard.vue.d.ts +81 -0
- package/dist/types/vue/src/components/Button.vue.d.ts +22 -11
- package/dist/types/vue/src/components/Chat.test.d.ts +1 -0
- package/dist/types/vue/src/components/Chat.vue.d.ts +80 -0
- package/dist/types/vue/src/components/Checkbox.test.d.ts +1 -0
- package/dist/types/vue/src/components/Checkbox.vue.d.ts +44 -29
- package/dist/types/vue/src/components/CollapsiblePanel.vue.d.ts +5 -5
- package/dist/types/vue/src/components/ColorSwatches.test.d.ts +1 -0
- package/dist/types/vue/src/components/ColorSwatches.vue.d.ts +42 -0
- package/dist/types/vue/src/components/Combobox.test.d.ts +1 -0
- package/dist/types/vue/src/components/Combobox.vue.d.ts +61 -12
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlow.vue.d.ts +153 -17
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowCanvas.vue.d.ts +28 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowHeader.vue.d.ts +33 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowNodeBody.vue.d.ts +32 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowSkeleton.vue.d.ts +18 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowSvg.vue.d.ts +52 -0
- package/dist/types/vue/src/components/ConnectionFlow/connectionFlow.test.d.ts +1 -0
- package/dist/types/vue/src/components/ConnectionFlow/index.d.ts +11 -4
- package/dist/types/vue/src/components/CustomIcon.vue.d.ts +35 -11
- package/dist/types/vue/src/components/DetailItemCard.vue.d.ts +37 -5
- package/dist/types/vue/src/components/DropdownButton.vue.d.ts +3 -3
- package/dist/types/vue/src/components/DropdownMenu.test.d.ts +1 -0
- package/dist/types/vue/src/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/types/vue/src/components/DynamicFormField.test.d.ts +1 -0
- package/dist/types/vue/src/components/DynamicFormField.vue.d.ts +61 -5
- package/dist/types/vue/src/components/DynamicImg.vue.d.ts +28 -3
- package/dist/types/vue/src/components/EmptyState.test.d.ts +1 -0
- package/dist/types/vue/src/components/EmptyState.vue.d.ts +104 -24
- package/dist/types/vue/src/components/FormField.vue.d.ts +2 -1
- package/dist/types/vue/src/components/Gantt/Gantt.test.d.ts +1 -0
- package/dist/types/vue/src/components/Gantt/Gantt.vue.d.ts +160 -0
- package/dist/types/vue/src/components/Gantt/GanttBodyRow.vue.d.ts +78 -0
- package/dist/types/vue/src/components/Gantt/GanttCell.vue.d.ts +28 -0
- package/dist/types/vue/src/components/Gantt/GanttLinkLayer.vue.d.ts +22 -0
- package/dist/types/vue/src/components/Gantt/GanttScale.vue.d.ts +7 -0
- package/dist/types/vue/src/components/Gantt/GanttTaskBar.vue.d.ts +53 -0
- package/dist/types/vue/src/components/Gantt/GanttToolbar.vue.d.ts +22 -0
- package/dist/types/vue/src/components/Gantt/index.d.ts +18 -0
- package/dist/types/vue/src/components/Gantt/labels.d.ts +3 -0
- package/dist/types/vue/src/components/Gantt/types.d.ts +11 -0
- package/dist/types/vue/src/components/Gantt/useGanttDrag.d.ts +105 -0
- package/dist/types/vue/src/components/GlassBackground.vue.d.ts +4 -3
- package/dist/types/vue/src/components/GlassPanel.vue.d.ts +2 -2
- package/dist/types/vue/src/components/HeaderGroup.vue.d.ts +19 -1
- package/dist/types/vue/src/components/HelpButton.test.d.ts +1 -0
- package/dist/types/vue/src/components/HelpButton.vue.d.ts +15 -6
- package/dist/types/vue/src/components/Hero.test.d.ts +1 -0
- package/dist/types/vue/src/components/Hero.vue.d.ts +52 -31
- package/dist/types/vue/src/components/IconButton.vue.d.ts +12 -6
- package/dist/types/vue/src/components/InfiniteScrollPanel.vue.d.ts +61 -14
- package/dist/types/vue/src/components/InfoRow.test.d.ts +1 -0
- package/dist/types/vue/src/components/InfoRow.vue.d.ts +67 -37
- package/dist/types/vue/src/components/InlinePanel.vue.d.ts +12 -18
- package/dist/types/vue/src/components/Input.test.d.ts +1 -0
- package/dist/types/vue/src/components/Input.vue.d.ts +42 -13
- package/dist/types/vue/src/components/InputGroup.test.d.ts +1 -0
- package/dist/types/vue/src/components/InputGroup.vue.d.ts +20 -5
- package/dist/types/vue/src/components/Loader.test.d.ts +1 -0
- package/dist/types/vue/src/components/Loader.vue.d.ts +30 -11
- package/dist/types/vue/src/components/MarkdownEditor.vue.d.ts +1 -1
- package/dist/types/vue/src/components/MetricBar.test.d.ts +1 -0
- package/dist/types/vue/src/components/MetricBar.vue.d.ts +16 -5
- package/dist/types/vue/src/components/Modal.vue.d.ts +18 -19
- package/dist/types/vue/src/components/MultiProgressBar.vue.d.ts +15 -2
- package/dist/types/vue/src/components/MultiSelectPills.test.d.ts +1 -0
- package/dist/types/vue/src/components/MultiSelectPills.vue.d.ts +47 -43
- package/dist/types/vue/src/components/MultiToggle.test.d.ts +1 -0
- package/dist/types/vue/src/components/MultiToggle.vue.d.ts +33 -6
- package/dist/types/vue/src/components/NotificationModal.test.d.ts +1 -0
- package/dist/types/vue/src/components/NotificationModal.vue.d.ts +19 -2
- package/dist/types/vue/src/components/PageHeader.test.d.ts +1 -0
- package/dist/types/vue/src/components/PageHeader.vue.d.ts +18 -0
- package/dist/types/vue/src/components/PagedPanel.test.d.ts +1 -0
- package/dist/types/vue/src/components/PagedPanel.vue.d.ts +39 -11
- package/dist/types/vue/src/components/Panel.vue.d.ts +18 -9
- package/dist/types/vue/src/components/PasswordInput.test.d.ts +1 -0
- package/dist/types/vue/src/components/PasswordInput.vue.d.ts +20 -3
- package/dist/types/vue/src/components/Picker.test.d.ts +1 -0
- package/dist/types/vue/src/components/Picker.vue.d.ts +3 -3
- package/dist/types/vue/src/components/Pill.vue.d.ts +63 -5
- package/dist/types/vue/src/components/Progress.test.d.ts +1 -0
- package/dist/types/vue/src/components/Progress.vue.d.ts +60 -11
- package/dist/types/vue/src/components/ProgressSpinner.test.d.ts +1 -0
- package/dist/types/vue/src/components/ProgressSpinner.vue.d.ts +46 -0
- package/dist/types/vue/src/components/ScrollArea.test.d.ts +1 -0
- package/dist/types/vue/src/components/ScrollArea.vue.d.ts +52 -0
- package/dist/types/vue/src/components/SearchBar.vue.d.ts +2 -3
- package/dist/types/vue/src/components/Section.vue.d.ts +1 -1
- package/dist/types/vue/src/components/SectionCard.vue.d.ts +2 -2
- package/dist/types/vue/src/components/Select.test.d.ts +1 -0
- package/dist/types/vue/src/components/Select.vue.d.ts +41 -16
- package/dist/types/vue/src/components/SidePanel.vue.d.ts +1 -1
- package/dist/types/vue/src/components/SmartInput.vue.d.ts +49 -18
- package/dist/types/vue/src/components/SmartValue.vue.d.ts +20 -13
- package/dist/types/vue/src/components/SmartVariableBadge.vue.d.ts +17 -0
- package/dist/types/vue/src/components/Spinner.test.d.ts +1 -0
- package/dist/types/vue/src/components/Spinner.vue.d.ts +12 -5
- package/dist/types/vue/src/components/SplitView.vue.d.ts +6 -6
- package/dist/types/vue/src/components/StartupStageStepper.vue.d.ts +1 -1
- package/dist/types/vue/src/components/StatChartTile.vue.d.ts +5 -0
- package/dist/types/vue/src/components/StatCountTile.vue.d.ts +5 -1
- package/dist/types/vue/src/components/StatGraphTile.vue.d.ts +1 -1
- package/dist/types/vue/src/components/StatTile.test.d.ts +1 -0
- package/dist/types/vue/src/components/StatTile.vue.d.ts +5 -1
- package/dist/types/vue/src/components/StatusSpinner.test.d.ts +1 -0
- package/dist/types/vue/src/components/StatusSpinner.vue.d.ts +10 -5
- package/dist/types/vue/src/components/Stepper.test.d.ts +1 -0
- package/dist/types/vue/src/components/Stepper.vue.d.ts +62 -25
- package/dist/types/vue/src/components/Table.test.d.ts +1 -0
- package/dist/types/vue/src/components/Table.vue.d.ts +67 -14
- package/dist/types/vue/src/components/Tabs.vue.d.ts +20 -3
- package/dist/types/vue/src/components/TagPicker.vue.d.ts +3 -3
- package/dist/types/vue/src/components/Textarea.vue.d.ts +8 -5
- package/dist/types/vue/src/components/TimelinePanel/TimelinePanel.vue.d.ts +4 -4
- package/dist/types/vue/src/components/Toggle.vue.d.ts +4 -4
- package/dist/types/vue/src/components/Toolbar.test.d.ts +1 -0
- package/dist/types/vue/src/components/Toolbar.vue.d.ts +62 -0
- package/dist/types/vue/src/components/Tooltip.test.d.ts +1 -0
- package/dist/types/vue/src/components/Tooltip.vue.d.ts +20 -3
- package/dist/types/vue/src/components/TooltipWrapper.vue.d.ts +24 -3
- package/dist/types/vue/src/components/TreeView/TreeFlowSvg.vue.d.ts +5 -5
- package/dist/types/vue/src/components/TreeView/TreeItemRow.vue.d.ts +2 -2
- package/dist/types/vue/src/components/TreeView/TreeView.vue.d.ts +4 -4
- package/dist/types/vue/src/components/UserAvatar.test.d.ts +1 -0
- package/dist/types/vue/src/components/UserAvatar.vue.d.ts +56 -6
- package/dist/types/vue/src/components/VariablePicker.vue.d.ts +23 -6
- package/dist/types/vue/src/components/__dbg.test.d.ts +1 -0
- package/dist/types/vue/src/components/index.d.ts +50 -31
- package/dist/types/vue/src/components/internal/InfoRowContent.vue.d.ts +52 -0
- package/dist/types/vue/src/components/internal/PagedPanelContent.vue.d.ts +47 -0
- package/dist/types/vue/src/connectionFlow/index.d.ts +1 -0
- package/dist/types/vue/src/contexts/IconContext.d.ts +8 -3
- package/dist/types/vue/src/i18n/I18nContext.d.ts +14 -0
- package/dist/types/vue/src/i18n/I18nProvider.test.d.ts +2 -0
- package/dist/types/vue/src/i18n/I18nProvider.vue.d.ts +35 -0
- package/dist/types/vue/src/i18n/index.d.ts +8 -0
- package/dist/types/vue/src/i18n/kit-components-spot.test.d.ts +1 -0
- package/dist/types/vue/src/i18n/useI18n.d.ts +44 -0
- package/dist/types/vue/src/index.d.ts +2 -2
- package/dist/types/vue/src/test-setup.d.ts +5 -0
- package/dist/types/vue/src/types/Icon.d.ts +11 -2
- package/dist/types/vue/src/types/TableSettings.d.ts +1 -0
- package/dist/types/vue/src/types/index.d.ts +1 -0
- package/dist/types/vue/src/utils/index.d.ts +1 -0
- package/dist/types/vue/src/utils/sanitizeSvg.d.ts +1 -0
- package/dist/types/vue/src/utils/tableStorage.d.ts +1 -0
- package/dist/ui-kit-vue.css +1 -1
- package/package.json +8 -3
|
@@ -1,62 +1,80 @@
|
|
|
1
|
-
export { default as Alert, type AlertProps, type AlertVariant } from "./Alert.vue";
|
|
2
|
-
export { default as AppDivider, type AppDividerProps } from "./AppDivider.vue";
|
|
3
|
-
export { default as Badge, type BadgeProps } from "./Badge.vue";
|
|
1
|
+
export { default as Alert, type AlertProps, type AlertIconAlign, type AlertIntent, type AlertSize, type AlertVariant, } from "./Alert.vue";
|
|
2
|
+
export { default as AppDivider, APP_DIVIDER_VARIANTS, type AppDividerProps, type AppDividerOrientation, type AppDividerVariant, type AppDividerLabelPosition, } from "./AppDivider.vue";
|
|
3
|
+
export { default as Badge, BADGE_VARIANTS, type BadgeProps, type BadgeVariant, type BadgeSize, } from "./Badge.vue";
|
|
4
4
|
export { default as BadgeIcon, type BadgeIconProps } from "./BadgeIcon.vue";
|
|
5
|
-
export { default as Pill, type PillProps, type PillTone, type PillVariant, type PillSize, } from "./Pill.vue";
|
|
6
|
-
export { default as Progress, type ProgressProps, type ProgressMotion, type ProgressMotionSpeed, type ProgressMotionDirection, } from "./Progress.vue";
|
|
5
|
+
export { default as Pill, PILL_VARIANTS, PILL_CORNERS, type PillProps, type PillCorner, type PillTone, type PillVariant, type PillSize, } from "./Pill.vue";
|
|
6
|
+
export { default as Progress, PROGRESS_CORNERS, PROGRESS_MOTIONS, PROGRESS_MOTION_DIRECTIONS, PROGRESS_MOTION_SPEEDS, type ProgressProps, type ProgressCorner, type ProgressMotion, type ProgressMotionSpeed, type ProgressMotionDirection, type ProgressSize, } from "./Progress.vue";
|
|
7
7
|
export { default as MultiProgressBar, type MultiProgressBarProps, type MultiProgressBarSeries, } from "./MultiProgressBar.vue";
|
|
8
|
-
export { default as Spinner, type SpinnerProps, type SpinnerSize, type SpinnerColor, type SpinnerVariant, } from "./Spinner.vue";
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as
|
|
14
|
-
export { default as
|
|
8
|
+
export { default as Spinner, SPINNER_THICKNESSES, SPINNER_VARIANTS, type SpinnerProps, type SpinnerSize, type SpinnerColor, type SpinnerThickness, type SpinnerVariant, } from "./Spinner.vue";
|
|
9
|
+
export { default as ProgressSpinner, type ProgressSpinnerProps, type ProgressSpinnerSize, type ProgressSpinnerColor, } from "./ProgressSpinner.vue";
|
|
10
|
+
export { default as StatusSpinner, type StatusSpinnerProps, type StatusSpinnerSize, type StatusSpinnerTone, } from "./StatusSpinner.vue";
|
|
11
|
+
export { default as Loader, LOADER_GLASS_BLURS, LOADER_VARIANTS, type GlassBlurIntensity, type LoaderColor, type LoaderProps, type LoaderSize, type LoaderVariant, } from "./Loader.vue";
|
|
12
|
+
export { default as EmptyState, EMPTY_STATE_VARIANTS, type EmptyStateProps, type EmptyStateSize, type EmptyStateTone, type EmptyStateVariant, } from "./EmptyState.vue";
|
|
13
|
+
export { default as Hero, HERO_VARIANTS, HERO_TITLE_ELEMENTS, type HeroProps, type HeroTitleSize, type HeroSubtitleSize, type HeroVariant, type HeroTitleElement, type HeroPadding, } from "./Hero.vue";
|
|
14
|
+
export { default as DynamicImg, type DynamicImgProps, type DynamicImgSize, } from "./DynamicImg.vue";
|
|
15
|
+
export { default as Button, BUTTON_SIZES, BUTTON_VARIANTS, BUTTON_WEIGHTS, type ButtonProps, type ButtonVariant, type ButtonColor, type ButtonSize, type ButtonWeight, } from "./Button.vue";
|
|
15
16
|
export type { GlassVibrancy, GlassOpacity, SpecularMode } from "../theme/glass";
|
|
16
17
|
export { default as IconButton, type IconButtonProps } from "./IconButton.vue";
|
|
17
18
|
export { default as DropdownButton, type DropdownButtonProps, type DropdownButtonOption, } from "./DropdownButton.vue";
|
|
18
|
-
export { default as Tooltip, type TooltipProps, type TooltipPosition, } from "./Tooltip.vue";
|
|
19
|
+
export { default as Tooltip, type TooltipProps, type TooltipPosition, type TooltipVariant, } from "./Tooltip.vue";
|
|
20
|
+
export { TOOLTIP_POSITIONS, type TooltipPlacement, } from "../../../common/tooltip/placement";
|
|
21
|
+
export { TOOLTIP_VARIANTS, getTooltipVariantTokens, } from "../../../common/tooltip/tokens";
|
|
19
22
|
export { default as TooltipWrapper, type TooltipWrapperProps, } from "./TooltipWrapper.vue";
|
|
20
|
-
export { default as Input, type InputProps, type InputVariant } from "./Input.vue";
|
|
23
|
+
export { default as Input, INPUT_VALIDATION_STATUSES, type InputProps, type InputSize, type InputValidationStatus, type InputVariant, } from "./Input.vue";
|
|
21
24
|
export { default as PasswordInput, type PasswordInputProps, } from "./PasswordInput.vue";
|
|
22
25
|
export { default as Textarea, type TextareaProps } from "./Textarea.vue";
|
|
23
|
-
export { default as Select, type SelectProps } from "./Select.vue";
|
|
24
|
-
export { default as Combobox, type ComboboxProps } from "./Combobox.vue";
|
|
26
|
+
export { default as Select, SELECT_VALIDATION_STATUSES, type SelectProps, type SelectSize, type SelectValidationStatus, type SelectVariant, } from "./Select.vue";
|
|
27
|
+
export { default as Combobox, COMBOBOX_VALIDATION_STATUSES, type ComboboxProps, type ComboboxOption, type ComboboxOptionInput, type ComboboxSize, type ComboboxValidationStatus, type ComboboxVariant, } from "./Combobox.vue";
|
|
25
28
|
export { default as Picker, type PickerProps, type PickerItem, type PickerTag, type PickerFilter, } from "./Picker.vue";
|
|
26
29
|
export { default as TagPicker, type TagPickerProps, type TagPickerItem, } from "./TagPicker.vue";
|
|
27
30
|
export { default as TagPanel, type TagPanelProps, type TagPanelTag, } from "./TagPanel.vue";
|
|
28
|
-
export { default as Checkbox, type CheckboxProps } from "./Checkbox.vue";
|
|
31
|
+
export { default as Checkbox, CHECKBOX_ALIGNS, CHECKBOX_DESCRIPTION_PLACEMENTS, CHECKBOX_VALIDATION_STATUSES, type CheckboxAlign, type CheckboxDescriptionPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValidationStatus, type CheckboxVariant, } from "./Checkbox.vue";
|
|
29
32
|
export { default as Toggle, type ToggleProps, type ToggleSize, type ToggleAlign, type ToggleDescriptionPlacement, type TogglePadding } from "./Toggle.vue";
|
|
30
|
-
export { default as MultiToggle, type MultiToggleProps, type MultiToggleOption, type MultiToggleVariant, } from "./MultiToggle.vue";
|
|
33
|
+
export { default as MultiToggle, MULTI_TOGGLE_VARIANTS, MULTI_TOGGLE_INDICATORS, type MultiToggleProps, type MultiToggleOption, type MultiToggleVariant, type MultiToggleIndicator, } from "./MultiToggle.vue";
|
|
31
34
|
export { default as ButtonSelector, type ButtonSelectorProps, type ButtonSelectorOption, type ButtonSelectorMode, } from "./ButtonSelector.vue";
|
|
32
35
|
export { default as FormField, type FormFieldProps } from "./FormField.vue";
|
|
33
36
|
export { default as FormLayout, type FormLayoutProps } from "./FormLayout.vue";
|
|
34
37
|
export { default as FormSection, type FormSectionProps } from "./FormSection.vue";
|
|
35
|
-
export { default as InputGroup, type InputGroupProps } from "./InputGroup.vue";
|
|
36
|
-
export { default as MultiSelectPills, type MultiSelectPillsProps, } from "./MultiSelectPills.vue";
|
|
38
|
+
export { default as InputGroup, INPUT_GROUP_VALIDATION_STATUSES, type InputGroupProps, type InputGroupSize, type InputGroupValidationStatus, type InputGroupVariant, } from "./InputGroup.vue";
|
|
39
|
+
export { default as MultiSelectPills, type MultiSelectPillsProps, type MultiSelectPillOption, } from "./MultiSelectPills.vue";
|
|
37
40
|
export { default as SearchBar, type SearchBarProps } from "./SearchBar.vue";
|
|
38
41
|
export { default as GlassBackground, type GlassBackgroundProps, type GlassBackgroundPosition, type GradientDirection, } from "./GlassBackground.vue";
|
|
42
|
+
export { default as Toolbar } from "./Toolbar.vue";
|
|
43
|
+
export { default as PageHeader } from "./PageHeader.vue";
|
|
44
|
+
export { default as ScrollArea } from "./ScrollArea.vue";
|
|
45
|
+
export { default as ColorSwatches } from "./ColorSwatches.vue";
|
|
46
|
+
export { default as Chat } from "./Chat.vue";
|
|
47
|
+
export type { ChatProps } from "./Chat.vue";
|
|
48
|
+
export { createLocalChatStorage, createRestChatStorage, usageTotals, } from "../chat";
|
|
49
|
+
export type { ChatEvent, ChatFolder, ChatMessage, ChatMeta, ChatModel, ChatPage, ChatRecord, ChatStorage, ChatUsage, } from "../chat";
|
|
50
|
+
export { default as ActivityFeed } from "./ActivityFeed.vue";
|
|
51
|
+
export type { ActivityFeedItem, ActivityFeedFilter } from "./ActivityFeed.vue";
|
|
52
|
+
export { default as BreakdownCard } from "./BreakdownCard.vue";
|
|
53
|
+
export type { BreakdownItem, BreakdownStat } from "./BreakdownCard.vue";
|
|
39
54
|
export { default as TruncatedText, type TruncatedTextProps, } from "./TruncatedText.vue";
|
|
40
|
-
export { default as
|
|
55
|
+
export { default as MetricBar, type MetricBarProps, } from "./MetricBar.vue";
|
|
56
|
+
export { default as InfoRow, INFO_ROW_VARIANTS, INFO_ROW_LOADERS, type InfoRowProps, type InfoRowSize, type InfoRowPadding, type InfoRowVariant, type InfoRowLoader, } from "./InfoRow.vue";
|
|
41
57
|
export { default as SectionCard, type SectionCardProps, type SectionCardVariant, type SectionCardSize, } from "./SectionCard.vue";
|
|
42
58
|
export { default as Section, type SectionProps, type SectionSize, type SectionVariant, } from "./Section.vue";
|
|
43
|
-
export { default as PagedPanel, type PagedPanelProps } from "./PagedPanel.vue";
|
|
59
|
+
export { default as PagedPanel, PAGED_PANEL_LOADERS, type PagedPanelProps, type PagedPanelLoader, } from "./PagedPanel.vue";
|
|
44
60
|
export { default as Panel, type PanelProps, type PanelTone, type PanelDecoration, type PanelSpecularMode, } from "./Panel.vue";
|
|
45
61
|
export { default as CollapsiblePanel, type CollapsiblePanelProps, } from "./CollapsiblePanel.vue";
|
|
46
62
|
export { default as HeaderGroup, type HeaderGroupProps } from "./HeaderGroup.vue";
|
|
47
|
-
export { default as DetailItemCard, type DetailItemCardProps, } from "./DetailItemCard.vue";
|
|
63
|
+
export { default as DetailItemCard, type DetailItemCardProps, type DetailItemCardVariant, type DetailItemCardBadgesAlignment, } from "./DetailItemCard.vue";
|
|
48
64
|
export { default as InfiniteScrollPanel, type InfiniteScrollPanelProps, } from "./InfiniteScrollPanel.vue";
|
|
49
65
|
export { default as CollapsibleHelpText, type CollapsibleHelpTextProps, } from "./CollapsibleHelpText.vue";
|
|
66
|
+
export { default as HelpButton, type HelpButtonProps, type HelpButtonPlacement, } from "./HelpButton.vue";
|
|
50
67
|
export { default as DropdownMenu, type DropdownMenuProps, type DropdownMenuOption, } from "./DropdownMenu.vue";
|
|
51
|
-
export { default as UserAvatar, type UserAvatarProps, type UserAvatarUser, } from "./UserAvatar.vue";
|
|
52
|
-
export { default as Accordion, type AccordionProps, type AccordionItem, } from "./Accordion.vue";
|
|
53
|
-
export { default as Tabs, type TabsProps, type TabItem, type TabItemAction, } from "./Tabs.vue";
|
|
68
|
+
export { default as UserAvatar, USER_AVATAR_SHAPES, USER_AVATAR_PRESET_SIZES, type UserAvatarProps, type UserAvatarUser, type UserAvatarShape, type UserAvatarPresetSize, type UserAvatarSize, } from "./UserAvatar.vue";
|
|
69
|
+
export { default as Accordion, type AccordionProps, type AccordionItem, type AccordionIndicator, type AccordionIndicatorPlacement, } from "./Accordion.vue";
|
|
70
|
+
export { default as Tabs, type TabsProps, type TabsVariant, type TabsSize, type TabsOrientation, type TabsJustify, type TabsRadius, type TabItem, type TabItemAction, } from "./Tabs.vue";
|
|
54
71
|
export { default as Modal, type ModalProps, ModalActions, ConfirmModal, DeleteConfirmModal, type DeleteConfirmModalProps, ApplyConfirmModal, type ApplyConfirmModalProps, } from "./Modal.vue";
|
|
55
72
|
export { default as InlinePanel, ConfirmInlinePanel, DeleteConfirmInlinePanel, type InlinePanelProps, type InlinePanelAnchor, type ConfirmInlinePanelProps, type DeleteConfirmInlinePanelProps, } from "./InlinePanel.vue";
|
|
56
73
|
export { default as SideMenu, type SideMenuProps, type SideMenuSettings, type SideMenuItem, type SideMenuItemGuard, type SideMenuGuardClaim, type SideMenuGuardAnyClaim, type SideMenuGuardAllClaims, type SideMenuGuardRole, type SideMenuGuardAnyRole, type SideMenuGuardModule, type SideMenuGuardAnyModule, type SideMenuGuardCustom, } from "./SideMenu.vue";
|
|
57
74
|
export { default as SideMenuLayout, type SideMenuLayoutProps, } from "./SideMenuLayout.vue";
|
|
58
75
|
export { default as SplitView, type SplitViewProps, type SplitViewItem, type SplitViewItemBadge, type SplitViewSize, type SplitViewHeaderSlot, type SplitViewHeaderDetails, type SplitViewPanelHeaderProps, } from "./SplitView.vue";
|
|
59
|
-
export { default as SmartInput, type SmartInputProps } from "./SmartInput.vue";
|
|
76
|
+
export { default as SmartInput, type SmartInputProps, type SmartInputSize, } from "./SmartInput.vue";
|
|
77
|
+
export { default as SmartVariableBadge, type SmartVariableBadgeProps, type SmartViewMode, } from "./SmartVariableBadge.vue";
|
|
60
78
|
export { default as SmartValue, type SmartValueProps } from "./SmartValue.vue";
|
|
61
79
|
export { default as StartupStageStepper, type StartupStageStepperProps, } from "./StartupStageStepper.vue";
|
|
62
80
|
export { default as StatChartTile, type StatChartTileProps, type StatChartDataset, type StatChartItem, } from "./StatChartTile.vue";
|
|
@@ -65,15 +83,16 @@ export { default as StatGoalTile, type StatGoalTileProps, type StatGoalItem, } f
|
|
|
65
83
|
export { default as StatGraphTile, type StatGraphTileProps, type StatGraphSeries, } from "./StatGraphTile.vue";
|
|
66
84
|
export { default as StatTile, type StatTileProps } from "./StatTile.vue";
|
|
67
85
|
export { default as Stepper, type StepperProps, type Step } from "./Stepper.vue";
|
|
68
|
-
export { default as Table, type TableProps, type TableColumn, type TableSortState, type TablePaginationState, type
|
|
86
|
+
export { default as Table, type TableProps, type TableColumn, type TableSortState, type TablePaginationState, type Column, type TableVariant, } from "./Table.vue";
|
|
69
87
|
export { default as AccessMatrix, type AccessMatrixProps, type AccessMatrixPermission, } from "./AccessMatrix.vue";
|
|
70
|
-
export { default as VariablePicker } from "./VariablePicker.vue";
|
|
88
|
+
export { default as VariablePicker, type VariablePickerProps, } from "./VariablePicker.vue";
|
|
71
89
|
export { default as KeyValueArrayField, type KeyValueArrayFieldProps, } from "./KeyValueArrayField.vue";
|
|
72
|
-
export { default as ApiErrorState, type ApiErrorStateProps, } from "./ApiErrorState.vue";
|
|
90
|
+
export { default as ApiErrorState, type ApiErrorStateProps, type ApiErrorKind, } from "./ApiErrorState.vue";
|
|
73
91
|
export { default as CustomIcon, type CustomIconProps } from "./CustomIcon.vue";
|
|
74
|
-
export { default as DynamicFormField, type DynamicFormFieldProps, } from "./DynamicFormField.vue";
|
|
92
|
+
export { default as DynamicFormField, DYNAMIC_FORM_FIELD_VARIANTS, normalizeOptions as normalizeDynamicFormFieldOptions, type DynamicFormFieldProps, type DynamicFormFieldOption, type DynamicFormFieldValue, type DynamicFormFieldVariant, } from "./DynamicFormField.vue";
|
|
75
93
|
export { default as NotificationModal, type NotificationModalProps, type NotificationType, } from "./NotificationModal.vue";
|
|
76
94
|
export { default as SidePanel, type SidePanelProps } from "./SidePanel.vue";
|
|
77
95
|
export { TimelinePanel, type TimelinePanelProps, type TimelinePanelItem, type TimelinePanelAction, type TimelinePanelOverflowItem, type TimelinePanelHeaderAction, type TimelinePanelVariant, type TimelinePanelPadding, type TimelinePanelCorner, } from "./TimelinePanel";
|
|
78
96
|
export * from "./ConnectionFlow";
|
|
97
|
+
export * from "./Gantt";
|
|
79
98
|
export { TreeView, TreeItemCard, TreeFlowSvg, TREE_INDENT_PX, TREE_NEUTRAL_TOKENS, getTreeColorTokens, type TreeReorderEvent, type TreeTone, type TreeItemData, type TreeViewProps, type TreeItemCardProps, type TreeFlowSvgProps, } from "./TreeView";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ControlSize, TrueColor } from "../../theme/Theme";
|
|
2
|
+
export type InfoRowCopyState = "idle" | "copied" | "failed";
|
|
3
|
+
/**
|
|
4
|
+
* Everything the row markup needs, already resolved.
|
|
5
|
+
*
|
|
6
|
+
* `InfoRow` renders this either as its own root (the `plain` variant) or inside
|
|
7
|
+
* the `Panel` it drew — passing one settled view object keeps the markup in a
|
|
8
|
+
* single place instead of once per branch, which is how the two copies would
|
|
9
|
+
* have drifted.
|
|
10
|
+
*/
|
|
11
|
+
export interface InfoRowView {
|
|
12
|
+
rowClass: string;
|
|
13
|
+
labelClass: string;
|
|
14
|
+
valueClass: string;
|
|
15
|
+
spinnerClass: string;
|
|
16
|
+
skeletonClass: string;
|
|
17
|
+
copyButtonClass: string;
|
|
18
|
+
label?: string;
|
|
19
|
+
displayText: string | number | null;
|
|
20
|
+
copyText: string | null;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
loaderType: "skeleton" | "spinner";
|
|
23
|
+
canTooltip: boolean;
|
|
24
|
+
showCopy: boolean;
|
|
25
|
+
copyState: InfoRowCopyState;
|
|
26
|
+
copyLabel: string;
|
|
27
|
+
error?: string;
|
|
28
|
+
hasError: boolean;
|
|
29
|
+
tone: TrueColor;
|
|
30
|
+
iconSize: ControlSize;
|
|
31
|
+
}
|
|
32
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
33
|
+
view: InfoRowView;
|
|
34
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
copy: () => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
37
|
+
view: InfoRowView;
|
|
38
|
+
}> & Readonly<{
|
|
39
|
+
onCopy?: (() => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
41
|
+
label?: (props: {}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
value?: (props: {}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
value?: (props: {}) => any;
|
|
46
|
+
}>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { ControlSize, TrueColor } from "../../theme/Theme";
|
|
3
|
+
/** Everything the header + page body need, already resolved. */
|
|
4
|
+
export interface PagedPanelView {
|
|
5
|
+
resolvedTitle?: VNodeChild;
|
|
6
|
+
subtitle?: VNodeChild;
|
|
7
|
+
page?: VNodeChild;
|
|
8
|
+
error?: string | null;
|
|
9
|
+
emptyMessage: string;
|
|
10
|
+
tone: TrueColor;
|
|
11
|
+
size: ControlSize;
|
|
12
|
+
current: number;
|
|
13
|
+
total: number;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
loaderType: "skeleton" | "spinner" | "progress";
|
|
16
|
+
progress?: number;
|
|
17
|
+
loadingLabel?: string;
|
|
18
|
+
hasEmptySlot: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const PAGED_PANEL_SIZE_TOKENS: Record<ControlSize, {
|
|
21
|
+
title: string;
|
|
22
|
+
subtitle: string;
|
|
23
|
+
counter: string;
|
|
24
|
+
pad: string;
|
|
25
|
+
icon: ControlSize;
|
|
26
|
+
}>;
|
|
27
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
28
|
+
view: PagedPanelView;
|
|
29
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
next: () => any;
|
|
31
|
+
prev: () => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
33
|
+
view: PagedPanelView;
|
|
34
|
+
}> & Readonly<{
|
|
35
|
+
onNext?: (() => any) | undefined;
|
|
36
|
+
onPrev?: (() => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
38
|
+
loading?: (props: {}) => any;
|
|
39
|
+
} & {
|
|
40
|
+
empty?: (props: {}) => any;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../../common/connectionFlow";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InjectionKey, type PropType } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import type { IconRenderer } from "../types/Icon";
|
|
3
3
|
export declare const IconRendererKey: InjectionKey<IconRenderer>;
|
|
4
4
|
/**
|
|
5
5
|
* Provide a custom icon renderer to descendant ui-kit components.
|
|
@@ -7,8 +7,13 @@ export declare const IconRendererKey: InjectionKey<IconRenderer>;
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function provideIconRenderer(renderIcon: IconRenderer): void;
|
|
9
9
|
/**
|
|
10
|
-
* Access the icon renderer from the nearest provider.
|
|
11
|
-
*
|
|
10
|
+
* Access the icon renderer from the nearest provider.
|
|
11
|
+
*
|
|
12
|
+
* Falls back to the kit's registry-backed renderer, so `icon="Search"` resolves
|
|
13
|
+
* against `src/icons` without an `IconProvider`. This used to fall back to
|
|
14
|
+
* `defaultIconRenderer`, which drops string icons — every component taking an
|
|
15
|
+
* icon *name* rendered nothing unless the app wired a provider itself.
|
|
16
|
+
* Mirrors the React kit.
|
|
12
17
|
*/
|
|
13
18
|
export declare function useIconRenderer(): IconRenderer;
|
|
14
19
|
export interface IconProviderProps {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type InjectionKey } from "vue";
|
|
2
|
+
import { type I18nEngine } from "../../../common/i18n";
|
|
3
|
+
export declare const I18nKey: InjectionKey<I18nEngine>;
|
|
4
|
+
/**
|
|
5
|
+
* No-provider fallback: built-in kit catalogs only, detection on, default
|
|
6
|
+
* persistence. Built lazily once per app (module-level) so every
|
|
7
|
+
* no-provider component shares one engine — and therefore one locale.
|
|
8
|
+
* Mirrors the React kit's default engine.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getDefaultEngine(): I18nEngine;
|
|
11
|
+
/** The provider's engine, or `null` when no provider is present. */
|
|
12
|
+
export declare function injectEngine(): I18nEngine | null;
|
|
13
|
+
/** Resolve the active engine: provider's engine or the built-in default. */
|
|
14
|
+
export declare function resolveEngine(): I18nEngine;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type MessageCatalog } from "../../../common/i18n";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** User catalogs, keyed by locale tag. `{}` is fine — the kit catalogs apply. */
|
|
4
|
+
locales: Record<string, MessageCatalog>;
|
|
5
|
+
/** Key-resolution fallback locale. @default "en" */
|
|
6
|
+
fallbackLocale?: string;
|
|
7
|
+
/** Explicit active locale — skips detection and persistence reads. */
|
|
8
|
+
locale?: string;
|
|
9
|
+
/** Detect from `navigator.languages`. @default true */
|
|
10
|
+
detect?: boolean;
|
|
11
|
+
/** localStorage key; `null` = never persist. @default "ui-kit:locale" */
|
|
12
|
+
storageKey?: string | null;
|
|
13
|
+
/** Update `<html lang/dir>`. @default true */
|
|
14
|
+
updateDocument?: boolean;
|
|
15
|
+
onFallbackKey?: (key: string, locale: string) => void;
|
|
16
|
+
};
|
|
17
|
+
declare var __VLS_1: {};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
default?: (props: typeof __VLS_1) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
+
storageKey: string | null;
|
|
23
|
+
fallbackLocale: string;
|
|
24
|
+
locale: string;
|
|
25
|
+
detect: boolean;
|
|
26
|
+
updateDocument: boolean;
|
|
27
|
+
onFallbackKey: (key: string, locale: string) => void;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as I18nProvider } from "./I18nProvider.vue";
|
|
2
|
+
export { I18nKey, getDefaultEngine, injectEngine, resolveEngine } from "./I18nContext";
|
|
3
|
+
export { useI18n, useKitT, useKitLocale, type UseI18n } from "./useI18n";
|
|
4
|
+
export { createI18n } from "../../../common/i18n/createI18n";
|
|
5
|
+
export { flattenCatalog } from "../../../common/i18n/catalog";
|
|
6
|
+
export { parseMessage, IcuParseError, IcuValueError, type IcuNode, type IcuStyle, } from "../../../common/i18n/icu";
|
|
7
|
+
export { BUILT_IN_CATALOGS, CURATED_LOCALES, EN_KIT_CATALOG, FR_KIT_CATALOG, ES_KIT_CATALOG, DE_KIT_CATALOG, PT_KIT_CATALOG, } from "../../../common/i18n/builtIn";
|
|
8
|
+
export type { LocaleTag, MessageCatalog, I18nConfig, I18nEngine, I18nMessage, } from "../../../common/i18n/types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type ComputedRef, type Ref } from "vue";
|
|
2
|
+
import type { I18nEngine } from "../../../common/i18n";
|
|
3
|
+
import type { DateParseNames } from "../../../common/utils/dates";
|
|
4
|
+
export interface UseI18n {
|
|
5
|
+
/** Translate `key` with ICU values. Missing → en fallback → the key. */
|
|
6
|
+
t: (key: string, values?: Record<string, unknown>) => string;
|
|
7
|
+
/** Active locale tag (reactive). */
|
|
8
|
+
locale: Ref<string>;
|
|
9
|
+
/** All available tags (user ∪ built-in), sorted. */
|
|
10
|
+
locales: ComputedRef<string[]>;
|
|
11
|
+
/** Exact or base-language match; otherwise dev-warn + no-op. */
|
|
12
|
+
setLocale: (tag: string) => void;
|
|
13
|
+
has: (key: string, locale?: string) => boolean;
|
|
14
|
+
formatNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
15
|
+
formatDate: (value: Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
16
|
+
/** CLDR month names for `tag` (default: active locale). */
|
|
17
|
+
monthNames: (tag?: string, short?: boolean) => string[];
|
|
18
|
+
/** CLDR weekday names for `tag` (default: active locale). */
|
|
19
|
+
weekdayNames: (tag?: string, short?: boolean) => string[];
|
|
20
|
+
/** Month/weekday spellings the input parser must accept (active locale). */
|
|
21
|
+
parseNames: () => DateParseNames;
|
|
22
|
+
isRTL: ComputedRef<boolean>;
|
|
23
|
+
/** The engine itself (escape hatch). */
|
|
24
|
+
engine: I18nEngine;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Public composable (spec §8.3). Inside `<I18nProvider>`: the provider's
|
|
28
|
+
* engine. Outside: the built-in default engine plus a one-time dev warning —
|
|
29
|
+
* never a throw.
|
|
30
|
+
*/
|
|
31
|
+
export declare function useI18n(): UseI18n;
|
|
32
|
+
/**
|
|
33
|
+
* Internal kit lookup: provider engine or the built-in default — **never
|
|
34
|
+
* warns**. Kit components use this so they keep working (in English) in
|
|
35
|
+
* apps without a provider. Returns just the translate function, mirroring
|
|
36
|
+
* the React `useKitT`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function useKitT(): (key: string, values?: Record<string, unknown>) => string;
|
|
39
|
+
/**
|
|
40
|
+
* The internal kit LOCALE — provider engine or the built-in default —
|
|
41
|
+
* reactive, **never warns**. Kit components thread this into their `Intl`
|
|
42
|
+
* formatters; mirroring the React `useKitEngine().locale`.
|
|
43
|
+
*/
|
|
44
|
+
export declare function useKitLocale(): Ref<string>;
|
|
@@ -2,12 +2,12 @@ export * from "./components";
|
|
|
2
2
|
export * from "./contexts";
|
|
3
3
|
export * from "./contexts/BottomSheetContext";
|
|
4
4
|
export * from "./composables";
|
|
5
|
+
export * from "./i18n";
|
|
5
6
|
export * from "./theme";
|
|
6
7
|
export * from "./utils";
|
|
7
8
|
export * from "./types";
|
|
8
|
-
export * from "./components/MetricBar.vue";
|
|
9
9
|
export type { KeyValuePair } from "./components/KeyValueArrayField.vue";
|
|
10
|
-
export type { StepStatus,
|
|
10
|
+
export type { StepStatus, StepperOrientation, StepperConnector, StepperConnectorAlign, StepperProgressBarPosition, StepperNodeCorner, StepperLoaderType, } from "./components/Stepper.vue";
|
|
11
11
|
export type { IconName } from "./icons/registry";
|
|
12
12
|
export { iconRegistry } from "./icons/registry";
|
|
13
13
|
export { default as MultiToggle } from "./components/MultiToggle.vue";
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { VNode, VNodeChild } from "vue";
|
|
2
|
-
|
|
2
|
+
import type { ControlSize } from "../theme/Theme";
|
|
3
|
+
/**
|
|
4
|
+
* Aliased from the shared control scale rather than redeclared — the two lists
|
|
5
|
+
* were identical and free to drift.
|
|
6
|
+
*/
|
|
7
|
+
export type IconSize = ControlSize;
|
|
3
8
|
/**
|
|
4
9
|
* Base icon name type - apps can extend this with their own icon names
|
|
5
10
|
*/
|
|
@@ -10,6 +15,10 @@ export type BaseIconName = string;
|
|
|
10
15
|
*/
|
|
11
16
|
export type IconRenderer = (icon: BaseIconName | VNode | undefined, size: IconSize | undefined, className?: string) => VNodeChild;
|
|
12
17
|
/**
|
|
13
|
-
*
|
|
18
|
+
* No-op icon renderer: renders elements as-is and drops icon *names*.
|
|
19
|
+
*
|
|
20
|
+
* No longer the `useIconRenderer` fallback — that is the registry-backed
|
|
21
|
+
* `renderIcon` from `utils/renderIcon`. Kept for apps that deliberately want
|
|
22
|
+
* names ignored.
|
|
14
23
|
*/
|
|
15
24
|
export declare const defaultIconRenderer: IconRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../../common/types/TableSettings";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../../common/utils/sanitizeSvg";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../../common/utils/tableStorage";
|
package/dist/ui-kit-vue.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@keyframes
|
|
1
|
+
@keyframes startup-stage-connector-slide{0%{background-position:0% 0}to{background-position:200% 0}}.startup-stage-connector--animated{position:relative;overflow:hidden;background-image:linear-gradient(90deg,#38bdf826,#3b82f6b3,#38bdf826);background-size:200% 100%;animation:startup-stage-connector-slide 1.25s linear infinite}
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cjlapao/ui-kit-vue",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/cjlapao/ui-kit.git",
|
|
7
|
+
"directory": "vue"
|
|
8
|
+
},
|
|
4
9
|
"private": false,
|
|
5
10
|
"type": "module",
|
|
6
11
|
"scripts": {
|
|
@@ -37,8 +42,7 @@
|
|
|
37
42
|
}
|
|
38
43
|
},
|
|
39
44
|
"publishConfig": {
|
|
40
|
-
"access": "public"
|
|
41
|
-
"registry": "https://npm.pkg.github.com"
|
|
45
|
+
"access": "public"
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
48
|
"classnames": "^2.5.1",
|
|
@@ -53,6 +57,7 @@
|
|
|
53
57
|
"@vitejs/plugin-vue": "^5.2.0",
|
|
54
58
|
"@vitest/coverage-v8": "^4.1.9",
|
|
55
59
|
"@vue/test-utils": "^2.4.6",
|
|
60
|
+
"date-fns": "^4.4.0",
|
|
56
61
|
"jsdom": "^29.1.1",
|
|
57
62
|
"tailwindcss": "^4.3.1",
|
|
58
63
|
"tsx": "^4.22.4",
|