@wallarm-org/design-system 0.87.1 → 0.88.1-rc-fix-status-code-zero-value.1

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.
Files changed (137) hide show
  1. package/dist/components/Alert/Alert.d.ts +1 -1
  2. package/dist/components/AnimatedBackground/pixel/module/celebration.d.ts +2 -2
  3. package/dist/components/AnimatedBackground/pixel/module/game-logic.d.ts +1 -1
  4. package/dist/components/AppShell/story-content/_storyLib.d.ts +1 -1
  5. package/dist/components/Badge/classes.d.ts +2 -2
  6. package/dist/components/Badge/constants.d.ts +26 -26
  7. package/dist/components/Banner/classes.d.ts +4 -4
  8. package/dist/components/Button/Button.d.ts +2 -2
  9. package/dist/components/ButtonBase/classes.d.ts +1 -1
  10. package/dist/components/Calendar/CalendarContext.d.ts +4 -4
  11. package/dist/components/Calendar/CalendarTrigger.d.ts +4 -12
  12. package/dist/components/Calendar/const.d.ts +2 -2
  13. package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -1
  14. package/dist/components/Code/Code.d.ts +3 -3
  15. package/dist/components/CodeSnippet/CodeSnippetRoot.d.ts +5 -8
  16. package/dist/components/CodeSnippet/lib/httpFolds.d.ts +2 -2
  17. package/dist/components/Country/Country.d.ts +1 -1
  18. package/dist/components/Country/CountryFlag.d.ts +1 -1
  19. package/dist/components/Country/countries.d.ts +497 -497
  20. package/dist/components/DropdownMenu/classes.d.ts +1 -1
  21. package/dist/components/DropdownMenu/classes.js +1 -1
  22. package/dist/components/Field/Field.d.ts +1 -1
  23. package/dist/components/FilterInput/FilterInputField/FilterInputChip/classes.d.ts +1 -1
  24. package/dist/components/FilterInput/FilterInputField/FilterInputChip/segmentVariant.d.ts +3 -3
  25. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/FlatValueMenu.js +1 -0
  26. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/NestedValueMenuItem.js +1 -26
  27. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/ValueMenuItem.d.ts +2 -0
  28. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/ValueMenuItem.js +4 -3
  29. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/highlightMatch.d.ts +11 -0
  30. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/highlightMatch.js +28 -0
  31. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/useNestedValueMenuState.js +2 -2
  32. package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/valueOptionSearchText.d.ts +1 -1
  33. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/lib/valueResolution.d.ts +1 -1
  34. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useChipCascade.d.ts +1 -1
  35. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useFilterInputAutocomplete.d.ts +2 -2
  36. package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useMenuPositioning.d.ts +1 -1
  37. package/dist/components/FilterInput/hooks/useFilterInputExpression/buildChips.d.ts +1 -1
  38. package/dist/components/FilterInput/hooks/useFilterInputExpression/buildChips.js +1 -1
  39. package/dist/components/FilterInput/hooks/useFilterInputExpression/expression.d.ts +2 -2
  40. package/dist/components/FilterInput/hooks/useFilterInputExpression/useFilterInputExpression.d.ts +2 -2
  41. package/dist/components/FilterInput/hooks/useFilterInputPositioning.d.ts +1 -1
  42. package/dist/components/FilterInput/hooks/useFilterInputSelection/lib/serialize.d.ts +1 -1
  43. package/dist/components/FilterInput/lib/applyKnownFieldHelpers.d.ts +1 -1
  44. package/dist/components/FilterInput/lib/collapseValuesToLabels.d.ts +20 -18
  45. package/dist/components/FilterInput/lib/collapseValuesToLabels.js +12 -19
  46. package/dist/components/FilterInput/lib/conditions.d.ts +2 -2
  47. package/dist/components/FilterInput/lib/constants.d.ts +6 -3
  48. package/dist/components/FilterInput/lib/constants.js +1 -1
  49. package/dist/components/FilterInput/lib/index.d.ts +1 -1
  50. package/dist/components/FilterInput/lib/index.js +1 -1
  51. package/dist/components/FilterInput/lib/statusCode/createStatusCodeNormalizer.d.ts +3 -1
  52. package/dist/components/FilterInput/lib/statusCode/createStatusCodeNormalizer.js +2 -0
  53. package/dist/components/FilterInput/lib/statusCode/createStatusCodeSerializer.d.ts +3 -1
  54. package/dist/components/FilterInput/lib/statusCode/createStatusCodeSerializer.js +2 -0
  55. package/dist/components/FilterInput/lib/statusCode/createStatusCodeSuggestions.js +2 -2
  56. package/dist/components/FilterInput/lib/statusCode/createStatusCodeValidator.d.ts +4 -0
  57. package/dist/components/FilterInput/lib/statusCode/createStatusCodeValidator.js +2 -1
  58. package/dist/components/FilterInput/lib/statusCode/utils/constants.d.ts +6 -0
  59. package/dist/components/FilterInput/lib/statusCode/utils/constants.js +2 -1
  60. package/dist/components/FilterInput/lib/statusCode/utils/index.d.ts +1 -1
  61. package/dist/components/FilterInput/lib/statusCode/utils/index.js +1 -1
  62. package/dist/components/FilterInput/lib/statusCode/utils/makeMask.d.ts +3 -1
  63. package/dist/components/FilterInput/lib/statusCode/utils/makeMask.js +12 -1
  64. package/dist/components/FilterInput/lib/validation.d.ts +1 -1
  65. package/dist/components/Flex/Flex.d.ts +6 -6
  66. package/dist/components/Heading/Heading.d.ts +3 -3
  67. package/dist/components/InlineEdit/InlineEditSelect.d.ts +4 -4
  68. package/dist/components/Input/classes.d.ts +1 -1
  69. package/dist/components/InputGroup/InputGroup.d.ts +1 -1
  70. package/dist/components/InputGroup/InputGroupAddon.d.ts +2 -2
  71. package/dist/components/Ip/constants.d.ts +21 -21
  72. package/dist/components/Kbd/Kbd.d.ts +1 -1
  73. package/dist/components/Link/classes.d.ts +3 -3
  74. package/dist/components/Loader/Loader.d.ts +2 -2
  75. package/dist/components/Logo/classes.d.ts +1 -1
  76. package/dist/components/NumberInput/classes.d.ts +4 -4
  77. package/dist/components/NumericBadge/classes.d.ts +2 -2
  78. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +4 -8
  79. package/dist/components/OverflowTooltip/OverflowTooltipContent.d.ts +4 -7
  80. package/dist/components/Pagination/classes.d.ts +2 -2
  81. package/dist/components/ParameterPath/constants.d.ts +7 -7
  82. package/dist/components/Progress/classes.d.ts +2 -2
  83. package/dist/components/Progress/constants.d.ts +22 -22
  84. package/dist/components/Radio/RadioGroup.d.ts +1 -1
  85. package/dist/components/SegmentedControl/SegmentedControlSeparator.d.ts +1 -1
  86. package/dist/components/Select/Select.d.ts +4 -4
  87. package/dist/components/Select/SelectInput/SelectInputOverflowRenderer.d.ts +1 -1
  88. package/dist/components/Selection/Selection.d.ts +4 -4
  89. package/dist/components/Separator/Separator.d.ts +1 -1
  90. package/dist/components/SimpleCharts/BarList/classes.d.ts +3 -3
  91. package/dist/components/SimpleCharts/LineChart/constants.d.ts +2 -2
  92. package/dist/components/SimpleCharts/PieChart/classes.d.ts +2 -2
  93. package/dist/components/Skeleton/Skeleton.d.ts +1 -1
  94. package/dist/components/SplashScreen/classes.d.ts +4 -4
  95. package/dist/components/Stack/Stack.d.ts +5 -5
  96. package/dist/components/Table/EditableCell/EditableSelectCell.d.ts +28 -0
  97. package/dist/components/Table/EditableCell/EditableSelectCell.js +66 -0
  98. package/dist/components/Table/EditableCell/EditableTextCell.d.ts +22 -0
  99. package/dist/components/Table/EditableCell/EditableTextCell.js +78 -0
  100. package/dist/components/Table/EditableCell/classes.d.ts +11 -0
  101. package/dist/components/Table/EditableCell/classes.js +17 -0
  102. package/dist/components/Table/EditableCell/constants.d.ts +19 -0
  103. package/dist/components/Table/EditableCell/constants.js +4 -0
  104. package/dist/components/Table/EditableCell/index.d.ts +4 -0
  105. package/dist/components/Table/EditableCell/index.js +4 -0
  106. package/dist/components/Table/Table.d.ts +4 -4
  107. package/dist/components/Table/TableBody/TableBodyCell.d.ts +4 -4
  108. package/dist/components/Table/TableColumnMenu/TableColumnMenu.d.ts +4 -16
  109. package/dist/components/Table/TableHeadCell.d.ts +4 -4
  110. package/dist/components/Table/TableImperativeBridge.d.ts +4 -9
  111. package/dist/components/Table/TableMasterCellActions.d.ts +4 -4
  112. package/dist/components/Table/TableResizeHandler.d.ts +4 -4
  113. package/dist/components/Table/TableRow.d.ts +1 -1
  114. package/dist/components/Table/TableRowExpanded.d.ts +4 -4
  115. package/dist/components/Table/TableSettingsMenu/TableSettingsMenuItem.d.ts +4 -4
  116. package/dist/components/Table/TableSortHandler.d.ts +4 -4
  117. package/dist/components/Table/TableSortTrigger.d.ts +4 -19
  118. package/dist/components/Table/index.d.ts +1 -0
  119. package/dist/components/Table/index.js +1 -0
  120. package/dist/components/Table/lib/detectDataChange.d.ts +1 -1
  121. package/dist/components/Table/lib/isLastPinnedLeft.d.ts +2 -2
  122. package/dist/components/Tabs/classes.d.ts +1 -1
  123. package/dist/components/Text/Text.d.ts +5 -5
  124. package/dist/components/Textarea/classes.d.ts +2 -2
  125. package/dist/components/Toast/Toast.d.ts +4 -4
  126. package/dist/components/Toast/ToastClose.d.ts +4 -4
  127. package/dist/components/Toast/useToast.d.ts +4 -4
  128. package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
  129. package/dist/components/Tour/lib/waitForStepEvent.d.ts +1 -1
  130. package/dist/components/WallyIcon/classes.d.ts +1 -1
  131. package/dist/icons/SvgIcon.d.ts +1 -1
  132. package/dist/index.d.ts +1 -1
  133. package/dist/index.js +1 -1
  134. package/dist/metadata/components.json +627 -13
  135. package/dist/utils/hasNonTextEnd.d.ts +1 -1
  136. package/dist/utils/isIconOnly.d.ts +1 -1
  137. package/package.json +15 -17
@@ -4,7 +4,7 @@ import { type TestableProps } from '../../utils/testId';
4
4
  import type { AlertColor } from './AlertIcon';
5
5
  export type { AlertColor };
6
6
  declare const alertVariants: (props?: ({
7
- color?: "primary" | "destructive" | "info" | "warning" | "success" | null | undefined;
7
+ color?: "destructive" | "info" | "primary" | "success" | "warning" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  export interface AlertProps extends VariantProps<typeof alertVariants>, Omit<HTMLAttributes<HTMLDivElement>, 'color'>, TestableProps {
10
10
  ref?: Ref<HTMLDivElement>;
@@ -3,9 +3,9 @@ export declare const CEL_DUR: readonly [0, 2.6, 3.8, 4, 5.2];
3
3
  export declare const CEL_MAX_PARTICLES = 900;
4
4
  export declare const CEL_LIFT_AT = 0.5;
5
5
  export declare const CEL_LIFT_DUR = 1.2;
6
- export declare const CEL_PAL: readonly ["rgb(255,60,60)", "rgb(255,180,40)", "rgb(60,220,80)", "rgb(60,200,220)", "rgb(80,100,255)", "rgb(180,80,220)", "rgb(255,100,180)"];
6
+ export declare const CEL_PAL: readonly ['rgb(255,60,60)', 'rgb(255,180,40)', 'rgb(60,220,80)', 'rgb(60,200,220)', 'rgb(80,100,255)', 'rgb(180,80,220)', 'rgb(255,100,180)'];
7
7
  /** Sentinel value for celDotEffect — means "use caught-green palette". */
8
- export declare const CEL_CAUGHT_COL: "__caught__";
8
+ export declare const CEL_CAUGHT_COL: '__caught__';
9
9
  export interface CelParticle {
10
10
  x: number;
11
11
  y: number;
@@ -30,7 +30,7 @@ export declare const SPAWN_EDGE = 24;
30
30
  export declare const CANNON_CLEAR = 72;
31
31
  export declare const SPAWN_TRIES = 24;
32
32
  export declare const IDLE_ANOMALY_LIFE = 2.4;
33
- export declare const VERDICTS: readonly ["BLOCKED", "TERMINATED", "NEUTRALIZED", "QUARANTINED", "MITIGATED", "CONTAINED"];
33
+ export declare const VERDICTS: readonly ['BLOCKED', 'TERMINATED', 'NEUTRALIZED', 'QUARANTINED', 'MITIGATED', 'CONTAINED'];
34
34
  export interface Anomaly {
35
35
  x: number;
36
36
  y: number;
@@ -1,5 +1,5 @@
1
1
  import { edgeNavConfig } from './_storyNavConfigs';
2
- declare const KNOWN_PRODUCTS: readonly ["home", "edge", "ai-hypervisor", "infra-discovery", "security-testing", "settings"];
2
+ declare const KNOWN_PRODUCTS: readonly ['home', 'edge', 'ai-hypervisor', 'infra-discovery', 'security-testing', 'settings'];
3
3
  export type Product = (typeof KNOWN_PRODUCTS)[number];
4
4
  export declare const PRODUCT_CONFIGS: Record<Exclude<Product, 'home'>, {
5
5
  config: typeof edgeNavConfig;
@@ -1,9 +1,9 @@
1
1
  import type { BadgeColor } from './types';
2
2
  export declare const badgeVariants: (props?: ({
3
3
  variant?: "default" | "dotted" | null | undefined;
4
- size?: "small" | "medium" | "large" | null | undefined;
4
+ size?: "large" | "medium" | "small" | null | undefined;
5
5
  isIconOnly?: boolean | null | undefined;
6
- type?: "secondary" | "text" | "outline" | "solid" | "text-color" | null | undefined;
6
+ type?: "outline" | "secondary" | "solid" | "text" | "text-color" | null | undefined;
7
7
  color?: BadgeColor | null | undefined;
8
8
  muted?: boolean | null | undefined;
9
9
  textVariant?: "code" | "default" | null | undefined;
@@ -1,30 +1,30 @@
1
1
  export declare const BadgeTypeEnum: {
2
- readonly Solid: "solid";
3
- readonly Secondary: "secondary";
4
- readonly Outline: "outline";
5
- readonly Text: "text";
6
- readonly TextColor: "text-color";
2
+ readonly Solid: 'solid';
3
+ readonly Secondary: 'secondary';
4
+ readonly Outline: 'outline';
5
+ readonly Text: 'text';
6
+ readonly TextColor: 'text-color';
7
7
  };
8
8
  export declare const BadgeColorEnum: {
9
- readonly Slate: "slate";
10
- readonly Red: "red";
11
- readonly WOrange: "w-orange";
12
- readonly Amber: "amber";
13
- readonly Yellow: "yellow";
14
- readonly Lime: "lime";
15
- readonly Green: "green";
16
- readonly Emerald: "emerald";
17
- readonly Teal: "teal";
18
- readonly Cyan: "cyan";
19
- readonly Sky: "sky";
20
- readonly Blue: "blue";
21
- readonly Indigo: "indigo";
22
- readonly Violet: "violet";
23
- readonly Fuchsia: "fuchsia";
24
- readonly Pink: "pink";
25
- readonly Rose: "rose";
26
- readonly Gray: "gray";
27
- readonly Zinc: "zinc";
28
- readonly Neutral: "neutral";
29
- readonly Stone: "stone";
9
+ readonly Slate: 'slate';
10
+ readonly Red: 'red';
11
+ readonly WOrange: 'w-orange';
12
+ readonly Amber: 'amber';
13
+ readonly Yellow: 'yellow';
14
+ readonly Lime: 'lime';
15
+ readonly Green: 'green';
16
+ readonly Emerald: 'emerald';
17
+ readonly Teal: 'teal';
18
+ readonly Cyan: 'cyan';
19
+ readonly Sky: 'sky';
20
+ readonly Blue: 'blue';
21
+ readonly Indigo: 'indigo';
22
+ readonly Violet: 'violet';
23
+ readonly Fuchsia: 'fuchsia';
24
+ readonly Pink: 'pink';
25
+ readonly Rose: 'rose';
26
+ readonly Gray: 'gray';
27
+ readonly Zinc: 'zinc';
28
+ readonly Neutral: 'neutral';
29
+ readonly Stone: 'stone';
30
30
  };
@@ -10,14 +10,14 @@ export type BannerVariant = 'primary' | 'secondary' | 'destructive' | 'info' | '
10
10
  * (light-mode) mapping; revisit if dark-mode behavior is ever specced.
11
11
  */
12
12
  export declare const bannerVariants: (props?: ({
13
- variant?: "primary" | "secondary" | "destructive" | "info" | "warning" | null | undefined;
13
+ variant?: "destructive" | "info" | "primary" | "secondary" | "warning" | null | undefined;
14
14
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
15
  export declare const bannerTitleVariants: (props?: ({
16
- variant?: "primary" | "secondary" | "destructive" | "info" | "warning" | null | undefined;
16
+ variant?: "destructive" | "info" | "primary" | "secondary" | "warning" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
18
  export declare const bannerDescriptionVariants: (props?: ({
19
- variant?: "primary" | "secondary" | "destructive" | "info" | "warning" | null | undefined;
19
+ variant?: "destructive" | "info" | "primary" | "secondary" | "warning" | null | undefined;
20
20
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
21
  export declare const bannerIconVariants: (props?: ({
22
- variant?: "primary" | "secondary" | "destructive" | "info" | "warning" | null | undefined;
22
+ variant?: "destructive" | "info" | "primary" | "secondary" | "warning" | null | undefined;
23
23
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -3,8 +3,8 @@ import { type VariantProps } from 'class-variance-authority';
3
3
  import type { TestableProps } from '../../utils/testId';
4
4
  import { type ButtonBaseProps } from '../ButtonBase';
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "primary" | "secondary" | "outline" | "ghost" | null | undefined;
7
- color?: "destructive" | "brand" | "neutral" | "neutral-alt" | null | undefined;
6
+ variant?: "ghost" | "outline" | "primary" | "secondary" | null | undefined;
7
+ color?: "brand" | "destructive" | "neutral" | "neutral-alt" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
10
10
  export type ButtonProps<C extends ElementType = 'button'> = ButtonBaseProps<C> & ButtonVariantProps & TestableProps;
@@ -1,5 +1,5 @@
1
1
  export declare const buttonBaseVariants: (props?: ({
2
- size?: "small" | "medium" | "large" | "inline-edit" | null | undefined;
2
+ size?: "inline-edit" | "large" | "medium" | "small" | null | undefined;
3
3
  iconOnly?: boolean | null | undefined;
4
4
  loading?: boolean | null | undefined;
5
5
  hasNonTextEnd?: boolean | null | undefined;
@@ -33,10 +33,10 @@ export interface CalendarProviderProps {
33
33
  children: ReactNode;
34
34
  value: CalendarContextValue;
35
35
  }
36
- export declare const CalendarProvider: {
37
- ({ children, value }: CalendarProviderProps): import("react").JSX.Element;
38
- displayName: string;
39
- };
36
+ export declare function CalendarProvider({ children, value }: CalendarProviderProps): import("react").JSX.Element;
37
+ export declare namespace CalendarProvider {
38
+ var displayName: string;
39
+ }
40
40
  /**
41
41
  * Hook to access Calendar context.
42
42
  * Returns default values if used outside Calendar component.
@@ -7,15 +7,7 @@ export interface CalendarTriggerProps extends Omit<HTMLAttributes<HTMLButtonElem
7
7
  asChild?: boolean;
8
8
  ref?: Ref<HTMLButtonElement>;
9
9
  }
10
- /**
11
- * Trigger element that opens the calendar popover.
12
- * Wraps children with Ark UI DatePicker.Trigger.
13
- *
14
- * Arbitrary HTML attributes (`data-analytics-id`, `data-analytics-props`,
15
- * `data-testid`, `aria-*`, `id`) are forwarded to Ark's Trigger and reach
16
- * the final rendered child via `asChild` slot merge.
17
- */
18
- export declare const CalendarTrigger: {
19
- ({ children, asChild, ref, ...rest }: CalendarTriggerProps): import("react").JSX.Element;
20
- displayName: string;
21
- };
10
+ export declare function CalendarTrigger({ children, asChild, ref, ...rest }: CalendarTriggerProps): import("react").JSX.Element;
11
+ export declare namespace CalendarTrigger {
12
+ var displayName: string;
13
+ }
@@ -1,2 +1,2 @@
1
- export declare const DAY_NAMES: readonly ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
2
- export declare const MONTH_NAMES: readonly ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
1
+ export declare const DAY_NAMES: readonly ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
2
+ export declare const MONTH_NAMES: readonly ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
@@ -2,7 +2,7 @@ import type { FC } from 'react';
2
2
  import { Checkbox as ArkUiCheckbox } from '@ark-ui/react/checkbox';
3
3
  import { type VariantProps } from 'class-variance-authority';
4
4
  declare const checkboxGroupVariants: (props?: ({
5
- variant?: "default" | "card" | null | undefined;
5
+ variant?: "card" | "default" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type CheckboxGroupVariantsProps = VariantProps<typeof checkboxGroupVariants>;
8
8
  type CheckboxGroupNativeProps = Omit<ArkUiCheckbox.GroupProps, 'className'>;
@@ -2,9 +2,9 @@ import type { FC, HTMLAttributes, PropsWithChildren, Ref } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  import type { TestableProps } from '../../utils/testId';
4
4
  declare const codeVariants: (props?: ({
5
- size?: "s" | "xs" | "m" | "l" | null | undefined;
6
- weight?: "bold" | "light" | "regular" | "medium" | null | undefined;
7
- color?: "primary" | "secondary" | "destructive" | "primary-alt" | null | undefined;
5
+ size?: "l" | "m" | "s" | "xs" | null | undefined;
6
+ weight?: "bold" | "light" | "medium" | "regular" | null | undefined;
7
+ color?: "destructive" | "primary" | "primary-alt" | "secondary" | null | undefined;
8
8
  italic?: boolean | null | undefined;
9
9
  truncate?: boolean | null | undefined;
10
10
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -4,7 +4,7 @@ import { type TestableProps } from '../../utils/testId';
4
4
  import { type LineConfig } from './CodeSnippetContext';
5
5
  import { type FoldRegion } from './lib/foldUtils';
6
6
  declare const codeSnippetRootVariants: (props?: ({
7
- size?: "sm" | "md" | "lg" | null | undefined;
7
+ size?: "lg" | "md" | "sm" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type CodeSnippetRootVariantProps = VariantProps<typeof codeSnippetRootVariants>;
10
10
  type CodeSnippetRootNativeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
@@ -33,11 +33,8 @@ export type CodeSnippetRootProps<TLanguage extends string = string> = CodeSnippe
33
33
  /** Child components */
34
34
  children?: ReactNode;
35
35
  };
36
- /**
37
- * Code block with syntax highlighting, actions, line numbers, folding, and maxLines collapse.
38
- */
39
- export declare const CodeSnippetRoot: {
40
- <TLanguage extends string = string>({ code, language, size, lines, startingLineNumber, wrapLines: initialWrapLines, maxLines, folds: foldsProp, onCopy, className, children, "data-testid": testId, ...props }: CodeSnippetRootProps<TLanguage>): import("react").JSX.Element;
41
- displayName: string;
42
- };
36
+ export declare function CodeSnippetRoot<TLanguage extends string = string>({ code, language, size, lines, startingLineNumber, wrapLines: initialWrapLines, maxLines, folds: foldsProp, onCopy, className, children, 'data-testid': testId, ...props }: CodeSnippetRootProps<TLanguage>): import("react").JSX.Element;
37
+ export declare namespace CodeSnippetRoot {
38
+ var displayName: string;
39
+ }
43
40
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { FoldRegion } from './foldUtils';
2
2
  export declare const HTTP_FOLD_ID: {
3
- readonly headers: "http-headers";
4
- readonly body: "http-body";
3
+ readonly headers: 'http-headers';
4
+ readonly body: 'http-body';
5
5
  };
6
6
  export type HttpFoldSectionOptions = {
7
7
  label?: string;
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
3
3
  import { type TestableProps } from '../../utils/testId';
4
4
  import { type CountryCode } from './countries';
5
5
  export declare const countryVariants: (props?: ({
6
- size?: "small" | "medium" | null | undefined;
6
+ size?: "medium" | "small" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type CountryVariantsProps = VariantProps<typeof countryVariants>;
9
9
  type CountryNativeProps = Omit<ComponentProps<'div'>, 'children'>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentProps, FC } from 'react';
2
2
  export declare const countryFlagVariants: (props?: ({
3
- size?: "small" | "medium" | null | undefined;
3
+ size?: "medium" | "small" | null | undefined;
4
4
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
5
  export type CountryFlagProps = Omit<ComponentProps<'img'>, 'src' | 'alt'>;
6
6
  export declare const CountryFlag: FC<CountryFlagProps>;