@tipp/ui 1.0.4 → 1.0.6

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 (153) hide show
  1. package/dist/atoms/avatar.d.cts +1 -1
  2. package/dist/atoms/avatar.d.ts +1 -1
  3. package/dist/atoms/button.cjs +4 -4
  4. package/dist/atoms/button.cjs.map +1 -1
  5. package/dist/atoms/button.d.cts +2 -2
  6. package/dist/atoms/button.d.ts +2 -2
  7. package/dist/atoms/button.js +1 -1
  8. package/dist/atoms/check-box.d.cts +1 -1
  9. package/dist/atoms/check-box.d.ts +1 -1
  10. package/dist/atoms/index.cjs +4 -4
  11. package/dist/atoms/index.cjs.map +1 -1
  12. package/dist/atoms/index.js +48 -48
  13. package/dist/atoms/pagination.cjs.map +1 -1
  14. package/dist/atoms/pagination.js +2 -2
  15. package/dist/chunk-2QZV2WKV.js +42 -0
  16. package/dist/chunk-2QZV2WKV.js.map +1 -0
  17. package/dist/chunk-2RMZJS2O.js +59 -0
  18. package/dist/chunk-2RMZJS2O.js.map +1 -0
  19. package/dist/chunk-3K6GFBJT.js +57 -0
  20. package/dist/chunk-3K6GFBJT.js.map +1 -0
  21. package/dist/chunk-ALP5524J.js +55 -0
  22. package/dist/chunk-ALP5524J.js.map +1 -0
  23. package/dist/chunk-AQX7DQLI.js +36 -0
  24. package/dist/chunk-AQX7DQLI.js.map +1 -0
  25. package/dist/chunk-AXM27M2R.js +43 -0
  26. package/dist/chunk-AXM27M2R.js.map +1 -0
  27. package/dist/chunk-B7R4QL7D.js +55 -0
  28. package/dist/chunk-B7R4QL7D.js.map +1 -0
  29. package/dist/chunk-CCZSZZTS.js +25 -0
  30. package/dist/chunk-CCZSZZTS.js.map +1 -0
  31. package/dist/chunk-CMWPUK3L.js +10 -0
  32. package/dist/chunk-CMWPUK3L.js.map +1 -0
  33. package/dist/chunk-CT7PHRXQ.js +57 -0
  34. package/dist/chunk-CT7PHRXQ.js.map +1 -0
  35. package/dist/chunk-DF7LG3AO.js +1 -0
  36. package/dist/chunk-DF7LG3AO.js.map +1 -0
  37. package/dist/chunk-EK4ZFDYD.js +39 -0
  38. package/dist/chunk-EK4ZFDYD.js.map +1 -0
  39. package/dist/chunk-FVU2BOJV.js +54 -0
  40. package/dist/chunk-FVU2BOJV.js.map +1 -0
  41. package/dist/chunk-GTDVFQVW.js +28 -0
  42. package/dist/chunk-GTDVFQVW.js.map +1 -0
  43. package/dist/chunk-GUTTFFCR.js +36 -0
  44. package/dist/chunk-GUTTFFCR.js.map +1 -0
  45. package/dist/chunk-GZG4UOJZ.js +43 -0
  46. package/dist/chunk-GZG4UOJZ.js.map +1 -0
  47. package/dist/chunk-GZHSO6CW.js +36 -0
  48. package/dist/chunk-GZHSO6CW.js.map +1 -0
  49. package/dist/chunk-H2TF3WTO.js +55 -0
  50. package/dist/chunk-H2TF3WTO.js.map +1 -0
  51. package/dist/chunk-HE3XMGS3.js +25 -0
  52. package/dist/chunk-HE3XMGS3.js.map +1 -0
  53. package/dist/chunk-HR3KN5AE.js +39 -0
  54. package/dist/chunk-HR3KN5AE.js.map +1 -0
  55. package/dist/chunk-IFRVKLSE.js +104 -0
  56. package/dist/chunk-IFRVKLSE.js.map +1 -0
  57. package/dist/chunk-IUZOBUV4.js +57 -0
  58. package/dist/chunk-IUZOBUV4.js.map +1 -0
  59. package/dist/chunk-J57DESXI.js +55 -0
  60. package/dist/chunk-J57DESXI.js.map +1 -0
  61. package/dist/chunk-JL6FCZV4.js +55 -0
  62. package/dist/chunk-JL6FCZV4.js.map +1 -0
  63. package/dist/chunk-JU534UAV.js +57 -0
  64. package/dist/chunk-JU534UAV.js.map +1 -0
  65. package/dist/chunk-KHHXN3CH.js +1 -0
  66. package/dist/chunk-KHHXN3CH.js.map +1 -0
  67. package/dist/chunk-LCC3I3PQ.js +24 -0
  68. package/dist/chunk-LCC3I3PQ.js.map +1 -0
  69. package/dist/chunk-LPUSIN3M.js +104 -0
  70. package/dist/chunk-LPUSIN3M.js.map +1 -0
  71. package/dist/chunk-LV4WSOXL.js +39 -0
  72. package/dist/chunk-LV4WSOXL.js.map +1 -0
  73. package/dist/chunk-MDPBP64D.js +104 -0
  74. package/dist/chunk-MDPBP64D.js.map +1 -0
  75. package/dist/chunk-MHHNZIVQ.js +57 -0
  76. package/dist/chunk-MHHNZIVQ.js.map +1 -0
  77. package/dist/chunk-N46QE3KW.js +55 -0
  78. package/dist/chunk-N46QE3KW.js.map +1 -0
  79. package/dist/chunk-NK7W7F66.js +54 -0
  80. package/dist/chunk-NK7W7F66.js.map +1 -0
  81. package/dist/chunk-NMIT4GNJ.js +57 -0
  82. package/dist/chunk-NMIT4GNJ.js.map +1 -0
  83. package/dist/chunk-NUM4Y5VM.js +54 -0
  84. package/dist/chunk-NUM4Y5VM.js.map +1 -0
  85. package/dist/chunk-NX5QD74I.js +56 -0
  86. package/dist/chunk-NX5QD74I.js.map +1 -0
  87. package/dist/chunk-O6P7IWJP.js +54 -0
  88. package/dist/chunk-O6P7IWJP.js.map +1 -0
  89. package/dist/chunk-OYWM35R6.js +56 -0
  90. package/dist/chunk-OYWM35R6.js.map +1 -0
  91. package/dist/chunk-P2VKIZ3M.js +18 -0
  92. package/dist/chunk-P2VKIZ3M.js.map +1 -0
  93. package/dist/chunk-PQBIBUGH.js +10 -0
  94. package/dist/chunk-PQBIBUGH.js.map +1 -0
  95. package/dist/chunk-QTHWYUYP.js +28 -0
  96. package/dist/chunk-QTHWYUYP.js.map +1 -0
  97. package/dist/chunk-RYUIQBUD.js +59 -0
  98. package/dist/chunk-RYUIQBUD.js.map +1 -0
  99. package/dist/chunk-SKDEOPP2.js +54 -0
  100. package/dist/chunk-SKDEOPP2.js.map +1 -0
  101. package/dist/chunk-SONXRHVK.js +58 -0
  102. package/dist/chunk-SONXRHVK.js.map +1 -0
  103. package/dist/chunk-U25HB5E7.js +59 -0
  104. package/dist/chunk-U25HB5E7.js.map +1 -0
  105. package/dist/chunk-V6KPBGB3.js +57 -0
  106. package/dist/chunk-V6KPBGB3.js.map +1 -0
  107. package/dist/chunk-V7JYNIVJ.js +39 -0
  108. package/dist/chunk-V7JYNIVJ.js.map +1 -0
  109. package/dist/chunk-WMBDJ72B.js +25 -0
  110. package/dist/chunk-WMBDJ72B.js.map +1 -0
  111. package/dist/chunk-XBXAWQOH.js +43 -0
  112. package/dist/chunk-XBXAWQOH.js.map +1 -0
  113. package/dist/chunk-XQOQ65MA.js +57 -0
  114. package/dist/chunk-XQOQ65MA.js.map +1 -0
  115. package/dist/icon.cjs +8 -0
  116. package/dist/icon.cjs.map +1 -1
  117. package/dist/icon.d.cts +1 -1
  118. package/dist/icon.d.ts +1 -1
  119. package/dist/icon.js +9 -1
  120. package/dist/index.cjs +61 -6
  121. package/dist/index.cjs.map +1 -1
  122. package/dist/index.css +12 -0
  123. package/dist/index.d.cts +2 -1
  124. package/dist/index.d.ts +2 -1
  125. package/dist/index.js +79 -67
  126. package/dist/molecules/company-selector.cjs +406 -0
  127. package/dist/molecules/company-selector.cjs.map +1 -0
  128. package/dist/molecules/company-selector.d.cts +11 -0
  129. package/dist/molecules/company-selector.d.ts +11 -0
  130. package/dist/molecules/company-selector.js +62 -0
  131. package/dist/molecules/company-selector.js.map +1 -0
  132. package/dist/molecules/expand-table/index.cjs +4 -4
  133. package/dist/molecules/expand-table/index.cjs.map +1 -1
  134. package/dist/molecules/expand-table/index.js +24 -24
  135. package/dist/molecules/expand-table/row.cjs +4 -4
  136. package/dist/molecules/expand-table/row.cjs.map +1 -1
  137. package/dist/molecules/expand-table/row.js +21 -21
  138. package/dist/molecules/index.cjs +51 -4
  139. package/dist/molecules/index.cjs.map +1 -1
  140. package/dist/molecules/index.d.cts +1 -0
  141. package/dist/molecules/index.d.ts +1 -0
  142. package/dist/molecules/index.js +29 -25
  143. package/dist/molecules/navigation.cjs +438 -0
  144. package/dist/molecules/navigation.cjs.map +1 -0
  145. package/dist/molecules/navigation.d.cts +19 -0
  146. package/dist/molecules/navigation.d.ts +19 -0
  147. package/dist/molecules/navigation.js +62 -0
  148. package/dist/molecules/navigation.js.map +1 -0
  149. package/package.json +1 -1
  150. package/src/atoms/button.tsx +5 -5
  151. package/src/icon.ts +4 -0
  152. package/src/molecules/index.ts +1 -0
  153. package/src/molecules/navigation.tsx +69 -0
package/dist/index.d.ts CHANGED
@@ -13,10 +13,11 @@ export { Pagination, PaginationProps } from './atoms/pagination.js';
13
13
  export { FieldErrorWrapper, FieldErrorWrapperProps } from './atoms/field-error-wrapper.js';
14
14
  export { EllipsisTooltip, EllipsisTooltipProps } from './atoms/ellipsis-tooltip.js';
15
15
  export { ExpandTable, ExpandTableProps } from './molecules/expand-table/index.js';
16
+ export { Navigation, NavigationProps } from './molecules/navigation.js';
16
17
  export { ThemeProvider } from './theme/theme-provider.js';
17
18
  import * as index_js from '@radix-ui/themes/dist/cjs/props/index.js';
18
19
  export { index_js as uiProps };
19
- export { BookmarkFilledIcon, BookmarkIcon, ChatBubbleIcon, ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon, ExclamationTriangleIcon, ExitIcon, InfoCircledIcon, MagnifyingGlassIcon, MixerHorizontalIcon, PlusIcon } from '@radix-ui/react-icons';
20
+ export { BarChartIcon, BookmarkFilledIcon, BookmarkIcon, ChatBubbleIcon, ChevronLeftIcon, ChevronRightIcon, ClipboardIcon, DotsHorizontalIcon, ExclamationTriangleIcon, ExitIcon, GearIcon, InfoCircledIcon, MagnifyingGlassIcon, MixerHorizontalIcon, PersonIcon, PlusIcon } from '@radix-ui/react-icons';
20
21
  export { ExpandComp, OnRowClick } from './molecules/expand-table/row.js';
21
22
  export { ColumnDef, createColumnHelper } from '@tanstack/react-table';
22
23
  import 'react';
package/dist/index.js CHANGED
@@ -1,25 +1,48 @@
1
+ import {
2
+ uiProps
3
+ } from "./chunk-NVKNDAIN.js";
1
4
  import {
2
5
  ThemeProvider
3
6
  } from "./chunk-PL3Q4UVY.js";
4
7
  import {
5
8
  useThemeContext
6
9
  } from "./chunk-MMGP4GEQ.js";
7
- import {
8
- uiProps
9
- } from "./chunk-NVKNDAIN.js";
10
- import "./chunk-WWCWPFEJ.js";
10
+ import "./chunk-DF7LG3AO.js";
11
11
  import {
12
12
  ExpandTable,
13
13
  createColumnHelper
14
- } from "./chunk-JJ5IIAB2.js";
14
+ } from "./chunk-RC4WJLQA.js";
15
15
  import "./chunk-PBPRWY2V.js";
16
+ import "./chunk-BSTJBBEX.js";
17
+ import "./chunk-NDUKDKGB.js";
18
+ import {
19
+ Navigation
20
+ } from "./chunk-U25HB5E7.js";
16
21
  import "./chunk-MASTHXWN.js";
17
22
  import {
18
23
  DatePicker
19
24
  } from "./chunk-IIBITN2G.js";
25
+ import {
26
+ TabNav
27
+ } from "./chunk-YJ7ZFOYL.js";
28
+ import {
29
+ Tabs
30
+ } from "./chunk-5ZITU5L7.js";
31
+ import {
32
+ TextArea
33
+ } from "./chunk-ILRUXI2E.js";
20
34
  import {
21
35
  TextField
22
36
  } from "./chunk-JPIZP2PZ.js";
37
+ import {
38
+ Section
39
+ } from "./chunk-MUNMDHRF.js";
40
+ import {
41
+ SegmentedControl
42
+ } from "./chunk-TVDKGMBI.js";
43
+ import {
44
+ Select
45
+ } from "./chunk-355MU6BH.js";
23
46
  import {
24
47
  Separator
25
48
  } from "./chunk-HYITAA4J.js";
@@ -36,14 +59,14 @@ import {
36
59
  Switch
37
60
  } from "./chunk-OYM4XCHQ.js";
38
61
  import {
39
- TabNav
40
- } from "./chunk-YJ7ZFOYL.js";
62
+ Pagination
63
+ } from "./chunk-LPUSIN3M.js";
41
64
  import {
42
- Tabs
43
- } from "./chunk-5ZITU5L7.js";
65
+ Popover
66
+ } from "./chunk-5AVBYDPB.js";
44
67
  import {
45
- TextArea
46
- } from "./chunk-ILRUXI2E.js";
68
+ Progress
69
+ } from "./chunk-365QMK4D.js";
47
70
  import {
48
71
  Quote
49
72
  } from "./chunk-YO3BQW6S.js";
@@ -60,14 +83,17 @@ import {
60
83
  ScrollArea
61
84
  } from "./chunk-ZKZDVS7G.js";
62
85
  import {
63
- Section
64
- } from "./chunk-MUNMDHRF.js";
86
+ Grid
87
+ } from "./chunk-EGEQY3KT.js";
65
88
  import {
66
- SegmentedControl
67
- } from "./chunk-TVDKGMBI.js";
89
+ Heading
90
+ } from "./chunk-HLOY6BIP.js";
68
91
  import {
69
- Select
70
- } from "./chunk-355MU6BH.js";
92
+ HoverCard
93
+ } from "./chunk-O3T3TM3V.js";
94
+ import {
95
+ IconButton
96
+ } from "./chunk-O3DNDMV3.js";
71
97
  import {
72
98
  Inset
73
99
  } from "./chunk-XQOL7UBI.js";
@@ -78,17 +104,14 @@ import {
78
104
  Link
79
105
  } from "./chunk-XQOZWYUA.js";
80
106
  import {
81
- Pagination
82
- } from "./chunk-OZLC6KYP.js";
83
- import {
84
- IconButton
85
- } from "./chunk-O3DNDMV3.js";
107
+ Container
108
+ } from "./chunk-Q37G2GS6.js";
86
109
  import {
87
- Popover
88
- } from "./chunk-5AVBYDPB.js";
110
+ DataList
111
+ } from "./chunk-VTJZMOSP.js";
89
112
  import {
90
- Progress
91
- } from "./chunk-365QMK4D.js";
113
+ Dialog
114
+ } from "./chunk-P6B2PNYI.js";
92
115
  import {
93
116
  DropdownMenu
94
117
  } from "./chunk-YTZSKMX3.js";
@@ -111,14 +134,14 @@ import {
111
134
  Flex
112
135
  } from "./chunk-25HMMI7R.js";
113
136
  import {
114
- Grid
115
- } from "./chunk-EGEQY3KT.js";
137
+ Button
138
+ } from "./chunk-AQX7DQLI.js";
116
139
  import {
117
- Heading
118
- } from "./chunk-HLOY6BIP.js";
140
+ Callout
141
+ } from "./chunk-B6XJN6EC.js";
119
142
  import {
120
- HoverCard
121
- } from "./chunk-O3T3TM3V.js";
143
+ Card
144
+ } from "./chunk-FYEASFUU.js";
122
145
  import {
123
146
  CheckboxCards
124
147
  } from "./chunk-MIMJ7LON.js";
@@ -135,14 +158,26 @@ import {
135
158
  Collapse
136
159
  } from "./chunk-OCJNQGHN.js";
137
160
  import {
138
- Container
139
- } from "./chunk-Q37G2GS6.js";
140
- import {
141
- DataList
142
- } from "./chunk-VTJZMOSP.js";
161
+ BarChartIcon,
162
+ BookmarkFilledIcon,
163
+ BookmarkIcon,
164
+ ChatBubbleIcon,
165
+ ChevronLeftIcon,
166
+ ChevronRightIcon,
167
+ ClipboardIcon,
168
+ DotsHorizontalIcon,
169
+ ExclamationTriangleIcon,
170
+ ExitIcon,
171
+ GearIcon,
172
+ InfoCircledIcon,
173
+ MagnifyingGlassIcon,
174
+ MixerHorizontalIcon,
175
+ PersonIcon,
176
+ PlusIcon
177
+ } from "./chunk-EK4ZFDYD.js";
143
178
  import {
144
- Dialog
145
- } from "./chunk-P6B2PNYI.js";
179
+ AlertDialog
180
+ } from "./chunk-J242TTFH.js";
146
181
  import {
147
182
  AspectRatio
148
183
  } from "./chunk-EAXUQEO5.js";
@@ -158,40 +193,13 @@ import {
158
193
  import {
159
194
  Box
160
195
  } from "./chunk-4Y5BEXVN.js";
161
- import {
162
- Button
163
- } from "./chunk-RET725VL.js";
164
- import {
165
- Callout
166
- } from "./chunk-B6XJN6EC.js";
167
- import {
168
- Card
169
- } from "./chunk-FYEASFUU.js";
170
- import {
171
- BookmarkFilledIcon,
172
- BookmarkIcon,
173
- ChatBubbleIcon,
174
- ChevronLeftIcon,
175
- ChevronRightIcon,
176
- DotsHorizontalIcon,
177
- ExclamationTriangleIcon,
178
- ExitIcon,
179
- InfoCircledIcon,
180
- MagnifyingGlassIcon,
181
- MixerHorizontalIcon,
182
- PlusIcon
183
- } from "./chunk-MMAV5BRZ.js";
184
- import "./chunk-BSTJBBEX.js";
185
- import "./chunk-NDUKDKGB.js";
186
- import {
187
- AlertDialog
188
- } from "./chunk-J242TTFH.js";
189
196
  import "./chunk-N552FDTV.js";
190
197
  export {
191
198
  AlertDialog,
192
199
  AspectRatio,
193
200
  Avatar,
194
201
  Badge,
202
+ BarChartIcon,
195
203
  Blockquote,
196
204
  BookmarkFilledIcon,
197
205
  BookmarkIcon,
@@ -205,6 +213,7 @@ export {
205
213
  CheckboxGroup,
206
214
  ChevronLeftIcon,
207
215
  ChevronRightIcon,
216
+ ClipboardIcon,
208
217
  Code,
209
218
  Collapse,
210
219
  Container,
@@ -220,6 +229,7 @@ export {
220
229
  ExpandTable,
221
230
  FieldErrorWrapper,
222
231
  Flex,
232
+ GearIcon,
223
233
  Grid,
224
234
  Heading,
225
235
  HoverCard,
@@ -230,7 +240,9 @@ export {
230
240
  Link,
231
241
  MagnifyingGlassIcon,
232
242
  MixerHorizontalIcon,
243
+ Navigation,
233
244
  Pagination,
245
+ PersonIcon,
234
246
  PlusIcon,
235
247
  Popover,
236
248
  Progress,
@@ -0,0 +1,406 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, { get: all[name], enumerable: true });
40
+ };
41
+ var __copyProps = (to, from, except, desc) => {
42
+ if (from && typeof from === "object" || typeof from === "function") {
43
+ for (let key of __getOwnPropNames(from))
44
+ if (!__hasOwnProp.call(to, key) && key !== except)
45
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
+ }
47
+ return to;
48
+ };
49
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
54
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
+ mod
56
+ ));
57
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
+
59
+ // src/molecules/company-selector.tsx
60
+ var company_selector_exports = {};
61
+ __export(company_selector_exports, {
62
+ CompanySelector: () => CompanySelector
63
+ });
64
+ module.exports = __toCommonJS(company_selector_exports);
65
+
66
+ // src/atoms/alert-dialog.tsx
67
+ var import_themes = require("@radix-ui/themes");
68
+
69
+ // src/atoms/aspect-ratio.tsx
70
+ var import_themes2 = require("@radix-ui/themes");
71
+
72
+ // src/atoms/avatar.tsx
73
+ var import_themes3 = require("@radix-ui/themes");
74
+ var import_react = require("react");
75
+ var import_jsx_runtime = require("react/jsx-runtime");
76
+ var Avatar = (0, import_react.forwardRef)(
77
+ (props, ref) => {
78
+ const _a = props, { children, size, variant = "soft" } = _a, rest = __objRest(_a, ["children", "size", "variant"]);
79
+ const radixSize = (0, import_react.useMemo)(() => {
80
+ switch (size) {
81
+ case "small":
82
+ return "1";
83
+ case "medium":
84
+ return "2";
85
+ case "large":
86
+ return "3";
87
+ case "full":
88
+ return "4";
89
+ default:
90
+ return size;
91
+ }
92
+ }, [size]);
93
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes3.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
94
+ }
95
+ );
96
+ Avatar.displayName = "Avatar";
97
+
98
+ // src/atoms/badge.tsx
99
+ var import_themes4 = require("@radix-ui/themes");
100
+ var import_react2 = require("react");
101
+ var import_jsx_runtime2 = require("react/jsx-runtime");
102
+ var Badge = (0, import_react2.forwardRef)(
103
+ (props, ref) => {
104
+ const _a = props, { size, color } = _a, rest = __objRest(_a, ["size", "color"]);
105
+ const radixSize = (0, import_react2.useMemo)(() => {
106
+ switch (size) {
107
+ case "small":
108
+ return "1";
109
+ case "large":
110
+ return "3";
111
+ default:
112
+ return "1";
113
+ }
114
+ }, [size]);
115
+ const radixColor = (0, import_react2.useMemo)(() => {
116
+ switch (color) {
117
+ case "error":
118
+ return "red";
119
+ case "neutral":
120
+ return "gray";
121
+ case "success":
122
+ return "green";
123
+ case "accent":
124
+ default:
125
+ return void 0;
126
+ }
127
+ }, [color]);
128
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes4.Badge, __spreadProps(__spreadValues({}, rest), { color: radixColor, ref, size: radixSize }));
129
+ }
130
+ );
131
+ Badge.displayName = "Badge";
132
+
133
+ // src/atoms/blockquote.tsx
134
+ var import_themes5 = require("@radix-ui/themes");
135
+
136
+ // src/atoms/box.tsx
137
+ var import_themes6 = require("@radix-ui/themes");
138
+
139
+ // src/atoms/button.tsx
140
+ var import_themes7 = require("@radix-ui/themes");
141
+ var import_react3 = require("react");
142
+ var import_jsx_runtime3 = require("react/jsx-runtime");
143
+ var Button = (0, import_react3.forwardRef)(
144
+ (props, ref) => {
145
+ const _a = props, { size } = _a, restProps = __objRest(_a, ["size"]);
146
+ const radixSize = (0, import_react3.useMemo)(() => {
147
+ switch (size) {
148
+ case "small":
149
+ return "2";
150
+ case "medium":
151
+ return "3";
152
+ case "large":
153
+ return "4";
154
+ default:
155
+ return "3";
156
+ }
157
+ }, [size]);
158
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes7.Button, __spreadProps(__spreadValues({}, restProps), { ref, size: radixSize }));
159
+ }
160
+ );
161
+ Button.displayName = "Button";
162
+
163
+ // src/atoms/call-out.tsx
164
+ var import_themes8 = require("@radix-ui/themes");
165
+
166
+ // src/atoms/card.tsx
167
+ var import_themes9 = require("@radix-ui/themes");
168
+
169
+ // src/atoms/check-box.tsx
170
+ var import_themes10 = require("@radix-ui/themes");
171
+ var import_react4 = require("react");
172
+ var import_jsx_runtime4 = require("react/jsx-runtime");
173
+ var Checkbox = (0, import_react4.forwardRef)(
174
+ (props, ref) => {
175
+ const _a = props, { size = "medium" } = _a, rest = __objRest(_a, ["size"]);
176
+ const radixSize = (0, import_react4.useMemo)(() => {
177
+ switch (size) {
178
+ case "small":
179
+ return "1";
180
+ case "medium":
181
+ return "2";
182
+ case "large":
183
+ return "3";
184
+ }
185
+ }, [size]);
186
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes10.Checkbox, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize }));
187
+ }
188
+ );
189
+ Checkbox.displayName = "Checkbox";
190
+
191
+ // src/atoms/check-box-card.tsx
192
+ var import_themes11 = require("@radix-ui/themes");
193
+
194
+ // src/atoms/check-box-group.tsx
195
+ var import_themes12 = require("@radix-ui/themes");
196
+ var import_react5 = require("react");
197
+ var import_jsx_runtime5 = require("react/jsx-runtime");
198
+ var Root = (0, import_react5.forwardRef)((props, ref) => {
199
+ const _a = props, { children, size } = _a, rest = __objRest(_a, ["children", "size"]);
200
+ const groupSize = (0, import_react5.useMemo)(() => {
201
+ switch (size) {
202
+ case "small":
203
+ return "1";
204
+ case "large":
205
+ return "3";
206
+ case "medium":
207
+ default:
208
+ return "2";
209
+ }
210
+ }, [size]);
211
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes12.CheckboxGroup.Root, __spreadProps(__spreadValues({}, rest), { ref, size: groupSize, children }));
212
+ });
213
+ Root.displayName = "CheckboxGroup.Root";
214
+ var CheckboxGroup = {
215
+ Root,
216
+ Item: import_themes12.CheckboxGroup.Item
217
+ };
218
+
219
+ // src/atoms/code.tsx
220
+ var import_themes13 = require("@radix-ui/themes");
221
+
222
+ // src/atoms/container.tsx
223
+ var import_themes14 = require("@radix-ui/themes");
224
+
225
+ // src/atoms/data-list.tsx
226
+ var import_themes15 = require("@radix-ui/themes");
227
+
228
+ // src/atoms/date-picker/index.tsx
229
+ var import_react6 = require("react");
230
+ var import_react_datepicker = __toESM(require("react-datepicker"), 1);
231
+ var import_jsx_runtime6 = require("react/jsx-runtime");
232
+ var DatePicker = (0, import_react6.forwardRef)(
233
+ (props, ref) => {
234
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
235
+ import_react_datepicker.default,
236
+ __spreadProps(__spreadValues({}, props), {
237
+ open: true,
238
+ ref,
239
+ wrapperClassName: "tipp_datePicker"
240
+ })
241
+ );
242
+ }
243
+ );
244
+ DatePicker.displayName = "DatePicker";
245
+
246
+ // src/atoms/dialog.tsx
247
+ var import_themes16 = require("@radix-ui/themes");
248
+
249
+ // src/atoms/dropdown-menu.tsx
250
+ var import_themes17 = require("@radix-ui/themes");
251
+
252
+ // src/atoms/em.tsx
253
+ var import_themes18 = require("@radix-ui/themes");
254
+
255
+ // src/atoms/flex.tsx
256
+ var import_themes19 = require("@radix-ui/themes");
257
+
258
+ // src/atoms/grid.tsx
259
+ var import_themes20 = require("@radix-ui/themes");
260
+
261
+ // src/atoms/heading.tsx
262
+ var import_themes21 = require("@radix-ui/themes");
263
+ var import_react7 = require("react");
264
+ var import_themes22 = require("@radix-ui/themes");
265
+ var import_jsx_runtime7 = require("react/jsx-runtime");
266
+
267
+ // src/atoms/hover-card.tsx
268
+ var import_themes23 = require("@radix-ui/themes");
269
+
270
+ // src/atoms/icon-button.tsx
271
+ var import_themes24 = require("@radix-ui/themes");
272
+
273
+ // src/atoms/inset.tsx
274
+ var import_themes25 = require("@radix-ui/themes");
275
+
276
+ // src/atoms/kbd.tsx
277
+ var import_themes26 = require("@radix-ui/themes");
278
+
279
+ // src/atoms/link.tsx
280
+ var import_themes27 = require("@radix-ui/themes");
281
+ var import_react8 = require("react");
282
+ var import_themes28 = require("@radix-ui/themes");
283
+ var import_jsx_runtime8 = require("react/jsx-runtime");
284
+
285
+ // src/atoms/popover.tsx
286
+ var import_themes29 = require("@radix-ui/themes");
287
+
288
+ // src/atoms/progress.tsx
289
+ var import_themes30 = require("@radix-ui/themes");
290
+
291
+ // src/atoms/quote.tsx
292
+ var import_themes31 = require("@radix-ui/themes");
293
+
294
+ // src/atoms/radio.tsx
295
+ var import_themes32 = require("@radix-ui/themes");
296
+
297
+ // src/atoms/radio-cards.tsx
298
+ var import_themes33 = require("@radix-ui/themes");
299
+
300
+ // src/atoms/radio-group.tsx
301
+ var import_themes34 = require("@radix-ui/themes");
302
+
303
+ // src/atoms/scroll-area.tsx
304
+ var import_themes35 = require("@radix-ui/themes");
305
+
306
+ // src/atoms/section.tsx
307
+ var import_themes36 = require("@radix-ui/themes");
308
+
309
+ // src/atoms/segmented-control.tsx
310
+ var import_themes37 = require("@radix-ui/themes");
311
+
312
+ // src/atoms/select.tsx
313
+ var import_themes38 = require("@radix-ui/themes");
314
+
315
+ // src/atoms/separator.tsx
316
+ var import_themes39 = require("@radix-ui/themes");
317
+
318
+ // src/atoms/skeleton.tsx
319
+ var import_themes40 = require("@radix-ui/themes");
320
+
321
+ // src/atoms/strong.tsx
322
+ var import_themes41 = require("@radix-ui/themes");
323
+
324
+ // src/atoms/switch.tsx
325
+ var import_themes42 = require("@radix-ui/themes");
326
+
327
+ // src/atoms/tab-nav.tsx
328
+ var import_themes43 = require("@radix-ui/themes");
329
+
330
+ // src/atoms/tabs.tsx
331
+ var import_themes44 = require("@radix-ui/themes");
332
+
333
+ // src/atoms/text-area.tsx
334
+ var import_themes45 = require("@radix-ui/themes");
335
+
336
+ // src/atoms/typo.tsx
337
+ var import_themes46 = require("@radix-ui/themes");
338
+ var import_react9 = require("react");
339
+ var import_jsx_runtime9 = require("react/jsx-runtime");
340
+ var Typo = (0, import_react9.forwardRef)(
341
+ (props, ref) => {
342
+ const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
343
+ const radixSize = (0, import_react9.useMemo)(() => {
344
+ if (size !== void 0)
345
+ return size;
346
+ switch (variant) {
347
+ case "caption":
348
+ return "1";
349
+ case "subtitle":
350
+ return "3";
351
+ case "body":
352
+ default:
353
+ return "2";
354
+ }
355
+ }, [size, variant]);
356
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes46.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
357
+ }
358
+ );
359
+ Typo.displayName = "Typo";
360
+
361
+ // src/atoms/text-field.tsx
362
+ var import_themes47 = require("@radix-ui/themes");
363
+
364
+ // src/atoms/tooltip.tsx
365
+ var import_themes48 = require("@radix-ui/themes");
366
+
367
+ // src/atoms/collapse.tsx
368
+ var import_react10 = require("react");
369
+ var import_jsx_runtime10 = require("react/jsx-runtime");
370
+
371
+ // src/atoms/spinner.tsx
372
+ var import_themes49 = require("@radix-ui/themes");
373
+
374
+ // src/atoms/pagination.tsx
375
+ var import_react11 = require("react");
376
+
377
+ // src/icon.ts
378
+ var import_react_icons = require("@radix-ui/react-icons");
379
+
380
+ // src/atoms/pagination.tsx
381
+ var import_jsx_runtime11 = require("react/jsx-runtime");
382
+
383
+ // src/atoms/field-error-wrapper.tsx
384
+ var import_jsx_runtime12 = require("react/jsx-runtime");
385
+
386
+ // src/atoms/ellipsis-tooltip.tsx
387
+ var import_react12 = require("react");
388
+ var import_jsx_runtime13 = require("react/jsx-runtime");
389
+
390
+ // src/molecules/company-selector.tsx
391
+ var import_jsx_runtime14 = require("react/jsx-runtime");
392
+ function CompanySelector(props) {
393
+ const { name, icon, items, onSelectItem } = props;
394
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
395
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes29.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_themes19.Flex, { pl: "4", pr: "4", children: [
396
+ icon,
397
+ name
398
+ ] }) }),
399
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes29.Popover.Content, {})
400
+ ] });
401
+ }
402
+ // Annotate the CommonJS export names for ESM import in node:
403
+ 0 && (module.exports = {
404
+ CompanySelector
405
+ });
406
+ //# sourceMappingURL=company-selector.cjs.map