@simpli-route/apollo-ds 0.1.40 → 0.1.43

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 (350) hide show
  1. package/dist/components/FilterButton/FilterButton.d.ts +3 -0
  2. package/dist/components/FilterButton/index.d.ts +1 -0
  3. package/dist/components/FilterButton/types.d.ts +60 -0
  4. package/dist/components/FilterButton/variants.d.ts +12 -0
  5. package/dist/components/InvisibleSelect/InvisibleSelect.d.ts +8 -0
  6. package/dist/components/InvisibleSelect/InvisibleSelect.test.d.ts +1 -0
  7. package/dist/components/InvisibleSelect/InvisibleSelectItem.d.ts +25 -0
  8. package/dist/components/InvisibleSelect/index.d.ts +4 -0
  9. package/dist/components/InvisibleSelect/types.d.ts +86 -0
  10. package/dist/components/InvisibleSelect/variants.d.ts +23 -0
  11. package/dist/components/SelectInput/PopoverContent.d.ts +12 -0
  12. package/dist/components/SelectInput/SelectContent.d.ts +16 -0
  13. package/dist/components/SelectInput/SelectInput.d.ts +6 -0
  14. package/dist/components/SelectInput/index.d.ts +2 -0
  15. package/dist/components/SelectInput/types.d.ts +112 -0
  16. package/dist/components/{Select → SelectInput}/variants.d.ts +6 -7
  17. package/dist/components/index.d.ts +3 -1
  18. package/dist/index.cjs.js +1 -1
  19. package/dist/index.cjs10.js +1 -1
  20. package/dist/index.cjs100.js +1 -1
  21. package/dist/index.cjs101.js +1 -1
  22. package/dist/index.cjs102.js +1 -1
  23. package/dist/index.cjs103.js +1 -1
  24. package/dist/index.cjs104.js +1 -1
  25. package/dist/index.cjs106.js +1 -1
  26. package/dist/index.cjs107.js +1 -1
  27. package/dist/index.cjs108.js +1 -1
  28. package/dist/index.cjs109.js +1 -1
  29. package/dist/index.cjs11.js +1 -1
  30. package/dist/index.cjs110.js +1 -1
  31. package/dist/index.cjs111.js +1 -1
  32. package/dist/index.cjs112.js +1 -1
  33. package/dist/index.cjs113.js +1 -1
  34. package/dist/index.cjs114.js +1 -1
  35. package/dist/index.cjs115.js +1 -1
  36. package/dist/index.cjs116.js +1 -1
  37. package/dist/index.cjs117.js +1 -1
  38. package/dist/index.cjs118.js +1 -1
  39. package/dist/index.cjs119.js +1 -1
  40. package/dist/index.cjs12.js +1 -1
  41. package/dist/index.cjs120.js +1 -1
  42. package/dist/index.cjs121.js +1 -1
  43. package/dist/index.cjs122.js +1 -1
  44. package/dist/index.cjs123.js +1 -1
  45. package/dist/index.cjs124.js +1 -1
  46. package/dist/index.cjs125.js +1 -1
  47. package/dist/index.cjs126.js +1 -1
  48. package/dist/index.cjs127.js +1 -1
  49. package/dist/index.cjs128.js +1 -1
  50. package/dist/index.cjs129.js +1 -1
  51. package/dist/index.cjs13.js +1 -1
  52. package/dist/index.cjs135.js +1 -1
  53. package/dist/index.cjs136.js +1 -1
  54. package/dist/index.cjs137.js +1 -1
  55. package/dist/index.cjs139.js +1 -1
  56. package/dist/index.cjs14.js +1 -1
  57. package/dist/index.cjs140.js +1 -1
  58. package/dist/index.cjs141.js +1 -1
  59. package/dist/index.cjs142.js +1 -1
  60. package/dist/index.cjs143.js +1 -1
  61. package/dist/index.cjs144.js +1 -1
  62. package/dist/index.cjs145.js +1 -1
  63. package/dist/index.cjs146.js +1 -1
  64. package/dist/index.cjs148.js +1 -1
  65. package/dist/index.cjs15.js +1 -1
  66. package/dist/index.cjs150.js +1 -1
  67. package/dist/index.cjs151.js +1 -1
  68. package/dist/index.cjs152.js +1 -1
  69. package/dist/index.cjs153.js +1 -1
  70. package/dist/index.cjs155.js +1 -1
  71. package/dist/index.cjs156.js +1 -1
  72. package/dist/index.cjs157.js +1 -1
  73. package/dist/index.cjs158.js +1 -1
  74. package/dist/index.cjs159.js +1 -1
  75. package/dist/index.cjs16.js +1 -1
  76. package/dist/index.cjs161.js +1 -1
  77. package/dist/index.cjs162.js +1 -0
  78. package/dist/index.cjs163.js +1 -0
  79. package/dist/index.cjs164.js +1 -0
  80. package/dist/index.cjs165.js +1 -0
  81. package/dist/index.cjs166.js +1 -0
  82. package/dist/index.cjs167.js +1 -0
  83. package/dist/index.cjs17.js +1 -1
  84. package/dist/index.cjs18.js +1 -1
  85. package/dist/index.cjs19.js +1 -1
  86. package/dist/index.cjs2.js +1 -1
  87. package/dist/index.cjs20.js +1 -1
  88. package/dist/index.cjs21.js +1 -1
  89. package/dist/index.cjs22.js +1 -1
  90. package/dist/index.cjs23.js +1 -1
  91. package/dist/index.cjs24.js +1 -1
  92. package/dist/index.cjs25.js +1 -1
  93. package/dist/index.cjs26.js +1 -1
  94. package/dist/index.cjs27.js +1 -1
  95. package/dist/index.cjs28.js +1 -1
  96. package/dist/index.cjs29.js +1 -1
  97. package/dist/index.cjs3.js +1 -1
  98. package/dist/index.cjs30.js +1 -1
  99. package/dist/index.cjs31.js +1 -1
  100. package/dist/index.cjs32.js +1 -1
  101. package/dist/index.cjs33.js +1 -1
  102. package/dist/index.cjs34.js +1 -1
  103. package/dist/index.cjs35.js +1 -1
  104. package/dist/index.cjs36.js +1 -1
  105. package/dist/index.cjs37.js +1 -1
  106. package/dist/index.cjs38.js +1 -1
  107. package/dist/index.cjs39.js +1 -1
  108. package/dist/index.cjs4.js +1 -1
  109. package/dist/index.cjs40.js +1 -1
  110. package/dist/index.cjs41.js +1 -1
  111. package/dist/index.cjs42.js +1 -1
  112. package/dist/index.cjs43.js +1 -1
  113. package/dist/index.cjs44.js +1 -1
  114. package/dist/index.cjs45.js +1 -1
  115. package/dist/index.cjs46.js +1 -1
  116. package/dist/index.cjs47.js +1 -1
  117. package/dist/index.cjs48.js +1 -1
  118. package/dist/index.cjs49.js +1 -1
  119. package/dist/index.cjs5.js +1 -1
  120. package/dist/index.cjs50.js +1 -1
  121. package/dist/index.cjs51.js +1 -1
  122. package/dist/index.cjs52.js +1 -1
  123. package/dist/index.cjs53.js +1 -1
  124. package/dist/index.cjs54.js +1 -1
  125. package/dist/index.cjs55.js +1 -1
  126. package/dist/index.cjs56.js +1 -1
  127. package/dist/index.cjs57.js +1 -1
  128. package/dist/index.cjs58.js +1 -1
  129. package/dist/index.cjs59.js +1 -1
  130. package/dist/index.cjs6.js +1 -1
  131. package/dist/index.cjs60.js +1 -1
  132. package/dist/index.cjs61.js +1 -1
  133. package/dist/index.cjs62.js +1 -1
  134. package/dist/index.cjs63.js +1 -1
  135. package/dist/index.cjs64.js +1 -1
  136. package/dist/index.cjs65.js +1 -1
  137. package/dist/index.cjs66.js +1 -1
  138. package/dist/index.cjs67.js +1 -1
  139. package/dist/index.cjs68.js +1 -1
  140. package/dist/index.cjs69.js +1 -1
  141. package/dist/index.cjs7.js +1 -1
  142. package/dist/index.cjs70.js +1 -1
  143. package/dist/index.cjs71.js +1 -1
  144. package/dist/index.cjs72.js +1 -1
  145. package/dist/index.cjs73.js +1 -1
  146. package/dist/index.cjs74.js +1 -1
  147. package/dist/index.cjs75.js +1 -1
  148. package/dist/index.cjs76.js +1 -1
  149. package/dist/index.cjs77.js +1 -1
  150. package/dist/index.cjs78.js +1 -9
  151. package/dist/index.cjs79.js +1 -19
  152. package/dist/index.cjs8.js +1 -1
  153. package/dist/index.cjs80.js +1 -1
  154. package/dist/index.cjs81.js +1 -1
  155. package/dist/index.cjs82.js +9 -1
  156. package/dist/index.cjs83.js +19 -1
  157. package/dist/index.cjs84.js +1 -1
  158. package/dist/index.cjs85.js +1 -1
  159. package/dist/index.cjs86.js +1 -1
  160. package/dist/index.cjs87.js +1 -1
  161. package/dist/index.cjs88.js +1 -1
  162. package/dist/index.cjs89.js +1 -1
  163. package/dist/index.cjs9.js +1 -1
  164. package/dist/index.cjs90.js +1 -1
  165. package/dist/index.cjs91.js +1 -1
  166. package/dist/index.cjs92.js +1 -1
  167. package/dist/index.cjs93.js +1 -1
  168. package/dist/index.cjs94.js +1 -1
  169. package/dist/index.cjs95.js +1 -1
  170. package/dist/index.cjs96.js +1 -1
  171. package/dist/index.cjs97.js +1 -1
  172. package/dist/index.cjs98.js +1 -1
  173. package/dist/index.cjs99.js +1 -1
  174. package/dist/index.es.js +62 -58
  175. package/dist/index.es10.js +45 -33
  176. package/dist/index.es100.js +2 -340
  177. package/dist/index.es101.js +28 -164
  178. package/dist/index.es102.js +4 -4
  179. package/dist/index.es103.js +6 -190
  180. package/dist/index.es104.js +18 -41
  181. package/dist/index.es106.js +8 -2
  182. package/dist/index.es107.js +341 -20
  183. package/dist/index.es108.js +166 -2
  184. package/dist/index.es109.js +190 -45
  185. package/dist/index.es11.js +38 -76
  186. package/dist/index.es110.js +51 -7
  187. package/dist/index.es111.js +2 -5
  188. package/dist/index.es112.js +4 -27
  189. package/dist/index.es113.js +13 -184
  190. package/dist/index.es114.js +4 -16
  191. package/dist/index.es115.js +44 -352
  192. package/dist/index.es116.js +7 -24
  193. package/dist/index.es117.js +7 -19
  194. package/dist/index.es118.js +21 -148
  195. package/dist/index.es119.js +184 -9
  196. package/dist/index.es12.js +77 -32
  197. package/dist/index.es120.js +9 -10
  198. package/dist/index.es121.js +342 -200
  199. package/dist/index.es122.js +20 -64
  200. package/dist/index.es123.js +9 -4
  201. package/dist/index.es124.js +154 -4
  202. package/dist/index.es125.js +17 -4
  203. package/dist/index.es126.js +17 -4
  204. package/dist/index.es127.js +211 -4
  205. package/dist/index.es128.js +68 -4
  206. package/dist/index.es129.js +14 -4
  207. package/dist/index.es13.js +32 -113
  208. package/dist/index.es131.js +2 -2
  209. package/dist/index.es132.js +2 -2
  210. package/dist/index.es133.js +2 -2
  211. package/dist/index.es134.js +2 -2
  212. package/dist/index.es135.js +2 -2
  213. package/dist/index.es136.js +2 -1063
  214. package/dist/index.es137.js +4 -77
  215. package/dist/index.es138.js +2 -2
  216. package/dist/index.es139.js +2 -57
  217. package/dist/index.es14.js +106 -133
  218. package/dist/index.es140.js +4 -20
  219. package/dist/index.es141.js +2 -2
  220. package/dist/index.es142.js +1064 -60
  221. package/dist/index.es143.js +77 -4
  222. package/dist/index.es144.js +4 -14
  223. package/dist/index.es145.js +59 -311
  224. package/dist/index.es146.js +14 -20
  225. package/dist/index.es147.js +2 -2
  226. package/dist/index.es148.js +61 -4
  227. package/dist/index.es149.js +2 -2
  228. package/dist/index.es15.js +109 -148
  229. package/dist/index.es150.js +10 -90
  230. package/dist/index.es151.js +311 -4
  231. package/dist/index.es152.js +26 -10
  232. package/dist/index.es153.js +4 -28
  233. package/dist/index.es154.js +2 -2
  234. package/dist/index.es155.js +4 -753
  235. package/dist/index.es156.js +94 -4
  236. package/dist/index.es157.js +4 -51
  237. package/dist/index.es158.js +10 -19
  238. package/dist/index.es159.js +28 -4
  239. package/dist/index.es16.js +31 -27
  240. package/dist/index.es161.js +51 -4
  241. package/dist/index.es162.js +19 -0
  242. package/dist/index.es163.js +4 -0
  243. package/dist/index.es164.js +4 -0
  244. package/dist/index.es165.js +753 -0
  245. package/dist/index.es166.js +4 -0
  246. package/dist/index.es167.js +4 -0
  247. package/dist/index.es17.js +129 -39
  248. package/dist/index.es18.js +155 -35
  249. package/dist/index.es19.js +39 -105
  250. package/dist/index.es2.js +2 -2
  251. package/dist/index.es20.js +46 -88
  252. package/dist/index.es21.js +32 -103
  253. package/dist/index.es22.js +102 -73
  254. package/dist/index.es23.js +78 -130
  255. package/dist/index.es24.js +108 -37
  256. package/dist/index.es25.js +73 -75
  257. package/dist/index.es26.js +92 -46
  258. package/dist/index.es27.js +78 -48
  259. package/dist/index.es28.js +48 -3
  260. package/dist/index.es29.js +44 -96
  261. package/dist/index.es3.js +3 -3
  262. package/dist/index.es30.js +3 -78
  263. package/dist/index.es31.js +94 -39
  264. package/dist/index.es32.js +77 -23
  265. package/dist/index.es33.js +40 -23
  266. package/dist/index.es34.js +24 -8
  267. package/dist/index.es35.js +28 -8
  268. package/dist/index.es36.js +8 -6
  269. package/dist/index.es37.js +8 -27
  270. package/dist/index.es38.js +6 -6
  271. package/dist/index.es39.js +6 -45
  272. package/dist/index.es4.js +4 -4
  273. package/dist/index.es40.js +31 -34
  274. package/dist/index.es41.js +44 -29
  275. package/dist/index.es42.js +148 -20
  276. package/dist/index.es43.js +20 -148
  277. package/dist/index.es44.js +31 -81
  278. package/dist/index.es45.js +95 -117
  279. package/dist/index.es46.js +59 -90
  280. package/dist/index.es47.js +115 -84
  281. package/dist/index.es48.js +126 -24
  282. package/dist/index.es49.js +72 -74
  283. package/dist/index.es5.js +26 -24
  284. package/dist/index.es50.js +98 -24
  285. package/dist/index.es51.js +26 -47
  286. package/dist/index.es52.js +106 -29
  287. package/dist/index.es53.js +21 -141
  288. package/dist/index.es54.js +3 -92
  289. package/dist/index.es55.js +158 -20
  290. package/dist/index.es56.js +92 -10
  291. package/dist/index.es57.js +22 -10
  292. package/dist/index.es58.js +29 -11
  293. package/dist/index.es59.js +18 -3
  294. package/dist/index.es6.js +4 -4
  295. package/dist/index.es60.js +14 -15
  296. package/dist/index.es61.js +13 -14
  297. package/dist/index.es62.js +163 -16
  298. package/dist/index.es63.js +10 -163
  299. package/dist/index.es64.js +10 -7
  300. package/dist/index.es65.js +11 -17
  301. package/dist/index.es66.js +13 -149
  302. package/dist/index.es67.js +63 -135
  303. package/dist/index.es68.js +88 -20
  304. package/dist/index.es69.js +74 -95
  305. package/dist/index.es7.js +3 -3
  306. package/dist/index.es70.js +100 -12
  307. package/dist/index.es71.js +13 -13
  308. package/dist/index.es72.js +7 -19
  309. package/dist/index.es73.js +17 -19
  310. package/dist/index.es74.js +149 -10
  311. package/dist/index.es75.js +9 -9
  312. package/dist/index.es76.js +10 -45
  313. package/dist/index.es77.js +45 -2
  314. package/dist/index.es78.js +19 -30
  315. package/dist/index.es79.js +20 -599
  316. package/dist/index.es8.js +5 -5
  317. package/dist/index.es80.js +40 -21
  318. package/dist/index.es81.js +2 -21
  319. package/dist/index.es82.js +30 -25
  320. package/dist/index.es83.js +599 -21
  321. package/dist/index.es84.js +16 -14
  322. package/dist/index.es85.js +12 -10
  323. package/dist/index.es86.js +21 -15
  324. package/dist/index.es87.js +14 -10
  325. package/dist/index.es88.js +8 -8
  326. package/dist/index.es89.js +9 -11
  327. package/dist/index.es9.js +74 -40
  328. package/dist/index.es90.js +7 -7
  329. package/dist/index.es91.js +6 -6
  330. package/dist/index.es92.js +10 -10
  331. package/dist/index.es93.js +21 -30
  332. package/dist/index.es94.js +19 -2
  333. package/dist/index.es95.js +21 -2
  334. package/dist/index.es96.js +19 -4
  335. package/dist/index.es97.js +21 -28
  336. package/dist/index.es98.js +19 -2
  337. package/dist/index.es99.js +2 -8
  338. package/dist/stories/InvisibleSelect.stories.d.ts +108 -0
  339. package/dist/stories/SelectInput.stories.d.ts +50 -0
  340. package/dist/stories/Slider.stories.d.ts +13 -0
  341. package/dist/stories/Tabs.stories.d.ts +10 -0
  342. package/dist/stories/Tooltip.stories.d.ts +16 -0
  343. package/dist/style.css +121 -61
  344. package/package.json +1 -1
  345. package/dist/components/Select/Select.d.ts +0 -12
  346. package/dist/components/Select/SelectContent.d.ts +0 -24
  347. package/dist/components/Select/SelectItem.d.ts +0 -13
  348. package/dist/components/Select/TooltipSelect.d.ts +0 -3
  349. package/dist/components/Select/index.d.ts +0 -3
  350. package/dist/components/Select/types.d.ts +0 -76
@@ -0,0 +1,108 @@
1
+ import { StoryObj } from '@storybook/react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: (<T extends object>(props: import('../components').InvisibleSelectProps<T> & {
6
+ ref?: import('react').Ref<HTMLButtonElement> | undefined;
7
+ }) => import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>) & {
8
+ displayName?: string | undefined;
9
+ };
10
+ parameters: {
11
+ layout: string;
12
+ };
13
+ tags: string[];
14
+ args: {
15
+ label: string;
16
+ captionError: string;
17
+ placeholder: string;
18
+ size: "bodyDefault";
19
+ };
20
+ argTypes: {
21
+ size: {
22
+ control: "select";
23
+ options: string[];
24
+ };
25
+ orientation: {
26
+ control: "select";
27
+ options: string[];
28
+ };
29
+ validationState: {
30
+ control: "select";
31
+ options: (string | undefined)[];
32
+ };
33
+ isDisabled: {
34
+ control: "boolean";
35
+ };
36
+ };
37
+ };
38
+ export default meta;
39
+ type Story = StoryObj<typeof meta>;
40
+ export declare const Default: Story;
41
+ export declare const Hover: Story;
42
+ export declare const Active: Story;
43
+ export declare const Error: Story;
44
+ export declare const Disabled: Story;
45
+ export declare const BodySm: Story;
46
+ export declare const H5: Story;
47
+ export declare const H3: Story;
48
+ export declare const Horizontal: Story;
49
+ export declare const HorizontalWithError: Story;
50
+ export declare const WithSelectedValue: Story;
51
+ export declare const WithDynamicItems: Story;
52
+ export declare const WithTooltip: Story;
53
+ export declare const Required: Story;
54
+ export declare const Controlled: {
55
+ render: () => import("react/jsx-runtime").JSX.Element;
56
+ };
57
+ /**
58
+ * Multiple Selection Mode Stories
59
+ *
60
+ * These stories demonstrate the InvisibleSelect component with selectionMode="multiple",
61
+ * allowing users to select multiple options from the dropdown list.
62
+ *
63
+ * Key Features:
64
+ * - Users can select multiple items by clicking on them
65
+ * - Selected items are visually indicated with checkmarks
66
+ * - The component displays the count of selected items or the selected items themselves
67
+ * - Each selected item can be individually deselected
68
+ */
69
+ export declare const MultipleSelection: Story;
70
+ export declare const MultipleSelectionWithDefaults: Story;
71
+ export declare const MultipleSelectionWithError: Story;
72
+ export declare const MultipleSelectionDisabled: Story;
73
+ export declare const MultipleSelectionControlled: {
74
+ render: () => import("react/jsx-runtime").JSX.Element;
75
+ parameters: {
76
+ docs: {
77
+ description: {
78
+ story: string;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ export declare const MultipleSelectionWithDynamicItems: Story;
84
+ export declare const MultipleSelectionHorizontal: Story;
85
+ /**
86
+ * Locale and Internationalization Support
87
+ *
88
+ * The InvisibleSelect component supports internationalization through the useLocale hook from react-aria-components.
89
+ * This provides proper locale-aware behavior for:
90
+ *
91
+ * - Date and number formatting
92
+ * - Text direction (RTL/LTR support)
93
+ * - Accessibility announcements
94
+ * - Keyboard navigation patterns
95
+ *
96
+ * The component automatically detects the user's locale and applies appropriate formatting and behavior.
97
+ */
98
+ export declare const LocaleSupport: Story;
99
+ export declare const MultiLanguageExample: {
100
+ render: () => import("react/jsx-runtime").JSX.Element;
101
+ parameters: {
102
+ docs: {
103
+ description: {
104
+ story: string;
105
+ };
106
+ };
107
+ };
108
+ };
@@ -0,0 +1,50 @@
1
+ import { StoryObj } from '@storybook/react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: <T extends import('../components/SelectInput').SelectInputItem = import('../components/SelectInput').SelectInputItem>(props: import('../components/SelectInput').SelectInputProps<T> & {
6
+ ref?: import('react').Ref<HTMLButtonElement> | undefined;
7
+ }) => import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
8
+ parameters: {
9
+ layout: string;
10
+ };
11
+ tags: string[];
12
+ args: {
13
+ selectionMode: "single";
14
+ size: "xs";
15
+ };
16
+ argTypes: {
17
+ label: {
18
+ control: "text";
19
+ };
20
+ placeholder: {
21
+ control: "text";
22
+ };
23
+ selectionMode: {
24
+ control: "select";
25
+ options: string[];
26
+ };
27
+ size: {
28
+ control: "select";
29
+ options: string[];
30
+ };
31
+ isDisabled: {
32
+ control: "boolean";
33
+ };
34
+ isRequired: {
35
+ control: "boolean";
36
+ };
37
+ };
38
+ };
39
+ export default meta;
40
+ type Story = StoryObj<typeof meta>;
41
+ export declare const SingleSelection: Story;
42
+ export declare const MultipleSelection: Story;
43
+ export declare const MultipleSelectionWithSearch: Story;
44
+ export declare const SizeXS: Story;
45
+ export declare const SizeSM: Story;
46
+ export declare const SizeMD: Story;
47
+ export declare const SizeLG: Story;
48
+ export declare const Disabled: Story;
49
+ export declare const WithTooltip: Story;
50
+ export declare const EmptyState: Story;
@@ -0,0 +1,13 @@
1
+ import { Slider } from '../components';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: Meta<typeof Slider>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const SliderSingle: Story;
8
+ export declare const SliderRange: Story;
9
+ export declare const SliderRangeTooltipTop: Story;
10
+ export declare const SliderRangeTooltipBottom: Story;
11
+ export declare const SliderSingleTooltipLightTop: Story;
12
+ export declare const SliderSingleTooltipLightBottom: Story;
13
+ export declare const SliderRangeCustomSuffix: Story;
@@ -0,0 +1,10 @@
1
+ import { Tabs, TabsProps } from '../components/Tabs';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: Meta<TabsProps<object>>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof Tabs>;
7
+ export declare const Horizontal: Story;
8
+ export declare const Vertical: Story;
9
+ export declare const DisabledSingleTab: Story;
10
+ export declare const DisabledAllTabs: Story;
@@ -0,0 +1,16 @@
1
+ import { Tooltip } from '../components';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: Meta<typeof Tooltip>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const None: Story;
8
+ export declare const Top: Story;
9
+ export declare const TopStart: Story;
10
+ export declare const TopEnd: Story;
11
+ export declare const Bottom: Story;
12
+ export declare const BottomStart: Story;
13
+ export declare const BottomEnd: Story;
14
+ export declare const Right: Story;
15
+ export declare const Left: Story;
16
+ export declare const WithSupportText: Story;
package/dist/style.css CHANGED
@@ -702,58 +702,35 @@ select {
702
702
  --tw-contain-paint: ;
703
703
  --tw-contain-style: ;
704
704
  }
705
- .\!container {
706
- width: 100% !important;
707
- }
708
705
  .container {
709
706
  width: 100%;
710
707
  }
711
708
  @media (min-width: 640px) {
712
709
 
713
- .\!container {
714
- max-width: 640px !important;
715
- }
716
-
717
710
  .container {
718
711
  max-width: 640px;
719
712
  }
720
713
  }
721
714
  @media (min-width: 768px) {
722
715
 
723
- .\!container {
724
- max-width: 768px !important;
725
- }
726
-
727
716
  .container {
728
717
  max-width: 768px;
729
718
  }
730
719
  }
731
720
  @media (min-width: 1024px) {
732
721
 
733
- .\!container {
734
- max-width: 1024px !important;
735
- }
736
-
737
722
  .container {
738
723
  max-width: 1024px;
739
724
  }
740
725
  }
741
726
  @media (min-width: 1280px) {
742
727
 
743
- .\!container {
744
- max-width: 1280px !important;
745
- }
746
-
747
728
  .container {
748
729
  max-width: 1280px;
749
730
  }
750
731
  }
751
732
  @media (min-width: 1536px) {
752
733
 
753
- .\!container {
754
- max-width: 1536px !important;
755
- }
756
-
757
734
  .container {
758
735
  max-width: 1536px;
759
736
  }
@@ -851,6 +828,12 @@ select {
851
828
  .z-\[1000px\] {
852
829
  z-index: 1000px;
853
830
  }
831
+ .m-1 {
832
+ margin: 0.25rem;
833
+ }
834
+ .m-4 {
835
+ margin: 1rem;
836
+ }
854
837
  .mx-0 {
855
838
  margin-left: 0px;
856
839
  margin-right: 0px;
@@ -895,9 +878,6 @@ select {
895
878
  .-mb-0\.5 {
896
879
  margin-bottom: -0.125rem;
897
880
  }
898
- .-mb-2 {
899
- margin-bottom: -0.5rem;
900
- }
901
881
  .mb-0 {
902
882
  margin-bottom: 0px;
903
883
  }
@@ -931,27 +911,27 @@ select {
931
911
  .ml-3 {
932
912
  margin-left: 0.75rem;
933
913
  }
914
+ .ml-4 {
915
+ margin-left: 1rem;
916
+ }
934
917
  .mr-1 {
935
918
  margin-right: 0.25rem;
936
919
  }
937
920
  .mr-2 {
938
921
  margin-right: 0.5rem;
939
922
  }
940
- .mr-20 {
941
- margin-right: 5rem;
942
- }
943
923
  .mr-3 {
944
924
  margin-right: 0.75rem;
945
925
  }
946
- .mr-\[5px\] {
947
- margin-right: 5px;
948
- }
949
926
  .mt-0 {
950
927
  margin-top: 0px;
951
928
  }
952
929
  .mt-0\.5 {
953
930
  margin-top: 0.125rem;
954
931
  }
932
+ .mt-1 {
933
+ margin-top: 0.25rem;
934
+ }
955
935
  .mt-2 {
956
936
  margin-top: 0.5rem;
957
937
  }
@@ -1034,6 +1014,9 @@ select {
1034
1014
  .h-1 {
1035
1015
  height: 0.25rem;
1036
1016
  }
1017
+ .h-10 {
1018
+ height: 2.5rem;
1019
+ }
1037
1020
  .h-12 {
1038
1021
  height: 3rem;
1039
1022
  }
@@ -1079,20 +1062,11 @@ select {
1079
1062
  .h-\[32px\] {
1080
1063
  height: 32px;
1081
1064
  }
1082
- .h-\[40px\] {
1083
- height: 40px;
1084
- }
1085
- .h-\[48px\] {
1086
- height: 48px;
1087
- }
1088
- .h-\[56px\] {
1089
- height: 56px;
1090
- }
1091
1065
  .h-full {
1092
1066
  height: 100%;
1093
1067
  }
1094
- .\!max-h-\[185px\] {
1095
- max-height: 185px !important;
1068
+ .\!max-h-\[300px\] {
1069
+ max-height: 300px !important;
1096
1070
  }
1097
1071
  .max-h-12 {
1098
1072
  max-height: 3rem;
@@ -1100,6 +1074,33 @@ select {
1100
1074
  .max-h-60 {
1101
1075
  max-height: 15rem;
1102
1076
  }
1077
+ .max-h-\[260px\] {
1078
+ max-height: 260px;
1079
+ }
1080
+ .min-h-10 {
1081
+ min-height: 2.5rem;
1082
+ }
1083
+ .min-h-12 {
1084
+ min-height: 3rem;
1085
+ }
1086
+ .min-h-14 {
1087
+ min-height: 3.5rem;
1088
+ }
1089
+ .min-h-8 {
1090
+ min-height: 2rem;
1091
+ }
1092
+ .min-h-\[28px\] {
1093
+ min-height: 28px;
1094
+ }
1095
+ .min-h-\[32px\] {
1096
+ min-height: 32px;
1097
+ }
1098
+ .min-h-\[36px\] {
1099
+ min-height: 36px;
1100
+ }
1101
+ .min-h-\[44px\] {
1102
+ min-height: 44px;
1103
+ }
1103
1104
  .min-h-full {
1104
1105
  min-height: 100%;
1105
1106
  }
@@ -1171,12 +1172,18 @@ select {
1171
1172
  width: -moz-max-content;
1172
1173
  width: max-content;
1173
1174
  }
1174
- .\!min-w-\[150px\] {
1175
- min-width: 150px !important;
1175
+ .min-w-0 {
1176
+ min-width: 0px;
1176
1177
  }
1177
1178
  .min-w-48 {
1178
1179
  min-width: 12rem;
1179
1180
  }
1181
+ .min-w-\[--trigger-width\] {
1182
+ min-width: var(--trigger-width);
1183
+ }
1184
+ .min-w-\[120px\] {
1185
+ min-width: 120px;
1186
+ }
1180
1187
  .min-w-full {
1181
1188
  min-width: 100%;
1182
1189
  }
@@ -1186,9 +1193,15 @@ select {
1186
1193
  .max-w-\[280px\] {
1187
1194
  max-width: 280px;
1188
1195
  }
1196
+ .max-w-\[300px\] {
1197
+ max-width: 300px;
1198
+ }
1189
1199
  .flex-1 {
1190
1200
  flex: 1 1 0%;
1191
1201
  }
1202
+ .flex-shrink-0 {
1203
+ flex-shrink: 0;
1204
+ }
1192
1205
  .shrink-0 {
1193
1206
  flex-shrink: 0;
1194
1207
  }
@@ -1247,6 +1260,12 @@ select {
1247
1260
  .scroll-m-12 {
1248
1261
  scroll-margin: 3rem;
1249
1262
  }
1263
+ .list-inside {
1264
+ list-style-position: inside;
1265
+ }
1266
+ .list-disc {
1267
+ list-style-type: disc;
1268
+ }
1250
1269
  .grid-cols-2 {
1251
1270
  grid-template-columns: repeat(2, minmax(0, 1fr));
1252
1271
  }
@@ -1292,6 +1311,9 @@ select {
1292
1311
  .gap-5 {
1293
1312
  gap: 1.25rem;
1294
1313
  }
1314
+ .gap-6 {
1315
+ gap: 1.5rem;
1316
+ }
1295
1317
  .gap-x-1 {
1296
1318
  -moz-column-gap: 0.25rem;
1297
1319
  column-gap: 0.25rem;
@@ -1317,6 +1339,11 @@ select {
1317
1339
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
1318
1340
  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
1319
1341
  }
1342
+ .space-y-1 > :not([hidden]) ~ :not([hidden]) {
1343
+ --tw-space-y-reverse: 0;
1344
+ margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
1345
+ margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
1346
+ }
1320
1347
  .space-y-4 > :not([hidden]) ~ :not([hidden]) {
1321
1348
  --tw-space-y-reverse: 0;
1322
1349
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1354,6 +1381,11 @@ select {
1354
1381
  .overflow-y-auto {
1355
1382
  overflow-y: auto;
1356
1383
  }
1384
+ .truncate {
1385
+ overflow: hidden;
1386
+ text-overflow: ellipsis;
1387
+ white-space: nowrap;
1388
+ }
1357
1389
  .whitespace-normal {
1358
1390
  white-space: normal;
1359
1391
  }
@@ -1381,6 +1413,9 @@ select {
1381
1413
  .border {
1382
1414
  border-width: 1px;
1383
1415
  }
1416
+ .border-0 {
1417
+ border-width: 0px;
1418
+ }
1384
1419
  .border-2 {
1385
1420
  border-width: 2px;
1386
1421
  }
@@ -1826,6 +1861,10 @@ select {
1826
1861
  padding-left: 0.5rem;
1827
1862
  padding-right: 0.5rem;
1828
1863
  }
1864
+ .px-2\.5 {
1865
+ padding-left: 0.625rem;
1866
+ padding-right: 0.625rem;
1867
+ }
1829
1868
  .px-3 {
1830
1869
  padding-left: 0.75rem;
1831
1870
  padding-right: 0.75rem;
@@ -1874,9 +1913,6 @@ select {
1874
1913
  padding-top: 2px;
1875
1914
  padding-bottom: 2px;
1876
1915
  }
1877
- .\!pr-2 {
1878
- padding-right: 0.5rem !important;
1879
- }
1880
1916
  .pb-2 {
1881
1917
  padding-bottom: 0.5rem;
1882
1918
  }
@@ -1886,9 +1922,6 @@ select {
1886
1922
  .pl-1 {
1887
1923
  padding-left: 0.25rem;
1888
1924
  }
1889
- .pl-1\.5 {
1890
- padding-left: 0.375rem;
1891
- }
1892
1925
  .pl-2 {
1893
1926
  padding-left: 0.5rem;
1894
1927
  }
@@ -2072,6 +2105,10 @@ select {
2072
2105
  --tw-text-opacity: 1;
2073
2106
  color: rgb(61 19 15 / var(--tw-text-opacity));
2074
2107
  }
2108
+ .text-gray-500 {
2109
+ --tw-text-opacity: 1;
2110
+ color: rgb(107 114 128 / var(--tw-text-opacity));
2111
+ }
2075
2112
  .text-gray-600 {
2076
2113
  --tw-text-opacity: 1;
2077
2114
  color: rgb(75 85 99 / var(--tw-text-opacity));
@@ -2184,6 +2221,12 @@ select {
2184
2221
  --tw-text-opacity: 1;
2185
2222
  color: rgb(111 87 17 / var(--tw-text-opacity));
2186
2223
  }
2224
+ .opacity-0 {
2225
+ opacity: 0;
2226
+ }
2227
+ .opacity-100 {
2228
+ opacity: 1;
2229
+ }
2187
2230
  .opacity-50 {
2188
2231
  opacity: 0.5;
2189
2232
  }
@@ -2230,6 +2273,9 @@ select {
2230
2273
  .outline {
2231
2274
  outline-style: solid;
2232
2275
  }
2276
+ .outline-0 {
2277
+ outline-width: 0px;
2278
+ }
2233
2279
  .ring-0 {
2234
2280
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2235
2281
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -2382,16 +2428,6 @@ select {
2382
2428
  .ease-in-out {
2383
2429
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2384
2430
  }
2385
- .no-scrollbar {
2386
- scrollbar-width: none;
2387
- * {
2388
- -webkit-overflow-scrolling: touch !important;
2389
- scrollbar-width: none !important;
2390
- }
2391
- *::-webkit-scrollbar {
2392
- display: none !important;
2393
- }
2394
- }
2395
2431
  .custom-scrollbar {
2396
2432
  scrollbar-width: thin !important; /* Firefox */
2397
2433
 
@@ -2606,6 +2642,9 @@ select {
2606
2642
  --tw-border-opacity: 1;
2607
2643
  border-color: rgb(29 13 165 / var(--tw-border-opacity));
2608
2644
  }
2645
+ .hover\:bg-black\/\[5\%\]:hover {
2646
+ background-color: rgb(0 0 0 / 5%);
2647
+ }
2609
2648
  .hover\:bg-neutral-100:hover {
2610
2649
  --tw-bg-opacity: 1;
2611
2650
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
@@ -2748,10 +2787,18 @@ select {
2748
2787
  .focus-visible\:ring-offset-1:focus-visible {
2749
2788
  --tw-ring-offset-width: 1px;
2750
2789
  }
2790
+ .group:hover .group-hover\:bg-primary-500 {
2791
+ --tw-bg-opacity: 1;
2792
+ background-color: rgb(76 59 239 / var(--tw-bg-opacity));
2793
+ }
2751
2794
  .group:hover .group-hover\:text-blue-500 {
2752
2795
  --tw-text-opacity: 1;
2753
2796
  color: rgb(38 68 217 / var(--tw-text-opacity));
2754
2797
  }
2798
+ .group:hover .group-hover\:text-primary-100 {
2799
+ --tw-text-opacity: 1;
2800
+ color: rgb(230 227 255 / var(--tw-text-opacity));
2801
+ }
2755
2802
  .group:focus .group-focus\:text-white {
2756
2803
  --tw-text-opacity: 1;
2757
2804
  color: rgb(255 255 255 / var(--tw-text-opacity));
@@ -2768,6 +2815,9 @@ select {
2768
2815
  width: 1.5rem;
2769
2816
  height: 1.5rem;
2770
2817
  }
2818
+ .group[data-empty] .group-data-\[empty\]\:invisible {
2819
+ visibility: hidden;
2820
+ }
2771
2821
  @media (min-width: 640px) {
2772
2822
 
2773
2823
  .sm\:block {
@@ -2780,6 +2830,16 @@ select {
2780
2830
  width: 400px;
2781
2831
  }
2782
2832
  }
2833
+ @media (min-width: 1024px) {
2834
+
2835
+ .lg\:custom-scrollbar {
2836
+ scrollbar-width: thin !important; /* Firefox */
2837
+ margin-right: 1px;
2838
+ }
2839
+ }
2840
+ .\[\&\:\:-webkit-search-cancel-button\]\:hidden::-webkit-search-cancel-button {
2841
+ display: none;
2842
+ }
2783
2843
  .\[\&_svg\]\:h-3 svg {
2784
2844
  height: 0.75rem;
2785
2845
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpli-route/apollo-ds",
3
- "version": "0.1.40",
3
+ "version": "0.1.43",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,12 +0,0 @@
1
- import { SelectProps } from './types';
2
-
3
- /**
4
- * Select component **version 0.1** https://www.figma.com/design/h6tZeqNdVEUvrgwOwK4vcY/Design-System---The-Bible?node-id=5862-7802&p=f&t=64UuGkWucIkh7vwn-0
5
- *
6
- * ### Usage
7
- *
8
- * ```typescript
9
- * import { Select, SelectItem } from "@simpli-route/apollo-ds";
10
- * ```
11
- */
12
- export declare const Select: ({ mode, keyLabelName, keyIdName, className, selectButtonClassName, placeholder, isDisabled, size, items, renderItem, value, onSelectChange, classNameLabel, isRequired, label, tooltipText, tooltipSupportText, tooltipProps, hiddenDiscardButton, tooltipMode, textAllOption, }: SelectProps<object>) => import("react/jsx-runtime").JSX.Element;
@@ -1,24 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- interface SelectContentProps {
4
- isDisabled: boolean;
5
- size: "xs" | "sm" | "md" | "lg";
6
- selectButtonClassName?: string;
7
- setIsOpen: (isOpen: boolean) => void;
8
- isOpen: boolean;
9
- value: string[];
10
- placeholder: string;
11
- items?: any[];
12
- keyIdName: string;
13
- keyLabelName: string;
14
- visibleItems: number;
15
- handleDeleteOptionSelected: (option: string) => void;
16
- maxLengthTextOption: number;
17
- hiddenDiscardButton: boolean;
18
- containerRef: RefObject<HTMLDivElement>;
19
- setTooltipMessage: (message: string) => void;
20
- hasOverflow: boolean;
21
- isCalculatingChips: boolean;
22
- }
23
- export declare const SelectContent: ({ isDisabled, size, selectButtonClassName, setIsOpen, isOpen, value, placeholder, items, keyIdName, keyLabelName, visibleItems, handleDeleteOptionSelected, maxLengthTextOption, hiddenDiscardButton, containerRef, setTooltipMessage, hasOverflow, isCalculatingChips, }: SelectContentProps) => import("react/jsx-runtime").JSX.Element;
24
- export {};
@@ -1,13 +0,0 @@
1
- import { ListBoxItemProps } from 'react-aria-components';
2
-
3
- interface SelectItemProps extends Omit<ListBoxItemProps, "id"> {
4
- children: React.ReactNode;
5
- isSelected?: boolean;
6
- /**
7
- * The unique id of the item.
8
- * is necessary for the select component to work and match the selected value
9
- */
10
- id: string | number;
11
- }
12
- export declare const SelectItem: (props: SelectItemProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,3 +0,0 @@
1
- import { TooltipProps } from '../Tooltip';
2
-
3
- export declare const TooltipSelect: ({ children, supportText, mode, className, placement }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
1
- export { Select } from './Select';
2
- export { SelectItem } from './SelectItem';
3
- export type { SelectProps } from './types';