@carto/meridian-ds 2.4.0 → 2.5.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/CHANGELOG.md +11 -0
- package/dist/{Link-_lzRY1Ay.cjs → Link-CrGCrul0.cjs} +1 -1
- package/dist/{Link-D5fKicEY.js → Link-RfbgGzdR.js} +1 -1
- package/dist/{MenuItem-badiQq9A.js → MenuItem-ZNdBUBvt.js} +1 -1
- package/dist/{MenuItem-YpFpuljU.cjs → MenuItem-nokUtiks.cjs} +1 -1
- package/dist/components/index.cjs +98 -3
- package/dist/components/index.js +100 -5
- package/dist/theme/index.cjs +305 -305
- package/dist/theme/index.js +306 -306
- package/dist/types/components/molecules/Tag.d.ts +1 -1
- package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/index.d.ts +3 -1
- package/dist/types/components/organisms/CodeArea/index.d.ts.map +1 -1
- package/dist/types/components/organisms/CodeArea/useAutocompletion.d.ts +62 -0
- package/dist/types/components/organisms/CodeArea/useAutocompletion.d.ts.map +1 -0
- package/dist/types/components/organisms/CodeArea/utils.d.ts +7 -0
- package/dist/types/components/organisms/CodeArea/utils.d.ts.map +1 -1
- package/dist/types/components/organisms/Dialog/DialogPaper.d.ts +1 -1
- package/dist/types/theme/carto-theme.d.ts +5 -5
- package/dist/types/theme/carto-theme.d.ts.map +1 -1
- package/dist/types/theme/components/buttons.d.ts.map +1 -0
- package/dist/types/theme/components/data-display.d.ts.map +1 -0
- package/dist/types/theme/components/date-pickers.d.ts.map +1 -0
- package/dist/types/theme/components/feedback.d.ts.map +1 -0
- package/dist/types/theme/components/forms.d.ts.map +1 -0
- package/dist/types/theme/components/navigation.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Accordion.stories.d.ts +56 -0
- package/dist/types/theme/components/stories/Accordion.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Breadcrumb.stories.d.ts +58 -0
- package/dist/types/theme/components/stories/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/ButtonGroup.stories.d.ts +118 -0
- package/dist/types/theme/components/stories/ButtonGroup.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Checkbox.stories.d.ts +93 -0
- package/dist/types/theme/components/stories/Checkbox.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Chip.stories.d.ts +311 -0
- package/dist/types/theme/components/stories/Chip.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Divider.stories.d.ts +43 -0
- package/dist/types/theme/components/stories/Divider.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/FAB.stories.d.ts +82 -0
- package/dist/types/theme/components/stories/FAB.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/HelperText.stories.d.ts +48 -0
- package/dist/types/theme/components/stories/HelperText.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/InputLabel.stories.d.ts +56 -0
- package/dist/types/theme/components/stories/InputLabel.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/List.stories.d.ts +62 -0
- package/dist/types/theme/components/stories/List.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Paper.stories.d.ts +48 -0
- package/dist/types/theme/components/stories/Paper.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Progress.stories.d.ts +78 -0
- package/dist/types/theme/components/stories/Progress.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Radio.stories.d.ts +75 -0
- package/dist/types/theme/components/stories/Radio.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Slider.stories.d.ts +217 -0
- package/dist/types/theme/components/stories/Slider.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Switch.stories.d.ts +58 -0
- package/dist/types/theme/components/stories/Switch.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Table.stories.d.ts +44 -0
- package/dist/types/theme/components/stories/Table.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/TablePagination.stories.d.ts +27 -0
- package/dist/types/theme/components/stories/TablePagination.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Tabs.stories.d.ts +133 -0
- package/dist/types/theme/components/stories/Tabs.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/TextArea.stories.d.ts +180 -0
- package/dist/types/theme/components/stories/TextArea.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/TextField.stories.d.ts +198 -0
- package/dist/types/theme/components/stories/TextField.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/ToggleButton.stories.d.ts +57 -0
- package/dist/types/theme/components/stories/ToggleButton.stories.d.ts.map +1 -0
- package/dist/types/theme/components/stories/Tooltip.stories.d.ts +73 -0
- package/dist/types/theme/components/stories/Tooltip.stories.d.ts.map +1 -0
- package/dist/types/theme/components/surfaces.d.ts.map +1 -0
- package/dist/types/theme/{sections → helpers}/css-baseline.d.ts.map +1 -1
- package/dist/types/theme/helpers/theme-constants.d.ts.map +1 -0
- package/dist/types/theme/helpers/theme-utils.d.ts.map +1 -0
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/index.d.ts.map +1 -1
- package/dist/types/theme/tokens/ColorTokens.stories.d.ts +17 -0
- package/dist/types/theme/tokens/ColorTokens.stories.d.ts.map +1 -0
- package/dist/types/theme/tokens/LayoutTokens.stories.d.ts +30 -0
- package/dist/types/theme/tokens/LayoutTokens.stories.d.ts.map +1 -0
- package/dist/types/theme/tokens/TypographyTokens.stories.d.ts +17 -0
- package/dist/types/theme/tokens/TypographyTokens.stories.d.ts.map +1 -0
- package/dist/types/theme/{sections/palette.d.ts → tokens/colors.d.ts} +1 -1
- package/dist/types/theme/tokens/colors.d.ts.map +1 -0
- package/dist/types/theme/tokens/shadows.d.ts.map +1 -0
- package/dist/types/theme/{sections → tokens}/typography.d.ts +5 -5
- package/dist/types/theme/{sections → tokens}/typography.d.ts.map +1 -1
- package/dist/types/utils/formatterUtils.d.ts +9 -0
- package/dist/types/utils/formatterUtils.d.ts.map +1 -1
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.stories.d.ts +126 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/BarWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.stories.d.ts +128 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +8 -8
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/CategoryWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/ChartLegend.d.ts.map +1 -1
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.stories.d.ts +74 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.stories.d.ts +68 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/FormulaWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.stories.d.ts +114 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/HistogramWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/{NoDataAlert.d.ts → NoDataAlert/NoDataAlert.d.ts} +1 -1
- package/dist/types/widgets/NoDataAlert/NoDataAlert.d.ts.map +1 -0
- package/dist/types/widgets/NoDataAlert/NoDataAlert.stories.d.ts +34 -0
- package/dist/types/widgets/NoDataAlert/NoDataAlert.stories.d.ts.map +1 -0
- package/dist/types/widgets/NoDataAlert/index.d.ts +3 -0
- package/dist/types/widgets/NoDataAlert/index.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.stories.d.ts +107 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/PieWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -1
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.stories.d.ts +33 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/RangeWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/RangeWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.stories.d.ts +66 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts +4 -4
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.stories.d.ts +223 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/TableWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.stories.d.ts +129 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.test.d.ts +2 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.test.d.ts.map +1 -0
- package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.stories.d.ts +195 -0
- package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/WrapperWidgetUI/index.d.ts +3 -0
- package/dist/types/widgets/WrapperWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.stories.d.ts +35 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +1 -1
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -1
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.stories.d.ts +31 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/comparative/{ComparativePieWidgetUI.d.ts → ComparativePieWidgetUI/ComparativePieWidgetUI.d.ts} +1 -1
- package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.stories.d.ts +45 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI/ComparativePieWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/comparative/index.d.ts +7 -0
- package/dist/types/widgets/comparative/index.d.ts.map +1 -0
- package/dist/types/widgets/index.d.ts +11 -29
- package/dist/types/widgets/index.d.ts.map +1 -1
- package/dist/types/widgets/legend/LegendCategories.stories.d.ts +46 -0
- package/dist/types/widgets/legend/LegendCategories.stories.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendCategories.test.d.ts +2 -0
- package/dist/types/widgets/legend/LegendCategories.test.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendIcon.stories.d.ts +27 -0
- package/dist/types/widgets/legend/LegendIcon.stories.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendIcon.test.d.ts +2 -0
- package/dist/types/widgets/legend/LegendIcon.test.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendProportion.stories.d.ts +26 -0
- package/dist/types/widgets/legend/LegendProportion.stories.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendProportion.test.d.ts +2 -0
- package/dist/types/widgets/legend/LegendProportion.test.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendRamp.stories.d.ts +62 -0
- package/dist/types/widgets/legend/LegendRamp.stories.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendRamp.test.d.ts +2 -0
- package/dist/types/widgets/legend/LegendRamp.test.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendWidgetUI.stories.d.ts +228 -0
- package/dist/types/widgets/legend/LegendWidgetUI.stories.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +1 -1
- package/dist/types/widgets/legend/LegendWidgetUI.test.d.ts +2 -0
- package/dist/types/widgets/legend/LegendWidgetUI.test.d.ts.map +1 -0
- package/dist/types/widgets/legend/legendFixtures.d.ts +168 -0
- package/dist/types/widgets/legend/legendFixtures.d.ts.map +1 -0
- package/dist/widgets/index.cjs +250 -249
- package/dist/widgets/index.js +252 -251
- package/package.json +4 -1
- package/dist/types/theme/sections/components/buttons.d.ts.map +0 -1
- package/dist/types/theme/sections/components/data-display.d.ts.map +0 -1
- package/dist/types/theme/sections/components/date-pickers.d.ts.map +0 -1
- package/dist/types/theme/sections/components/feedback.d.ts.map +0 -1
- package/dist/types/theme/sections/components/forms.d.ts.map +0 -1
- package/dist/types/theme/sections/components/navigation.d.ts.map +0 -1
- package/dist/types/theme/sections/components/surfaces.d.ts.map +0 -1
- package/dist/types/theme/sections/palette.d.ts.map +0 -1
- package/dist/types/theme/sections/shadows.d.ts.map +0 -1
- package/dist/types/theme/theme-constants.d.ts.map +0 -1
- package/dist/types/theme/theme-utils.d.ts.map +0 -1
- package/dist/types/widgets/NoDataAlert.d.ts.map +0 -1
- package/dist/types/widgets/WrapperWidgetUI.d.ts.map +0 -1
- package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts.map +0 -1
- package/dist/{TablePaginationActions-CCDi-BO-.js → TablePaginationActions-C6TVGJM-.js} +25 -25
- package/dist/{TablePaginationActions-D2K26kdR.cjs → TablePaginationActions-DAMGtIub.cjs} +25 -25
- /package/dist/types/theme/{sections/components → components}/buttons.d.ts +0 -0
- /package/dist/types/theme/{sections/components → components}/data-display.d.ts +0 -0
- /package/dist/types/theme/{sections/components → components}/date-pickers.d.ts +0 -0
- /package/dist/types/theme/{sections/components → components}/feedback.d.ts +0 -0
- /package/dist/types/theme/{sections/components → components}/forms.d.ts +0 -0
- /package/dist/types/theme/{sections/components → components}/navigation.d.ts +0 -0
- /package/dist/types/theme/{sections/components → components}/surfaces.d.ts +0 -0
- /package/dist/types/theme/{sections → helpers}/css-baseline.d.ts +0 -0
- /package/dist/types/theme/{theme-constants.d.ts → helpers/theme-constants.d.ts} +0 -0
- /package/dist/types/theme/{theme-utils.d.ts → helpers/theme-utils.d.ts} +0 -0
- /package/dist/types/theme/{sections → tokens}/shadows.d.ts +0 -0
- /package/dist/types/widgets/{WrapperWidgetUI.d.ts → WrapperWidgetUI/WrapperWidgetUI.d.ts} +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Editor } from 'codemirror';
|
|
2
|
+
export interface AutocompleteItem {
|
|
3
|
+
/** The value to insert when selected */
|
|
4
|
+
value: string;
|
|
5
|
+
/** The HTML content to display in the dropdown */
|
|
6
|
+
html: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TriggerConfig {
|
|
9
|
+
/** The trigger character (e.g., '@', '/', '#') */
|
|
10
|
+
symbol: string;
|
|
11
|
+
/** List of items to show for this trigger */
|
|
12
|
+
items: AutocompleteItem[];
|
|
13
|
+
}
|
|
14
|
+
export interface AutocompletionConfig {
|
|
15
|
+
/** Array of trigger configurations */
|
|
16
|
+
triggers: TriggerConfig[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Hook for adding autocompletion functionality to CodeMirror editors
|
|
20
|
+
*
|
|
21
|
+
* @param editor - The CodeMirror editor instance
|
|
22
|
+
* @param config - Configuration object for autocompletion behavior
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```typescript
|
|
26
|
+
* const [editor, setEditor] = useState<Editor | null>(null)
|
|
27
|
+
*
|
|
28
|
+
* useAutocompletion(editor, {
|
|
29
|
+
* triggers: [
|
|
30
|
+
* {
|
|
31
|
+
* symbol: '@',
|
|
32
|
+
* items: [
|
|
33
|
+
* { value: 'user1', html: '<div class="user-item">👤 John Doe</div>' },
|
|
34
|
+
* { value: 'admin1', html: '<div class="admin-item">👑 Alice Admin</div>' }
|
|
35
|
+
* ]
|
|
36
|
+
* },
|
|
37
|
+
* {
|
|
38
|
+
* symbol: '/',
|
|
39
|
+
* items: [
|
|
40
|
+
* { value: 'help', html: '<div class="command-item">📖 Show help</div>' },
|
|
41
|
+
* { value: 'save', html: '<div class="command-item">💾 Save document</div>' }
|
|
42
|
+
* ]
|
|
43
|
+
* },
|
|
44
|
+
* {
|
|
45
|
+
* symbol: '#',
|
|
46
|
+
* items: [
|
|
47
|
+
* { value: 'urgent', html: '<div class="tag-item">🔴 Urgent</div>' },
|
|
48
|
+
* { value: 'review', html: '<div class="tag-item">👀 Needs review</div>' }
|
|
49
|
+
* ]
|
|
50
|
+
* }
|
|
51
|
+
* ]
|
|
52
|
+
* })
|
|
53
|
+
*
|
|
54
|
+
* const handleEditorMount = (editor: Editor) => {
|
|
55
|
+
* setEditor(editor)
|
|
56
|
+
* }
|
|
57
|
+
*
|
|
58
|
+
* <CodeAreaField ... onEditorDidMount={handleEditorMount} />
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare const useAutocompletion: (editor: Editor | null, config: AutocompletionConfig) => void;
|
|
62
|
+
//# sourceMappingURL=useAutocompletion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAutocompletion.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/useAutocompletion.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAGxC,MAAM,WAAW,gBAAgB;IAC/B,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,aAAa;IAC5B,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,QAAQ,EAAE,aAAa,EAAE,CAAA;CAC1B;AASD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,iBAAiB,WACpB,MAAM,GAAG,IAAI,UACb,oBAAoB,SAwF7B,CAAA"}
|
|
@@ -36,4 +36,11 @@ export declare function markInlineLinks(editor: Editor, className?: string): voi
|
|
|
36
36
|
* @param className - CSS class to apply (defaults to 'cm-code-block')
|
|
37
37
|
*/
|
|
38
38
|
export declare function markCodeBlocks(editor: Editor, className?: string): void;
|
|
39
|
+
/**
|
|
40
|
+
* Mark text preceded by a given symbol when at beginning of line or after space
|
|
41
|
+
* @param editor - CodeMirror editor instance
|
|
42
|
+
* @param symbol - The symbol to match (e.g., '@', '/', '$')
|
|
43
|
+
* @param className - CSS class to apply (defaults to 'cm-symbol-text')
|
|
44
|
+
*/
|
|
45
|
+
export declare function markTextPrecededBySymbol(editor: Editor, symbol: string, className?: string): void;
|
|
39
46
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,YAAY,CAAA;AAEpD,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM;UAEzC,MAAM;SAAO,MAAM;IA2B3C;AA4CD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,OAAO,EAAE;IACP,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,EACD,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,IAAI,CA4CN;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,SAAS,SAAmB,GAC3B,IAAI,CAYN;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,MAAM,EACd,SAAS,SAAkB,GAC1B,IAAI,CAcN;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,SAAS,SAAkB,GAC1B,IAAI,CAwBN"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/CodeArea/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,YAAY,CAAA;AAEpD,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM;UAEzC,MAAM;SAAO,MAAM;IA2B3C;AA4CD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,OAAO,EAAE;IACP,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,EACD,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,IAAI,CA4CN;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,SAAS,SAAmB,GAC3B,IAAI,CAYN;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,MAAM,EACd,SAAS,SAAkB,GAC1B,IAAI,CAcN;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,SAAS,SAAkB,GAC1B,IAAI,CAwBN;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,SAAS,SAAmB,GAC3B,IAAI,CAsBN"}
|
|
@@ -21,7 +21,7 @@ export declare const dialogDimensionsBySize: {
|
|
|
21
21
|
};
|
|
22
22
|
declare const DialogPaper: import('@emotion/styled').StyledComponent<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
24
|
-
}, "style" | "
|
|
24
|
+
}, "style" | "square" | "classes" | "children" | "className" | "sx" | "elevation" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
25
25
|
size?: DialogSize;
|
|
26
26
|
fullScreen?: boolean;
|
|
27
27
|
height?: string;
|
|
@@ -1710,19 +1710,19 @@ export declare const cartoThemeOptions: {
|
|
|
1710
1710
|
};
|
|
1711
1711
|
lineHeight?: number | undefined;
|
|
1712
1712
|
fontSmoothing?: string | undefined;
|
|
1713
|
-
button?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1714
|
-
caption?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1715
1713
|
h1?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1716
1714
|
h2?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1717
1715
|
h3?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1718
1716
|
h4?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1719
1717
|
h5?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1720
1718
|
h6?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1721
|
-
overline?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1722
|
-
body2?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1723
|
-
body1?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1724
1719
|
subtitle1?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1725
1720
|
subtitle2?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1721
|
+
body1?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1722
|
+
body2?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1723
|
+
caption?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1724
|
+
button?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1725
|
+
overline?: import('@mui/material/styles/createTypography').CSSProperties | undefined;
|
|
1726
1726
|
fontFamily?: import('react').CSSProperties["fontFamily"];
|
|
1727
1727
|
fontSize?: number | undefined;
|
|
1728
1728
|
fontWeightLight?: import('react').CSSProperties["fontWeight"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carto-theme.d.ts","sourceRoot":"","sources":["../../../src/theme/carto-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAGf,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"carto-theme.d.ts","sourceRoot":"","sources":["../../../src/theme/carto-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAGf,MAAM,eAAe,CAAA;AAiBtB,eAAO,MAAM,iBAAiB;;;cAGc,UAAU,EAAE;;;;;;;;;;;eAiBlC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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wBAA0Z,CAAC;;;wBAAoF,CAAC;;;wBAA0F,CAAC;;;wBAAyF,CAAC;;;wBAAsG,CAAC;;;wBAAoF,CAAC;;;wBAA0F,CAAC;;;wBAAyF,CAAC;;;wBAA+G,CAAC;;;wBAA4F,CAAC;;;wBAAkG,CAAC;;;wBAAiG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;CAH/4F,CAAA;AAED,eAAO,MAAM,KAAK,+BAAsD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/buttons.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAQtD,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CA+pBvD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-display.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/data-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAiBxD,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CA0iB3D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-pickers.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/date-pickers.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAgBtD,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAgR3D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/feedback.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAEjD,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAuFxD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/forms.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,KAAK,EAAW,MAAM,eAAe,CAAA;AA6F/E,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAg6BrD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/navigation.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAEjD,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAwU1D,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AccordionProps } from '@mui/material';
|
|
2
|
+
declare const options: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').AccordionTypeMap<{}, "div">>;
|
|
5
|
+
args: {
|
|
6
|
+
defaultExpanded: false;
|
|
7
|
+
disabled: false;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
defaultExpanded: {
|
|
11
|
+
control: "boolean";
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
control: "boolean";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
parameters: {
|
|
18
|
+
docs: {
|
|
19
|
+
description: {
|
|
20
|
+
component: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
design: {
|
|
24
|
+
type: string;
|
|
25
|
+
url: string;
|
|
26
|
+
};
|
|
27
|
+
status: {
|
|
28
|
+
type: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default options;
|
|
33
|
+
export declare const Single: {
|
|
34
|
+
render: ({ defaultExpanded, ...props }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
export declare const States: {
|
|
37
|
+
render: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
argTypes: {
|
|
39
|
+
disabled: {
|
|
40
|
+
table: {
|
|
41
|
+
disable: boolean;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const Behavior: {
|
|
47
|
+
render: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
argTypes: {
|
|
49
|
+
disabled: {
|
|
50
|
+
table: {
|
|
51
|
+
disable: boolean;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=Accordion.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/theme/components/stories/Accordion.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,cAAc,EAKf,MAAM,eAAe,CAAA;AAMtB,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BqB,CAAA;AAClC,eAAe,OAAO,CAAA;AAkGtB,eAAO,MAAM,MAAM;4CAhGoC,cAAc;CAkGpE,CAAA;AAED,eAAO,MAAM,MAAM;oBAtFY,cAAc;;;;;;;;CAyF5C,CAAA;AAED,eAAO,MAAM,QAAQ;oBAzCY,cAAc;;;;;;;;CA4C9C,CAAA"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const options: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').BreadcrumbsTypeMap<{}, "nav">>;
|
|
4
|
+
argTypes: {
|
|
5
|
+
maxItems: {
|
|
6
|
+
control: "number";
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
design: {
|
|
16
|
+
type: string;
|
|
17
|
+
url: string;
|
|
18
|
+
};
|
|
19
|
+
status: {
|
|
20
|
+
type: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default options;
|
|
25
|
+
export declare const Playground: {
|
|
26
|
+
render: ({ ...args }: {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
};
|
|
30
|
+
export declare const TextOnly: {
|
|
31
|
+
render: ({ ...args }: {
|
|
32
|
+
[x: string]: any;
|
|
33
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
args: {};
|
|
35
|
+
};
|
|
36
|
+
export declare const Collapsed: {
|
|
37
|
+
render: ({ ...args }: {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
args: {
|
|
41
|
+
maxItems: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const WithIcons: {
|
|
45
|
+
render: ({ ...args }: {
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
args: {};
|
|
49
|
+
};
|
|
50
|
+
export declare const WithIconsCollapsed: {
|
|
51
|
+
render: ({ ...args }: {
|
|
52
|
+
[x: string]: any;
|
|
53
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
args: {
|
|
55
|
+
maxItems: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=Breadcrumb.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../../../src/theme/components/stories/Breadcrumb.stories.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;CAsBG,CAAA;AAChB,eAAe,OAAO,CAAA;AAuCtB,eAAO,MAAM,UAAU;;;;CAEtB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;CAGpB,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;CAGrB,CAAA;AAED,eAAO,MAAM,SAAS;;;;;CAGrB,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;CAG9B,CAAA"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ButtonGroupProps } from '@mui/material';
|
|
2
|
+
declare const options: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').ButtonGroupTypeMap<{}, "div">>;
|
|
5
|
+
args: {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
argTypes: {
|
|
9
|
+
variant: {
|
|
10
|
+
control: "select";
|
|
11
|
+
options: string[];
|
|
12
|
+
};
|
|
13
|
+
orientation: {
|
|
14
|
+
control: "select";
|
|
15
|
+
options: string[];
|
|
16
|
+
};
|
|
17
|
+
color: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
table: {
|
|
27
|
+
defaultValue: {
|
|
28
|
+
summary: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
control: "boolean";
|
|
32
|
+
};
|
|
33
|
+
label: {
|
|
34
|
+
control: "text";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
parameters: {
|
|
38
|
+
docs: {
|
|
39
|
+
description: {
|
|
40
|
+
component: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
design: {
|
|
44
|
+
type: string;
|
|
45
|
+
url: string;
|
|
46
|
+
};
|
|
47
|
+
status: {
|
|
48
|
+
type: string[];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default options;
|
|
53
|
+
export declare const Playground: {
|
|
54
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
55
|
+
label: string;
|
|
56
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
args: {
|
|
58
|
+
label: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const Contained: {
|
|
62
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
63
|
+
label: string;
|
|
64
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
args: {
|
|
66
|
+
variant: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export declare const Outlined: {
|
|
70
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
71
|
+
label: string;
|
|
72
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
73
|
+
args: {
|
|
74
|
+
variant: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export declare const Text: {
|
|
78
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
79
|
+
label: string;
|
|
80
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
args: {
|
|
82
|
+
variant: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export declare const Primary: {
|
|
86
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
87
|
+
label: string;
|
|
88
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
+
args: {
|
|
90
|
+
color: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export declare const Secondary: {
|
|
94
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
95
|
+
label: string;
|
|
96
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
97
|
+
args: {
|
|
98
|
+
color: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export declare const Default: {
|
|
102
|
+
render: ({ label, ...rest }: ButtonGroupProps & {
|
|
103
|
+
label: string;
|
|
104
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
105
|
+
args: {
|
|
106
|
+
color: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
export declare const Vertical: {
|
|
110
|
+
render: ({ ...rest }: ButtonGroupProps & {
|
|
111
|
+
label: string;
|
|
112
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
113
|
+
args: {
|
|
114
|
+
color: string;
|
|
115
|
+
orientation: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=ButtonGroup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/theme/components/stories/ButtonGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAUnE,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CG,CAAA;AAChB,eAAe,OAAO,CAAA;AAiFtB,eAAO,MAAM,UAAU;iCA1DpB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CA6DtC,CAAA;AAED,eAAO,MAAM,SAAS;iCAlDnB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CAqDtC,CAAA;AAED,eAAO,MAAM,QAAQ;iCAvDlB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CA0DtC,CAAA;AAED,eAAO,MAAM,IAAI;iCA5Dd,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CA+DtC,CAAA;AAED,eAAO,MAAM,OAAO;iCA9CjB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CAiDtC,CAAA;AAED,eAAO,MAAM,SAAS;iCAnDnB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CAsDtC,CAAA;AAED,eAAO,MAAM,OAAO;iCAxDjB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CA2DtC,CAAA;AAED,eAAO,MAAM,QAAQ;0BA7ClB,gBAAgB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;;CAgDtC,CAAA"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Checkbox, CheckboxProps, FormControlLabelProps } from '@mui/material';
|
|
2
|
+
declare const options: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof Checkbox;
|
|
5
|
+
argTypes: {
|
|
6
|
+
checked: {
|
|
7
|
+
control: "boolean";
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
control: "select";
|
|
11
|
+
options: string[];
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
control: "boolean";
|
|
15
|
+
};
|
|
16
|
+
indeterminate: {
|
|
17
|
+
control: "boolean";
|
|
18
|
+
};
|
|
19
|
+
readOnly: {
|
|
20
|
+
control: "boolean";
|
|
21
|
+
};
|
|
22
|
+
label: {
|
|
23
|
+
control: "text";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
parameters: {
|
|
27
|
+
docs: {
|
|
28
|
+
description: {
|
|
29
|
+
component: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
design: {
|
|
33
|
+
type: string;
|
|
34
|
+
url: string;
|
|
35
|
+
};
|
|
36
|
+
status: {
|
|
37
|
+
type: string[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default options;
|
|
42
|
+
export declare const Playground: {
|
|
43
|
+
render: ({ label, size, checked, indeterminate, disabled, readOnly, ...args }: FormControlLabelProps & CheckboxProps & {
|
|
44
|
+
label: string;
|
|
45
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
args: {
|
|
47
|
+
label: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const States: {
|
|
51
|
+
render: ({ size, ...args }: FormControlLabelProps & CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
argTypes: {
|
|
53
|
+
checked: {
|
|
54
|
+
table: {
|
|
55
|
+
disable: boolean;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
indeterminate: {
|
|
59
|
+
table: {
|
|
60
|
+
disable: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
disabled: {
|
|
64
|
+
table: {
|
|
65
|
+
disable: boolean;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const Sizes: {
|
|
71
|
+
render: ({ ...args }: FormControlLabelProps & CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
72
|
+
argTypes: {
|
|
73
|
+
size: {
|
|
74
|
+
table: {
|
|
75
|
+
disable: boolean;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
checked: {
|
|
79
|
+
table: {
|
|
80
|
+
disable: boolean;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
indeterminate: {
|
|
84
|
+
table: {
|
|
85
|
+
disable: boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
args: {
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../src/theme/components/stories/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,aAAa,EAEb,qBAAqB,EAEtB,MAAM,eAAe,CAAA;AAKtB,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCG,CAAA;AAChB,eAAe,OAAO,CAAA;AA0LtB,eAAO,MAAM,UAAU;mFAhLpB,qBAAqB,GAAG,aAAa,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;;;CAmL3D,CAAA;AAED,eAAO,MAAM,MAAM;gCAtJhB,qBAAqB,GAAG,aAAa;;;;;;;;;;;;;;;;;;CAyJvC,CAAA;AAED,eAAO,MAAM,KAAK;0BAzEiB,qBAAqB,GAAG,aAAa;;;;;;;;;;;;;;;;;;;;;CA6EvE,CAAA"}
|