@lotte-innovate/ui-component-test 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/README.md +163 -163
  2. package/dist/components/Accordion/index.jsx +13 -13
  3. package/dist/components/AlertDialog/AlertDialogAction.jsx +2 -2
  4. package/dist/components/AlertDialog/AlertDialogCancel.jsx +2 -2
  5. package/dist/components/AlertDialog/AlertDialogContent.jsx +5 -5
  6. package/dist/components/AlertDialog/AlertDialogDescription.jsx +2 -2
  7. package/dist/components/AlertDialog/AlertDialogTitle.jsx +2 -2
  8. package/dist/components/AlertDialog/AlertDialogTrigger.jsx +2 -2
  9. package/dist/components/AspectRatio/index.jsx +2 -2
  10. package/dist/components/Avatar/index.jsx +5 -5
  11. package/dist/components/Badge/index.jsx +2 -2
  12. package/dist/components/BubbleChart/index.d.ts +1 -1
  13. package/dist/components/Button/index.jsx +2 -2
  14. package/dist/components/Callout/CalloutIcon.jsx +6 -6
  15. package/dist/components/Callout/CalloutText.jsx +2 -2
  16. package/dist/components/Callout/index.jsx +4 -4
  17. package/dist/components/Card/index.jsx +2 -2
  18. package/dist/components/Checkbox/index.jsx +9 -9
  19. package/dist/components/CheckboxCard/index.jsx +3 -3
  20. package/dist/components/CheckboxGroup/CheckboxGroupItem.jsx +4 -4
  21. package/dist/components/CheckboxGroup/index.jsx +4 -4
  22. package/dist/components/ContextMenu/ContextMenuCheckboxItem.jsx +5 -5
  23. package/dist/components/ContextMenu/ContextMenuContent.jsx +4 -4
  24. package/dist/components/ContextMenu/ContextMenuGroup.jsx +2 -2
  25. package/dist/components/ContextMenu/ContextMenuItem.jsx +3 -3
  26. package/dist/components/ContextMenu/ContextMenuItemIndicator.jsx +2 -2
  27. package/dist/components/ContextMenu/ContextMenuLabel.jsx +2 -2
  28. package/dist/components/ContextMenu/ContextMenuRadioGroup.jsx +4 -4
  29. package/dist/components/ContextMenu/ContextMenuRadioItem.jsx +5 -5
  30. package/dist/components/ContextMenu/ContextMenuSeparator.jsx +2 -2
  31. package/dist/components/ContextMenu/ContextMenuSubContent.jsx +4 -4
  32. package/dist/components/ContextMenu/ContextMenuSubTrigger.jsx +7 -7
  33. package/dist/components/ContextMenu/ContextMenuTrigger.jsx +2 -2
  34. package/dist/components/ContextMenu/index.jsx +2 -2
  35. package/dist/components/DataList/DataListItem.jsx +2 -2
  36. package/dist/components/DataList/DataListLabel.jsx +2 -2
  37. package/dist/components/DataList/DataListValue.jsx +2 -2
  38. package/dist/components/DataList/index.jsx +4 -4
  39. package/dist/components/Dialog/DialogAction.jsx +2 -2
  40. package/dist/components/Dialog/DialogCancel.jsx +2 -2
  41. package/dist/components/Dialog/DialogContent.jsx +2 -2
  42. package/dist/components/Dialog/DialogDescription.jsx +2 -2
  43. package/dist/components/Dialog/DialogSlot.jsx +2 -2
  44. package/dist/components/Dialog/DialogTitle.jsx +2 -2
  45. package/dist/components/Dialog/DialogTrigger.jsx +2 -2
  46. package/dist/components/Dialog/index.jsx +2 -2
  47. package/dist/components/DropdownMenu/DropdonMenuRadioGroup.jsx +4 -4
  48. package/dist/components/DropdownMenu/DropdonMenuSubContent.jsx +4 -4
  49. package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +5 -5
  50. package/dist/components/DropdownMenu/DropdownMenuContent.jsx +4 -4
  51. package/dist/components/DropdownMenu/DropdownMenuItem.jsx +3 -3
  52. package/dist/components/DropdownMenu/DropdownMenuItemIndicator.jsx +2 -2
  53. package/dist/components/DropdownMenu/DropdownMenuLable.jsx +2 -2
  54. package/dist/components/DropdownMenu/DropdownMenuRadioItem.jsx +5 -5
  55. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.jsx +5 -5
  56. package/dist/components/DropdownMenu/DropdownMenuTrigger.jsx +2 -2
  57. package/dist/components/HoverCard/HoverCardContent.jsx +2 -2
  58. package/dist/components/HoverCard/HoverCardTrigger.jsx +2 -2
  59. package/dist/components/HoverCard/index.jsx +2 -2
  60. package/dist/components/IconButton/index.jsx +2 -2
  61. package/dist/components/Input/Input.stories.jsx +6 -6
  62. package/dist/components/Inset/index.jsx +4 -4
  63. package/dist/components/Label/index.jsx +2 -2
  64. package/dist/components/Menubar/MenubarCheckboxItem.jsx +5 -5
  65. package/dist/components/Menubar/MenubarContent.jsx +4 -4
  66. package/dist/components/Menubar/MenubarItem.jsx +3 -3
  67. package/dist/components/Menubar/MenubarItemIndicator.jsx +2 -2
  68. package/dist/components/Menubar/MenubarRadioGroup.jsx +4 -4
  69. package/dist/components/Menubar/MenubarRadioItem.jsx +5 -5
  70. package/dist/components/Menubar/MenubarSeparator.jsx +2 -2
  71. package/dist/components/Menubar/MenubarSubContent.jsx +2 -2
  72. package/dist/components/Menubar/MenubarSubTrigger.jsx +5 -5
  73. package/dist/components/Menubar/MenubarTrigger.jsx +2 -2
  74. package/dist/components/Menubar/index.jsx +4 -4
  75. package/dist/components/NavigationMenu/NavigationMenuContent.jsx +2 -2
  76. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +3 -3
  77. package/dist/components/NavigationMenu/NavigationMenuItem.jsx +2 -2
  78. package/dist/components/NavigationMenu/NavigationMenuLink.jsx +2 -2
  79. package/dist/components/NavigationMenu/NavigationMenuList.jsx +3 -3
  80. package/dist/components/NavigationMenu/NavigationMenuTrigger.jsx +3 -3
  81. package/dist/components/NavigationMenu/NavigationMenuViewport.jsx +2 -2
  82. package/dist/components/NavigationMenu/index.jsx +4 -4
  83. package/dist/components/Popover/PopoverClose.jsx +2 -2
  84. package/dist/components/Popover/PopoverContent.jsx +2 -2
  85. package/dist/components/Popover/PopoverTrigger.jsx +2 -2
  86. package/dist/components/Popover/index.jsx +2 -2
  87. package/dist/components/Progress/index.d.ts +3 -3
  88. package/dist/components/Progress/index.jsx +2 -2
  89. package/dist/components/RadarChart/index.d.ts +1 -1
  90. package/dist/components/Radio/index.d.ts +1 -1
  91. package/dist/components/Radio/index.jsx +7 -7
  92. package/dist/components/RadioCards/RadioCardsItem.jsx +2 -2
  93. package/dist/components/RadioCards/index.d.ts +1 -1
  94. package/dist/components/RadioCards/index.jsx +4 -4
  95. package/dist/components/RadioGroup/RadioGroupItem.jsx +2 -2
  96. package/dist/components/RadioGroup/index.d.ts +1 -1
  97. package/dist/components/RadioGroup/index.jsx +4 -4
  98. package/dist/components/ScrollArea/index.jsx +4 -4
  99. package/dist/components/SegmentedControl/SegmentedControlItem.jsx +2 -2
  100. package/dist/components/SegmentedControl/index.d.ts +1 -1
  101. package/dist/components/SegmentedControl/index.jsx +4 -4
  102. package/dist/components/Select/index.d.ts +1 -1
  103. package/dist/components/Select/index.jsx +16 -16
  104. package/dist/components/Separator/index.d.ts +1 -1
  105. package/dist/components/Separator/index.jsx +4 -4
  106. package/dist/components/Skeleton/index.d.ts +1 -1
  107. package/dist/components/Skeleton/index.jsx +4 -4
  108. package/dist/components/Slider/index.d.ts +1 -1
  109. package/dist/components/Slider/index.jsx +2 -2
  110. package/dist/components/Spinner/index.d.ts +1 -1
  111. package/dist/components/Spinner/index.jsx +4 -4
  112. package/dist/components/TabNav/index.jsx +6 -6
  113. package/dist/components/Table/index.d.ts +2 -2
  114. package/dist/components/Table/index.jsx +16 -16
  115. package/dist/components/Tabs/index.d.ts +1 -1
  116. package/dist/components/Tabs/index.jsx +10 -10
  117. package/dist/components/TextArea/index.d.ts +3 -3
  118. package/dist/components/TextArea/index.jsx +2 -2
  119. package/dist/components/TextField/index.d.ts +1 -1
  120. package/dist/components/TextField/index.jsx +6 -6
  121. package/dist/components/Toast/ToastActionButton.d.ts +3 -3
  122. package/dist/components/Toast/ToastActionButton.jsx +2 -2
  123. package/dist/components/Toast/ToastDescription.d.ts +1 -1
  124. package/dist/components/Toast/ToastDescription.jsx +4 -4
  125. package/dist/components/Toast/ToastTitle.d.ts +1 -1
  126. package/dist/components/Toast/ToastTitle.jsx +2 -2
  127. package/dist/components/Toast/index.d.ts +3 -3
  128. package/dist/components/Toast/index.jsx +7 -7
  129. package/dist/components/Toggle/ToggleWithText.jsx +3 -3
  130. package/dist/components/Toggle/index.d.ts +3 -3
  131. package/dist/components/Toggle/index.jsx +2 -2
  132. package/dist/components/ToggleGroup/index.d.ts +1 -1
  133. package/dist/components/ToggleGroup/index.jsx +4 -4
  134. package/dist/components/ToggleGroup/toggleGroupItem.jsx +2 -2
  135. package/dist/components/ToggleSwitch/index.d.ts +3 -3
  136. package/dist/components/ToggleSwitch/index.jsx +5 -5
  137. package/dist/components/Tooltip/index.d.ts +1 -1
  138. package/dist/components/Tooltip/index.jsx +10 -10
  139. package/dist/components/index.d.ts +0 -48
  140. package/dist/components/index.js +52 -51
  141. package/dist/index.js +51 -0
  142. package/package.json +119 -120
  143. package/dist/Typography/Header/index.d.ts +0 -13
  144. package/dist/Typography/Header/index.jsx +0 -58
  145. package/dist/Typography/Text/index.d.ts +0 -16
  146. package/dist/Typography/Text/index.jsx +0 -47
@@ -1,47 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import React, { forwardRef } from 'react';
24
- import { cva } from 'class-variance-authority';
25
- import { Text as TextTheme, Theme } from '@radix-ui/themes';
26
- import { textColorStyle, weightVariants } from '../../constants';
27
- import { cn } from '../../utils/utils';
28
- var textVariants = cva('text', {
29
- variants: {
30
- weight: __assign({ light: 'font-light' }, weightVariants),
31
- color: textColorStyle(),
32
- },
33
- defaultVariants: {
34
- weight: 'medium',
35
- color: 'black',
36
- },
37
- });
38
- export var Text = forwardRef(function (_a, ref) {
39
- var className = _a.className, children = _a.children, as = _a.as, align = _a.align, weight = _a.weight, color = _a.color, size = _a.size, props = __rest(_a, ["className", "children", "as", "align", "weight", "color", "size"]);
40
- return (<Theme>
41
- <TextTheme as={as} ref={ref} size={size} align={align} className={cn(textVariants({ weight: weight, color: color }), className)} {...props}>
42
- {children}
43
- </TextTheme>
44
- </Theme>);
45
- });
46
- Text.displayName = 'Text';
47
- export default Text;