burne-ui 1.7.5 → 1.7.7

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 (34) hide show
  1. package/dist/components/composite/Form/Form.d.ts +4 -4
  2. package/dist/components/composite/Form/formContext.d.ts +7 -4
  3. package/dist/components/composite/Form/formParts.d.ts +3 -0
  4. package/dist/components/composite/Form/formStyles.d.ts +23 -6
  5. package/dist/components/composite/Form/formTypes.d.ts +16 -3
  6. package/dist/components/composite/Form/index.d.ts +5 -2
  7. package/dist/components/composite/Form/useFormRootState.d.ts +1 -1
  8. package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +1 -1
  9. package/dist/components/core/Disclosure/Disclosure.d.ts +4 -4
  10. package/dist/components/core/Disclosure/disclosureAPI.d.ts +8 -0
  11. package/dist/components/core/Disclosure/disclosureParts.d.ts +11 -1
  12. package/dist/components/core/Disclosure/disclosureStyles.d.ts +7 -0
  13. package/dist/components/core/Disclosure/disclosureTypes.d.ts +13 -7
  14. package/dist/components/core/Disclosure/index.d.ts +7 -4
  15. package/dist/components/core/Disclosure/useDisclosureRootState.d.ts +1 -1
  16. package/dist/components/core/Dropdown/dropdownTypes.d.ts +4 -4
  17. package/dist/components/core/Field/Field.d.ts +1 -1
  18. package/dist/components/core/Field/fieldContext.d.ts +4 -4
  19. package/dist/components/core/Field/fieldParts.d.ts +7 -4
  20. package/dist/components/core/Field/fieldStyles.d.ts +31 -8
  21. package/dist/components/core/Field/fieldTypes.d.ts +12 -1
  22. package/dist/components/core/Field/index.d.ts +3 -3
  23. package/dist/components/core/Label/Label.d.ts +1 -1
  24. package/dist/components/core/Label/labelParts.d.ts +1 -1
  25. package/dist/components/core/Label/labelTypes.d.ts +4 -0
  26. package/dist/components/core/Link/Link.d.ts +1 -1
  27. package/dist/components/core/Link/index.d.ts +1 -1
  28. package/dist/components/core/Link/linkTypes.d.ts +5 -7
  29. package/dist/components/core/Table/tableTypes.d.ts +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.ts +4 -4
  32. package/dist/index.js +9255 -9010
  33. package/dist/ui.css +29 -11
  34. package/package.json +1 -1
@@ -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 = {
@@ -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;