@ark-ui/react 0.8.0 → 0.8.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 +0 -1
  3. package/accordion/index.mjs +0 -1
  4. package/avatar/index.cjs +0 -1
  5. package/avatar/index.mjs +0 -1
  6. package/carousel/index.cjs +0 -1
  7. package/carousel/index.mjs +0 -1
  8. package/checkbox/index.cjs +0 -1
  9. package/checkbox/index.mjs +0 -1
  10. package/color-picker/index.cjs +0 -1
  11. package/color-picker/index.mjs +0 -1
  12. package/combobox/index.cjs +0 -1
  13. package/combobox/index.mjs +0 -1
  14. package/date-picker/index.cjs +0 -1
  15. package/date-picker/index.mjs +0 -1
  16. package/dialog/index.cjs +0 -1
  17. package/dialog/index.mjs +0 -1
  18. package/editable/index.cjs +0 -1
  19. package/editable/index.mjs +0 -1
  20. package/environment/index.cjs +0 -1
  21. package/environment/index.mjs +0 -1
  22. package/hover-card/index.cjs +0 -1
  23. package/hover-card/index.mjs +0 -1
  24. package/index.cjs +0 -1
  25. package/index.mjs +0 -1
  26. package/menu/index.cjs +0 -1
  27. package/menu/index.mjs +0 -1
  28. package/number-input/index.cjs +0 -1
  29. package/number-input/index.mjs +0 -1
  30. package/package.json +1 -1
  31. package/pagination/index.cjs +0 -1
  32. package/pagination/index.mjs +0 -1
  33. package/pin-input/index.cjs +0 -1
  34. package/pin-input/index.mjs +0 -1
  35. package/popover/index.cjs +0 -1
  36. package/popover/index.mjs +0 -1
  37. package/presence/index.cjs +0 -1
  38. package/presence/index.mjs +0 -1
  39. package/pressable/index.cjs +0 -1
  40. package/pressable/index.mjs +0 -1
  41. package/radio-group/index.cjs +0 -1
  42. package/radio-group/index.mjs +0 -1
  43. package/range-slider/index.cjs +0 -1
  44. package/range-slider/index.mjs +0 -1
  45. package/rating-group/index.cjs +0 -1
  46. package/rating-group/index.mjs +0 -1
  47. package/segment-group/index.cjs +0 -1
  48. package/segment-group/index.mjs +0 -1
  49. package/select/index.cjs +0 -1
  50. package/select/index.mjs +0 -1
  51. package/slider/index.cjs +0 -1
  52. package/slider/index.mjs +0 -1
  53. package/splitter/index.cjs +0 -1
  54. package/splitter/index.mjs +0 -1
  55. package/switch/index.cjs +0 -1
  56. package/switch/index.mjs +0 -1
  57. package/tabs/index.cjs +0 -1
  58. package/tabs/index.mjs +0 -1
  59. package/tags-input/index.cjs +0 -1
  60. package/tags-input/index.mjs +0 -1
  61. package/toast/index.cjs +0 -1
  62. package/toast/index.mjs +0 -1
  63. package/tooltip/index.cjs +0 -1
  64. package/tooltip/index.mjs +0 -1
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.8.1] - 2023-07-19
10
+
11
+ ### Fixed
12
+
13
+ - Resolved an issue that NextJS would throw a false error because of `use client` annotation.
14
+
9
15
  ## [0.8.0] - 2023-07-19
10
16
 
11
17
  ### Added
@@ -117,7 +123,7 @@ description: All notable changes to this project will be documented in this file
117
123
  - Add `Toast`
118
124
  - Add `Tooltip`
119
125
 
120
- [unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.8.0...HEAD
126
+ [unreleased]: https://github.com/chakra-ui/ark/compare/@ark-ui/react@0.8.1...HEAD
121
127
  [0.1.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.1.0
122
128
  [0.2.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.2.0
123
129
  [0.3.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.3.0
@@ -128,5 +134,6 @@ description: All notable changes to this project will be documented in this file
128
134
  [0.7.1]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.7.1
129
135
  [0.7.2]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.7.2
130
136
  [0.7.3]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.7.3
131
-
132
137
  [0.8.0]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.8.0
138
+
139
+ [0.8.1]: https://github.com/chakra-ui/ark/releases/tag/@ark-ui/react@0.8.1
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Accordion } from './accordion.mjs';
3
2
  export { AccordionContent } from './accordion-content.mjs';
4
3
  export { useAccordionContext } from './accordion-context.mjs';
package/avatar/index.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/avatar/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Avatar } from './avatar.mjs';
3
2
  export { useAvatarContext } from './avatar-context.mjs';
4
3
  export { AvatarFallback } from './avatar-fallback.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Carousel } from './carousel.mjs';
3
2
  export { useCarouselContext } from './carousel-context.mjs';
4
3
  export { CarouselControl } from './carousel-control.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Checkbox } from './checkbox.mjs';
3
2
  export { useCheckboxContext } from './checkbox-context.mjs';
4
3
  export { CheckboxControl } from './checkbox-control.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { ColorPicker } from './color-picker.mjs';
3
2
  export { ColorPickerArea } from './color-picker-area.mjs';
4
3
  export { useColorPickerAreaContext } from './color-picker-area-context.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Combobox } from './combobox.mjs';
3
2
  export { ComboboxContent } from './combobox-content.mjs';
4
3
  export { useComboboxContext } from './combobox-context.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { DatePicker } from './date-picker.mjs';
3
2
  export { useDatePickerCellContext } from './date-picker-cell-context.mjs';
4
3
  export { DatePickerClearTrigger } from './date-picker-clear-trigger.mjs';
package/dialog/index.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/dialog/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Dialog } from './dialog.mjs';
3
2
  export { DialogBackdrop } from './dialog-backdrop.mjs';
4
3
  export { DialogCloseTrigger } from './dialog-close-trigger.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Editable } from './editable.mjs';
3
2
  export { EditableArea } from './editable-area.mjs';
4
3
  export { EditableCancelTrigger } from './editable-cancel-trigger.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,2 @@
1
- 'use client';
2
1
  export { Environment } from './environment.mjs';
3
2
  export { useEnvironmentContext } from './environment-context.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { HoverCard } from './hover-card.mjs';
3
2
  export { HoverCardArrow } from './hover-card-arrow.mjs';
4
3
  export { HoverCardArrowTip } from './hover-card-arrow-tip.mjs';
package/index.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/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { createAnatomy } from '@zag-js/anatomy';
3
2
  export { Portal } from '@zag-js/react';
4
3
  export { Accordion } from './accordion/accordion.mjs';
package/menu/index.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/menu/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Menu } from './menu.mjs';
3
2
  export { MenuArrow } from './menu-arrow.mjs';
4
3
  export { MenuArrowTip } from './menu-arrow-tip.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { NumberInput } from './number-input.mjs';
3
2
  export { useNumberInputContext } from './number-input-context.mjs';
4
3
  export { 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.8.0",
3
+ "version": "0.8.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,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Pagination } from './pagination.mjs';
3
2
  export { usePaginationContext } from './pagination-context.mjs';
4
3
  export { PaginationEllipsis } from './pagination-ellipsis.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { PinInput } from './pin-input.mjs';
3
2
  export { usePinInputContext } from './pin-input-context.mjs';
4
3
  export { PinInputControl } from './pin-input-control.mjs';
package/popover/index.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/popover/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Popover } from './popover.mjs';
3
2
  export { PopoverAnchor } from './popover-anchor.mjs';
4
3
  export { PopoverArrow } from './popover-arrow.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,2 +1 @@
1
- 'use client';
2
1
  export { Presence } from './presence.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,3 +1,2 @@
1
- 'use client';
2
1
  export { Pressable } from './pressable.mjs';
3
2
  export { usePressable } from './use-pressable.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Radio } from './radio.mjs';
3
2
  export { useRadioContext } from './radio-context.mjs';
4
3
  export { RadioControl } from './radio-control.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { RangeSlider } from './range-slider.mjs';
3
2
  export { useRangeSliderContext } from './range-slider-context.mjs';
4
3
  export { RangeSliderControl } from './range-slider-control.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Rating } from './rating.mjs';
3
2
  export { useRatingContext } from './rating-context.mjs';
4
3
  export { RatingGroup } from './rating-group.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Segment } from './segment.mjs';
3
2
  export { useSegmentContext } from './segment-context.mjs';
4
3
  export { SegmentControl } from './segment-control.mjs';
package/select/index.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/select/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Select } from './select.mjs';
3
2
  export { SelectContent } from './select-content.mjs';
4
3
  export { useSelectContext } from './select-context.mjs';
package/slider/index.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/slider/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Slider } from './slider.mjs';
3
2
  export { useSliderContext } from './slider-context.mjs';
4
3
  export { SliderControl } from './slider-control.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Splitter } from './splitter.mjs';
3
2
  export { useSplitterContext } from './splitter-context.mjs';
4
3
  export { SplitterPanel } from './splitter-panel.mjs';
package/switch/index.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/switch/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Switch } from './switch.mjs';
3
2
  export { useSwitchContext } from './switch-context.mjs';
4
3
  export { SwitchControl } from './switch-control.mjs';
package/tabs/index.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/tabs/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { TabContent } from './tab-content.mjs';
3
2
  export { TabIndicator } from './tab-indicator.mjs';
4
3
  export { TabList } from './tab-list.mjs';
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Tag } from './tag.mjs';
3
2
  export { TagDeleteTrigger } from './tag-delete-trigger.mjs';
4
3
  export { TagInput } from './tag-input.mjs';
package/toast/index.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/toast/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Toast } from './toast.mjs';
3
2
  export { ToastCloseTrigger } from './toast-close-trigger.mjs';
4
3
  export { ToastDescription } from './toast-description.mjs';
package/tooltip/index.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/tooltip/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  export { Tooltip } from './tooltip.mjs';
3
2
  export { TooltipArrow } from './tooltip-arrow.mjs';
4
3
  export { TooltipArrowTip } from './tooltip-arrow-tip.mjs';