bitboss-ui 3.0.0-beta.4 → 3.0.0-beta.8

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 (42) hide show
  1. package/README.md +36 -29
  2. package/dist/ai/BbBadge.md +10 -5
  3. package/dist/ai/BbSelect.md +8 -0
  4. package/dist/ai/BbTable.md +257 -51
  5. package/dist/ai/changelog.json +86 -2
  6. package/dist/ai/components.json +25 -15
  7. package/dist/ai/guides/design-language.md +14 -14
  8. package/dist/ai/guides/design-tokens.md +25 -18
  9. package/dist/ai/guides/installation-and-plugin-setup.md +1 -1
  10. package/dist/ai/guides/migration/components/bb-dialog.md +35 -29
  11. package/dist/ai/guides/migration/components/bb-table.md +406 -28
  12. package/dist/ai/guides/migration/v2-to-v3.md +175 -75
  13. package/dist/ai/index.md +1 -1
  14. package/dist/ai/recipes/inertia/layout-scaffold.md +5 -1
  15. package/dist/ai/recipes/inertia/ownership-atlas.md +41 -20
  16. package/dist/ai/recipes/inertia/records-workspace.md +26 -7
  17. package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -1
  18. package/dist/ai/recipes/nuxt/records-workspace.md +26 -7
  19. package/dist/ai/recipes/vue/layout-scaffold.md +5 -1
  20. package/dist/ai/recipes/vue/records-workspace.md +26 -7
  21. package/dist/ai/source/BbBaseInputContainer.md +26 -0
  22. package/dist/ai/source/BbBreadcrumbs.md +31 -0
  23. package/dist/ai/source/BbDialog.md +15 -9
  24. package/dist/ai/source/BbOffCanvas.md +17 -11
  25. package/dist/ai/source/BbProgress.md +2 -2
  26. package/dist/ai/source/BbTable.md +837 -787
  27. package/dist/ai/source/CommonInputWrapper.md +4 -0
  28. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  29. package/dist/components/BbTable/BbTable.vue.d.ts +5 -2
  30. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +439 -484
  31. package/dist/components/BbTable/types.d.ts +83 -21
  32. package/dist/components/BbTable/utils.d.ts +18 -3
  33. package/dist/components/BbTable/utils.js +36 -28
  34. package/dist/index.d.ts +5 -1
  35. package/dist/index.js +68 -67
  36. package/dist/llms-full.txt +1065 -265
  37. package/dist/llms-medium.txt +15 -15
  38. package/dist/llms.txt +1 -1
  39. package/dist/styles.css +1 -1
  40. package/llms.txt +1 -1
  41. package/package.json +1 -1
  42. package/dist/assets/svgs/sort.svg_raw.js +0 -4
@@ -298,6 +298,10 @@ export type CommonInputWrapperSlots = {
298
298
  .common-input-wrapper {
299
299
  align-items: center;
300
300
  display: inline-flex;
301
+ /* Grid/flex item: without this its automatic minimum is the trigger's
302
+ min-content, which for a select is the whole nowrap placeholder string.
303
+ See the note on `.bb-base-input-container`. */
304
+ min-width: 0;
301
305
 
302
306
  &--active > .common-input-wrapper__inner {
303
307
  border-color: var(--bb-primary);
@@ -18,9 +18,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
18
18
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
19
19
  }>, {
20
20
  queryKey: string;
21
- align: "left" | "right" | "center";
22
21
  ellipsis: string;
23
22
  maxSize: number | string;
23
+ align: "left" | "right" | "center";
24
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
1
  import { Classes } from '../../types/Classes';
2
2
  import { ColumnName } from '../../types/ColumnName';
3
- import { BbTableColumn, BbTableEvents, BbTableProps, BbTableSortEntry, ExpandControllerProps, ItemKey } from './types';
3
+ import { BbTableColumn, BbTableEvents, BbTableHeaderAffixSlotProps, BbTableProps, BbTableSortEntry, ExpandControllerProps, ItemKey } from './types';
4
4
  declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<(Omit<BbTableProps<Item>, "columns"> & {
6
6
  /**
@@ -41,6 +41,8 @@ declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {}>(
41
41
  'header:actions'?: (props: {
42
42
  text: string;
43
43
  }) => any;
44
+ 'header:prepend'?: ((props: BbTableHeaderAffixSlotProps<Item>) => any) | undefined;
45
+ 'header:append'?: ((props: BbTableHeaderAffixSlotProps<Item>) => any) | undefined;
44
46
  loading?: ((props: {
45
47
  items: Item[];
46
48
  }) => any) | undefined;
@@ -78,6 +80,7 @@ declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {}>(
78
80
  }) => any) | undefined;
79
81
  } & Record<string, (props: {
80
82
  classes?: Classes[];
83
+ columnKey?: string;
81
84
  content?: any;
82
85
  expanded?: boolean;
83
86
  expandProps?: ExpandControllerProps;
@@ -114,7 +117,7 @@ declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {}>(
114
117
  sortable?: boolean;
115
118
  sortOrder?: "asc" | "desc" | null;
116
119
  toggleSort?: () => void;
117
- }) => any>>;
120
+ }) => any>> & Partial<Record<`header:${ColumnName<T>}:prepend` | `header:${ColumnName<T>}:append`, (props: BbTableHeaderAffixSlotProps<Item>) => any>>;
118
121
  emit: BbTableEvents & (((evt: "update:highlighted", value: any) => void) & ((evt: "update:selectAll", value: boolean) => void) & ((evt: "update:sort", value: BbTableSortEntry[]) => void) & ((evt: "update:expandedItems", value: any[]) => void));
119
122
  }>) => import('vue').VNode & {
120
123
  __ctx?: Awaited<typeof __VLS_setup>;