@mirantes-micro/foundation-design-system 1.2.164 → 1.2.167

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 (3) hide show
  1. package/dist/index.d.ts +51 -2
  2. package/dist/index.js +165 -158
  3. package/package.json +196 -196
package/package.json CHANGED
@@ -1,197 +1,197 @@
1
- {
2
- "name": "@mirantes-micro/foundation-design-system",
3
- "description": "A scalable and customizable design system package featuring a collection of reusable React components, utility functions, and context providers. Built to enforce visual and functional consistency across applications, this package offers accessible, themeable UI elements, shared logic through utility helpers, and context-based providers for managing global state such as themes, modals, and user sessions.",
4
- "version": "1.2.164",
5
- "license": "MIT",
6
- "author": {
7
- "name": "Mirantes Frontend team"
8
- },
9
- "exports": {
10
- ".": {
11
- "import": {
12
- "types": "./dist/index.d.ts",
13
- "default": "./dist/index.js"
14
- },
15
- "require": {
16
- "types": "./dist/index.d.ts",
17
- "default": "./dist/index.js"
18
- }
19
- },
20
- "./styles.css": "./dist/styles.css"
21
- },
22
- "source": "./src/components/fromMirantes/index.ts",
23
- "module": "./dist/index.js",
24
- "types": "./dist/index.d.ts",
25
- "files": [
26
- "dist/*",
27
- "src/components/tiptap-node/blockquote-node/blockquote-node.css",
28
- "src/components/tiptap-node/code-block-node/code-block-node.css",
29
- "src/components/tiptap-node/horizontal-rule-node/horizontal-rule-node.css",
30
- "src/components/tiptap-node/image-node/image-node.css",
31
- "src/components/tiptap-node/heading-node/heading-node.css",
32
- "src/components/tiptap-node/image-upload-node/image-upload-node.css",
33
- "src/components/tiptap-node/list-node/list-node.css",
34
- "src/components/tiptap-node/paragraph-node/paragraph-node.css",
35
- "src/components/tiptap-templates/simple/simple-editor.css",
36
- "src/components/tiptap-ui/color-highlight-button/color-highlight-button.css",
37
- "src/components/tiptap-ui-primitive/badge/badge-colors.css",
38
- "src/components/tiptap-ui-primitive/badge/badge-group.css",
39
- "src/components/tiptap-ui-primitive/badge/badge.css",
40
- "src/components/tiptap-ui-primitive/button/button.css",
41
- "src/components/tiptap-ui-primitive/button/button-group.css",
42
- "src/components/tiptap-ui-primitive/button/button-colors.css",
43
- "src/components/tiptap-ui-primitive/card/card.css",
44
- "src/components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.css",
45
- "src/components/tiptap-ui-primitive/input/input.css",
46
- "src/components/tiptap-ui-primitive/popover/popover.css",
47
- "src/components/tiptap-ui-primitive/separator/separator.css",
48
- "src/components/tiptap-ui-primitive/toolbar/toolbar.css",
49
- "src/components/tiptap-ui-primitive/tooltip/tooltip.css"
50
- ],
51
- "scripts": {
52
- "dev": "webpack serve --mode development",
53
- "build": "webpack --mode production",
54
- "build:webpack": "tsup src/components/fromMirantes/index.ts --format cjs --minify",
55
- "release": "pnpm build:webpack && npm publish",
56
- "build:css": "npx tailwindcss -i ./src/styles/globals.css -o ./dist/styles.css --minify"
57
- },
58
- "devDependencies": {
59
- "@babel/core": "7.26.0",
60
- "@babel/preset-env": "7.26.0",
61
- "@babel/preset-react": "7.26.3",
62
- "@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
63
- "@tailwindcss/postcss7-compat": "2.2.17",
64
- "@tanstack/react-query": "5.76.1",
65
- "@types/country-data": "0.0.5",
66
- "@types/crypto-js": "4.2.2",
67
- "@types/js-cookie": "3.0.6",
68
- "@types/lodash.throttle": "^4.1.9",
69
- "@types/node": "22.10.5",
70
- "@types/react": "19.1.4",
71
- "@types/react-detect-offline": "2.4.5",
72
- "@types/react-dom": "19.1.5",
73
- "@types/uuid": "10.0.0",
74
- "babel-loader": "9.2.1",
75
- "css-loader": "6.8.1",
76
- "esbuild-sass-plugin": "3.3.1",
77
- "eslint": "9.17.0",
78
- "eslint-plugin-react": "7.37.3",
79
- "file-loader": "6.2.0",
80
- "graphql-tag": "2.12.6",
81
- "html-webpack-plugin": "5.5.3",
82
- "postcss": "8.4.39",
83
- "postcss-import": "16.1.0",
84
- "postcss-important": "0.3.0",
85
- "postcss-loader": "7.3.3",
86
- "postcss-nesting": "12.1.5",
87
- "prettier": "3.4.2",
88
- "react-refresh": "0.16.0",
89
- "sass": "^1.94.2",
90
- "sass-embedded": "^1.93.3",
91
- "sass-loader": "^16.0.6",
92
- "style-loader": "3.3.3",
93
- "tailwind-merge": "2.6.0",
94
- "tailwindcss": "3.4.4",
95
- "tailwindcss-animate": "1.0.7",
96
- "ts-loader": "9.5.1",
97
- "tsup": "8.3.5",
98
- "typescript": "5.7.2",
99
- "webpack": "5.97.1",
100
- "webpack-cli": "6.0.1",
101
- "webpack-dev-server": "5.2.0"
102
- },
103
- "dependencies": {
104
- "@emotion/is-prop-valid": "^1.4.0",
105
- "@floating-ui/react": "^0.27.16",
106
- "@hookform/resolvers": "^5.2.2",
107
- "@mirantes-micro/billing-v2": "0.1.49",
108
- "@mirantes-micro/notifications-v2": "0.0.42",
109
- "@mirantes-micro/widgets": "0.0.138",
110
- "@radix-ui/react-avatar": "^1.1.10",
111
- "@radix-ui/react-checkbox": "^1.3.3",
112
- "@radix-ui/react-dialog": "^1.1.15",
113
- "@radix-ui/react-dropdown-menu": "^2.1.16",
114
- "@radix-ui/react-label": "^2.1.7",
115
- "@radix-ui/react-popover": "1.1.15",
116
- "@radix-ui/react-radio-group": "^1.3.8",
117
- "@radix-ui/react-scroll-area": "^1.2.10",
118
- "@radix-ui/react-select": "^2.2.6",
119
- "@radix-ui/react-slot": "^1.2.3",
120
- "@radix-ui/react-tooltip": "^1.2.8",
121
- "@tanstack/react-query-devtools": "5.76.1",
122
- "@tiptap/core": "^3.10.7",
123
- "@tiptap/extension-highlight": "^3.13.0",
124
- "@tiptap/extension-horizontal-rule": "^3.13.0",
125
- "@tiptap/extension-image": "^3.13.0",
126
- "@tiptap/extension-list": "^3.13.0",
127
- "@tiptap/extension-mention": "^3.10.7",
128
- "@tiptap/extension-placeholder": "^3.10.7",
129
- "@tiptap/extension-subscript": "^3.13.0",
130
- "@tiptap/extension-superscript": "^3.13.0",
131
- "@tiptap/extension-text-align": "^3.13.0",
132
- "@tiptap/extension-typography": "^3.13.0",
133
- "@tiptap/extensions": "^3.13.0",
134
- "@tiptap/pm": "^3.13.0",
135
- "@tiptap/react": "^3.10.7",
136
- "@tiptap/starter-kit": "^3.10.7",
137
- "@tiptap/suggestion": "^3.10.7",
138
- "@uidotdev/usehooks": "2.4.1",
139
- "axios": "1.11.0",
140
- "class-variance-authority": "0.7.1",
141
- "clsx": "2.1.1",
142
- "cmdk": "^1.1.1",
143
- "cookies-next": "^5.1.0",
144
- "country-data": "0.0.31",
145
- "crypto-js": "4.2.0",
146
- "currencies.json": "1.1.0",
147
- "date-fns": "^4.1.0",
148
- "emoji-mart": "5.6.0",
149
- "emoji-picker-react": "4.13.3",
150
- "framer-motion": "12.19.2",
151
- "global-currencies": "1.0.3",
152
- "graphql": "16.11.0",
153
- "graphql-request": "^7.3.1",
154
- "html2canvas": "1.4.1",
155
- "isomorphic-dompurify": "^2.34.0",
156
- "js-cookie": "3.0.5",
157
- "jspdf": "3.0.3",
158
- "link-preview-js": "^3.1.0",
159
- "lodash.throttle": "^4.1.1",
160
- "lucide-react": "0.510.0",
161
- "marked": "^17.0.0",
162
- "motion": "^12.23.24",
163
- "next": "15.3.2",
164
- "ogp-parser": "0.8.1",
165
- "pdf-lib": "^1.17.1",
166
- "pdfjs-dist": "^5.4.449",
167
- "process": "0.11.10",
168
- "react": "19.1.0",
169
- "react-day-picker": "^9.11.1",
170
- "react-detect-offline": "2.4.5",
171
- "react-dom": "19.1.0",
172
- "react-dropzone": "14.3.8",
173
- "react-hook-form": "^7.65.0",
174
- "react-hotkeys-hook": "^5.2.1",
175
- "react-infinite-scroll-hook": "6.0.1",
176
- "react-markdown": "^10.1.0",
177
- "react-router-dom": "7.6.0",
178
- "react-toastify": "^11.0.5",
179
- "remark-gfm": "^4.0.1",
180
- "shiki": "^3.15.0",
181
- "slugify": "1.6.6",
182
- "socket.io-client": "4.8.1",
183
- "swiper": "11.2.10",
184
- "tailwind-scrollbar-hide": "4.0.0",
185
- "tippy.js": "^6.3.7",
186
- "tw-animate-css": "1.2.9",
187
- "uuid": "11.1.0",
188
- "vaul": "^1.1.2",
189
- "yup": "^1.7.1",
190
- "zustand": "^5.0.8"
191
- },
192
- "peerDependencies": {
193
- "tailwind-scrollbar-hide": "^4.0.0",
194
- "tailwindcss": "^3.0.0",
195
- "tailwindcss-animate": "^1.0.0"
196
- }
1
+ {
2
+ "name": "@mirantes-micro/foundation-design-system",
3
+ "description": "A scalable and customizable design system package featuring a collection of reusable React components, utility functions, and context providers. Built to enforce visual and functional consistency across applications, this package offers accessible, themeable UI elements, shared logic through utility helpers, and context-based providers for managing global state such as themes, modals, and user sessions.",
4
+ "version": "1.2.167",
5
+ "license": "MIT",
6
+ "author": {
7
+ "name": "Mirantes Frontend team"
8
+ },
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.ts",
17
+ "default": "./dist/index.js"
18
+ }
19
+ },
20
+ "./styles.css": "./dist/styles.css"
21
+ },
22
+ "source": "./src/components/fromMirantes/index.ts",
23
+ "module": "./dist/index.js",
24
+ "types": "./dist/index.d.ts",
25
+ "files": [
26
+ "dist/*",
27
+ "src/components/tiptap-node/blockquote-node/blockquote-node.css",
28
+ "src/components/tiptap-node/code-block-node/code-block-node.css",
29
+ "src/components/tiptap-node/horizontal-rule-node/horizontal-rule-node.css",
30
+ "src/components/tiptap-node/image-node/image-node.css",
31
+ "src/components/tiptap-node/heading-node/heading-node.css",
32
+ "src/components/tiptap-node/image-upload-node/image-upload-node.css",
33
+ "src/components/tiptap-node/list-node/list-node.css",
34
+ "src/components/tiptap-node/paragraph-node/paragraph-node.css",
35
+ "src/components/tiptap-templates/simple/simple-editor.css",
36
+ "src/components/tiptap-ui/color-highlight-button/color-highlight-button.css",
37
+ "src/components/tiptap-ui-primitive/badge/badge-colors.css",
38
+ "src/components/tiptap-ui-primitive/badge/badge-group.css",
39
+ "src/components/tiptap-ui-primitive/badge/badge.css",
40
+ "src/components/tiptap-ui-primitive/button/button.css",
41
+ "src/components/tiptap-ui-primitive/button/button-group.css",
42
+ "src/components/tiptap-ui-primitive/button/button-colors.css",
43
+ "src/components/tiptap-ui-primitive/card/card.css",
44
+ "src/components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.css",
45
+ "src/components/tiptap-ui-primitive/input/input.css",
46
+ "src/components/tiptap-ui-primitive/popover/popover.css",
47
+ "src/components/tiptap-ui-primitive/separator/separator.css",
48
+ "src/components/tiptap-ui-primitive/toolbar/toolbar.css",
49
+ "src/components/tiptap-ui-primitive/tooltip/tooltip.css"
50
+ ],
51
+ "scripts": {
52
+ "dev": "webpack serve --mode development",
53
+ "build": "webpack --mode production",
54
+ "build:webpack": "tsup src/components/fromMirantes/index.ts --format cjs --minify",
55
+ "release": "pnpm build:webpack && npm publish",
56
+ "build:css": "npx tailwindcss -i ./src/styles/globals.css -o ./dist/styles.css --minify"
57
+ },
58
+ "devDependencies": {
59
+ "@babel/core": "7.26.0",
60
+ "@babel/preset-env": "7.26.0",
61
+ "@babel/preset-react": "7.26.3",
62
+ "@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
63
+ "@tailwindcss/postcss7-compat": "2.2.17",
64
+ "@tanstack/react-query": "5.76.1",
65
+ "@types/country-data": "0.0.5",
66
+ "@types/crypto-js": "4.2.2",
67
+ "@types/js-cookie": "3.0.6",
68
+ "@types/lodash.throttle": "^4.1.9",
69
+ "@types/node": "22.10.5",
70
+ "@types/react": "19.1.4",
71
+ "@types/react-detect-offline": "2.4.5",
72
+ "@types/react-dom": "19.1.5",
73
+ "@types/uuid": "10.0.0",
74
+ "babel-loader": "9.2.1",
75
+ "css-loader": "6.8.1",
76
+ "esbuild-sass-plugin": "3.3.1",
77
+ "eslint": "9.17.0",
78
+ "eslint-plugin-react": "7.37.3",
79
+ "file-loader": "6.2.0",
80
+ "graphql-tag": "2.12.6",
81
+ "html-webpack-plugin": "5.5.3",
82
+ "postcss": "8.4.39",
83
+ "postcss-import": "16.1.0",
84
+ "postcss-important": "0.3.0",
85
+ "postcss-loader": "7.3.3",
86
+ "postcss-nesting": "12.1.5",
87
+ "prettier": "3.4.2",
88
+ "react-refresh": "0.16.0",
89
+ "sass": "^1.94.2",
90
+ "sass-embedded": "^1.93.3",
91
+ "sass-loader": "^16.0.6",
92
+ "style-loader": "3.3.3",
93
+ "tailwind-merge": "2.6.0",
94
+ "tailwindcss": "3.4.4",
95
+ "tailwindcss-animate": "1.0.7",
96
+ "ts-loader": "9.5.1",
97
+ "tsup": "8.3.5",
98
+ "typescript": "5.7.2",
99
+ "webpack": "5.97.1",
100
+ "webpack-cli": "6.0.1",
101
+ "webpack-dev-server": "5.2.0"
102
+ },
103
+ "dependencies": {
104
+ "@emotion/is-prop-valid": "^1.4.0",
105
+ "@floating-ui/react": "^0.27.16",
106
+ "@hookform/resolvers": "^5.2.2",
107
+ "@mirantes-micro/billing-v2": "0.1.49",
108
+ "@mirantes-micro/notifications-v2": "0.0.42",
109
+ "@mirantes-micro/widgets": "0.0.138",
110
+ "@radix-ui/react-avatar": "^1.1.10",
111
+ "@radix-ui/react-checkbox": "^1.3.3",
112
+ "@radix-ui/react-dialog": "^1.1.15",
113
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
114
+ "@radix-ui/react-label": "^2.1.7",
115
+ "@radix-ui/react-popover": "1.1.15",
116
+ "@radix-ui/react-radio-group": "^1.3.8",
117
+ "@radix-ui/react-scroll-area": "^1.2.10",
118
+ "@radix-ui/react-select": "^2.2.6",
119
+ "@radix-ui/react-slot": "^1.2.3",
120
+ "@radix-ui/react-tooltip": "^1.2.8",
121
+ "@tanstack/react-query-devtools": "5.76.1",
122
+ "@tiptap/core": "^3.10.7",
123
+ "@tiptap/extension-highlight": "^3.13.0",
124
+ "@tiptap/extension-horizontal-rule": "^3.13.0",
125
+ "@tiptap/extension-image": "^3.13.0",
126
+ "@tiptap/extension-list": "^3.13.0",
127
+ "@tiptap/extension-mention": "^3.10.7",
128
+ "@tiptap/extension-placeholder": "^3.10.7",
129
+ "@tiptap/extension-subscript": "^3.13.0",
130
+ "@tiptap/extension-superscript": "^3.13.0",
131
+ "@tiptap/extension-text-align": "^3.13.0",
132
+ "@tiptap/extension-typography": "^3.13.0",
133
+ "@tiptap/extensions": "^3.13.0",
134
+ "@tiptap/pm": "^3.13.0",
135
+ "@tiptap/react": "^3.10.7",
136
+ "@tiptap/starter-kit": "^3.10.7",
137
+ "@tiptap/suggestion": "^3.10.7",
138
+ "@uidotdev/usehooks": "2.4.1",
139
+ "axios": "1.11.0",
140
+ "class-variance-authority": "0.7.1",
141
+ "clsx": "2.1.1",
142
+ "cmdk": "^1.1.1",
143
+ "cookies-next": "^5.1.0",
144
+ "country-data": "0.0.31",
145
+ "crypto-js": "4.2.0",
146
+ "currencies.json": "1.1.0",
147
+ "date-fns": "^4.1.0",
148
+ "emoji-mart": "5.6.0",
149
+ "emoji-picker-react": "4.13.3",
150
+ "framer-motion": "12.19.2",
151
+ "global-currencies": "1.0.3",
152
+ "graphql": "16.11.0",
153
+ "graphql-request": "^7.3.1",
154
+ "html2canvas": "1.4.1",
155
+ "isomorphic-dompurify": "^2.34.0",
156
+ "js-cookie": "3.0.5",
157
+ "jspdf": "3.0.3",
158
+ "link-preview-js": "^3.1.0",
159
+ "lodash.throttle": "^4.1.1",
160
+ "lucide-react": "0.510.0",
161
+ "marked": "^17.0.0",
162
+ "motion": "^12.23.24",
163
+ "next": "15.3.2",
164
+ "ogp-parser": "0.8.1",
165
+ "pdf-lib": "^1.17.1",
166
+ "pdfjs-dist": "^5.4.449",
167
+ "process": "0.11.10",
168
+ "react": "19.1.0",
169
+ "react-day-picker": "^9.11.1",
170
+ "react-detect-offline": "2.4.5",
171
+ "react-dom": "19.1.0",
172
+ "react-dropzone": "14.3.8",
173
+ "react-hook-form": "^7.65.0",
174
+ "react-hotkeys-hook": "^5.2.1",
175
+ "react-infinite-scroll-hook": "6.0.1",
176
+ "react-markdown": "^10.1.0",
177
+ "react-router-dom": "7.6.0",
178
+ "react-toastify": "^11.0.5",
179
+ "remark-gfm": "^4.0.1",
180
+ "shiki": "^3.15.0",
181
+ "slugify": "1.6.6",
182
+ "socket.io-client": "4.8.1",
183
+ "swiper": "11.2.10",
184
+ "tailwind-scrollbar-hide": "4.0.0",
185
+ "tippy.js": "^6.3.7",
186
+ "tw-animate-css": "1.2.9",
187
+ "uuid": "11.1.0",
188
+ "vaul": "^1.1.2",
189
+ "yup": "^1.7.1",
190
+ "zustand": "^5.0.8"
191
+ },
192
+ "peerDependencies": {
193
+ "tailwind-scrollbar-hide": "^4.0.0",
194
+ "tailwindcss": "^3.0.0",
195
+ "tailwindcss-animate": "^1.0.0"
196
+ }
197
197
  }