tonkean-tcltext 1.0.0

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 (67) hide show
  1. package/README.md +114 -0
  2. package/dist/components/ButtonToken.d.ts +17 -0
  3. package/dist/components/ButtonToken.d.ts.map +1 -0
  4. package/dist/components/ButtonToken.js +234 -0
  5. package/dist/components/ButtonToken.js.map +1 -0
  6. package/dist/components/ColorSelectToken.d.ts +17 -0
  7. package/dist/components/ColorSelectToken.d.ts.map +1 -0
  8. package/dist/components/ColorSelectToken.js +499 -0
  9. package/dist/components/ColorSelectToken.js.map +1 -0
  10. package/dist/components/ColorSwatch.d.ts +9 -0
  11. package/dist/components/ColorSwatch.d.ts.map +1 -0
  12. package/dist/components/ColorSwatch.js +12 -0
  13. package/dist/components/ColorSwatch.js.map +1 -0
  14. package/dist/components/IconItem.d.ts +17 -0
  15. package/dist/components/IconItem.d.ts.map +1 -0
  16. package/dist/components/IconItem.js +64 -0
  17. package/dist/components/IconItem.js.map +1 -0
  18. package/dist/components/InputToken.d.ts +15 -0
  19. package/dist/components/InputToken.d.ts.map +1 -0
  20. package/dist/components/InputToken.js +203 -0
  21. package/dist/components/InputToken.js.map +1 -0
  22. package/dist/components/MultiSelectToken.d.ts +18 -0
  23. package/dist/components/MultiSelectToken.d.ts.map +1 -0
  24. package/dist/components/MultiSelectToken.js +568 -0
  25. package/dist/components/MultiSelectToken.js.map +1 -0
  26. package/dist/components/NumericInputToken.d.ts +16 -0
  27. package/dist/components/NumericInputToken.d.ts.map +1 -0
  28. package/dist/components/NumericInputToken.js +322 -0
  29. package/dist/components/NumericInputToken.js.map +1 -0
  30. package/dist/components/SelectToken.d.ts +18 -0
  31. package/dist/components/SelectToken.d.ts.map +1 -0
  32. package/dist/components/SelectToken.js +357 -0
  33. package/dist/components/SelectToken.js.map +1 -0
  34. package/dist/components/TCLText.d.ts +28 -0
  35. package/dist/components/TCLText.d.ts.map +1 -0
  36. package/dist/components/TCLText.js +89 -0
  37. package/dist/components/TCLText.js.map +1 -0
  38. package/dist/components/hooks/useTooltipOnTruncation.d.ts +20 -0
  39. package/dist/components/hooks/useTooltipOnTruncation.d.ts.map +1 -0
  40. package/dist/components/hooks/useTooltipOnTruncation.js +62 -0
  41. package/dist/components/hooks/useTooltipOnTruncation.js.map +1 -0
  42. package/dist/components/iconLibrary.d.ts +3 -0
  43. package/dist/components/iconLibrary.d.ts.map +1 -0
  44. package/dist/components/iconLibrary.js +58 -0
  45. package/dist/components/iconLibrary.js.map +1 -0
  46. package/dist/components/iconLoader.d.ts +5 -0
  47. package/dist/components/iconLoader.d.ts.map +1 -0
  48. package/dist/components/iconLoader.js +113 -0
  49. package/dist/components/iconLoader.js.map +1 -0
  50. package/dist/index.d.ts +5 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +7 -0
  53. package/dist/index.js.map +1 -0
  54. package/dist/tokens/buttons.json +198 -0
  55. package/dist/tokens/colors.json +93 -0
  56. package/dist/tokens/index.d.ts +7 -0
  57. package/dist/tokens/index.d.ts.map +1 -0
  58. package/dist/tokens/index.js +6 -0
  59. package/dist/tokens/index.js.map +1 -0
  60. package/dist/tokens/inputs.json +304 -0
  61. package/dist/tokens/types.d.ts +9 -0
  62. package/dist/tokens/types.d.ts.map +1 -0
  63. package/dist/tokens/types.js +2 -0
  64. package/dist/tokens/types.js.map +1 -0
  65. package/dist/tokens/typography.json +37 -0
  66. package/package.json +59 -0
  67. package/src/styles/tokens.css +274 -0
@@ -0,0 +1,58 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export const iconLibrary = [
3
+ {
4
+ name: 'icon-home',
5
+ friendlyName: 'Home',
6
+ description: 'Navigation icon for home page',
7
+ component: (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M3 9L12 2L21 9V20C21 20.5304 20.7893 21.0391 20.4142 21.4142C20.0391 21.7893 19.5304 22 19 22H5C4.46957 22 3.96086 21.7893 3.58579 21.4142C3.21071 21.0391 3 20.5304 3 20V9Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M9 22V12H15V22", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })),
8
+ },
9
+ {
10
+ name: 'icon-user',
11
+ friendlyName: 'User',
12
+ description: 'User profile icon',
13
+ component: (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })),
14
+ },
15
+ {
16
+ name: 'icon-settings',
17
+ friendlyName: 'Settings',
18
+ description: 'Settings and configuration icon',
19
+ component: (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M19.4 15C19.2669 15.3016 19.2272 15.6362 19.286 15.9606C19.3448 16.285 19.4995 16.5843 19.73 16.82L19.79 16.88C19.976 17.0657 20.1235 17.2863 20.2241 17.5291C20.3248 17.7719 20.3766 18.0322 20.3766 18.295C20.3766 18.5578 20.3248 18.8181 20.2241 19.0609C20.1235 19.3037 19.976 19.5243 19.79 19.71C19.6043 19.896 19.3837 20.0435 19.1409 20.1441C18.8981 20.2448 18.6378 20.2966 18.375 20.2966C18.1122 20.2966 17.8519 20.2448 17.6091 20.1441C17.3663 20.0435 17.1457 19.896 16.96 19.71L16.9 19.65C16.6643 19.4195 16.365 19.2648 16.0406 19.206C15.7162 19.1472 15.3816 19.1869 15.08 19.32C14.7842 19.4468 14.532 19.6572 14.3543 19.9255C14.1766 20.1938 14.0813 20.5082 14.08 20.83V21C14.08 21.5304 13.8693 22.0391 13.4942 22.4142C13.1191 22.7893 12.6104 23 12.08 23C11.5496 23 11.0409 22.7893 10.6658 22.4142C10.2907 22.0391 10.08 21.5304 10.08 21V20.91C10.0723 20.579 9.96512 20.258 9.77251 19.9887C9.5799 19.7194 9.31074 19.5143 9 19.4C8.69838 19.2669 8.36381 19.2272 8.03941 19.286C7.71502 19.3448 7.41568 19.4995 7.18 19.73L7.12 19.79C6.93425 19.976 6.71368 20.1235 6.47088 20.2241C6.22808 20.3248 5.96783 20.3766 5.705 20.3766C5.44217 20.3766 5.18192 20.3248 4.93912 20.2241C4.69632 20.1235 4.47575 19.976 4.29 19.79C4.10405 19.6043 3.95653 19.3837 3.85588 19.1409C3.75523 18.8981 3.70343 18.6378 3.70343 18.375C3.70343 18.1122 3.75523 17.8519 3.85588 17.6091C3.95653 17.3663 4.10405 17.1457 4.29 16.96L4.35 16.9C4.58054 16.6643 4.73519 16.365 4.794 16.0406C4.85282 15.7162 4.81312 15.3816 4.68 15.08C4.55324 14.7842 4.34276 14.532 4.07447 14.3543C3.80618 14.1766 3.49179 14.0813 3.17 14.08H3C2.46957 14.08 1.96086 13.8693 1.58579 13.4942C1.21071 13.1191 1 12.6104 1 12.08C1 11.5496 1.21071 11.0409 1.58579 10.6658C1.96086 10.2907 2.46957 10.08 3 10.08H3.09C3.42099 10.0723 3.742 9.96512 4.0113 9.77251C4.28059 9.5799 4.48572 9.31074 4.6 9C4.73312 8.69838 4.77282 8.36381 4.714 8.03941C4.65519 7.71502 4.50054 7.41568 4.27 7.18L4.21 7.12C4.02405 6.93425 3.87653 6.71368 3.77588 6.47088C3.67523 6.22808 3.62343 5.96783 3.62343 5.705C3.62343 5.44217 3.67523 5.18192 3.77588 4.93912C3.87653 4.69632 4.02405 4.47575 4.21 4.29C4.39575 4.10405 4.61632 3.95653 4.85912 3.85588C5.10192 3.75523 5.36217 3.70343 5.625 3.70343C5.88783 3.70343 6.14808 3.75523 6.39088 3.85588C6.63368 3.95653 6.85425 4.10405 7.04 4.29L7.1 4.35C7.33568 4.58054 7.63502 4.73519 7.95941 4.794C8.28381 4.85282 8.61838 4.81312 8.92 4.68H9C9.29577 4.55324 9.54802 4.34276 9.72569 4.07447C9.90337 3.80618 9.99872 3.49179 10 3.17V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.09C14.0013 3.41179 14.0966 3.72618 14.2743 3.99447C14.452 4.26276 14.7042 4.47324 15 4.6C15.3016 4.73312 15.6362 4.77282 15.9606 4.714C16.285 4.65519 16.5843 4.50054 16.82 4.27L16.88 4.21C17.0657 4.02405 17.2863 3.87653 17.5291 3.77588C17.7719 3.67523 18.0322 3.62343 18.295 3.62343C18.5578 3.62343 18.8181 3.67523 19.0609 3.77588C19.3037 3.87653 19.5243 4.02405 19.71 4.21C19.896 4.39575 20.0435 4.61632 20.1441 4.85912C20.2448 5.10192 20.2966 5.36217 20.2966 5.625C20.2966 5.88783 20.2448 6.14808 20.1441 6.39088C20.0435 6.63368 19.896 6.85425 19.71 7.04L19.65 7.1C19.4195 7.33568 19.2648 7.63502 19.206 7.95941C19.1472 8.28381 19.1869 8.61838 19.32 8.92V9C19.4468 9.29577 19.6572 9.54802 19.9255 9.72569C20.1938 9.90337 20.5082 9.99872 20.83 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.91C20.5882 14.0013 20.2738 14.0966 20.0055 14.2743C19.7372 14.452 19.5268 14.7042 19.4 15Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })),
20
+ },
21
+ {
22
+ name: 'icon-search',
23
+ friendlyName: 'Search',
24
+ description: 'Search and find icon',
25
+ component: (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })),
26
+ },
27
+ {
28
+ name: 'icon-bell',
29
+ friendlyName: 'Bell',
30
+ description: 'Notification bell icon',
31
+ component: (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M13.73 21C13.5542 21.3031 13.3019 21.5547 12.9982 21.7295C12.6946 21.9044 12.3504 21.9965 12 21.9965C11.6496 21.9965 11.3054 21.9044 11.0018 21.7295C10.6982 21.5547 10.4458 21.3031 10.27 21", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })),
32
+ },
33
+ {
34
+ name: 'icon-chevron-down',
35
+ friendlyName: 'Chevron Down',
36
+ description: 'Dropdown indicator',
37
+ component: (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })),
38
+ },
39
+ {
40
+ name: 'icon-chevron-up',
41
+ friendlyName: 'Chevron Up',
42
+ description: 'Collapse indicator',
43
+ component: (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })),
44
+ },
45
+ {
46
+ name: 'icon-close',
47
+ friendlyName: 'Close',
48
+ description: 'Close or cancel icon',
49
+ component: (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M18 6L6 18M6 6L18 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })),
50
+ },
51
+ {
52
+ name: 'icon-circle',
53
+ friendlyName: 'Circle',
54
+ description: 'Default circle icon',
55
+ component: null, // Will be rendered as a circle
56
+ },
57
+ ];
58
+ //# sourceMappingURL=iconLibrary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconLibrary.js","sourceRoot":"","sources":["../../src/components/iconLibrary.tsx"],"names":[],"mappings":";AAGA,MAAM,CAAC,MAAM,WAAW,GAAe;IACrC;QACE,IAAI,EAAE,WAAW;QACjB,YAAY,EAAE,MAAM;QACpB,WAAW,EAAE,+BAA+B;QAC5C,SAAS,EAAE,CACT,eAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,aAC5F,eAAM,CAAC,EAAC,8KAA8K,EAAC,MAAM,EAAC,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C,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,GAAE,GAC1G,CACP;KACF;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,YAAY,EAAE,YAAY;QAC1B,WAAW,EAAE,oBAAoB;QACjC,SAAS,EAAE,CACT,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,YAC5F,eAAM,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,GAAE,GAC3G,CACP;KACF;IACD;QACE,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,OAAO;QACrB,WAAW,EAAE,sBAAsB;QACnC,SAAS,EAAE,CACT,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,YAC5F,eAAM,CAAC,EAAC,sBAAsB,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,GAAE,GAC/G,CACP;KACF;IACD;QACE,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,QAAQ;QACtB,WAAW,EAAE,qBAAqB;QAClC,SAAS,EAAE,IAAI,EAAE,+BAA+B;KACjD;CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { IconData } from './IconItem';
2
+ export declare function toFriendlyName(name: string): string;
3
+ export declare function getCategory(name: string): string;
4
+ export declare function loadAllIcons(): IconData[];
5
+ //# sourceMappingURL=iconLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconLoader.d.ts","sourceRoot":"","sources":["../../src/components/iconLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAUnD;AAGD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAkDhD;AAGD,wBAAgB,YAAY,IAAI,QAAQ,EAAE,CAqDzC"}
@@ -0,0 +1,113 @@
1
+ // Helper function to convert kebab-case to Title Case
2
+ export function toFriendlyName(name) {
3
+ return name
4
+ .replace(/\.svg$/, '') // Remove .svg extension
5
+ .split('-')
6
+ .map(word => {
7
+ // Handle numbers
8
+ if (/^\d+$/.test(word))
9
+ return word;
10
+ return word.charAt(0).toUpperCase() + word.slice(1);
11
+ })
12
+ .join(' ');
13
+ }
14
+ // Helper function to determine category from icon name
15
+ export function getCategory(name) {
16
+ const nameLower = name.toLowerCase();
17
+ if (nameLower.includes('arrow') || nameLower.includes('chevron') || nameLower.includes('corner') || nameLower.includes('expand') || nameLower.includes('infinity')) {
18
+ return 'Navigation';
19
+ }
20
+ if (nameLower.includes('check') || nameLower.includes('minus') || nameLower.includes('plus') || nameLower.includes('x-close') || nameLower.includes('x-square')) {
21
+ return 'Actions';
22
+ }
23
+ if (nameLower.includes('home') || nameLower.includes('building') || nameLower.includes('bookmark') || nameLower.includes('pin')) {
24
+ return 'Location';
25
+ }
26
+ if (nameLower.includes('download') || nameLower.includes('upload') || nameLower.includes('save') || nameLower.includes('archive')) {
27
+ return 'Files';
28
+ }
29
+ if (nameLower.includes('edit') || nameLower.includes('copy') || nameLower.includes('trash') || nameLower.includes('delete')) {
30
+ return 'Editing';
31
+ }
32
+ if (nameLower.includes('search') || nameLower.includes('filter')) {
33
+ return 'Search';
34
+ }
35
+ if (nameLower.includes('share') || nameLower.includes('link')) {
36
+ return 'Sharing';
37
+ }
38
+ if (nameLower.includes('eye') || nameLower.includes('info') || nameLower.includes('help') || nameLower.includes('message')) {
39
+ return 'Information';
40
+ }
41
+ if (nameLower.includes('heart') || nameLower.includes('activity') || nameLower.includes('zap')) {
42
+ return 'Status';
43
+ }
44
+ if (nameLower.includes('loading') || nameLower.includes('refresh')) {
45
+ return 'Loading';
46
+ }
47
+ if (nameLower.includes('log-in') || nameLower.includes('log-out') || nameLower.includes('user')) {
48
+ return 'Authentication';
49
+ }
50
+ if (nameLower.includes('settings') || nameLower.includes('tool') || nameLower.includes('gear')) {
51
+ return 'Settings';
52
+ }
53
+ if (nameLower.includes('toggle') || nameLower.includes('switch')) {
54
+ return 'Controls';
55
+ }
56
+ if (nameLower.includes('play') || nameLower.includes('pause') || nameLower.includes('stop') || nameLower.includes('media')) {
57
+ return 'Media';
58
+ }
59
+ if (nameLower.includes('chart') || nameLower.includes('graph') || nameLower.includes('line-chart')) {
60
+ return 'Charts';
61
+ }
62
+ return 'General';
63
+ }
64
+ // Load all icons using Vite's glob import
65
+ export function loadAllIcons() {
66
+ // Use Vite's import.meta.glob to get all SVG files
67
+ const iconModules = import.meta.glob('../icons/*.svg', {
68
+ eager: true,
69
+ as: 'raw'
70
+ });
71
+ const icons = [];
72
+ for (const [path, svgContent] of Object.entries(iconModules)) {
73
+ // Extract icon name from path: ../icons/icon-name.svg
74
+ const fileName = path.split('/').pop()?.replace('.svg', '') || '';
75
+ const friendlyName = toFriendlyName(fileName);
76
+ const category = getCategory(fileName);
77
+ // Convert SVG string to React component
78
+ let svgString = svgContent;
79
+ // Replace stroke="black" with stroke="currentColor" for theming
80
+ svgString = svgString
81
+ .replace(/stroke="black"/g, 'stroke="currentColor"')
82
+ .replace(/fill="black"/g, 'fill="currentColor"')
83
+ // Remove fixed width/height to allow scaling
84
+ .replace(/\s+width="[^"]*"/g, '')
85
+ .replace(/\s+height="[^"]*"/g, '')
86
+ // Ensure viewBox is present for proper scaling
87
+ .replace(/<svg([^>]*)>/, (match, attrs) => {
88
+ if (!attrs.includes('viewBox')) {
89
+ // If no viewBox, try to extract from width/height or default to 24x24
90
+ const widthMatch = match.match(/width="(\d+)"/);
91
+ const heightMatch = match.match(/height="(\d+)"/);
92
+ const size = widthMatch ? widthMatch[1] : (heightMatch ? heightMatch[1] : '24');
93
+ return `<svg${attrs} viewBox="0 0 ${size} ${size}">`;
94
+ }
95
+ return match;
96
+ });
97
+ icons.push({
98
+ name: fileName,
99
+ friendlyName,
100
+ category,
101
+ svg: svgString,
102
+ });
103
+ }
104
+ // Sort by category, then by name
105
+ icons.sort((a, b) => {
106
+ if (a.category !== b.category) {
107
+ return (a.category || '').localeCompare(b.category || '');
108
+ }
109
+ return a.name.localeCompare(b.name);
110
+ });
111
+ return icons;
112
+ }
113
+ //# sourceMappingURL=iconLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconLoader.js","sourceRoot":"","sources":["../../src/components/iconLoader.ts"],"names":[],"mappings":"AAEA,sDAAsD;AACtD,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,OAAO,IAAI;SACR,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,wBAAwB;SAC9C,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,IAAI,CAAC,EAAE;QACV,iBAAiB;QACjB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;QACpC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC;AAED,uDAAuD;AACvD,MAAM,UAAU,WAAW,CAAC,IAAY;IACtC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAErC,IAAI,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,QAAQ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from './components/TCLText';
3
+ export { colors, typography, buttons, inputs } from './tokens';
4
+ export { useTooltipOnTruncation } from './components/hooks/useTooltipOnTruncation';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGzD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAG/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ // Export TCLText component
2
+ export { TCLText, TCLFontSize } from './components/TCLText';
3
+ // Export tokens
4
+ export { colors, typography, buttons, inputs } from './tokens';
5
+ // Export hooks
6
+ export { useTooltipOnTruncation } from './components/hooks/useTooltipOnTruncation';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAG5D,gBAAgB;AAChB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAE/D,eAAe;AACf,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,198 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "buttons": {
4
+ "sizes": {
5
+ "small": {
6
+ "padding": {
7
+ "vertical": "6px",
8
+ "horizontal": "12px"
9
+ },
10
+ "fontSize": "12px",
11
+ "minHeight": "28px"
12
+ },
13
+ "regular": {
14
+ "padding": {
15
+ "vertical": "8px",
16
+ "horizontal": "16px"
17
+ },
18
+ "fontSize": "14px",
19
+ "minHeight": "36px"
20
+ },
21
+ "large": {
22
+ "padding": {
23
+ "vertical": "10px",
24
+ "horizontal": "20px"
25
+ },
26
+ "fontSize": "16px",
27
+ "minHeight": "44px"
28
+ }
29
+ },
30
+ "borderRadius": "4px",
31
+ "borderWidth": "1px",
32
+ "variants": {
33
+ "default": {
34
+ "default": {
35
+ "background": "purple.600",
36
+ "text": "basic.white",
37
+ "icon": "basic.white",
38
+ "border": "none"
39
+ },
40
+ "hover": {
41
+ "background": "purple.700",
42
+ "text": "basic.white",
43
+ "icon": "basic.white",
44
+ "border": "none"
45
+ },
46
+ "disabled": {
47
+ "background": "gray.300",
48
+ "text": "gray.400",
49
+ "icon": "gray.400",
50
+ "border": "none"
51
+ }
52
+ },
53
+ "secondary": {
54
+ "default": {
55
+ "background": "basic.white",
56
+ "text": "gray.900",
57
+ "icon": "gray.900",
58
+ "border": "1px solid gray.300"
59
+ },
60
+ "hover": {
61
+ "background": "gray.100",
62
+ "text": "gray.900",
63
+ "icon": "gray.900",
64
+ "border": "1px solid gray.300"
65
+ },
66
+ "disabled": {
67
+ "background": "gray.300",
68
+ "text": "gray.400",
69
+ "icon": "gray.400",
70
+ "border": "none"
71
+ }
72
+ },
73
+ "outline": {
74
+ "default": {
75
+ "background": "basic.white",
76
+ "text": "gray.900",
77
+ "icon": "gray.900",
78
+ "border": "1px solid gray.300"
79
+ },
80
+ "hover": {
81
+ "background": "basic.white",
82
+ "text": "gray.900",
83
+ "icon": "gray.900",
84
+ "border": "1px solid gray.400"
85
+ },
86
+ "disabled": {
87
+ "background": "gray.300",
88
+ "text": "gray.400",
89
+ "icon": "gray.400",
90
+ "border": "none"
91
+ }
92
+ },
93
+ "destructive": {
94
+ "default": {
95
+ "background": "red.500",
96
+ "text": "basic.white",
97
+ "icon": "basic.white",
98
+ "border": "none"
99
+ },
100
+ "hover": {
101
+ "background": "red.600",
102
+ "text": "basic.white",
103
+ "icon": "basic.white",
104
+ "border": "none"
105
+ },
106
+ "disabled": {
107
+ "background": "gray.300",
108
+ "text": "gray.400",
109
+ "icon": "gray.400",
110
+ "border": "none"
111
+ }
112
+ },
113
+ "warning": {
114
+ "default": {
115
+ "background": "yellow.400",
116
+ "text": "basic.white",
117
+ "icon": "basic.white",
118
+ "border": "none"
119
+ },
120
+ "hover": {
121
+ "background": "yellow.500",
122
+ "text": "basic.white",
123
+ "icon": "basic.white",
124
+ "border": "none"
125
+ },
126
+ "disabled": {
127
+ "background": "gray.300",
128
+ "text": "gray.400",
129
+ "icon": "gray.400",
130
+ "border": "none"
131
+ }
132
+ },
133
+ "link": {
134
+ "default": {
135
+ "background": "transparent",
136
+ "text": "purple.600",
137
+ "icon": "purple.600",
138
+ "border": "none",
139
+ "textDecoration": "underline"
140
+ },
141
+ "hover": {
142
+ "background": "transparent",
143
+ "text": "purple.700",
144
+ "icon": "purple.700",
145
+ "border": "none",
146
+ "textDecoration": "underline"
147
+ },
148
+ "disabled": {
149
+ "background": "transparent",
150
+ "text": "gray.400",
151
+ "icon": "gray.400",
152
+ "border": "none",
153
+ "textDecoration": "underline"
154
+ }
155
+ },
156
+ "ghost": {
157
+ "default": {
158
+ "background": "transparent",
159
+ "text": "gray.900",
160
+ "icon": "gray.900",
161
+ "border": "none"
162
+ },
163
+ "hover": {
164
+ "background": "transparent",
165
+ "text": "gray.400",
166
+ "icon": "gray.400",
167
+ "border": "none"
168
+ },
169
+ "disabled": {
170
+ "background": "transparent",
171
+ "text": "gray.400",
172
+ "icon": "gray.400",
173
+ "border": "none"
174
+ }
175
+ },
176
+ "multiaction": {
177
+ "default": {
178
+ "background": "purple.600",
179
+ "text": "basic.white",
180
+ "icon": "basic.white",
181
+ "border": "none"
182
+ },
183
+ "hover": {
184
+ "background": "purple.700",
185
+ "text": "basic.white",
186
+ "icon": "basic.white",
187
+ "border": "none"
188
+ },
189
+ "disabled": {
190
+ "background": "gray.300",
191
+ "text": "gray.400",
192
+ "icon": "gray.400",
193
+ "border": "none"
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "colors": {
4
+ "basic": {
5
+ "black": "#000000",
6
+ "white": "#FFFFFF"
7
+ },
8
+ "gray": {
9
+ "50": "#F9FAFB",
10
+ "100": "#F3F4F6",
11
+ "200": "#E5E7EB",
12
+ "300": "#D1D5DB",
13
+ "400": "#9CA3AF",
14
+ "500": "#6B7280",
15
+ "600": "#4B5563",
16
+ "700": "#1F2937",
17
+ "800": "#374151",
18
+ "900": "#111827"
19
+ },
20
+ "red": {
21
+ "50": "#FEF2F2",
22
+ "100": "#FEE2E2",
23
+ "200": "#FECACA",
24
+ "300": "#FCA5A5",
25
+ "400": "#F87171",
26
+ "500": "#EF4444",
27
+ "600": "#DC2626",
28
+ "700": "#B91C1C",
29
+ "800": "#991B1B",
30
+ "900": "#7F1D1D"
31
+ },
32
+ "yellow": {
33
+ "50": "#FEF3C7",
34
+ "100": "#FDE68A",
35
+ "200": "#FCD34D",
36
+ "300": "#FBBF24",
37
+ "400": "#F59E0B",
38
+ "500": "#D97706",
39
+ "600": "#B45309",
40
+ "700": "#92400E",
41
+ "800": "#78350F",
42
+ "900": "#451A03"
43
+ },
44
+ "green": {
45
+ "50": "#ECFDF3",
46
+ "100": "#D1FAE5",
47
+ "200": "#A7F3D0",
48
+ "300": "#6EE7B7",
49
+ "400": "#34D399",
50
+ "500": "#10B981",
51
+ "600": "#059669",
52
+ "700": "#047857",
53
+ "800": "#065F46",
54
+ "900": "#064E3B"
55
+ },
56
+ "blue": {
57
+ "50": "#EFF6FF",
58
+ "100": "#DBEAFE",
59
+ "200": "#BFDBFE",
60
+ "300": "#93C5FD",
61
+ "400": "#60A5FA",
62
+ "500": "#3B82F6",
63
+ "600": "#2563EB",
64
+ "700": "#1D4ED8",
65
+ "800": "#1E40AF",
66
+ "900": "#1E3A8A"
67
+ },
68
+ "purple": {
69
+ "50": "#F5F3FF",
70
+ "100": "#EDE9FE",
71
+ "200": "#DDD6FE",
72
+ "300": "#C4B5FD",
73
+ "400": "#A78BFA",
74
+ "500": "#8B5CF6",
75
+ "600": "#7C3AED",
76
+ "700": "#6D28D9",
77
+ "800": "#5B21B6",
78
+ "900": "#4C1D95"
79
+ },
80
+ "pink": {
81
+ "50": "#FDF2F8",
82
+ "100": "#FCE7F3",
83
+ "200": "#FBCFE8",
84
+ "300": "#F9A8D4",
85
+ "400": "#F472B6",
86
+ "500": "#EC4899",
87
+ "600": "#DB2777",
88
+ "700": "#BE185D",
89
+ "800": "#9D174D",
90
+ "900": "#831843"
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,7 @@
1
+ import colors from './colors.json';
2
+ import typography from './typography.json';
3
+ import buttons from './buttons.json';
4
+ import inputs from './inputs.json';
5
+ export { colors, typography, buttons, inputs };
6
+ export type { Colors, Typography, Buttons, Inputs } from './types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ import colors from './colors.json';
2
+ import typography from './typography.json';
3
+ import buttons from './buttons.json';
4
+ import inputs from './inputs.json';
5
+ export { colors, typography, buttons, inputs };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC"}