@gentleduck/registry-ui 0.2.9 → 0.2.11

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.
@@ -2,22 +2,22 @@ $ bun test
2
2
  bun test v1.3.5 (1e86cebd)
3
3
 
4
4
  ::group::src/chart/__test__/chart.test.tsx:
5
- (pass) registry-ui chart > ChartContainer server render does not emit invalid size warnings [26.00ms]
5
+ (pass) registry-ui chart > ChartContainer server render does not emit invalid size warnings [25.00ms]
6
6
 
7
7
  ::endgroup::
8
8
 
9
9
  ::group::src/button/__test__/button.test.tsx:
10
- (pass) registry-ui button > buttonVariants returns the shared base styles and defaults
10
+ (pass) registry-ui button > buttonVariants returns the shared base styles and defaults [1.00ms]
11
11
  (pass) registry-ui button > buttonVariants applies explicit variant and size overrides
12
- (pass) registry-ui button > button exports keep stable display names [1.00ms]
13
- (pass) registry-ui button > Button renders loading state as a busy disabled native button [2.00ms]
12
+ (pass) registry-ui button > button exports keep stable display names
13
+ (pass) registry-ui button > Button renders loading state as a busy disabled native button [3.00ms]
14
14
  (pass) registry-ui button > Button preserves explicit disabled state even when loading is false
15
15
  (pass) registry-ui button > Button collapses into icon-only mode and hides secondary content [1.00ms]
16
- (pass) registry-ui button > AnimationIcon renders left and right placements around children [1.00ms]
16
+ (pass) registry-ui button > AnimationIcon renders left and right placements around children
17
17
 
18
18
  ::endgroup::
19
19
 
20
20
  8 pass
21
21
  0 fail
22
22
  25 expect() calls
23
- Ran 8 tests across 2 files. [390.00ms]
23
+ Ran 8 tests across 2 files. [368.00ms]
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @gentleduck/registry-ui
2
2
 
3
+ ## 0.2.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 3b33efe: Remove select-none from accordion content so users can select and copy text inside accordion panels.
8
+
9
+ ## 0.2.10
10
+
11
+ ### Patch Changes
12
+
13
+ - 74f5628: Remove whitespace-nowrap from accordion trigger to allow text wrapping on smaller screens.
14
+
3
15
  ## 0.2.9
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "test": "bun test"
57
57
  },
58
58
  "type": "module",
59
- "version": "0.2.9"
59
+ "version": "0.2.11"
60
60
  }
@@ -204,7 +204,7 @@ const AccordionTrigger = React.forwardRef<
204
204
  return (
205
205
  <summary
206
206
  className={cn(
207
- 'flex flex-1 cursor-pointer select-none items-center justify-between whitespace-nowrap py-4 font-medium text-base ring-offset-background transition-all hover:underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
207
+ 'flex flex-1 cursor-pointer items-center justify-between py-4 font-medium text-base ring-offset-background transition-all hover:underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
208
208
  className,
209
209
  )}
210
210
  ref={ref as React.Ref<HTMLElement>}
@@ -229,7 +229,7 @@ const AccordionContent = React.forwardRef<HTMLDivElement, React.HTMLProps<HTMLDi
229
229
  return (
230
230
  <div
231
231
  className={cn(
232
- 'select-none overflow-hidden pt-0 pb-4 text-base',
232
+ 'overflow-hidden pt-0 pb-4 text-base',
233
233
  'transition-all transition-discrete duration-[200ms,150ms] ease-(--duck-motion-ease)',
234
234
  className,
235
235
  )}