burne-ui 1.7.6 → 1.7.9

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 (33) hide show
  1. package/README.md +3 -3
  2. package/cli/init.js +16 -16
  3. package/cli/theme-bridge.css +107 -0
  4. package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +1 -1
  5. package/dist/components/core/Disclosure/Disclosure.d.ts +4 -4
  6. package/dist/components/core/Disclosure/disclosureAPI.d.ts +8 -0
  7. package/dist/components/core/Disclosure/disclosureParts.d.ts +11 -1
  8. package/dist/components/core/Disclosure/disclosureStyles.d.ts +7 -0
  9. package/dist/components/core/Disclosure/disclosureTypes.d.ts +13 -7
  10. package/dist/components/core/Disclosure/index.d.ts +7 -4
  11. package/dist/components/core/Disclosure/useDisclosureRootState.d.ts +1 -1
  12. package/dist/components/core/Dropdown/dropdownTypes.d.ts +4 -4
  13. package/dist/components/core/Field/Field.d.ts +1 -1
  14. package/dist/components/core/Field/fieldContext.d.ts +4 -4
  15. package/dist/components/core/Field/fieldParts.d.ts +7 -4
  16. package/dist/components/core/Field/fieldStyles.d.ts +31 -8
  17. package/dist/components/core/Field/fieldTypes.d.ts +12 -1
  18. package/dist/components/core/Field/index.d.ts +3 -3
  19. package/dist/components/core/Label/Label.d.ts +1 -1
  20. package/dist/components/core/Label/labelParts.d.ts +1 -1
  21. package/dist/components/core/Label/labelTypes.d.ts +4 -0
  22. package/dist/components/core/Link/Link.d.ts +1 -1
  23. package/dist/components/core/Link/index.d.ts +1 -1
  24. package/dist/components/core/Link/linkStyles.d.ts +3 -3
  25. package/dist/components/core/Link/linkTypes.d.ts +5 -7
  26. package/dist/components/core/SelectionIndicator/selectionIndicatorTokens.d.ts +1 -1
  27. package/dist/components/core/Table/tableTypes.d.ts +1 -1
  28. package/dist/index.cjs +1 -1
  29. package/dist/index.d.ts +3 -3
  30. package/dist/index.js +8435 -8281
  31. package/dist/tokens/config.d.ts +6 -5
  32. package/dist/ui.css +18 -18
  33. package/package.json +2 -1
@@ -1,10 +1,10 @@
1
1
  import { TextVariant } from '../Text';
2
2
  import { LinkSize } from './linkTypes';
3
- export declare const LINK_ANCHOR_CLASS = "group/link inline-flex max-w-full min-w-0 items-center gap-xsmall rounded-mid no-underline outline-none w-fit text-primary focus-ring";
3
+ export declare const LINK_ANCHOR_CLASS = "group/link inline-flex max-w-full min-w-0 items-center gap-xsmall rounded-mid no-underline outline-none w-fit text-foreground focus-ring";
4
4
  export declare const LINK_TEXT_BASE_CLASS = "min-w-0 truncate font-w-mid";
5
5
  export declare const LINK_TEXT_UNDERLINE_CLASS = "underline decoration-current/70 underline-offset-[0.2em]";
6
- export declare const LINK_ICON_MUTED_CLASS = "text-muted group-hover/link:text-primary group-focus-visible/link:text-primary";
7
- export declare const LINK_ICON_PRIMARY_CLASS = "text-primary";
6
+ export declare const LINK_ICON_MUTED_CLASS = "text-muted group-hover/link:text-foreground group-focus-visible/link:text-foreground";
7
+ export declare const LINK_ICON_FOREGROUND_CLASS = "text-foreground";
8
8
  export declare const LINK_DEFAULT_ICON_ROTATE_CLASS = "rotate-[-45deg]";
9
9
  export declare const LINK_TEXT_VARIANT: Record<LinkSize, TextVariant>;
10
10
  export declare const LINK_ICON_SIZE_CLASS: Record<LinkSize, string>;
@@ -3,16 +3,14 @@ import { Prettify } from '../../../utils/prettify';
3
3
  import { ComponentSize } from '../utils/sizeLayout';
4
4
  import { IconPosition } from '../utils/iconPosition';
5
5
  export type LinkSize = ComponentSize;
6
- export type LinkIconPosition = IconPosition;
6
+ export type LinkIconPos = IconPosition;
7
7
  export type LinkClassNames = {
8
8
  /** Root `<a>`. */
9
9
  root?: string;
10
10
  /** Link text (`Text`). */
11
11
  text?: string;
12
- /** Start icon wrapper. */
13
- iconStart?: string;
14
- /** End icon wrapper. */
15
- iconEnd?: string;
12
+ /** Icon wrapper (both start and end positions). */
13
+ icon?: string;
16
14
  };
17
15
  type LinkSharedProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "href"> & {
18
16
  children?: ReactNode;
@@ -22,7 +20,7 @@ type LinkSharedProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children"
22
20
  /** @default "start" */
23
21
  iconPosition?: IconPosition;
24
22
  showDefaultIcon?: boolean;
25
- defaultIconPosition?: LinkIconPosition;
23
+ defaultIconPosition?: LinkIconPos;
26
24
  classNames?: Prettify<LinkClassNames>;
27
25
  };
28
26
  export type LinkProps = (LinkSharedProps & {
@@ -34,7 +32,7 @@ export type LinkProps = (LinkSharedProps & {
34
32
  href: string;
35
33
  });
36
34
  export type LinkIconProps = {
37
- position?: LinkIconPosition;
35
+ iconPosition?: LinkIconPos;
38
36
  children?: ReactNode;
39
37
  };
40
38
  export type ResolvedLinkIconSlot = {
@@ -1,7 +1,7 @@
1
1
  export type SelectionIndicatorSize = "xsmall" | "small" | "base" | "mid" | "large";
2
2
  export type SelectionIndicatorVariant = "default" | "secondary" | "outline" | "gloss";
3
3
  export declare const SELECTION_INDICATOR_SIZE_CLASS: Record<SelectionIndicatorSize, string>;
4
- /** Corner radius from `--selection-indicator-radius-*` (`--radius-*` × 0.75). */
4
+ /** Corner radius from `--selection-indicator-radius-*` (`--radius-*` × 0.618). */
5
5
  export declare const SELECTION_INDICATOR_RADIUS_CLASS: Record<SelectionIndicatorSize, string>;
6
6
  /** Mark icon box — `--icon-size-*` × 0.75 so marks fit inside the indicator ring. */
7
7
  export declare const SELECTION_INDICATOR_ICON_CLASS: Record<SelectionIndicatorSize, string>;
@@ -20,7 +20,7 @@ export type TableClassNames = {
20
20
  column?: string;
21
21
  columnInner?: string;
22
22
  columnLabel?: string;
23
- columnSortChevron?: string;
23
+ columnSortIcon?: string;
24
24
  body?: string;
25
25
  row?: string;
26
26
  cell?: string;