playbook-ui 14.14.0 → 14.15.0-alpha.play1910emptystatekitreactbeta6579

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 (30) hide show
  1. package/dist/.vite/manifest.json +30 -30
  2. package/dist/chunks/_typeahead-D2Wtk1Vx.js +36 -0
  3. package/dist/chunks/_weekday_stacked-toeDpRDd.js +45 -0
  4. package/dist/chunks/lazysizes-B7xYodB-.js +1 -0
  5. package/dist/chunks/{lib-D3us1bGD.js → lib-5OzNgeeu.js} +2 -2
  6. package/dist/chunks/{pb_form_validation-BpihMSOQ.js → pb_form_validation-DGhKbZtO.js} +1 -1
  7. package/dist/chunks/vendor.js +1 -1
  8. package/dist/pb_advanced_table/Components/CustomCell.d.ts +14 -0
  9. package/dist/pb_advanced_table/Context/AdvancedTableContext.d.ts +7 -0
  10. package/dist/pb_advanced_table/Hooks/useTableActions.d.ts +15 -0
  11. package/dist/pb_advanced_table/Hooks/useTableState.d.ts +31 -0
  12. package/dist/pb_advanced_table/Utilities/CellRendererUtils.d.ts +18 -0
  13. package/dist/pb_advanced_table/Utilities/ExpansionControlHelpers.d.ts +3 -0
  14. package/dist/pb_advanced_table/Utilities/RowUtils.d.ts +18 -0
  15. package/dist/pb_advanced_table/Utilities/TableContainerStyles.d.ts +17 -0
  16. package/dist/pb_checkbox/_checkbox.d.ts +515 -0
  17. package/dist/pb_date_picker/index.d.ts +6 -0
  18. package/dist/pb_draggable/_draggable.d.ts +2 -2
  19. package/dist/pb_dropdown/utilities/subComponentHelper.d.ts +1 -1
  20. package/dist/pb_typeahead/index.d.ts +3 -0
  21. package/dist/playbook-doc.js +1 -1
  22. package/dist/playbook-rails-react-bindings.js +1 -1
  23. package/dist/playbook-rails.js +1 -1
  24. package/dist/playbook.css +1 -1
  25. package/dist/playbook.js +1 -1
  26. package/dist/utilities/object.d.ts +5 -1
  27. package/package.json +4 -2
  28. package/dist/chunks/_typeahead-PqkcDf1H.js +0 -36
  29. package/dist/chunks/_weekday_stacked-B_pw5Znc.js +0 -45
  30. package/dist/chunks/lazysizes-DHz07jlL.js +0 -1
@@ -0,0 +1,6 @@
1
+ import PbEnhancedElement from "../pb_enhanced_element";
2
+ export default class PbDatePicker extends PbEnhancedElement {
3
+ static get selector(): string;
4
+ connect(): void;
5
+ setValidationMessage(): void;
6
+ }
@@ -29,7 +29,7 @@ declare const Draggable: {
29
29
  [key: string]: string | number | boolean | (() => void);
30
30
  };
31
31
  id?: string;
32
- tag?: "p" | "div" | "col" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "tbody" | "td" | "th" | "thead" | "tr";
32
+ tag?: "p" | "col" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "tbody" | "td" | "th" | "thead" | "tr";
33
33
  }) => JSX.Element;
34
34
  Item: (props: {
35
35
  aria?: {
@@ -46,7 +46,7 @@ declare const Draggable: {
46
46
  };
47
47
  id?: string;
48
48
  dragId?: string;
49
- tag?: "p" | "div" | "col" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "tbody" | "td" | "th" | "thead" | "tr";
49
+ tag?: "p" | "col" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "tbody" | "td" | "th" | "thead" | "tr";
50
50
  }) => JSX.Element;
51
51
  };
52
52
  export default Draggable;
@@ -13,5 +13,5 @@ export declare const separateChildComponents: (children: React.ReactChild[] | Re
13
13
  container: React.ReactChild;
14
14
  otherChildren: React.ReactChild[];
15
15
  };
16
- export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, dark }: PrepareComponentsProps) => (string | number | JSX.Element | React.ReactChild[])[];
16
+ export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, dark }: PrepareComponentsProps) => (string | number | React.ReactChild[] | JSX.Element)[];
17
17
  export {};
@@ -10,6 +10,9 @@ export default class PbTypeahead extends PbEnhancedElement {
10
10
  _validSelection: boolean;
11
11
  static get selector(): string;
12
12
  connect(): void;
13
+ get optionsByContext(): any;
14
+ get searchContextElement(): Element;
15
+ get clearOnContextChange(): boolean;
13
16
  handleKeydown(event: KeyboardEvent): void;
14
17
  search(): void;
15
18
  resultsCacheUpdate(searchTerm: string, searchContext: string, results: Array<DocumentFragment>): void;