@tapcart/mobile-components 0.2.1 → 0.2.2

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 (85) hide show
  1. package/dist/index.d.mts +226 -0
  2. package/dist/index.mjs +3978 -0
  3. package/dist/index.mjs.map +1 -0
  4. package/package.json +4 -3
  5. package/dist/components/ThemeProvider.d.ts +0 -3
  6. package/dist/components/ThemeProvider.d.ts.map +0 -1
  7. package/dist/components/ThemeProvider.js +0 -18
  8. package/dist/components/ThemeToggle.d.ts +0 -2
  9. package/dist/components/ThemeToggle.d.ts.map +0 -1
  10. package/dist/components/ThemeToggle.js +0 -8
  11. package/dist/components/ui/accordion.d.ts +0 -8
  12. package/dist/components/ui/accordion.d.ts.map +0 -1
  13. package/dist/components/ui/accordion.js +0 -34
  14. package/dist/components/ui/alert-dialog.d.ts +0 -21
  15. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  16. package/dist/components/ui/alert-dialog.js +0 -62
  17. package/dist/components/ui/aspect-ratio.d.ts +0 -5
  18. package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
  19. package/dist/components/ui/aspect-ratio.js +0 -4
  20. package/dist/components/ui/badge.d.ts +0 -10
  21. package/dist/components/ui/badge.d.ts.map +0 -1
  22. package/dist/components/ui/badge.js +0 -32
  23. package/dist/components/ui/button.d.ts +0 -13
  24. package/dist/components/ui/button.d.ts.map +0 -1
  25. package/dist/components/ui/button.js +0 -52
  26. package/dist/components/ui/carousel.d.ts +0 -19
  27. package/dist/components/ui/carousel.d.ts.map +0 -1
  28. package/dist/components/ui/carousel.js +0 -112
  29. package/dist/components/ui/chip.d.ts +0 -25
  30. package/dist/components/ui/chip.d.ts.map +0 -1
  31. package/dist/components/ui/chip.js +0 -50
  32. package/dist/components/ui/container.d.ts +0 -10
  33. package/dist/components/ui/container.d.ts.map +0 -1
  34. package/dist/components/ui/container.js +0 -26
  35. package/dist/components/ui/grid.d.ts +0 -14
  36. package/dist/components/ui/grid.d.ts.map +0 -1
  37. package/dist/components/ui/grid.js +0 -33
  38. package/dist/components/ui/input.d.ts +0 -14
  39. package/dist/components/ui/input.d.ts.map +0 -1
  40. package/dist/components/ui/input.js +0 -34
  41. package/dist/components/ui/label.d.ts +0 -6
  42. package/dist/components/ui/label.d.ts.map +0 -1
  43. package/dist/components/ui/label.js +0 -24
  44. package/dist/components/ui/money.d.ts +0 -12
  45. package/dist/components/ui/money.d.ts.map +0 -1
  46. package/dist/components/ui/money.js +0 -30
  47. package/dist/components/ui/scroll-area.d.ts +0 -9
  48. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  49. package/dist/components/ui/scroll-area.js +0 -29
  50. package/dist/components/ui/separator.d.ts +0 -5
  51. package/dist/components/ui/separator.d.ts.map +0 -1
  52. package/dist/components/ui/separator.js +0 -22
  53. package/dist/components/ui/skeleton.d.ts +0 -4
  54. package/dist/components/ui/skeleton.d.ts.map +0 -1
  55. package/dist/components/ui/skeleton.js +0 -18
  56. package/dist/components/ui/switch.d.ts +0 -5
  57. package/dist/components/ui/switch.d.ts.map +0 -1
  58. package/dist/components/ui/switch.js +0 -22
  59. package/dist/components/ui/text.d.ts +0 -10
  60. package/dist/components/ui/text.d.ts.map +0 -1
  61. package/dist/components/ui/text.js +0 -33
  62. package/dist/components/ui/toast.d.ts +0 -16
  63. package/dist/components/ui/toast.d.ts.map +0 -1
  64. package/dist/components/ui/toast.js +0 -61
  65. package/dist/components/ui/toaster.d.ts +0 -2
  66. package/dist/components/ui/toaster.d.ts.map +0 -1
  67. package/dist/components/ui/toaster.js +0 -22
  68. package/dist/components/ui/toggle-group.d.ts +0 -13
  69. package/dist/components/ui/toggle-group.d.ts.map +0 -1
  70. package/dist/components/ui/toggle-group.js +0 -36
  71. package/dist/components/ui/toggle.d.ts +0 -13
  72. package/dist/components/ui/toggle.d.ts.map +0 -1
  73. package/dist/components/ui/toggle.js +0 -40
  74. package/dist/components/ui/use-toast.d.ts +0 -45
  75. package/dist/components/ui/use-toast.d.ts.map +0 -1
  76. package/dist/components/ui/use-toast.js +0 -112
  77. package/dist/components/ui/video.d.ts +0 -8
  78. package/dist/components/ui/video.d.ts.map +0 -1
  79. package/dist/components/ui/video.js +0 -22
  80. package/dist/index.d.ts +0 -26
  81. package/dist/index.d.ts.map +0 -1
  82. package/dist/index.js +0 -27
  83. package/dist/lib/utils.d.ts +0 -5
  84. package/dist/lib/utils.d.ts.map +0 -1
  85. package/dist/lib/utils.js +0 -24
@@ -1,40 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import * as React from "react";
15
- import * as TogglePrimitive from "@radix-ui/react-toggle";
16
- import { cva } from "class-variance-authority";
17
- import { cn } from "../../lib/utils";
18
- const toggleVariants = cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground", {
19
- variants: {
20
- variant: {
21
- default: "bg-transparent",
22
- outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",
23
- },
24
- size: {
25
- default: "h-10 px-3",
26
- sm: "h-9 px-2.5",
27
- lg: "h-11 px-5",
28
- },
29
- },
30
- defaultVariants: {
31
- variant: "default",
32
- size: "default",
33
- },
34
- });
35
- const Toggle = React.forwardRef((_a, ref) => {
36
- var { className, variant, size } = _a, props = __rest(_a, ["className", "variant", "size"]);
37
- return (_jsx(TogglePrimitive.Root, Object.assign({ ref: ref, className: cn(toggleVariants({ variant, size, className })) }, props)));
38
- });
39
- Toggle.displayName = TogglePrimitive.Root.displayName;
40
- export { Toggle, toggleVariants };
@@ -1,45 +0,0 @@
1
- import * as React from "react";
2
- import type { ToastActionElement, ToastProps } from "../../components/ui/toast";
3
- type ToasterToast = ToastProps & {
4
- id: string;
5
- title?: React.ReactNode;
6
- description?: React.ReactNode;
7
- action?: ToastActionElement;
8
- };
9
- declare const actionTypes: {
10
- readonly ADD_TOAST: "ADD_TOAST";
11
- readonly UPDATE_TOAST: "UPDATE_TOAST";
12
- readonly DISMISS_TOAST: "DISMISS_TOAST";
13
- readonly REMOVE_TOAST: "REMOVE_TOAST";
14
- };
15
- type ActionType = typeof actionTypes;
16
- type Action = {
17
- type: ActionType["ADD_TOAST"];
18
- toast: ToasterToast;
19
- } | {
20
- type: ActionType["UPDATE_TOAST"];
21
- toast: Partial<ToasterToast>;
22
- } | {
23
- type: ActionType["DISMISS_TOAST"];
24
- toastId?: ToasterToast["id"];
25
- } | {
26
- type: ActionType["REMOVE_TOAST"];
27
- toastId?: ToasterToast["id"];
28
- };
29
- interface State {
30
- toasts: ToasterToast[];
31
- }
32
- export declare const reducer: (state: State, action: Action) => State;
33
- type Toast = Omit<ToasterToast, "id">;
34
- declare function toast({ ...props }: Toast): {
35
- id: string;
36
- dismiss: () => void;
37
- update: (props: ToasterToast) => void;
38
- };
39
- declare function useToast(): {
40
- toast: typeof toast;
41
- dismiss: (toastId?: string) => void;
42
- toasts: ToasterToast[];
43
- };
44
- export { useToast, toast };
45
- //# sourceMappingURL=use-toast.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-toast.d.ts","sourceRoot":"","sources":["../../../components/ui/use-toast.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAK/E,KAAK,YAAY,GAAG,UAAU,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,kBAAkB,CAAA;CAC5B,CAAA;AAED,QAAA,MAAM,WAAW;;;;;CAKP,CAAA;AASV,KAAK,UAAU,GAAG,OAAO,WAAW,CAAA;AAEpC,KAAK,MAAM,GACP;IACE,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAC7B,KAAK,EAAE,YAAY,CAAA;CACpB,GACD;IACE,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IAChC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B,GACD;IACE,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC,CAAA;IACjC,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;CAC7B,GACD;IACE,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IAChC,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;CAC7B,CAAA;AAEL,UAAU,KAAK;IACb,MAAM,EAAE,YAAY,EAAE,CAAA;CACvB;AAoBD,eAAO,MAAM,OAAO,UAAW,KAAK,UAAU,MAAM,KAAG,KAqDtD,CAAA;AAaD,KAAK,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;AAErC,iBAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK;;;oBAGT,YAAY;EAwBpC;AAED,iBAAS,QAAQ;;wBAgBO,MAAM;;EAE7B;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAA"}
@@ -1,112 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- // Inspired by react-hot-toast library
14
- import * as React from "react";
15
- const TOAST_LIMIT = 1;
16
- const TOAST_REMOVE_DELAY = 1000000;
17
- const actionTypes = {
18
- ADD_TOAST: "ADD_TOAST",
19
- UPDATE_TOAST: "UPDATE_TOAST",
20
- DISMISS_TOAST: "DISMISS_TOAST",
21
- REMOVE_TOAST: "REMOVE_TOAST",
22
- };
23
- let count = 0;
24
- function genId() {
25
- count = (count + 1) % Number.MAX_SAFE_INTEGER;
26
- return count.toString();
27
- }
28
- const toastTimeouts = new Map();
29
- const addToRemoveQueue = (toastId) => {
30
- if (toastTimeouts.has(toastId)) {
31
- return;
32
- }
33
- const timeout = setTimeout(() => {
34
- toastTimeouts.delete(toastId);
35
- dispatch({
36
- type: "REMOVE_TOAST",
37
- toastId: toastId,
38
- });
39
- }, TOAST_REMOVE_DELAY);
40
- toastTimeouts.set(toastId, timeout);
41
- };
42
- export const reducer = (state, action) => {
43
- switch (action.type) {
44
- case "ADD_TOAST":
45
- return Object.assign(Object.assign({}, state), { toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT) });
46
- case "UPDATE_TOAST":
47
- return Object.assign(Object.assign({}, state), { toasts: state.toasts.map((t) => t.id === action.toast.id ? Object.assign(Object.assign({}, t), action.toast) : t) });
48
- case "DISMISS_TOAST": {
49
- const { toastId } = action;
50
- // ! Side effects ! - This could be extracted into a dismissToast() action,
51
- // but I'll keep it here for simplicity
52
- if (toastId) {
53
- addToRemoveQueue(toastId);
54
- }
55
- else {
56
- state.toasts.forEach((toast) => {
57
- addToRemoveQueue(toast.id);
58
- });
59
- }
60
- return Object.assign(Object.assign({}, state), { toasts: state.toasts.map((t) => t.id === toastId || toastId === undefined
61
- ? Object.assign(Object.assign({}, t), { open: false }) : t) });
62
- }
63
- case "REMOVE_TOAST":
64
- if (action.toastId === undefined) {
65
- return Object.assign(Object.assign({}, state), { toasts: [] });
66
- }
67
- return Object.assign(Object.assign({}, state), { toasts: state.toasts.filter((t) => t.id !== action.toastId) });
68
- }
69
- };
70
- const listeners = [];
71
- let memoryState = { toasts: [] };
72
- function dispatch(action) {
73
- memoryState = reducer(memoryState, action);
74
- listeners.forEach((listener) => {
75
- listener(memoryState);
76
- });
77
- }
78
- function toast(_a) {
79
- var props = __rest(_a, []);
80
- const id = genId();
81
- const update = (props) => dispatch({
82
- type: "UPDATE_TOAST",
83
- toast: Object.assign(Object.assign({}, props), { id }),
84
- });
85
- const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
86
- dispatch({
87
- type: "ADD_TOAST",
88
- toast: Object.assign(Object.assign({}, props), { id, open: true, onOpenChange: (open) => {
89
- if (!open)
90
- dismiss();
91
- } }),
92
- });
93
- return {
94
- id: id,
95
- dismiss,
96
- update,
97
- };
98
- }
99
- function useToast() {
100
- const [state, setState] = React.useState(memoryState);
101
- React.useEffect(() => {
102
- listeners.push(setState);
103
- return () => {
104
- const index = listeners.indexOf(setState);
105
- if (index > -1) {
106
- listeners.splice(index, 1);
107
- }
108
- };
109
- }, [state]);
110
- return Object.assign(Object.assign({}, state), { toast, dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId }) });
111
- }
112
- export { useToast, toast };
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const videoVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
4
- export interface VideoProps extends React.HTMLAttributes<HTMLVideoElement>, VariantProps<typeof videoVariants> {
5
- }
6
- declare function Video({ className, ...props }: VideoProps): import("react/jsx-runtime").JSX.Element;
7
- export { Video, videoVariants };
8
- //# sourceMappingURL=video.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../components/ui/video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa,gGAEjB,CAAA;AAEF,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAC5C,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAWjD;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
@@ -1,22 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { cva } from "class-variance-authority";
14
- import { cn } from "../../lib/utils";
15
- const videoVariants = cva("w-full", {
16
- variants: {},
17
- });
18
- function Video(_a) {
19
- var { className } = _a, props = __rest(_a, ["className"]);
20
- return (_jsx("video", Object.assign({ className: cn(videoVariants({}), className) }, props, { autoPlay: true, playsInline: true, muted: true, loop: true })));
21
- }
22
- export { Video, videoVariants };
package/dist/index.d.ts DELETED
@@ -1,26 +0,0 @@
1
- export * from "./components/ui/button";
2
- export * from "./components/ui/input";
3
- export * from "./components/ui/aspect-ratio";
4
- export * from "./components/ui/accordion";
5
- export * from "./components/ui/carousel";
6
- export * from "./components/ui/container";
7
- export * from "./components/ui/grid";
8
- export * from "./components/ui/label";
9
- export * from "./components/ui/separator";
10
- export * from "./components/ui/badge";
11
- export * from "./components/ui/video";
12
- export * from "./components/ui/money";
13
- export * from "./components/ui/skeleton";
14
- export * from "./components/ui/text";
15
- export * from "./components/ui/toggle";
16
- export * from "./components/ui/toggle-group";
17
- export * from "./components/ui/switch";
18
- export * from "./components/ui/scroll-area";
19
- export * from "./components/ui/toast";
20
- export * from "./components/ui/toaster";
21
- export * from "./components/ui/chip";
22
- export * from "./components/ui/use-toast";
23
- export * from "./components/ThemeToggle";
24
- export { ThemeProvider } from "./components/ThemeProvider";
25
- export { cn } from "./lib/utils";
26
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAGA,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2BAA2B,CAAA;AAEzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA"}
package/dist/index.js DELETED
@@ -1,27 +0,0 @@
1
- // component exports
2
- export * from "./components/ui/button";
3
- export * from "./components/ui/input";
4
- export * from "./components/ui/aspect-ratio";
5
- export * from "./components/ui/accordion";
6
- // export * from "./components/ui/icon"
7
- export * from "./components/ui/carousel";
8
- export * from "./components/ui/container";
9
- export * from "./components/ui/grid";
10
- export * from "./components/ui/label";
11
- export * from "./components/ui/separator";
12
- export * from "./components/ui/badge";
13
- export * from "./components/ui/video";
14
- export * from "./components/ui/money";
15
- export * from "./components/ui/skeleton";
16
- export * from "./components/ui/text";
17
- export * from "./components/ui/toggle";
18
- export * from "./components/ui/toggle-group";
19
- export * from "./components/ui/switch";
20
- export * from "./components/ui/scroll-area";
21
- export * from "./components/ui/toast";
22
- export * from "./components/ui/toaster";
23
- export * from "./components/ui/chip";
24
- export * from "./components/ui/use-toast";
25
- export * from "./components/ThemeToggle";
26
- export { ThemeProvider } from "./components/ThemeProvider";
27
- export { cn } from "./lib/utils";
@@ -1,5 +0,0 @@
1
- import { ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
3
- export declare const iconColorLevels: string[];
4
- export declare const iconColorVariantClasses: Record<string, string>;
5
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAA;AAGvC,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED,eAAO,MAAM,eAAe,UAc3B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,CAAA"}
package/dist/lib/utils.js DELETED
@@ -1,24 +0,0 @@
1
- import { clsx } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
- export function cn(...inputs) {
4
- return twMerge(clsx(inputs));
5
- }
6
- export const iconColorLevels = [
7
- "coreColors-primaryIcon",
8
- "coreColors-secondaryIcon",
9
- "coreColors-headerIcon",
10
- "coreColors-brandColorPrimary",
11
- "stateColors-subscriptions",
12
- "stateColors-favorites",
13
- "stateColors-reviews",
14
- "stateColors-success",
15
- "stateColors-error",
16
- "stateColors-warning",
17
- "stateColors-disabled",
18
- "buttonColors-primaryText",
19
- "buttonColors-secondaryText",
20
- ];
21
- export const iconColorVariantClasses = {};
22
- for (let iconColorLevel of iconColorLevels) {
23
- iconColorVariantClasses[iconColorLevel] = `text-${iconColorLevel}`;
24
- }