@telegraph/select 0.0.83 → 0.0.85

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @telegraph/select
2
2
 
3
+ ## 0.0.85
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`16e678c`](https://github.com/knocklabs/telegraph/commit/16e678c5e8bc7f13613116954bc15099a8694bb7)]:
8
+ - @telegraph/combobox@0.2.2
9
+
10
+ ## 0.0.84
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`4ab1d02`](https://github.com/knocklabs/telegraph/commit/4ab1d02cf51db16024e7098d4c9f9b963b8fac37)]:
15
+ - @telegraph/combobox@0.2.1
16
+
3
17
  ## 0.0.83
4
18
 
5
19
  ### Patch Changes
package/README.md CHANGED
@@ -79,12 +79,12 @@ The main select container component.
79
79
  | --------------- | ------------------------------------- | ------------- | --------------------------------------- |
80
80
  | `value` | `string \| string[]` | `undefined` | Selected value(s) |
81
81
  | `onValueChange` | `(value: string \| string[]) => void` | `undefined` | Called when selection changes |
82
- | `size` | `"0" \| "1" \| "2" \| "3" \| "4"` | `"1"` | Size of the trigger button |
83
- | `placeholder` | `string` | `"Select..."` | Placeholder text when no value selected |
82
+ | `size` | `"0" \| "1" \| "2" \| "3"` | `"1"` | Size of the trigger button |
83
+ | `placeholder` | `string` | `undefined` | Placeholder text when no value selected |
84
84
  | `disabled` | `boolean` | `false` | Whether the select is disabled |
85
- | `triggerProps` | `ComboboxTriggerProps` | `{}` | Props passed to the trigger button |
86
- | `contentProps` | `ComboboxContentProps` | `{}` | Props passed to the dropdown content |
87
- | `optionsProps` | `ComboboxOptionsProps` | `{}` | Props passed to the options container |
85
+ | `triggerProps` | `ComboboxTriggerProps` | `undefined` | Props passed to the trigger button |
86
+ | `contentProps` | `ComboboxContentProps` | `undefined` | Props passed to the dropdown content |
87
+ | `optionsProps` | `ComboboxOptionsProps` | `undefined` | Props passed to the options container |
88
88
 
89
89
  ### `<Select.Option>`
90
90
 
@@ -384,11 +384,11 @@ export const ConditionalSelect = ({ userRole, permissions }) => {
384
384
 
385
385
  ```tsx
386
386
  import { Select } from "@telegraph/select";
387
- import { Skeleton } from "@telegraph/skeleton";
387
+ import { Box } from "@telegraph/layout";
388
388
 
389
389
  export const SelectWithLoading = ({ loading, options, ...props }) => {
390
390
  if (loading) {
391
- return <Skeleton width="200px" height="32px" />;
391
+ return <Box w="80" h="8" bg="gray-3" rounded="2" />;
392
392
  }
393
393
 
394
394
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telegraph/select",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "description": "A simple select component built on top of @telegraph/combobox",
5
5
  "repository": "https://github.com/knocklabs/telegraph/tree/main/packages/select",
6
6
  "author": "@knocklabs",
@@ -30,7 +30,7 @@
30
30
  "preview": "vite preview"
31
31
  },
32
32
  "dependencies": {
33
- "@telegraph/combobox": "0.2.0",
33
+ "@telegraph/combobox": "0.2.2",
34
34
  "@telegraph/helpers": "0.0.15"
35
35
  },
36
36
  "devDependencies": {
@@ -40,7 +40,7 @@
40
40
  "@telegraph/prettier-config": "^0.0.7",
41
41
  "@telegraph/vite-config": "^0.0.15",
42
42
  "@types/react": "^19.2.9",
43
- "eslint": "^8.56.0",
43
+ "eslint": "^10.0.2",
44
44
  "react": "^19.2.4",
45
45
  "react-dom": "^19.2.4",
46
46
  "typescript": "^5.9.3",