@liveblocks/react-ui 2.16.0-toolbars1 → 2.16.0-toolbars3

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 (58) hide show
  1. package/dist/_private/index.d.mts +24 -1
  2. package/dist/_private/index.d.ts +24 -1
  3. package/dist/_private/index.js +17 -0
  4. package/dist/_private/index.js.map +1 -1
  5. package/dist/_private/index.mjs +9 -1
  6. package/dist/_private/index.mjs.map +1 -1
  7. package/dist/components/internal/Button.js +26 -0
  8. package/dist/components/internal/Button.js.map +1 -1
  9. package/dist/components/internal/Button.mjs +26 -1
  10. package/dist/components/internal/Button.mjs.map +1 -1
  11. package/dist/icon.js +63 -0
  12. package/dist/icon.js.map +1 -0
  13. package/dist/icon.mjs +30 -0
  14. package/dist/icon.mjs.map +1 -0
  15. package/dist/icons/Blockquote.js +16 -0
  16. package/dist/icons/Blockquote.js.map +1 -0
  17. package/dist/icons/Blockquote.mjs +14 -0
  18. package/dist/icons/Blockquote.mjs.map +1 -0
  19. package/dist/icons/H1.js +16 -0
  20. package/dist/icons/H1.js.map +1 -0
  21. package/dist/icons/H1.mjs +14 -0
  22. package/dist/icons/H1.mjs.map +1 -0
  23. package/dist/icons/H2.js +16 -0
  24. package/dist/icons/H2.js.map +1 -0
  25. package/dist/icons/H2.mjs +14 -0
  26. package/dist/icons/H2.mjs.map +1 -0
  27. package/dist/icons/H3.js +16 -0
  28. package/dist/icons/H3.js.map +1 -0
  29. package/dist/icons/H3.mjs +14 -0
  30. package/dist/icons/H3.mjs.map +1 -0
  31. package/dist/icons/ListOrdered.js +16 -0
  32. package/dist/icons/ListOrdered.js.map +1 -0
  33. package/dist/icons/ListOrdered.mjs +14 -0
  34. package/dist/icons/ListOrdered.mjs.map +1 -0
  35. package/dist/icons/ListUnordered.js +39 -0
  36. package/dist/icons/ListUnordered.js.map +1 -0
  37. package/dist/icons/ListUnordered.mjs +37 -0
  38. package/dist/icons/ListUnordered.mjs.map +1 -0
  39. package/dist/icons/Text.js +16 -0
  40. package/dist/icons/Text.js.map +1 -0
  41. package/dist/icons/Text.mjs +14 -0
  42. package/dist/icons/Text.mjs.map +1 -0
  43. package/dist/icons/index.js +14 -0
  44. package/dist/icons/index.js.map +1 -1
  45. package/dist/icons/index.mjs +7 -0
  46. package/dist/icons/index.mjs.map +1 -1
  47. package/dist/index.d.mts +90 -1
  48. package/dist/index.d.ts +90 -1
  49. package/dist/index.js +2 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.mjs +2 -0
  52. package/dist/index.mjs.map +1 -1
  53. package/dist/version.js +1 -1
  54. package/dist/version.mjs +1 -1
  55. package/package.json +4 -4
  56. package/src/styles/index.css +46 -32
  57. package/styles.css +1 -1
  58. package/styles.css.map +1 -1
@@ -11,6 +11,7 @@ interface ButtonProps extends ComponentProps<"button"> {
11
11
  icon?: ReactNode;
12
12
  }
13
13
  declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
14
+ declare const SelectButton: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
14
15
 
15
16
  type SlotProp = {
16
17
  /**
@@ -56,6 +57,8 @@ declare function ArrowUpIcon(props: ComponentProps<"svg">): react_jsx_runtime.JS
56
57
 
57
58
  declare function AttachmentIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
58
59
 
60
+ declare function BlockquoteIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
61
+
59
62
  declare function BoldIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
60
63
 
61
64
  declare function CheckIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
@@ -84,10 +87,20 @@ declare function EmojiIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.
84
87
 
85
88
  declare function EmojiAddIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
86
89
 
90
+ declare function H1Icon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
91
+
92
+ declare function H2Icon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
93
+
94
+ declare function H3Icon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
95
+
87
96
  declare function ItalicIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
88
97
 
89
98
  declare function LengthenIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
90
99
 
100
+ declare function ListOrderedIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
101
+
102
+ declare function ListUnorderedIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
103
+
91
104
  declare function MentionIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
92
105
 
93
106
  declare function QuestionMarkIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
@@ -112,6 +125,8 @@ declare function SpinnerIcon(props: ComponentProps<"svg">): react_jsx_runtime.JS
112
125
 
113
126
  declare function StrikethroughIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
114
127
 
128
+ declare function TextIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
129
+
115
130
  declare function TranslateIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
116
131
 
117
132
  declare function UnderlineIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
@@ -122,6 +137,14 @@ declare function WarningIcon(props: ComponentProps<"svg">): react_jsx_runtime.JS
122
137
 
123
138
  declare function capitalize(string: string): string;
124
139
 
140
+ /**
141
+ * "Freezes" a given value, so that it will return the same value/instance on
142
+ * each subsequent render. This can be used to freeze "initial" values for
143
+ * custom hooks, much like how `useState(initialState)` or
144
+ * `useRef(initialValue)` works.
145
+ */
146
+ declare function useInitial<T>(value: T | (() => T)): T;
147
+
125
148
  declare function useRefs<T>(...refs: Ref<T>[]): RefCallback<T>;
126
149
 
127
- export { ArrowDownIcon, ArrowUpIcon, AttachmentIcon, BoldIcon, Button, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CodeIcon, CommentIcon, CrossIcon, DeleteIcon, EditIcon, EllipsisIcon, EmojiAddIcon, EmojiIcon, ItalicIcon, LengthenIcon, List, MentionIcon, QuestionMarkIcon, RedoIcon, ResolveIcon, ResolvedIcon, RestoreIcon, SearchIcon, SendIcon, ShortcutTooltip, ShortenIcon, SparklesIcon, SpinnerIcon, StrikethroughIcon, Tooltip, TranslateIcon, UnderlineIcon, UndoIcon, User, WarningIcon, capitalize, useRefs };
150
+ export { ArrowDownIcon, ArrowUpIcon, AttachmentIcon, BlockquoteIcon, BoldIcon, Button, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CodeIcon, CommentIcon, CrossIcon, DeleteIcon, EditIcon, EllipsisIcon, EmojiAddIcon, EmojiIcon, H1Icon, H2Icon, H3Icon, ItalicIcon, LengthenIcon, List, ListOrderedIcon, ListUnorderedIcon, MentionIcon, QuestionMarkIcon, RedoIcon, ResolveIcon, ResolvedIcon, RestoreIcon, SearchIcon, SelectButton, SendIcon, ShortcutTooltip, ShortenIcon, SparklesIcon, SpinnerIcon, StrikethroughIcon, TextIcon, Tooltip, TranslateIcon, UnderlineIcon, UndoIcon, User, WarningIcon, capitalize, useInitial, useRefs };
@@ -11,6 +11,7 @@ interface ButtonProps extends ComponentProps<"button"> {
11
11
  icon?: ReactNode;
12
12
  }
13
13
  declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
14
+ declare const SelectButton: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
14
15
 
15
16
  type SlotProp = {
16
17
  /**
@@ -56,6 +57,8 @@ declare function ArrowUpIcon(props: ComponentProps<"svg">): react_jsx_runtime.JS
56
57
 
57
58
  declare function AttachmentIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
58
59
 
60
+ declare function BlockquoteIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
61
+
59
62
  declare function BoldIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
60
63
 
61
64
  declare function CheckIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
@@ -84,10 +87,20 @@ declare function EmojiIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.
84
87
 
85
88
  declare function EmojiAddIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
86
89
 
90
+ declare function H1Icon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
91
+
92
+ declare function H2Icon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
93
+
94
+ declare function H3Icon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
95
+
87
96
  declare function ItalicIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
88
97
 
89
98
  declare function LengthenIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
90
99
 
100
+ declare function ListOrderedIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
101
+
102
+ declare function ListUnorderedIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
103
+
91
104
  declare function MentionIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
92
105
 
93
106
  declare function QuestionMarkIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
@@ -112,6 +125,8 @@ declare function SpinnerIcon(props: ComponentProps<"svg">): react_jsx_runtime.JS
112
125
 
113
126
  declare function StrikethroughIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
114
127
 
128
+ declare function TextIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
129
+
115
130
  declare function TranslateIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
116
131
 
117
132
  declare function UnderlineIcon(props: ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
@@ -122,6 +137,14 @@ declare function WarningIcon(props: ComponentProps<"svg">): react_jsx_runtime.JS
122
137
 
123
138
  declare function capitalize(string: string): string;
124
139
 
140
+ /**
141
+ * "Freezes" a given value, so that it will return the same value/instance on
142
+ * each subsequent render. This can be used to freeze "initial" values for
143
+ * custom hooks, much like how `useState(initialState)` or
144
+ * `useRef(initialValue)` works.
145
+ */
146
+ declare function useInitial<T>(value: T | (() => T)): T;
147
+
125
148
  declare function useRefs<T>(...refs: Ref<T>[]): RefCallback<T>;
126
149
 
127
- export { ArrowDownIcon, ArrowUpIcon, AttachmentIcon, BoldIcon, Button, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CodeIcon, CommentIcon, CrossIcon, DeleteIcon, EditIcon, EllipsisIcon, EmojiAddIcon, EmojiIcon, ItalicIcon, LengthenIcon, List, MentionIcon, QuestionMarkIcon, RedoIcon, ResolveIcon, ResolvedIcon, RestoreIcon, SearchIcon, SendIcon, ShortcutTooltip, ShortenIcon, SparklesIcon, SpinnerIcon, StrikethroughIcon, Tooltip, TranslateIcon, UnderlineIcon, UndoIcon, User, WarningIcon, capitalize, useRefs };
150
+ export { ArrowDownIcon, ArrowUpIcon, AttachmentIcon, BlockquoteIcon, BoldIcon, Button, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CodeIcon, CommentIcon, CrossIcon, DeleteIcon, EditIcon, EllipsisIcon, EmojiAddIcon, EmojiIcon, H1Icon, H2Icon, H3Icon, ItalicIcon, LengthenIcon, List, ListOrderedIcon, ListUnorderedIcon, MentionIcon, QuestionMarkIcon, RedoIcon, ResolveIcon, ResolvedIcon, RestoreIcon, SearchIcon, SelectButton, SendIcon, ShortcutTooltip, ShortenIcon, SparklesIcon, SpinnerIcon, StrikethroughIcon, TextIcon, Tooltip, TranslateIcon, UnderlineIcon, UndoIcon, User, WarningIcon, capitalize, useInitial, useRefs };
@@ -6,11 +6,13 @@ var Tooltip = require('../components/internal/Tooltip.js');
6
6
  var User = require('../components/internal/User.js');
7
7
  require('../icons/index.js');
8
8
  var capitalize = require('../utils/capitalize.js');
9
+ var useInitial = require('../utils/use-initial.js');
9
10
  var useRefs = require('../utils/use-refs.js');
10
11
  var TooltipPrimitive = require('@radix-ui/react-tooltip');
11
12
  var ArrowDown = require('../icons/ArrowDown.js');
12
13
  var ArrowUp = require('../icons/ArrowUp.js');
13
14
  var Attachment = require('../icons/Attachment.js');
15
+ var Blockquote = require('../icons/Blockquote.js');
14
16
  var Bold = require('../icons/Bold.js');
15
17
  var Check = require('../icons/Check.js');
16
18
  var ChevronDown = require('../icons/ChevronDown.js');
@@ -25,8 +27,13 @@ var Edit = require('../icons/Edit.js');
25
27
  var Ellipsis = require('../icons/Ellipsis.js');
26
28
  var Emoji = require('../icons/Emoji.js');
27
29
  var EmojiAdd = require('../icons/EmojiAdd.js');
30
+ var H1 = require('../icons/H1.js');
31
+ var H2 = require('../icons/H2.js');
32
+ var H3 = require('../icons/H3.js');
28
33
  var Italic = require('../icons/Italic.js');
29
34
  var Lengthen = require('../icons/Lengthen.js');
35
+ var ListOrdered = require('../icons/ListOrdered.js');
36
+ var ListUnordered = require('../icons/ListUnordered.js');
30
37
  var Mention = require('../icons/Mention.js');
31
38
  var QuestionMark = require('../icons/QuestionMark.js');
32
39
  var Redo = require('../icons/Redo.js');
@@ -39,6 +46,7 @@ var Shorten = require('../icons/Shorten.js');
39
46
  var Sparkles = require('../icons/Sparkles.js');
40
47
  var Spinner = require('../icons/Spinner.js');
41
48
  var Strikethrough = require('../icons/Strikethrough.js');
49
+ var Text = require('../icons/Text.js');
42
50
  var Translate = require('../icons/Translate.js');
43
51
  var Underline = require('../icons/Underline.js');
44
52
  var Undo = require('../icons/Undo.js');
@@ -47,11 +55,13 @@ var Warning = require('../icons/Warning.js');
47
55
 
48
56
 
49
57
  exports.Button = Button.Button;
58
+ exports.SelectButton = Button.SelectButton;
50
59
  exports.List = List.List;
51
60
  exports.ShortcutTooltip = Tooltip.ShortcutTooltip;
52
61
  exports.Tooltip = Tooltip.Tooltip;
53
62
  exports.User = User.User;
54
63
  exports.capitalize = capitalize.capitalize;
64
+ exports.useInitial = useInitial.useInitial;
55
65
  exports.useRefs = useRefs.useRefs;
56
66
  Object.defineProperty(exports, 'TooltipProvider', {
57
67
  enumerable: true,
@@ -60,6 +70,7 @@ Object.defineProperty(exports, 'TooltipProvider', {
60
70
  exports.ArrowDownIcon = ArrowDown.ArrowDownIcon;
61
71
  exports.ArrowUpIcon = ArrowUp.ArrowUpIcon;
62
72
  exports.AttachmentIcon = Attachment.AttachmentIcon;
73
+ exports.BlockquoteIcon = Blockquote.BlockquoteIcon;
63
74
  exports.BoldIcon = Bold.BoldIcon;
64
75
  exports.CheckIcon = Check.CheckIcon;
65
76
  exports.ChevronDownIcon = ChevronDown.ChevronDownIcon;
@@ -74,8 +85,13 @@ exports.EditIcon = Edit.EditIcon;
74
85
  exports.EllipsisIcon = Ellipsis.EllipsisIcon;
75
86
  exports.EmojiIcon = Emoji.EmojiIcon;
76
87
  exports.EmojiAddIcon = EmojiAdd.EmojiAddIcon;
88
+ exports.H1Icon = H1.H1Icon;
89
+ exports.H2Icon = H2.H2Icon;
90
+ exports.H3Icon = H3.H3Icon;
77
91
  exports.ItalicIcon = Italic.ItalicIcon;
78
92
  exports.LengthenIcon = Lengthen.LengthenIcon;
93
+ exports.ListOrderedIcon = ListOrdered.ListOrderedIcon;
94
+ exports.ListUnorderedIcon = ListUnordered.ListUnorderedIcon;
79
95
  exports.MentionIcon = Mention.MentionIcon;
80
96
  exports.QuestionMarkIcon = QuestionMark.QuestionMarkIcon;
81
97
  exports.RedoIcon = Redo.RedoIcon;
@@ -88,6 +104,7 @@ exports.ShortenIcon = Shorten.ShortenIcon;
88
104
  exports.SparklesIcon = Sparkles.SparklesIcon;
89
105
  exports.SpinnerIcon = Spinner.SpinnerIcon;
90
106
  exports.StrikethroughIcon = Strikethrough.StrikethroughIcon;
107
+ exports.TextIcon = Text.TextIcon;
91
108
  exports.TranslateIcon = Translate.TranslateIcon;
92
109
  exports.UnderlineIcon = Underline.UnderlineIcon;
93
110
  exports.UndoIcon = Undo.UndoIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,14 +1,16 @@
1
- export { Button } from '../components/internal/Button.mjs';
1
+ export { Button, SelectButton } from '../components/internal/Button.mjs';
2
2
  export { List } from '../components/internal/List.mjs';
3
3
  export { ShortcutTooltip, Tooltip } from '../components/internal/Tooltip.mjs';
4
4
  export { User } from '../components/internal/User.mjs';
5
5
  import '../icons/index.mjs';
6
6
  export { capitalize } from '../utils/capitalize.mjs';
7
+ export { useInitial } from '../utils/use-initial.mjs';
7
8
  export { useRefs } from '../utils/use-refs.mjs';
8
9
  export { TooltipProvider } from '@radix-ui/react-tooltip';
9
10
  export { ArrowDownIcon } from '../icons/ArrowDown.mjs';
10
11
  export { ArrowUpIcon } from '../icons/ArrowUp.mjs';
11
12
  export { AttachmentIcon } from '../icons/Attachment.mjs';
13
+ export { BlockquoteIcon } from '../icons/Blockquote.mjs';
12
14
  export { BoldIcon } from '../icons/Bold.mjs';
13
15
  export { CheckIcon } from '../icons/Check.mjs';
14
16
  export { ChevronDownIcon } from '../icons/ChevronDown.mjs';
@@ -23,8 +25,13 @@ export { EditIcon } from '../icons/Edit.mjs';
23
25
  export { EllipsisIcon } from '../icons/Ellipsis.mjs';
24
26
  export { EmojiIcon } from '../icons/Emoji.mjs';
25
27
  export { EmojiAddIcon } from '../icons/EmojiAdd.mjs';
28
+ export { H1Icon } from '../icons/H1.mjs';
29
+ export { H2Icon } from '../icons/H2.mjs';
30
+ export { H3Icon } from '../icons/H3.mjs';
26
31
  export { ItalicIcon } from '../icons/Italic.mjs';
27
32
  export { LengthenIcon } from '../icons/Lengthen.mjs';
33
+ export { ListOrderedIcon } from '../icons/ListOrdered.mjs';
34
+ export { ListUnorderedIcon } from '../icons/ListUnordered.mjs';
28
35
  export { MentionIcon } from '../icons/Mention.mjs';
29
36
  export { QuestionMarkIcon } from '../icons/QuestionMark.mjs';
30
37
  export { RedoIcon } from '../icons/Redo.mjs';
@@ -37,6 +44,7 @@ export { ShortenIcon } from '../icons/Shorten.mjs';
37
44
  export { SparklesIcon } from '../icons/Sparkles.mjs';
38
45
  export { SpinnerIcon } from '../icons/Spinner.mjs';
39
46
  export { StrikethroughIcon } from '../icons/Strikethrough.mjs';
47
+ export { TextIcon } from '../icons/Text.mjs';
40
48
  export { TranslateIcon } from '../icons/Translate.mjs';
41
49
  export { UnderlineIcon } from '../icons/Underline.mjs';
42
50
  export { UndoIcon } from '../icons/Undo.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,6 +3,7 @@
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var react = require('react');
6
+ var ChevronDown = require('../../icons/ChevronDown.js');
6
7
  var classNames = require('../../utils/class-names.js');
7
8
 
8
9
 
@@ -48,7 +49,32 @@ const Button = react.forwardRef(
48
49
  });
49
50
  }
50
51
  );
52
+ const SelectButton = react.forwardRef(
53
+ ({ icon, children, className, ...props }, forwardedRef) => {
54
+ return /* @__PURE__ */ jsxRuntime.jsxs(CustomButton, {
55
+ ...props,
56
+ type: "button",
57
+ className: classNames.classNames("lb-select-button", className),
58
+ ref: forwardedRef,
59
+ children: [
60
+ icon ? /* @__PURE__ */ jsxRuntime.jsx("span", {
61
+ className: "lb-icon-container",
62
+ children: icon
63
+ }) : null,
64
+ children ? /* @__PURE__ */ jsxRuntime.jsx("span", {
65
+ className: "lb-button-label",
66
+ children
67
+ }) : null,
68
+ /* @__PURE__ */ jsxRuntime.jsx("span", {
69
+ className: "lb-select-button-chevron",
70
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDown.ChevronDownIcon, {})
71
+ })
72
+ ]
73
+ });
74
+ }
75
+ );
51
76
 
52
77
  exports.Button = Button;
53
78
  exports.CustomButton = CustomButton;
79
+ exports.SelectButton = SelectButton;
54
80
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../src/components/internal/Button.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\n\nimport { classNames } from \"../../utils/class-names\";\n\nexport interface ButtonProps extends ComponentProps<\"button\"> {\n variant?: \"default\" | \"toolbar\" | \"outline\" | \"primary\" | \"secondary\";\n size?: \"default\" | \"large\";\n disableable?: boolean;\n icon?: ReactNode;\n}\n\nexport const CustomButton = forwardRef<\n HTMLButtonElement,\n Omit<ButtonProps, \"icon\">\n>(\n (\n {\n variant = \"default\",\n size = \"default\",\n disableable = true,\n className,\n children,\n ...props\n },\n forwardedRef\n ) => {\n return (\n <button\n type=\"button\"\n className={classNames(\n \"lb-button\",\n !disableable && \"lb-button:non-disableable\",\n className\n )}\n data-variant={variant}\n data-size={size}\n {...props}\n ref={forwardedRef}\n >\n {children}\n </button>\n );\n }\n);\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ icon, children, ...props }, forwardedRef) => {\n return (\n <CustomButton {...props} ref={forwardedRef}>\n {icon ? <span className=\"lb-icon-container\">{icon}</span> : null}\n {children ? <span className=\"lb-button-label\">{children}</span> : null}\n </CustomButton>\n );\n }\n);\n"],"names":[],"mappings":";;;;;;;AAAA;AAcO;AAAqB;AAKxB;AACY;AACH;AACO;AACd;AACA;AACG;AAIL;AACG;AACM;AACM;AACT;AACgB;AAChB;AACF;AACc;AACH;AACP;AACC;AAEJ;AACH;AAGN;AAEO;AAAe;AAElB;AACG;AAAiB;AAAY;AAC3B;AAAQ;AAAe;AAAqB;AAAe;AAC/C;AAAe;AAAmB;AAAmB;AAAA;AACpE;AAGN;;;"}
1
+ {"version":3,"file":"Button.js","sources":["../../../src/components/internal/Button.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\n\nimport { ChevronDownIcon } from \"../../icons/ChevronDown\";\nimport { classNames } from \"../../utils/class-names\";\n\nexport interface ButtonProps extends ComponentProps<\"button\"> {\n variant?: \"default\" | \"toolbar\" | \"outline\" | \"primary\" | \"secondary\";\n size?: \"default\" | \"large\";\n disableable?: boolean;\n icon?: ReactNode;\n}\n\nexport const CustomButton = forwardRef<\n HTMLButtonElement,\n Omit<ButtonProps, \"icon\">\n>(\n (\n {\n variant = \"default\",\n size = \"default\",\n disableable = true,\n className,\n children,\n ...props\n },\n forwardedRef\n ) => {\n return (\n <button\n type=\"button\"\n className={classNames(\n \"lb-button\",\n !disableable && \"lb-button:non-disableable\",\n className\n )}\n data-variant={variant}\n data-size={size}\n {...props}\n ref={forwardedRef}\n >\n {children}\n </button>\n );\n }\n);\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ icon, children, ...props }, forwardedRef) => {\n return (\n <CustomButton {...props} ref={forwardedRef}>\n {icon ? <span className=\"lb-icon-container\">{icon}</span> : null}\n {children ? <span className=\"lb-button-label\">{children}</span> : null}\n </CustomButton>\n );\n }\n);\n\nexport const SelectButton = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ icon, children, className, ...props }, forwardedRef) => {\n return (\n <CustomButton\n {...props}\n type=\"button\"\n className={classNames(\"lb-select-button\", className)}\n ref={forwardedRef}\n >\n {icon ? <span className=\"lb-icon-container\">{icon}</span> : null}\n {children ? <span className=\"lb-button-label\">{children}</span> : null}\n <span className=\"lb-select-button-chevron\">\n <ChevronDownIcon />\n </span>\n </CustomButton>\n );\n }\n);\n"],"names":[],"mappings":";;;;;;;;AAAA;AAeO;AAAqB;AAKxB;AACY;AACH;AACO;AACd;AACA;AACG;AAIL;AACG;AACM;AACM;AACT;AACgB;AAChB;AACF;AACc;AACH;AACP;AACC;AAEJ;AACH;AAGN;AAEO;AAAe;AAElB;AACG;AAAiB;AAAY;AAC3B;AAAQ;AAAe;AAAqB;AAAe;AAC/C;AAAe;AAAmB;AAAmB;AAAA;AACpE;AAGN;AAEO;AAAqB;AAExB;AACG;AACK;AACC;AAC8C;AAC9C;AAEJ;AAAQ;AAAe;AAAqB;AAAe;AAC/C;AAAe;AAAmB;AAAmB;AACjE;AAAe;AACG;AACnB;AAAA;AACF;AAGN;;;;"}
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { forwardRef } from 'react';
4
+ import { ChevronDownIcon } from '../../icons/ChevronDown.mjs';
4
5
  import { classNames } from '../../utils/class-names.mjs';
5
6
 
6
7
 
@@ -46,6 +47,30 @@ const Button = forwardRef(
46
47
  });
47
48
  }
48
49
  );
50
+ const SelectButton = forwardRef(
51
+ ({ icon, children, className, ...props }, forwardedRef) => {
52
+ return /* @__PURE__ */ jsxs(CustomButton, {
53
+ ...props,
54
+ type: "button",
55
+ className: classNames("lb-select-button", className),
56
+ ref: forwardedRef,
57
+ children: [
58
+ icon ? /* @__PURE__ */ jsx("span", {
59
+ className: "lb-icon-container",
60
+ children: icon
61
+ }) : null,
62
+ children ? /* @__PURE__ */ jsx("span", {
63
+ className: "lb-button-label",
64
+ children
65
+ }) : null,
66
+ /* @__PURE__ */ jsx("span", {
67
+ className: "lb-select-button-chevron",
68
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
69
+ })
70
+ ]
71
+ });
72
+ }
73
+ );
49
74
 
50
- export { Button, CustomButton };
75
+ export { Button, CustomButton, SelectButton };
51
76
  //# sourceMappingURL=Button.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.mjs","sources":["../../../src/components/internal/Button.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\n\nimport { classNames } from \"../../utils/class-names\";\n\nexport interface ButtonProps extends ComponentProps<\"button\"> {\n variant?: \"default\" | \"toolbar\" | \"outline\" | \"primary\" | \"secondary\";\n size?: \"default\" | \"large\";\n disableable?: boolean;\n icon?: ReactNode;\n}\n\nexport const CustomButton = forwardRef<\n HTMLButtonElement,\n Omit<ButtonProps, \"icon\">\n>(\n (\n {\n variant = \"default\",\n size = \"default\",\n disableable = true,\n className,\n children,\n ...props\n },\n forwardedRef\n ) => {\n return (\n <button\n type=\"button\"\n className={classNames(\n \"lb-button\",\n !disableable && \"lb-button:non-disableable\",\n className\n )}\n data-variant={variant}\n data-size={size}\n {...props}\n ref={forwardedRef}\n >\n {children}\n </button>\n );\n }\n);\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ icon, children, ...props }, forwardedRef) => {\n return (\n <CustomButton {...props} ref={forwardedRef}>\n {icon ? <span className=\"lb-icon-container\">{icon}</span> : null}\n {children ? <span className=\"lb-button-label\">{children}</span> : null}\n </CustomButton>\n );\n }\n);\n"],"names":[],"mappings":";;;;;AAAA;AAcO;AAAqB;AAKxB;AACY;AACH;AACO;AACd;AACA;AACG;AAIL;AACG;AACM;AACM;AACT;AACgB;AAChB;AACF;AACc;AACH;AACP;AACC;AAEJ;AACH;AAGN;AAEO;AAAe;AAElB;AACG;AAAiB;AAAY;AAC3B;AAAQ;AAAe;AAAqB;AAAe;AAC/C;AAAe;AAAmB;AAAmB;AAAA;AACpE;AAGN;;"}
1
+ {"version":3,"file":"Button.mjs","sources":["../../../src/components/internal/Button.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\n\nimport { ChevronDownIcon } from \"../../icons/ChevronDown\";\nimport { classNames } from \"../../utils/class-names\";\n\nexport interface ButtonProps extends ComponentProps<\"button\"> {\n variant?: \"default\" | \"toolbar\" | \"outline\" | \"primary\" | \"secondary\";\n size?: \"default\" | \"large\";\n disableable?: boolean;\n icon?: ReactNode;\n}\n\nexport const CustomButton = forwardRef<\n HTMLButtonElement,\n Omit<ButtonProps, \"icon\">\n>(\n (\n {\n variant = \"default\",\n size = \"default\",\n disableable = true,\n className,\n children,\n ...props\n },\n forwardedRef\n ) => {\n return (\n <button\n type=\"button\"\n className={classNames(\n \"lb-button\",\n !disableable && \"lb-button:non-disableable\",\n className\n )}\n data-variant={variant}\n data-size={size}\n {...props}\n ref={forwardedRef}\n >\n {children}\n </button>\n );\n }\n);\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ icon, children, ...props }, forwardedRef) => {\n return (\n <CustomButton {...props} ref={forwardedRef}>\n {icon ? <span className=\"lb-icon-container\">{icon}</span> : null}\n {children ? <span className=\"lb-button-label\">{children}</span> : null}\n </CustomButton>\n );\n }\n);\n\nexport const SelectButton = forwardRef<HTMLButtonElement, ButtonProps>(\n ({ icon, children, className, ...props }, forwardedRef) => {\n return (\n <CustomButton\n {...props}\n type=\"button\"\n className={classNames(\"lb-select-button\", className)}\n ref={forwardedRef}\n >\n {icon ? <span className=\"lb-icon-container\">{icon}</span> : null}\n {children ? <span className=\"lb-button-label\">{children}</span> : null}\n <span className=\"lb-select-button-chevron\">\n <ChevronDownIcon />\n </span>\n </CustomButton>\n );\n }\n);\n"],"names":[],"mappings":";;;;;;AAAA;AAeO;AAAqB;AAKxB;AACY;AACH;AACO;AACd;AACA;AACG;AAIL;AACG;AACM;AACM;AACT;AACgB;AAChB;AACF;AACc;AACH;AACP;AACC;AAEJ;AACH;AAGN;AAEO;AAAe;AAElB;AACG;AAAiB;AAAY;AAC3B;AAAQ;AAAe;AAAqB;AAAe;AAC/C;AAAe;AAAmB;AAAmB;AAAA;AACpE;AAGN;AAEO;AAAqB;AAExB;AACG;AACK;AACC;AAC8C;AAC9C;AAEJ;AAAQ;AAAe;AAAqB;AAAe;AAC/C;AAAe;AAAmB;AAAmB;AACjE;AAAe;AACG;AACnB;AAAA;AACF;AAGN;;"}
package/dist/icon.js ADDED
@@ -0,0 +1,63 @@
1
+ 'use strict';
2
+
3
+ require('./icons/index.js');
4
+ var Attachment = require('./icons/Attachment.js');
5
+ var Blockquote = require('./icons/Blockquote.js');
6
+ var Bold = require('./icons/Bold.js');
7
+ var Check = require('./icons/Check.js');
8
+ var Code = require('./icons/Code.js');
9
+ var Comment = require('./icons/Comment.js');
10
+ var Cross = require('./icons/Cross.js');
11
+ var Ellipsis = require('./icons/Ellipsis.js');
12
+ var Emoji = require('./icons/Emoji.js');
13
+ var H1 = require('./icons/H1.js');
14
+ var H2 = require('./icons/H2.js');
15
+ var H3 = require('./icons/H3.js');
16
+ var Italic = require('./icons/Italic.js');
17
+ var Lengthen = require('./icons/Lengthen.js');
18
+ var ListOrdered = require('./icons/ListOrdered.js');
19
+ var ListUnordered = require('./icons/ListUnordered.js');
20
+ var Mention = require('./icons/Mention.js');
21
+ var QuestionMark = require('./icons/QuestionMark.js');
22
+ var Redo = require('./icons/Redo.js');
23
+ var Send = require('./icons/Send.js');
24
+ var Shorten = require('./icons/Shorten.js');
25
+ var Sparkles = require('./icons/Sparkles.js');
26
+ var Strikethrough = require('./icons/Strikethrough.js');
27
+ var Text = require('./icons/Text.js');
28
+ var Translate = require('./icons/Translate.js');
29
+ var Underline = require('./icons/Underline.js');
30
+ var Undo = require('./icons/Undo.js');
31
+ var Warning = require('./icons/Warning.js');
32
+
33
+
34
+
35
+ exports.Attachment = Attachment.AttachmentIcon;
36
+ exports.Blockquote = Blockquote.BlockquoteIcon;
37
+ exports.Bold = Bold.BoldIcon;
38
+ exports.Check = Check.CheckIcon;
39
+ exports.Code = Code.CodeIcon;
40
+ exports.Comment = Comment.CommentIcon;
41
+ exports.Cross = Cross.CrossIcon;
42
+ exports.Ellipsis = Ellipsis.EllipsisIcon;
43
+ exports.Emoji = Emoji.EmojiIcon;
44
+ exports.H1 = H1.H1Icon;
45
+ exports.H2 = H2.H2Icon;
46
+ exports.H3 = H3.H3Icon;
47
+ exports.Italic = Italic.ItalicIcon;
48
+ exports.Lengthen = Lengthen.LengthenIcon;
49
+ exports.ListOrdered = ListOrdered.ListOrderedIcon;
50
+ exports.ListUnordered = ListUnordered.ListUnorderedIcon;
51
+ exports.Mention = Mention.MentionIcon;
52
+ exports.QuestionMark = QuestionMark.QuestionMarkIcon;
53
+ exports.Redo = Redo.RedoIcon;
54
+ exports.Send = Send.SendIcon;
55
+ exports.Shorten = Shorten.ShortenIcon;
56
+ exports.Sparkles = Sparkles.SparklesIcon;
57
+ exports.Strikethrough = Strikethrough.StrikethroughIcon;
58
+ exports.Text = Text.TextIcon;
59
+ exports.Translate = Translate.TranslateIcon;
60
+ exports.Underline = Underline.UnderlineIcon;
61
+ exports.Undo = Undo.UndoIcon;
62
+ exports.Warning = Warning.WarningIcon;
63
+ //# sourceMappingURL=icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/icon.mjs ADDED
@@ -0,0 +1,30 @@
1
+ import './icons/index.mjs';
2
+ export { AttachmentIcon as Attachment } from './icons/Attachment.mjs';
3
+ export { BlockquoteIcon as Blockquote } from './icons/Blockquote.mjs';
4
+ export { BoldIcon as Bold } from './icons/Bold.mjs';
5
+ export { CheckIcon as Check } from './icons/Check.mjs';
6
+ export { CodeIcon as Code } from './icons/Code.mjs';
7
+ export { CommentIcon as Comment } from './icons/Comment.mjs';
8
+ export { CrossIcon as Cross } from './icons/Cross.mjs';
9
+ export { EllipsisIcon as Ellipsis } from './icons/Ellipsis.mjs';
10
+ export { EmojiIcon as Emoji } from './icons/Emoji.mjs';
11
+ export { H1Icon as H1 } from './icons/H1.mjs';
12
+ export { H2Icon as H2 } from './icons/H2.mjs';
13
+ export { H3Icon as H3 } from './icons/H3.mjs';
14
+ export { ItalicIcon as Italic } from './icons/Italic.mjs';
15
+ export { LengthenIcon as Lengthen } from './icons/Lengthen.mjs';
16
+ export { ListOrderedIcon as ListOrdered } from './icons/ListOrdered.mjs';
17
+ export { ListUnorderedIcon as ListUnordered } from './icons/ListUnordered.mjs';
18
+ export { MentionIcon as Mention } from './icons/Mention.mjs';
19
+ export { QuestionMarkIcon as QuestionMark } from './icons/QuestionMark.mjs';
20
+ export { RedoIcon as Redo } from './icons/Redo.mjs';
21
+ export { SendIcon as Send } from './icons/Send.mjs';
22
+ export { ShortenIcon as Shorten } from './icons/Shorten.mjs';
23
+ export { SparklesIcon as Sparkles } from './icons/Sparkles.mjs';
24
+ export { StrikethroughIcon as Strikethrough } from './icons/Strikethrough.mjs';
25
+ export { TextIcon as Text } from './icons/Text.mjs';
26
+ export { TranslateIcon as Translate } from './icons/Translate.mjs';
27
+ export { UnderlineIcon as Underline } from './icons/Underline.mjs';
28
+ export { UndoIcon as Undo } from './icons/Undo.mjs';
29
+ export { WarningIcon as Warning } from './icons/Warning.mjs';
30
+ //# sourceMappingURL=icon.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var Icon = require('../components/internal/Icon.js');
5
+
6
+ function BlockquoteIcon(props) {
7
+ return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
8
+ ...props,
9
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", {
10
+ d: "M16 14.25H9M16 10H9m7-4.25H4M4 10l2 2.13-2 2.12"
11
+ })
12
+ });
13
+ }
14
+
15
+ exports.BlockquoteIcon = BlockquoteIcon;
16
+ //# sourceMappingURL=Blockquote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Blockquote.js","sources":["../../src/icons/Blockquote.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function BlockquoteIcon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M16 14.25H9M16 10H9m7-4.25H4M4 10l2 2.13-2 2.12\" />\n </Icon>\n );\n}\n"],"names":["jsx","Icon"],"mappings":";;;;;AAIO,SAAS,eAAe,KAA8B,EAAA;AAC3D,EAAA,uBACGA,cAAA,CAAAC,SAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,iDAAA;AAAA,KAAkD,CAAA;AAAA,GAC5D,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { Icon } from '../components/internal/Icon.mjs';
3
+
4
+ function BlockquoteIcon(props) {
5
+ return /* @__PURE__ */ jsx(Icon, {
6
+ ...props,
7
+ children: /* @__PURE__ */ jsx("path", {
8
+ d: "M16 14.25H9M16 10H9m7-4.25H4M4 10l2 2.13-2 2.12"
9
+ })
10
+ });
11
+ }
12
+
13
+ export { BlockquoteIcon };
14
+ //# sourceMappingURL=Blockquote.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Blockquote.mjs","sources":["../../src/icons/Blockquote.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function BlockquoteIcon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M16 14.25H9M16 10H9m7-4.25H4M4 10l2 2.13-2 2.12\" />\n </Icon>\n );\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,eAAe,KAA8B,EAAA;AAC3D,EAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,iDAAA;AAAA,KAAkD,CAAA;AAAA,GAC5D,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var Icon = require('../components/internal/Icon.js');
5
+
6
+ function H1Icon(props) {
7
+ return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
8
+ ...props,
9
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", {
10
+ d: "M4 10h5m-5 4V6m5 8V6m3.5 1.5 2-1.5v8m0 0H13m1.5 0H16"
11
+ })
12
+ });
13
+ }
14
+
15
+ exports.H1Icon = H1Icon;
16
+ //# sourceMappingURL=H1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H1.js","sources":["../../src/icons/H1.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function H1Icon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M4 10h5m-5 4V6m5 8V6m3.5 1.5 2-1.5v8m0 0H13m1.5 0H16\" />\n </Icon>\n );\n}\n"],"names":["jsx","Icon"],"mappings":";;;;;AAIO,SAAS,OAAO,KAA8B,EAAA;AACnD,EAAA,uBACGA,cAAA,CAAAC,SAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,sDAAA;AAAA,KAAuD,CAAA;AAAA,GACjE,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { Icon } from '../components/internal/Icon.mjs';
3
+
4
+ function H1Icon(props) {
5
+ return /* @__PURE__ */ jsx(Icon, {
6
+ ...props,
7
+ children: /* @__PURE__ */ jsx("path", {
8
+ d: "M4 10h5m-5 4V6m5 8V6m3.5 1.5 2-1.5v8m0 0H13m1.5 0H16"
9
+ })
10
+ });
11
+ }
12
+
13
+ export { H1Icon };
14
+ //# sourceMappingURL=H1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H1.mjs","sources":["../../src/icons/H1.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function H1Icon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M4 10h5m-5 4V6m5 8V6m3.5 1.5 2-1.5v8m0 0H13m1.5 0H16\" />\n </Icon>\n );\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,OAAO,KAA8B,EAAA;AACnD,EAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,sDAAA;AAAA,KAAuD,CAAA;AAAA,GACjE,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var Icon = require('../components/internal/Icon.js');
5
+
6
+ function H2Icon(props) {
7
+ return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
8
+ ...props,
9
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", {
10
+ d: "M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.21-1 2-1 1 0 2 .5 2 2 0 1.788-1.5 3-4 6h4"
11
+ })
12
+ });
13
+ }
14
+
15
+ exports.H2Icon = H2Icon;
16
+ //# sourceMappingURL=H2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H2.js","sources":["../../src/icons/H2.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function H2Icon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.21-1 2-1 1 0 2 .5 2 2 0 1.788-1.5 3-4 6h4\" />\n </Icon>\n );\n}\n"],"names":["jsx","Icon"],"mappings":";;;;;AAIO,SAAS,OAAO,KAA8B,EAAA;AACnD,EAAA,uBACGA,cAAA,CAAAC,SAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,6EAAA;AAAA,KAA8E,CAAA;AAAA,GACxF,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { Icon } from '../components/internal/Icon.mjs';
3
+
4
+ function H2Icon(props) {
5
+ return /* @__PURE__ */ jsx(Icon, {
6
+ ...props,
7
+ children: /* @__PURE__ */ jsx("path", {
8
+ d: "M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.21-1 2-1 1 0 2 .5 2 2 0 1.788-1.5 3-4 6h4"
9
+ })
10
+ });
11
+ }
12
+
13
+ export { H2Icon };
14
+ //# sourceMappingURL=H2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H2.mjs","sources":["../../src/icons/H2.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function H2Icon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.21-1 2-1 1 0 2 .5 2 2 0 1.788-1.5 3-4 6h4\" />\n </Icon>\n );\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,OAAO,KAA8B,EAAA;AACnD,EAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,6EAAA;AAAA,KAA8E,CAAA;AAAA,GACxF,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var Icon = require('../components/internal/Icon.js');
5
+
6
+ function H3Icon(props) {
7
+ return /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, {
8
+ ...props,
9
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", {
10
+ d: "M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.2-1 2-1 .97 0 2 .5 2 2 0 1.79-1.47 2-2 2 .53 0 2 .21 2 2 0 1.5-1.03 2-2 2-.8 0-1.63-.4-2-1"
11
+ })
12
+ });
13
+ }
14
+
15
+ exports.H3Icon = H3Icon;
16
+ //# sourceMappingURL=H3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H3.js","sources":["../../src/icons/H3.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function H3Icon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.2-1 2-1 .97 0 2 .5 2 2 0 1.79-1.47 2-2 2 .53 0 2 .21 2 2 0 1.5-1.03 2-2 2-.8 0-1.63-.4-2-1\" />\n </Icon>\n );\n}\n"],"names":["jsx","Icon"],"mappings":";;;;;AAIO,SAAS,OAAO,KAA8B,EAAA;AACnD,EAAA,uBACGA,cAAA,CAAAC,SAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAAD,cAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,8HAAA;AAAA,KAA+H,CAAA;AAAA,GACzI,CAAA,CAAA;AAEJ;;;;"}
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { Icon } from '../components/internal/Icon.mjs';
3
+
4
+ function H3Icon(props) {
5
+ return /* @__PURE__ */ jsx(Icon, {
6
+ ...props,
7
+ children: /* @__PURE__ */ jsx("path", {
8
+ d: "M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.2-1 2-1 .97 0 2 .5 2 2 0 1.79-1.47 2-2 2 .53 0 2 .21 2 2 0 1.5-1.03 2-2 2-.8 0-1.63-.4-2-1"
9
+ })
10
+ });
11
+ }
12
+
13
+ export { H3Icon };
14
+ //# sourceMappingURL=H3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H3.mjs","sources":["../../src/icons/H3.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { Icon } from \"../components/internal/Icon\";\n\nexport function H3Icon(props: ComponentProps<\"svg\">) {\n return (\n <Icon {...props}>\n <path d=\"M4 10h5m-5 4V6m5 8V6m3 1c.37-.6 1.2-1 2-1 .97 0 2 .5 2 2 0 1.79-1.47 2-2 2 .53 0 2 .21 2 2 0 1.5-1.03 2-2 2-.8 0-1.63-.4-2-1\" />\n </Icon>\n );\n}\n"],"names":[],"mappings":";;;AAIO,SAAS,OAAO,KAA8B,EAAA;AACnD,EAAA,uBACG,GAAA,CAAA,IAAA,EAAA;AAAA,IAAM,GAAG,KAAA;AAAA,IACR,QAAC,kBAAA,GAAA,CAAA,MAAA,EAAA;AAAA,MAAK,CAAE,EAAA,8HAAA;AAAA,KAA+H,CAAA;AAAA,GACzI,CAAA,CAAA;AAEJ;;;;"}