@tangible/ui 0.0.1 → 0.0.3

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 (135) hide show
  1. package/components/Card/Card.d.ts +1 -0
  2. package/components/Card/Card.js +17 -20
  3. package/components/Checkbox/Checkbox.d.ts +9 -0
  4. package/components/Checkbox/Checkbox.js +92 -0
  5. package/components/Checkbox/index.d.ts +2 -0
  6. package/components/Checkbox/index.js +1 -0
  7. package/components/Checkbox/types.d.ts +10 -0
  8. package/components/Checkbox/types.js +1 -0
  9. package/components/Chip/Chip.d.ts +4 -1
  10. package/components/Chip/Chip.js +32 -7
  11. package/components/ChipGroup/ChipGroup.d.ts +5 -0
  12. package/components/ChipGroup/ChipGroup.js +68 -0
  13. package/components/ChipGroup/ChipGroupContext.d.ts +3 -0
  14. package/components/ChipGroup/ChipGroupContext.js +5 -0
  15. package/components/ChipGroup/index.d.ts +3 -0
  16. package/components/ChipGroup/index.js +2 -0
  17. package/components/ChipGroup/types.d.ts +36 -0
  18. package/components/ChipGroup/types.js +1 -0
  19. package/components/Chips/Chips.d.ts +2 -0
  20. package/components/Chips/Chips.js +1 -1
  21. package/components/Combobox/Combobox.d.ts +33 -0
  22. package/components/Combobox/Combobox.js +466 -0
  23. package/components/Combobox/ComboboxContext.d.ts +8 -0
  24. package/components/Combobox/ComboboxContext.js +36 -0
  25. package/components/Combobox/index.d.ts +2 -0
  26. package/components/Combobox/index.js +1 -0
  27. package/components/Combobox/types.d.ts +204 -0
  28. package/components/Combobox/types.js +1 -0
  29. package/components/Dropdown/Dropdown.js +2 -1
  30. package/components/Field/Field.d.ts +39 -0
  31. package/components/Field/Field.js +92 -0
  32. package/components/Field/FieldContext.d.ts +16 -0
  33. package/components/Field/FieldContext.js +10 -0
  34. package/components/Field/index.d.ts +2 -0
  35. package/components/Field/index.js +1 -0
  36. package/components/Modal/Modal.d.ts +4 -4
  37. package/components/Modal/Modal.js +14 -12
  38. package/components/MoveHandle/MoveHandle.d.ts +2 -0
  39. package/components/MoveHandle/MoveHandle.js +84 -0
  40. package/components/MoveHandle/index.d.ts +2 -0
  41. package/components/MoveHandle/index.js +1 -0
  42. package/components/MoveHandle/types.d.ts +43 -0
  43. package/components/MoveHandle/types.js +1 -0
  44. package/components/MultiSelect/MultiSelect.d.ts +39 -0
  45. package/components/MultiSelect/MultiSelect.js +623 -0
  46. package/components/MultiSelect/MultiSelectContext.d.ts +20 -0
  47. package/components/MultiSelect/MultiSelectContext.js +56 -0
  48. package/components/MultiSelect/index.d.ts +2 -0
  49. package/components/MultiSelect/index.js +1 -0
  50. package/components/MultiSelect/types.d.ts +218 -0
  51. package/components/MultiSelect/types.js +3 -0
  52. package/components/Notice/Notice.d.ts +1 -1
  53. package/components/Notice/Notice.js +1 -1
  54. package/components/Progress/Progress.js +1 -1
  55. package/components/Progress/types.d.ts +7 -7
  56. package/components/Radio/Radio.d.ts +2 -0
  57. package/components/Radio/Radio.js +50 -0
  58. package/components/Radio/RadioGroup.d.ts +2 -0
  59. package/components/Radio/RadioGroup.js +54 -0
  60. package/components/Radio/RadioGroupContext.d.ts +3 -0
  61. package/components/Radio/RadioGroupContext.js +9 -0
  62. package/components/Radio/index.d.ts +8 -0
  63. package/components/Radio/index.js +6 -0
  64. package/components/Radio/types.d.ts +32 -0
  65. package/components/Radio/types.js +1 -0
  66. package/components/Rating/Rating.d.ts +5 -5
  67. package/components/Rating/Rating.js +2 -2
  68. package/components/SegmentedControl/SegmentedControl.js +20 -104
  69. package/components/SegmentedControl/types.d.ts +4 -8
  70. package/components/Select/Select.d.ts +39 -0
  71. package/components/Select/Select.js +497 -0
  72. package/components/Select/SelectContext.d.ts +20 -0
  73. package/components/Select/SelectContext.js +56 -0
  74. package/components/Select/index.d.ts +3 -0
  75. package/components/Select/index.js +1 -0
  76. package/components/Select/types.d.ts +216 -0
  77. package/components/Select/types.js +11 -0
  78. package/components/Sidebar/Sidebar.js +12 -12
  79. package/components/Sidebar/types.d.ts +5 -5
  80. package/components/StepIndicator/StepIndicator.js +1 -1
  81. package/components/StepList/StepList.js +2 -2
  82. package/components/StepList/types.d.ts +4 -4
  83. package/components/Switch/Switch.d.ts +9 -0
  84. package/components/Switch/Switch.js +91 -0
  85. package/components/Switch/index.d.ts +2 -0
  86. package/components/Switch/index.js +1 -0
  87. package/components/Switch/types.d.ts +11 -0
  88. package/components/Switch/types.js +1 -0
  89. package/components/TextInput/TextInput.d.ts +8 -0
  90. package/components/TextInput/TextInput.js +25 -0
  91. package/components/TextInput/index.d.ts +2 -0
  92. package/components/TextInput/index.js +1 -0
  93. package/components/TextInput/types.d.ts +32 -0
  94. package/components/TextInput/types.js +1 -0
  95. package/components/Textarea/Textarea.d.ts +6 -0
  96. package/components/Textarea/Textarea.js +49 -0
  97. package/components/Textarea/index.d.ts +2 -0
  98. package/components/Textarea/index.js +1 -0
  99. package/components/Textarea/types.d.ts +25 -0
  100. package/components/Textarea/types.js +1 -0
  101. package/components/index.d.ts +22 -0
  102. package/components/index.js +11 -0
  103. package/icons/icons.svg +2 -0
  104. package/icons/manifest.json +16 -0
  105. package/icons/registry.d.ts +4 -0
  106. package/icons/registry.js +2 -0
  107. package/icons/system/index.d.ts +4 -0
  108. package/icons/system/index.js +22 -0
  109. package/package.json +1 -1
  110. package/styles/all.css +1 -1
  111. package/styles/all.expanded.css +1838 -136
  112. package/styles/all.expanded.unlayered.css +1838 -136
  113. package/styles/all.unlayered.css +1 -1
  114. package/styles/components/_bundle.scss +22 -0
  115. package/styles/components/input/index.scss +5 -20
  116. package/styles/index.scss +21 -0
  117. package/styles/system/_control.scss +49 -0
  118. package/styles/system/_tokens.scss +124 -2
  119. package/styles/system/index.scss +2 -1
  120. package/styles/utilities/_index.scss +50 -0
  121. package/tui-manifest.json +907 -112
  122. package/utils/compose-events.d.ts +15 -0
  123. package/utils/compose-events.js +27 -0
  124. package/utils/hash.d.ts +15 -0
  125. package/utils/hash.js +32 -0
  126. package/utils/index.d.ts +3 -0
  127. package/utils/index.js +6 -0
  128. package/utils/is-dev.d.ts +5 -0
  129. package/utils/is-dev.js +7 -0
  130. package/utils/use-controllable-state.d.ts +19 -0
  131. package/utils/use-controllable-state.js +59 -0
  132. package/utils/use-roving-group.d.ts +33 -0
  133. package/utils/use-roving-group.js +123 -0
  134. package/utils/value-key.d.ts +16 -0
  135. package/utils/value-key.js +14 -0
@@ -0,0 +1 @@
1
+ export { Textarea } from './Textarea.js';
@@ -0,0 +1,25 @@
1
+ import type { TextareaHTMLAttributes } from 'react';
2
+ import type { SizeStandard } from '../../types/sizes';
3
+ export type TextareaResize = 'none' | 'vertical' | 'horizontal' | 'both';
4
+ export type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> & {
5
+ /**
6
+ * Control size.
7
+ * @default 'md'
8
+ */
9
+ size?: SizeStandard;
10
+ /**
11
+ * Resize behaviour.
12
+ * Ignored when `autoResize` is true (resize is disabled to avoid conflict).
13
+ * @default 'vertical'
14
+ */
15
+ resize?: TextareaResize;
16
+ /**
17
+ * Automatically grow height to fit content.
18
+ * Disables manual resize and scrollbar.
19
+ */
20
+ autoResize?: boolean;
21
+ /**
22
+ * Class name applied to the textarea element.
23
+ */
24
+ className?: string;
25
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -5,24 +5,35 @@ export { Accordion } from './Accordion';
5
5
  export { Avatar, AvatarGroup } from './Avatar';
6
6
  export { Button } from './Button';
7
7
  export { Card } from './Card';
8
+ export { Checkbox } from './Checkbox';
8
9
  export { Chip } from './Chip';
10
+ export { ChipGroup } from './ChipGroup';
9
11
  export { Chips } from './Chips';
10
12
  export { ContentIndicator } from './ContentIndicator';
13
+ export { Combobox, ComboboxContent, ComboboxOption, ComboboxGroup, ComboboxLabel, useCombobox } from './Combobox';
11
14
  export { Dropdown, DropdownTrigger, DropdownContent, DropdownItem, useDropdown } from './Dropdown';
15
+ export { Field } from './Field';
16
+ export { MultiSelect, MultiSelectTrigger, MultiSelectContent, MultiSelectOption, MultiSelectGroup, MultiSelectLabel, useMultiSelect } from './MultiSelect';
17
+ export { Select, SelectTrigger, SelectContent, SelectOption, SelectGroup, SelectLabel, useSelect } from './Select';
12
18
  export { Icon } from './Icon';
13
19
  export { IconButton } from './IconButton';
14
20
  export { Modal } from './Modal';
21
+ export { MoveHandle } from './MoveHandle';
15
22
  export { Notice } from './Notice';
16
23
  export { OverlapStack } from './OverlapStack';
17
24
  export { Pager } from './Pager';
18
25
  export { Progress } from './Progress';
26
+ export { RadioGroup, Radio } from './Radio';
19
27
  export { Rating } from './Rating';
20
28
  export { SegmentedControl } from './SegmentedControl';
21
29
  export { Sidebar } from './Sidebar';
22
30
  export { StepIndicator } from './StepIndicator';
23
31
  export { StepList } from './StepList';
24
32
  export { DataTable } from './Table';
33
+ export { Switch } from './Switch';
25
34
  export { Tabs } from './Tabs';
35
+ export { Textarea } from './Textarea';
36
+ export { TextInput } from './TextInput';
26
37
  export { Toolbar } from './Toolbar';
27
38
  export { Tooltip, TooltipProvider, TooltipTrigger, TooltipContent } from './Tooltip';
28
39
  export type { AccordionProps, AccordionSingleProps, AccordionMultipleProps, AccordionItemProps, AccordionTriggerProps, AccordionPanelProps, } from './Accordion';
@@ -30,17 +41,25 @@ export type { AvatarProps, AvatarGroupProps, AvatarSize, AvatarShape, AvatarColo
30
41
  export { AVATAR_COLORS } from './Avatar';
31
42
  export type { ButtonProps } from './Button';
32
43
  export type { CardRootProps } from './Card';
44
+ export type { CheckboxProps } from './Checkbox';
33
45
  export type { ChipProps } from './Chip';
46
+ export type { ChipGroupProps, ChipGroupSingleProps, ChipGroupMultipleProps } from './ChipGroup';
34
47
  export type { ChipsProps, ChipOption } from './Chips';
35
48
  export type { ContentIndicatorProps } from './ContentIndicator';
36
49
  export type { DropdownProps, DropdownTriggerProps, DropdownContentProps, DropdownItemProps, } from './Dropdown';
50
+ export type { ComboboxProps, ComboboxContentProps, ComboboxOptionProps, ComboboxGroupProps, ComboboxLabelProps, ComboboxRegisteredOption, } from './Combobox';
51
+ export type { FieldProps } from './Field';
52
+ export type { MultiSelectProps, MultiSelectTriggerProps, MultiSelectContentProps, MultiSelectOptionProps, MultiSelectGroupProps, MultiSelectLabelProps, MultiSelectValue, OptionValue as MultiSelectOptionValue, DisplayMode as MultiSelectDisplayMode, MultiSelectRegisteredOption, } from './MultiSelect';
53
+ export type { SelectProps, SelectTriggerProps, SelectContentProps, SelectOptionProps, SelectGroupProps, SelectLabelProps, } from './Select';
37
54
  export type { IconProps } from './Icon';
38
55
  export type { IconButtonProps } from './IconButton';
39
56
  export type { ModalProps } from './Modal';
57
+ export type { MoveHandleLabels, MoveHandleMode, MoveHandleProps, MoveHandleSize } from './MoveHandle';
40
58
  export type { NoticeProps } from './Notice';
41
59
  export type { OverlapStackProps, OverlapStackOverflowProps } from './OverlapStack';
42
60
  export type { PagerProps, PagerMode } from './Pager';
43
61
  export type { ProgressProps } from './Progress';
62
+ export type { RadioGroupProps, RadioProps } from './Radio';
44
63
  export type { RatingProps } from './Rating';
45
64
  export type { SegmentedControlProps, SegmentedControlItemProps, SegmentedControlValue, SegmentedControlVariant, SegmentedControlSize, SegmentedControlOrientation, } from './SegmentedControl';
46
65
  export type { SidebarProps, SidebarHeaderProps, SidebarNavProps } from './Sidebar';
@@ -48,5 +67,8 @@ export type { StepIndicatorProps, StepStatus } from './StepIndicator';
48
67
  export type { StepListProps, StepListItemProps } from './StepList';
49
68
  export type { DataTableProps } from './Table';
50
69
  export type { TabsProps, TabsListProps, TabProps, TabPanelProps, TabsVariant, TabsActivationMode, TabsOrientation, } from './Tabs';
70
+ export type { SwitchProps } from './Switch';
71
+ export type { TextareaProps, TextareaResize } from './Textarea';
72
+ export type { TextInputProps, TextInputType } from './TextInput';
51
73
  export type { ToolbarProps, ToolbarGroupProps, ToolbarItemProps, ToolbarOrientation } from './Toolbar';
52
74
  export type { TooltipProps, TooltipProviderProps, TooltipTriggerProps, TooltipContentProps } from './Tooltip';
@@ -3,24 +3,35 @@ export { Accordion } from './Accordion/index.js';
3
3
  export { Avatar, AvatarGroup } from './Avatar/index.js';
4
4
  export { Button } from './Button/index.js';
5
5
  export { Card } from './Card/index.js';
6
+ export { Checkbox } from './Checkbox/index.js';
6
7
  export { Chip } from './Chip/index.js';
8
+ export { ChipGroup } from './ChipGroup/index.js';
7
9
  export { Chips } from './Chips/index.js';
8
10
  export { ContentIndicator } from './ContentIndicator/index.js';
11
+ export { Combobox, ComboboxContent, ComboboxOption, ComboboxGroup, ComboboxLabel, useCombobox } from './Combobox/index.js';
9
12
  export { Dropdown, DropdownTrigger, DropdownContent, DropdownItem, useDropdown } from './Dropdown/index.js';
13
+ export { Field } from './Field/index.js';
14
+ export { MultiSelect, MultiSelectTrigger, MultiSelectContent, MultiSelectOption, MultiSelectGroup, MultiSelectLabel, useMultiSelect } from './MultiSelect/index.js';
15
+ export { Select, SelectTrigger, SelectContent, SelectOption, SelectGroup, SelectLabel, useSelect } from './Select/index.js';
10
16
  export { Icon } from './Icon/index.js';
11
17
  export { IconButton } from './IconButton/index.js';
12
18
  export { Modal } from './Modal/index.js';
19
+ export { MoveHandle } from './MoveHandle/index.js';
13
20
  export { Notice } from './Notice/index.js';
14
21
  export { OverlapStack } from './OverlapStack/index.js';
15
22
  export { Pager } from './Pager/index.js';
16
23
  export { Progress } from './Progress/index.js';
24
+ export { RadioGroup, Radio } from './Radio/index.js';
17
25
  export { Rating } from './Rating/index.js';
18
26
  export { SegmentedControl } from './SegmentedControl/index.js';
19
27
  export { Sidebar } from './Sidebar/index.js';
20
28
  export { StepIndicator } from './StepIndicator/index.js';
21
29
  export { StepList } from './StepList/index.js';
22
30
  export { DataTable } from './Table/index.js';
31
+ export { Switch } from './Switch/index.js';
23
32
  export { Tabs } from './Tabs/index.js';
33
+ export { Textarea } from './Textarea/index.js';
34
+ export { TextInput } from './TextInput/index.js';
24
35
  export { Toolbar } from './Toolbar/index.js';
25
36
  export { Tooltip, TooltipProvider, TooltipTrigger, TooltipContent } from './Tooltip/index.js';
26
37
  export { AVATAR_COLORS } from './Avatar/index.js';
package/icons/icons.svg CHANGED
@@ -109,6 +109,7 @@
109
109
  <symbol id="tui-system-cog" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.29 4.836A1 1 0 0 1 11.275 4h1.306a1 1 0 0 1 .986.836l.244 1.466c.788.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 0 1 1.217.437l.653 1.13a1 1 0 0 1-.23 1.273l-1.148.944a6 6 0 0 1 0 2.435l1.148.946a1 1 0 0 1 .23 1.272l-.652 1.13a1 1 0 0 1-1.217.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 0 1-.986.836h-1.306a1 1 0 0 1-.987-.836l-.244-1.466a6 6 0 0 1-2.108-1.218l-1.394.522a1 1 0 0 1-1.217-.436l-.652-1.131a1 1 0 0 1 .23-1.272l1.148-.946a6 6 0 0 1 0-2.435l-1.147-.944a1 1 0 0 1-.23-1.272l.652-1.131a1 1 0 0 1 1.217-.437l1.393.522a6 6 0 0 1 2.108-1.218zM14.928 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></symbol>
110
110
  <symbol id="tui-system-copy" viewBox="0 0 24 24"><path d="M17 10.25h-7v1.5h7zm-7 2.5h7v1.5h-7zm7 2.5h-7v1.5h7z"/><path fill-rule="evenodd" d="M17 6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-1zm1 2.5a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H9a.5.5 0 0 1-.5-.5V9a.5.5 0 0 1 .5-.5zm-12 7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1H9a2 2 0 0 0-2 2v6.5z" clip-rule="evenodd"/></symbol>
111
111
  <symbol id="tui-system-download" viewBox="0 0 24 24"><path d="M5.5 9a.5.5 0 0 1 .5-.5h3V7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.75A1.75 1.75 0 0 0 18.25 7H15v1.5h3.25a.25.25 0 0 1 .25.25V18a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5z"/><path d="M12 17.004 7.002 12.56l.996-1.122 3.252 2.89V4h1.5v10.33l3.252-2.89.996 1.12z"/></symbol>
112
+ <symbol id="tui-system-drag" viewBox="0 0 24 24"><path d="M10 4.99976H8V6.99976H10V4.99976Z"/><path d="M10 10.9998H8V12.9998H10V10.9998Z"/><path d="M8 16.9998H10V18.9998H8V16.9998Z"/><path d="M16 4.99976H14V6.99976H16V4.99976Z"/><path d="M14 10.9998H16V12.9998H14V10.9998Z"/><path d="M16 16.9998H14V18.9998H16V16.9998Z"/></symbol>
112
113
  <symbol id="tui-system-duplicate" viewBox="0 0 24 24"><path d="M14.25 12.75H17v1.5h-2.75V17h-1.5v-2.75H10v-1.5h2.75V10h1.5z"/><path fill-rule="evenodd" d="M17 7h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2v-1H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2zm-2-1.5H6a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h1V9a2 2 0 0 1 2-2h6.5V6a.5.5 0 0 0-.5-.5m-6 3h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H9a.5.5 0 0 1-.5-.5V9a.5.5 0 0 1 .5-.5" clip-rule="evenodd"/></symbol>
113
114
  <symbol id="tui-system-edit" viewBox="0 0 24 24"><path d="M19.864 4.304a2 2 0 0 0-2.733.732l-.635 1.1 3.464 2 .636-1.1a2 2 0 0 0-.732-2.732m-.746 5.292-3.464-2-4.903 8.49.062 3.893 3.402-1.892zM4 5.25h9v1.5H4zm7 4H4v1.5h7zm-7 4h5v1.5H4zm5 4H4v1.5h5z"/></symbol>
114
115
  <symbol id="tui-system-ellipsis-h" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M5 11h2v2H5zm6 0h2v2h-2zm6 0h2v2h-2z" clip-rule="evenodd"/></symbol>
@@ -139,6 +140,7 @@
139
140
  <symbol id="tui-system-plus" viewBox="0 0 24 24"><path d="M11.25 12.75V16h1.5v-3.25H16v-1.5h-3.25V8h-1.5v3.25H8v1.5z"/></symbol>
140
141
  <symbol id="tui-system-recurring" viewBox="0 0 24 24"><path d="M11.592 5.763a6.25 6.25 0 0 1 6.135 3.733l-2.572-.542-.31 1.468 5.162 1.088 1.378-5.322-1.453-.376-.81 3.131a7.75 7.75 0 1 0-.41 6.932l-1.299-.75a6.25 6.25 0 1 1-5.821-9.362"/><path d="M12 7.25a.75.75 0 0 1 .75.75v3.598l2.666 1.778a.75.75 0 0 1-.832 1.248l-2.986-1.991a.8.8 0 0 1-.232-.232.75.75 0 0 1-.116-.401V8a.75.75 0 0 1 .75-.75"/></symbol>
141
142
  <symbol id="tui-system-reverse" viewBox="0 0 24 24"><path d="m14.474 4.53 2.72 2.72H6.003v1.5h11.191l-2.72 2.72 1.061 1.06L20.065 8l-4.53-4.53zM9.53 19.47l-2.72-2.72h11.192v-1.5H6.811l2.72-2.72-1.061-1.06L3.94 16l4.53 4.53z"/></symbol>
143
+ <symbol id="tui-system-search" viewBox="0 0 24 24"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.0001 11C19.0001 14.3137 16.3138 17 13.0001 17C11.6135 17 10.3369 16.5297 9.32086 15.7399L5.53039 19.5304L4.46973 18.4697L8.26019 14.6793C7.47038 13.6632 7.00006 12.3865 7.00006 11C7.00006 7.68629 9.68635 5 13.0001 5C16.3138 5 19.0001 7.68629 19.0001 11ZM17.5001 11C17.5001 13.4853 15.4853 15.5 13.0001 15.5C10.5148 15.5 8.50006 13.4853 8.50006 11C8.50006 8.51472 10.5148 6.5 13.0001 6.5C15.4853 6.5 17.5001 8.51472 17.5001 11Z" /></symbol>
142
144
  <symbol id="tui-system-send" viewBox="0 0 24 24"><path d="M6.332 5.748c-1.03-.426-2.06.607-1.632 1.636l1.702 3.93 7.481.575c.123.01.123.19 0 .2l-7.483.575-1.7 3.909c-.429 1.029.602 2.062 1.632 1.636l12.265-5.076c1.03-.426 1.03-1.884 0-2.31z"/></symbol>
143
145
  <symbol id="tui-system-settings" viewBox="0 0 24 24"><path d="M7.114 8.5H4V7h3.114a2.501 2.501 0 0 1 4.772 0H20v1.5h-8.114a2.501 2.501 0 0 1-4.772 0M4 17h8.115a2.501 2.501 0 0 0 4.77 0H20v-1.5h-3.114a2.501 2.501 0 0 0-4.771 0H4z"/></symbol>
144
146
  <symbol id="tui-system-show" viewBox="0 0 24 24"><path d="m4 13 .67.336.003-.005.017-.032.077-.138c.07-.122.18-.302.328-.52.298-.435.75-1.017 1.36-1.598C7.672 9.883 9.496 8.75 12 8.75c2.502 0 4.326 1.132 5.545 2.293.61.581 1.061 1.163 1.359 1.599a8 8 0 0 1 .422.689l.003.005L20 13l.671-.336-.001-.003-.003-.005-.008-.015-.027-.052-.1-.18a10 10 0 0 0-.389-.613c-.343-.502-.86-1.17-1.563-1.84C17.173 8.619 14.997 7.25 12 7.25S6.827 8.618 5.42 9.957a11.6 11.6 0 0 0-1.562 1.839 10 10 0 0 0-.516.845l-.008.015-.003.005v.002s-.001.002.67.337m8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7"/></symbol>
@@ -879,6 +879,14 @@
879
879
  "viewBox": "0 0 24 24",
880
880
  "sprite": true
881
881
  },
882
+ "system/drag": {
883
+ "id": "tui-system-drag",
884
+ "set": "system",
885
+ "name": "drag",
886
+ "file": "system/drag.svg",
887
+ "viewBox": "0 0 24 24",
888
+ "sprite": true
889
+ },
882
890
  "system/duplicate": {
883
891
  "id": "tui-system-duplicate",
884
892
  "set": "system",
@@ -1119,6 +1127,14 @@
1119
1127
  "viewBox": "0 0 24 24",
1120
1128
  "sprite": true
1121
1129
  },
1130
+ "system/search": {
1131
+ "id": "tui-system-search",
1132
+ "set": "system",
1133
+ "name": "search",
1134
+ "file": "system/search.svg",
1135
+ "viewBox": "0 0 24 24",
1136
+ "sprite": true
1137
+ },
1122
1138
  "system/send": {
1123
1139
  "id": "tui-system-send",
1124
1140
  "set": "system",
@@ -113,6 +113,7 @@ export type IconName =
113
113
  | 'system/cog'
114
114
  | 'system/copy'
115
115
  | 'system/download'
116
+ | 'system/drag'
116
117
  | 'system/duplicate'
117
118
  | 'system/edit'
118
119
  | 'system/ellipsis-h'
@@ -143,6 +144,7 @@ export type IconName =
143
144
  | 'system/plus'
144
145
  | 'system/recurring'
145
146
  | 'system/reverse'
147
+ | 'system/search'
146
148
  | 'system/send'
147
149
  | 'system/settings'
148
150
  | 'system/show'
@@ -268,6 +270,7 @@ export declare const iconRegistry: {
268
270
  'system/cog': IconComponent;
269
271
  'system/copy': IconComponent;
270
272
  'system/download': IconComponent;
273
+ 'system/drag': IconComponent;
271
274
  'system/duplicate': IconComponent;
272
275
  'system/edit': IconComponent;
273
276
  'system/ellipsis-h': IconComponent;
@@ -298,6 +301,7 @@ export declare const iconRegistry: {
298
301
  'system/plus': IconComponent;
299
302
  'system/recurring': IconComponent;
300
303
  'system/reverse': IconComponent;
304
+ 'system/search': IconComponent;
301
305
  'system/send': IconComponent;
302
306
  'system/settings': IconComponent;
303
307
  'system/show': IconComponent;
package/icons/registry.js CHANGED
@@ -115,6 +115,7 @@ export const iconRegistry = {
115
115
  'system/cog': systemIcons['cog'],
116
116
  'system/copy': systemIcons['copy'],
117
117
  'system/download': systemIcons['download'],
118
+ 'system/drag': systemIcons['drag'],
118
119
  'system/duplicate': systemIcons['duplicate'],
119
120
  'system/edit': systemIcons['edit'],
120
121
  'system/ellipsis-h': systemIcons['ellipsis-h'],
@@ -145,6 +146,7 @@ export const iconRegistry = {
145
146
  'system/plus': systemIcons['plus'],
146
147
  'system/recurring': systemIcons['recurring'],
147
148
  'system/reverse': systemIcons['reverse'],
149
+ 'system/search': systemIcons['search'],
148
150
  'system/send': systemIcons['send'],
149
151
  'system/settings': systemIcons['settings'],
150
152
  'system/show': systemIcons['show'],
@@ -33,6 +33,7 @@ export declare const Close: IconComponent;
33
33
  export declare const Cog: IconComponent;
34
34
  export declare const Copy: IconComponent;
35
35
  export declare const Download: IconComponent;
36
+ export declare const Drag: IconComponent;
36
37
  export declare const Duplicate: IconComponent;
37
38
  export declare const Edit: IconComponent;
38
39
  export declare const EllipsisH: IconComponent;
@@ -63,6 +64,7 @@ export declare const PlusCircleOutline: IconComponent;
63
64
  export declare const Plus: IconComponent;
64
65
  export declare const Recurring: IconComponent;
65
66
  export declare const Reverse: IconComponent;
67
+ export declare const Search: IconComponent;
66
68
  export declare const Send: IconComponent;
67
69
  export declare const Settings: IconComponent;
68
70
  export declare const Show: IconComponent;
@@ -109,6 +111,7 @@ export declare const systemIcons: {
109
111
  'cog': IconComponent;
110
112
  'copy': IconComponent;
111
113
  'download': IconComponent;
114
+ 'drag': IconComponent;
112
115
  'duplicate': IconComponent;
113
116
  'edit': IconComponent;
114
117
  'ellipsis-h': IconComponent;
@@ -139,6 +142,7 @@ export declare const systemIcons: {
139
142
  'plus': IconComponent;
140
143
  'recurring': IconComponent;
141
144
  'reverse': IconComponent;
145
+ 'search': IconComponent;
142
146
  'send': IconComponent;
143
147
  'settings': IconComponent;
144
148
  'show': IconComponent;
@@ -310,6 +310,16 @@ export function Download(props) {
310
310
  }, props), [_c("path", {d:"M5.5 9a.5.5 0 0 1 .5-.5h3V7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.75A1.75 1.75 0 0 0 18.25 7H15v1.5h3.25a.25.25 0 0 1 .25.25V18a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5z"}), _c("path", {d:"M12 17.004 7.002 12.56l.996-1.122 3.252 2.89V4h1.5v10.33l3.252-2.89.996 1.12z"})]);
311
311
  }
312
312
 
313
+ export function Drag(props) {
314
+ return _c("svg", Object.assign({
315
+ xmlns: "http://www.w3.org/2000/svg",
316
+ viewBox: "0 0 24 24",
317
+ width: "1em",
318
+ height: "1em",
319
+ fill: "currentColor"
320
+ }, props), [_c("path", {d:"M10 4.99976H8V6.99976H10V4.99976Z"}), _c("path", {d:"M10 10.9998H8V12.9998H10V10.9998Z"}), _c("path", {d:"M8 16.9998H10V18.9998H8V16.9998Z"}), _c("path", {d:"M16 4.99976H14V6.99976H16V4.99976Z"}), _c("path", {d:"M14 10.9998H16V12.9998H14V10.9998Z"}), _c("path", {d:"M16 16.9998H14V18.9998H16V16.9998Z"})]);
321
+ }
322
+
313
323
  export function Duplicate(props) {
314
324
  return _c("svg", Object.assign({
315
325
  xmlns: "http://www.w3.org/2000/svg",
@@ -610,6 +620,16 @@ export function Reverse(props) {
610
620
  }, props), _c("path", {d:"m14.474 4.53 2.72 2.72H6.003v1.5h11.191l-2.72 2.72 1.061 1.06L20.065 8l-4.53-4.53zM9.53 19.47l-2.72-2.72h11.192v-1.5H6.811l2.72-2.72-1.061-1.06L3.94 16l4.53 4.53z"}));
611
621
  }
612
622
 
623
+ export function Search(props) {
624
+ return _c("svg", Object.assign({
625
+ xmlns: "http://www.w3.org/2000/svg",
626
+ viewBox: "0 0 24 24",
627
+ width: "1em",
628
+ height: "1em",
629
+ fill: "currentColor"
630
+ }, props), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M19.0001 11C19.0001 14.3137 16.3138 17 13.0001 17C11.6135 17 10.3369 16.5297 9.32086 15.7399L5.53039 19.5304L4.46973 18.4697L8.26019 14.6793C7.47038 13.6632 7.00006 12.3865 7.00006 11C7.00006 7.68629 9.68635 5 13.0001 5C16.3138 5 19.0001 7.68629 19.0001 11ZM17.5001 11C17.5001 13.4853 15.4853 15.5 13.0001 15.5C10.5148 15.5 8.50006 13.4853 8.50006 11C8.50006 8.51472 10.5148 6.5 13.0001 6.5C15.4853 6.5 17.5001 8.51472 17.5001 11Z"}));
631
+ }
632
+
613
633
  export function Send(props) {
614
634
  return _c("svg", Object.assign({
615
635
  xmlns: "http://www.w3.org/2000/svg",
@@ -772,6 +792,7 @@ export const systemIcons = {
772
792
  'cog': Cog,
773
793
  'copy': Copy,
774
794
  'download': Download,
795
+ 'drag': Drag,
775
796
  'duplicate': Duplicate,
776
797
  'edit': Edit,
777
798
  'ellipsis-h': EllipsisH,
@@ -802,6 +823,7 @@ export const systemIcons = {
802
823
  'plus': Plus,
803
824
  'recurring': Recurring,
804
825
  'reverse': Reverse,
826
+ 'search': Search,
805
827
  'send': Send,
806
828
  'settings': Settings,
807
829
  'show': Show,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangible/ui",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Tangible Design System",
5
5
  "type": "module",
6
6
  "main": "./components/index.js",