@ark-ui/react 0.13.0 → 0.13.1

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 (64) hide show
  1. package/CHANGELOG.md +9 -2
  2. package/accordion/index.cjs +1 -0
  3. package/accordion/index.mjs +1 -0
  4. package/avatar/index.cjs +1 -0
  5. package/avatar/index.mjs +1 -0
  6. package/carousel/index.cjs +1 -0
  7. package/carousel/index.mjs +1 -0
  8. package/checkbox/index.cjs +1 -0
  9. package/checkbox/index.mjs +1 -0
  10. package/color-picker/index.cjs +1 -0
  11. package/color-picker/index.mjs +1 -0
  12. package/combobox/index.cjs +1 -0
  13. package/combobox/index.mjs +1 -0
  14. package/date-picker/index.cjs +1 -0
  15. package/date-picker/index.mjs +1 -0
  16. package/dialog/index.cjs +1 -0
  17. package/dialog/index.mjs +1 -0
  18. package/editable/index.cjs +1 -0
  19. package/editable/index.mjs +1 -0
  20. package/environment/index.cjs +1 -0
  21. package/environment/index.mjs +1 -0
  22. package/factory.cjs +0 -1
  23. package/factory.mjs +0 -1
  24. package/hover-card/index.cjs +1 -0
  25. package/hover-card/index.mjs +1 -0
  26. package/menu/index.cjs +1 -0
  27. package/menu/index.mjs +1 -0
  28. package/number-input/index.cjs +1 -0
  29. package/number-input/index.mjs +1 -0
  30. package/package.json +1 -1
  31. package/pagination/index.cjs +1 -0
  32. package/pagination/index.mjs +1 -0
  33. package/pin-input/index.cjs +1 -0
  34. package/pin-input/index.mjs +1 -0
  35. package/popover/index.cjs +1 -0
  36. package/popover/index.mjs +1 -0
  37. package/presence/index.cjs +1 -0
  38. package/presence/index.mjs +1 -0
  39. package/pressable/index.cjs +1 -0
  40. package/pressable/index.mjs +1 -0
  41. package/radio-group/index.cjs +1 -0
  42. package/radio-group/index.mjs +1 -0
  43. package/range-slider/index.cjs +1 -0
  44. package/range-slider/index.mjs +1 -0
  45. package/rating-group/index.cjs +1 -0
  46. package/rating-group/index.mjs +1 -0
  47. package/segment-group/index.cjs +1 -0
  48. package/segment-group/index.mjs +1 -0
  49. package/select/index.cjs +1 -0
  50. package/select/index.mjs +1 -0
  51. package/slider/index.cjs +1 -0
  52. package/slider/index.mjs +1 -0
  53. package/splitter/index.cjs +1 -0
  54. package/splitter/index.mjs +1 -0
  55. package/switch/index.cjs +1 -0
  56. package/switch/index.mjs +1 -0
  57. package/tabs/index.cjs +1 -0
  58. package/tabs/index.mjs +1 -0
  59. package/tags-input/index.cjs +1 -0
  60. package/tags-input/index.mjs +1 -0
  61. package/toast/index.cjs +1 -0
  62. package/toast/index.mjs +1 -0
  63. package/tooltip/index.cjs +1 -0
  64. package/tooltip/index.mjs +1 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ description: All notable changes to this project will be documented in this file
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.13.1] - 2023-08-13
10
+
11
+ ### Changed
12
+
13
+ - Removed `'use client'` annotation from `factory` function.
14
+
9
15
  ## [0.13.0] - 2023-08-13
10
16
 
11
17
  ### Changed
@@ -185,7 +191,7 @@ description: All notable changes to this project will be documented in this file
185
191
  - Add `Toast`
186
192
  - Add `Tooltip`
187
193
 
188
- [unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.13.0...HEAD
194
+ [unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.13.1...HEAD
189
195
  [0.1.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.1.0
190
196
  [0.2.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.2.0
191
197
  [0.3.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.3.0
@@ -210,5 +216,6 @@ description: All notable changes to this project will be documented in this file
210
216
  ```
211
217
 
212
218
  [0.12.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.12.0
213
-
214
219
  [0.13.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.13.0
220
+
221
+ [0.13.1]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.13.1
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Accordion as Accordion$1 } from './accordion.mjs';
2
3
  import { AccordionContent } from './accordion-content.mjs';
3
4
  export { useAccordionContext } from './accordion-context.mjs';
package/avatar/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/avatar/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Avatar as Avatar$1 } from './avatar.mjs';
2
3
  export { useAvatarContext } from './avatar-context.mjs';
3
4
  import { AvatarFallback } from './avatar-fallback.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Carousel as Carousel$1 } from './carousel.mjs';
2
3
  export { useCarouselContext } from './carousel-context.mjs';
3
4
  import { CarouselControl } from './carousel-control.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Checkbox as Checkbox$1 } from './checkbox.mjs';
2
3
  export { useCheckboxContext } from './checkbox-context.mjs';
3
4
  import { CheckboxControl } from './checkbox-control.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { ColorPicker as ColorPicker$1 } from './color-picker.mjs';
2
3
  import { ColorPickerArea } from './color-picker-area.mjs';
3
4
  export { useColorPickerAreaContext } from './color-picker-area-context.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Combobox as Combobox$1 } from './combobox.mjs';
2
3
  import { ComboboxClearTrigger } from './combobox-clear-trigger.mjs';
3
4
  import { ComboboxContent } from './combobox-content.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { DatePicker as DatePicker$1 } from './date-picker.mjs';
2
3
  export { useDatePickerCellContext } from './date-picker-cell-context.mjs';
3
4
  import { DatePickerClearTrigger } from './date-picker-clear-trigger.mjs';
package/dialog/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/dialog/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Dialog as Dialog$1 } from './dialog.mjs';
2
3
  import { DialogBackdrop } from './dialog-backdrop.mjs';
3
4
  import { DialogCloseTrigger } from './dialog-close-trigger.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Editable as Editable$1 } from './editable.mjs';
2
3
  import { EditableArea } from './editable-area.mjs';
3
4
  import { EditableCancelTrigger } from './editable-cancel-trigger.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Environment as Environment$1 } from './environment.mjs';
2
3
  export { useEnvironmentContext } from './environment-context.mjs';
3
4
 
package/factory.cjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/factory.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  import { jsx } from 'react/jsx-runtime';
3
2
  import { mergeProps } from '@zag-js/react';
4
3
  import { forwardRef, Children, isValidElement, cloneElement } from 'react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { HoverCard as HoverCard$1 } from './hover-card.mjs';
2
3
  import { HoverCardArrow } from './hover-card-arrow.mjs';
3
4
  import { HoverCardArrowTip } from './hover-card-arrow-tip.mjs';
package/menu/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/menu/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Menu as Menu$1 } from './menu.mjs';
2
3
  import { MenuArrow } from './menu-arrow.mjs';
3
4
  import { MenuArrowTip } from './menu-arrow-tip.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { NumberInput as NumberInput$1 } from './number-input.mjs';
2
3
  export { useNumberInputContext } from './number-input-context.mjs';
3
4
  import { NumberInputControl } from './number-input-control.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ark-ui/react",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
5
5
  "keywords": [
6
6
  "accordion",
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Pagination as Pagination$1 } from './pagination.mjs';
2
3
  export { usePaginationContext } from './pagination-context.mjs';
3
4
  import { PaginationEllipsis } from './pagination-ellipsis.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { PinInput as PinInput$1 } from './pin-input.mjs';
2
3
  export { usePinInputContext } from './pin-input-context.mjs';
3
4
  import { PinInputControl } from './pin-input-control.mjs';
package/popover/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/popover/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Popover as Popover$1 } from './popover.mjs';
2
3
  import { PopoverAnchor } from './popover-anchor.mjs';
3
4
  import { PopoverArrow } from './popover-arrow.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Presence as Presence$1 } from './presence.mjs';
2
3
  export { splitPresenceProps } from './split-presence-props.mjs';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Pressable as Pressable$1 } from './pressable.mjs';
2
3
  export { usePressable } from './use-pressable.mjs';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Radio } from './radio.mjs';
2
3
  export { useRadioContext } from './radio-context.mjs';
3
4
  import { RadioControl } from './radio-control.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { RangeSlider as RangeSlider$1 } from './range-slider.mjs';
2
3
  export { useRangeSliderContext } from './range-slider-context.mjs';
3
4
  import { RangeSliderControl } from './range-slider-control.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Rating } from './rating.mjs';
2
3
  export { useRatingContext } from './rating-context.mjs';
3
4
  import { RatingGroup as RatingGroup$1 } from './rating-group.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Segment } from './segment.mjs';
2
3
  export { useSegmentContext } from './segment-context.mjs';
3
4
  import { SegmentControl } from './segment-control.mjs';
package/select/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/select/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Select as Select$1 } from './select.mjs';
2
3
  import { SelectContent } from './select-content.mjs';
3
4
  export { useSelectContext } from './select-context.mjs';
package/slider/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/slider/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Slider as Slider$1 } from './slider.mjs';
2
3
  export { useSliderContext } from './slider-context.mjs';
3
4
  import { SliderControl } from './slider-control.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Splitter as Splitter$1 } from './splitter.mjs';
2
3
  export { useSplitterContext } from './splitter-context.mjs';
3
4
  import { SplitterPanel } from './splitter-panel.mjs';
package/switch/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/switch/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Switch as Switch$1 } from './switch.mjs';
2
3
  export { useSwitchContext } from './switch-context.mjs';
3
4
  import { SwitchControl } from './switch-control.mjs';
package/tabs/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/tabs/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { TabContent } from './tab-content.mjs';
2
3
  import { TabIndicator } from './tab-indicator.mjs';
3
4
  import { TabList } from './tab-list.mjs';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Tag } from './tag.mjs';
2
3
  import { TagDeleteTrigger } from './tag-delete-trigger.mjs';
3
4
  import { TagInput } from './tag-input.mjs';
package/toast/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/toast/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Toast as Toast$1 } from './toast.mjs';
2
3
  import { ToastCloseTrigger } from './toast-close-trigger.mjs';
3
4
  import { ToastDescription } from './toast-description.mjs';
package/tooltip/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
package/tooltip/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Tooltip as Tooltip$1 } from './tooltip.mjs';
2
3
  import { TooltipArrow } from './tooltip-arrow.mjs';
3
4
  import { TooltipArrowTip } from './tooltip-arrow-tip.mjs';