@lateralus-ai/shipping-ui 1.4.12 → 1.4.14

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 (64) hide show
  1. package/README.md +108 -108
  2. package/dist/index.cjs +38 -38
  3. package/dist/index.esm.js +4936 -4913
  4. package/dist/tailwind-theme.d.ts +12 -0
  5. package/package.json +99 -99
  6. package/src/components/DocumentEditor/DocumentEditor.tsx +871 -871
  7. package/src/components/HelloWorld.tsx +3 -3
  8. package/src/components/InputPrompt.tsx +96 -96
  9. package/src/components/ModalPanel.tsx +49 -49
  10. package/src/components/PdfViewer/ImageViewer.tsx +211 -211
  11. package/src/components/PdfViewer/PdfViewer.tsx +232 -209
  12. package/src/components/PdfViewer/index.ts +2 -2
  13. package/src/components/PdfViewer/usePageManagement.ts +32 -32
  14. package/src/components/PdfViewer/usePanning.ts +42 -42
  15. package/src/components/PdfViewer/useRefDimensions.ts +16 -16
  16. package/src/components/PdfViewer/useRotation.ts +13 -13
  17. package/src/components/PdfViewer/useZoom.ts +26 -26
  18. package/src/components/SearchModal.tsx +320 -320
  19. package/src/components/Sidebar/Button.tsx +20 -20
  20. package/src/components/Sidebar/Container.tsx +31 -31
  21. package/src/components/Sidebar/Item.tsx +39 -39
  22. package/src/components/Sidebar/Layout.tsx +32 -32
  23. package/src/components/Sidebar/Provider.tsx +47 -47
  24. package/src/components/Sidebar/SecondaryItem.tsx +39 -39
  25. package/src/components/Sidebar/SideContainer.tsx +31 -31
  26. package/src/components/Sidebar/ToggleCollapseButton.tsx +24 -24
  27. package/src/components/Sidebar/index.ts +8 -8
  28. package/src/components/Tabs.tsx +43 -43
  29. package/src/components/icons/CloseSidebarIcon.tsx +19 -19
  30. package/src/components/icons/CloseSidebarMidIcon.tsx +19 -19
  31. package/src/components/icons/ExpandIcon.tsx +21 -21
  32. package/src/components/icons/SendArrowIcon.tsx +23 -23
  33. package/src/components/icons/SendArrowIconGreen.tsx +17 -17
  34. package/src/components/icons/SettingsIcon.tsx +33 -33
  35. package/src/components/icons/XIcon.tsx +21 -21
  36. package/src/components/index.ts +6 -6
  37. package/src/index.ts +4 -4
  38. package/src/material-theme.ts +477 -477
  39. package/src/stories/Buttons.stories.tsx +15 -15
  40. package/src/stories/Buttons.tsx +52 -52
  41. package/src/stories/Checkbox.stories.tsx +15 -15
  42. package/src/stories/Checkbox.tsx +56 -56
  43. package/src/stories/ColorPalette.stories.tsx +15 -15
  44. package/src/stories/ColorPalette.tsx +85 -72
  45. package/src/stories/DocumentEditor.stories.tsx +287 -287
  46. package/src/stories/Dropdowns.stories.tsx +15 -15
  47. package/src/stories/Dropdowns.tsx +52 -52
  48. package/src/stories/InputPrompt.stories.tsx +15 -15
  49. package/src/stories/InputPrompt.tsx +63 -63
  50. package/src/stories/ModalHeader.stories.tsx +35 -35
  51. package/src/stories/PDFViewer.stories.tsx +39 -39
  52. package/src/stories/SearchModal.stories.tsx +132 -132
  53. package/src/stories/SearchModal.tsx +82 -82
  54. package/src/stories/Sidebar.stories.tsx +15 -15
  55. package/src/stories/Sidebar.tsx +108 -108
  56. package/src/stories/Tabs.stories.tsx +51 -51
  57. package/src/stories/Typography.stories.tsx +15 -15
  58. package/src/stories/Typography.tsx +110 -110
  59. package/src/style.css +2 -2
  60. package/src/styles/tabs.css +55 -55
  61. package/src/tailwind-theme.ts +243 -231
  62. package/src/types/documentEditor.ts +55 -55
  63. package/src/utils/checkboxModule.ts +241 -241
  64. package/src/utils/cn.ts +11 -11
@@ -143,6 +143,18 @@ export declare const theme: {
143
143
  800: string;
144
144
  900: string;
145
145
  };
146
+ purple: {
147
+ 50: string;
148
+ 100: string;
149
+ 200: string;
150
+ 300: string;
151
+ 400: string;
152
+ 500: string;
153
+ 600: string;
154
+ 700: string;
155
+ 800: string;
156
+ 900: string;
157
+ };
146
158
  "brand-purple": string;
147
159
  presentation: string;
148
160
  "text-primary": string;
package/package.json CHANGED
@@ -1,99 +1,99 @@
1
- {
2
- "name": "@lateralus-ai/shipping-ui",
3
- "version": "1.4.12",
4
- "description": "Shared UI theme and components for Lateralus shipping applications",
5
- "main": "dist/index.cjs",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "publishConfig": {
9
- "access": "public"
10
- },
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.esm.js",
14
- "require": "./dist/index.cjs",
15
- "types": "./dist/index.d.ts"
16
- },
17
- "./style.css": "./dist/style.css",
18
- "./css": "./dist/style.css",
19
- "./dist/style.css": "./dist/style.css",
20
- "./tailwind": "./tailwind.config.js"
21
- },
22
- "files": [
23
- "dist",
24
- "lib",
25
- "src",
26
- "tailwind.config.js"
27
- ],
28
- "scripts": {
29
- "dev": "storybook dev -p 6006",
30
- "build": "npx rimraf ./dist && vite build",
31
- "storybook": "storybook dev -p 6006",
32
- "build-storybook": "storybook build",
33
- "release": "npx release-it"
34
- },
35
- "repository": {
36
- "type": "git",
37
- "url": "git+https://github.com/lateralus-ai/shipping-ui.git"
38
- },
39
- "keywords": [
40
- "tailwind",
41
- "material-tailwind",
42
- "theme",
43
- "shipping",
44
- "storybook"
45
- ],
46
- "author": "Lateralus AI",
47
- "license": "UNLICENSED",
48
- "bugs": {
49
- "url": "https://github.com/lateralus-ai/shipping-ui/issues"
50
- },
51
- "homepage": "https://github.com/lateralus-ai/shipping-ui#readme",
52
- "devDependencies": {
53
- "@chromatic-com/storybook": "^1.6.1",
54
- "@material-tailwind/react": "^2.1.10",
55
- "@storybook/addon-essentials": "^8.2.9",
56
- "@storybook/addon-interactions": "^8.2.9",
57
- "@storybook/addon-links": "^8.2.9",
58
- "@storybook/blocks": "^8.2.9",
59
- "@storybook/react": "^8.2.9",
60
- "@storybook/react-vite": "^8.2.9",
61
- "@types/react": "^18.2.0",
62
- "@types/react-dom": "^18.2.0",
63
- "@uidotdev/usehooks": "^2.4.1",
64
- "@vitejs/plugin-react": "^4.2.1",
65
- "ai": "^5.0.59",
66
- "autoprefixer": "^10.4.16",
67
- "clsx": "^1.2.0",
68
- "postcss": "^8.4.32",
69
- "react": "^18.2.0",
70
- "react-dom": "^18.2.0",
71
- "release-it": "^19.0.5",
72
- "storybook": "^8.2.9",
73
- "tailwind-merge": "^1.9.0",
74
- "tailwindcss": "^3.4.0",
75
- "tailwindcss-animate": "^1.0.7",
76
- "tailwindcss-radix": "^3.0.3",
77
- "typescript": "^5.3.3",
78
- "vite": "^5.0.10",
79
- "vite-plugin-dts": "^4.5.4"
80
- },
81
- "peerDependencies": {
82
- "react": "^18.2.0",
83
- "react-dom": "^18.2.0",
84
- "react-textarea-autosize": "^8.5.9"
85
- },
86
- "dependencies": {
87
- "@iconify/react": "^6.0.2",
88
- "@react-hooks-library/core": "^0.6.2",
89
- "docx-preview": "^0.3.7",
90
- "docxtemplater": "^3.66.6",
91
- "pizzip": "^3.2.0",
92
- "react-hotkeys-hook": "^5.1.0",
93
- "react-pdf": "^10.1.0",
94
- "react-router": "^7.9.3"
95
- },
96
- "sideEffects": [
97
- "dist/style.css"
98
- ]
99
- }
1
+ {
2
+ "name": "@lateralus-ai/shipping-ui",
3
+ "version": "1.4.14",
4
+ "description": "Shared UI theme and components for Lateralus shipping applications",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.esm.js",
14
+ "require": "./dist/index.cjs",
15
+ "types": "./dist/index.d.ts"
16
+ },
17
+ "./style.css": "./dist/style.css",
18
+ "./css": "./dist/style.css",
19
+ "./dist/style.css": "./dist/style.css",
20
+ "./tailwind": "./tailwind.config.js"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "lib",
25
+ "src",
26
+ "tailwind.config.js"
27
+ ],
28
+ "scripts": {
29
+ "dev": "storybook dev -p 6006",
30
+ "build": "npx rimraf ./dist && vite build",
31
+ "storybook": "storybook dev -p 6006",
32
+ "build-storybook": "storybook build",
33
+ "release": "npx release-it"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/lateralus-ai/shipping-ui.git"
38
+ },
39
+ "keywords": [
40
+ "tailwind",
41
+ "material-tailwind",
42
+ "theme",
43
+ "shipping",
44
+ "storybook"
45
+ ],
46
+ "author": "Lateralus AI",
47
+ "license": "UNLICENSED",
48
+ "bugs": {
49
+ "url": "https://github.com/lateralus-ai/shipping-ui/issues"
50
+ },
51
+ "homepage": "https://github.com/lateralus-ai/shipping-ui#readme",
52
+ "devDependencies": {
53
+ "@chromatic-com/storybook": "^1.6.1",
54
+ "@material-tailwind/react": "^2.1.10",
55
+ "@storybook/addon-essentials": "^8.2.9",
56
+ "@storybook/addon-interactions": "^8.2.9",
57
+ "@storybook/addon-links": "^8.2.9",
58
+ "@storybook/blocks": "^8.2.9",
59
+ "@storybook/react": "^8.2.9",
60
+ "@storybook/react-vite": "^8.2.9",
61
+ "@types/react": "^18.2.0",
62
+ "@types/react-dom": "^18.2.0",
63
+ "@uidotdev/usehooks": "^2.4.1",
64
+ "@vitejs/plugin-react": "^4.2.1",
65
+ "ai": "^5.0.59",
66
+ "autoprefixer": "^10.4.16",
67
+ "clsx": "^1.2.0",
68
+ "postcss": "^8.4.32",
69
+ "react": "^18.2.0",
70
+ "react-dom": "^18.2.0",
71
+ "release-it": "^19.0.5",
72
+ "storybook": "^8.2.9",
73
+ "tailwind-merge": "^1.9.0",
74
+ "tailwindcss": "^3.4.0",
75
+ "tailwindcss-animate": "^1.0.7",
76
+ "tailwindcss-radix": "^3.0.3",
77
+ "typescript": "^5.3.3",
78
+ "vite": "^5.0.10",
79
+ "vite-plugin-dts": "^4.5.4"
80
+ },
81
+ "peerDependencies": {
82
+ "react": "^18.2.0",
83
+ "react-dom": "^18.2.0",
84
+ "react-textarea-autosize": "^8.5.9"
85
+ },
86
+ "dependencies": {
87
+ "@iconify/react": "^6.0.2",
88
+ "@react-hooks-library/core": "^0.6.2",
89
+ "docx-preview": "^0.3.7",
90
+ "docxtemplater": "^3.66.6",
91
+ "pizzip": "^3.2.0",
92
+ "react-hotkeys-hook": "^5.1.0",
93
+ "react-pdf": "^10.1.0",
94
+ "react-router": "^7.9.3"
95
+ },
96
+ "sideEffects": [
97
+ "dist/style.css"
98
+ ]
99
+ }