@frontify/guideline-blocks-settings 2.0.2 → 2.0.4
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.
- package/dist/components/Attachments/AttachmentItem.es.js +64 -64
- package/dist/components/Attachments/AttachmentItem.es.js.map +1 -1
- package/dist/components/Attachments/Attachments.es.js +31 -31
- package/dist/components/Attachments/Attachments.es.js.map +1 -1
- package/dist/components/Attachments/AttachmentsButtonTrigger.es.js +13 -13
- package/dist/components/Attachments/AttachmentsButtonTrigger.es.js.map +1 -1
- package/dist/components/BlockInjectButton/BlockInjectButton.es.js +18 -18
- package/dist/components/BlockInjectButton/BlockInjectButton.es.js.map +1 -1
- package/dist/components/BlockItemWrapper/BlockItemWrapper.es.js +29 -29
- package/dist/components/BlockItemWrapper/BlockItemWrapper.es.js.map +1 -1
- package/dist/components/BlockItemWrapper/Toolbar/Toolbar.es.js +10 -10
- package/dist/components/BlockItemWrapper/Toolbar/Toolbar.es.js.map +1 -1
- package/dist/components/BlockItemWrapper/Toolbar/helpers.es.js +10 -10
- package/dist/components/BlockItemWrapper/Toolbar/helpers.es.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.es.js +14 -14
- package/dist/components/DownloadButton/DownloadButton.es.js.map +1 -1
- package/dist/components/Link/LinkInput.es.js +15 -15
- package/dist/components/Link/LinkInput.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/DocumentLink.es.js +28 -28
- package/dist/components/Link/LinkSelector/DocumentLink.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/LinkSelector.es.js +26 -29
- package/dist/components/Link/LinkSelector/LinkSelector.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/PageLink.es.js +29 -29
- package/dist/components/Link/LinkSelector/PageLink.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/PageLinks.es.js +9 -9
- package/dist/components/Link/LinkSelector/PageLinks.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/SectionLink.es.js +10 -10
- package/dist/components/Link/LinkSelector/SectionLink.es.js.map +1 -1
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.es.js +17 -17
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.es.js.map +1 -1
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.es.js +7 -7
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.es.js.map +1 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +13 -13
- package/tailwind.config.ts +17 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/guideline-blocks-settings",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.4",
|
|
5
5
|
"description": "Provides types and helpers for the guideline block development",
|
|
6
6
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
7
7
|
"repository": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@dnd-kit/core": "^6.3.1",
|
|
39
39
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
40
40
|
"@dnd-kit/sortable": "^10.0.0",
|
|
41
|
-
"@frontify/fondue": "^13.
|
|
42
|
-
"@react-aria/focus": "^3.21.
|
|
43
|
-
"@react-stately/overlays": "^3.6.
|
|
41
|
+
"@frontify/fondue": "^13.1.5",
|
|
42
|
+
"@react-aria/focus": "^3.21.4",
|
|
43
|
+
"@react-stately/overlays": "^3.6.22",
|
|
44
44
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
45
45
|
"@frontify/sidebar-settings": "^0.10.9"
|
|
46
46
|
},
|
|
@@ -50,26 +50,26 @@
|
|
|
50
50
|
"@testing-library/jest-dom": "^6.9.1",
|
|
51
51
|
"@testing-library/react": "^16.3.2",
|
|
52
52
|
"@testing-library/user-event": "14.6.1",
|
|
53
|
-
"@types/node": "^24.
|
|
53
|
+
"@types/node": "^24.11.0",
|
|
54
54
|
"@types/react": "^18.3.27",
|
|
55
55
|
"@types/react-dom": "^18.3.7",
|
|
56
56
|
"@types/sinon": "^21.0.0",
|
|
57
57
|
"@vitejs/plugin-react": "^5.1.4",
|
|
58
58
|
"@vitest/ui": "^4.0.18",
|
|
59
|
-
"autoprefixer": "^10.4.
|
|
60
|
-
"cypress": "^15.
|
|
59
|
+
"autoprefixer": "^10.4.27",
|
|
60
|
+
"cypress": "^15.11.0",
|
|
61
61
|
"cypress-real-events": "^1.15.0",
|
|
62
|
-
"eslint": "^9.39.
|
|
62
|
+
"eslint": "^9.39.3",
|
|
63
63
|
"eslint-plugin-notice": "^1.0.0",
|
|
64
|
-
"happy-dom": "^20.
|
|
64
|
+
"happy-dom": "^20.8.3",
|
|
65
65
|
"mitt": "^3.0.1",
|
|
66
|
-
"msw": "^2.12.
|
|
67
|
-
"postcss": "^8.5.
|
|
66
|
+
"msw": "^2.12.10",
|
|
67
|
+
"postcss": "^8.5.8",
|
|
68
68
|
"prettier": "^3.7.4",
|
|
69
69
|
"react": "^18.3.1",
|
|
70
70
|
"react-dom": "^18.3.1",
|
|
71
|
-
"rollup": "^4.
|
|
72
|
-
"sinon": "21.0.
|
|
71
|
+
"rollup": "^4.59.0",
|
|
72
|
+
"sinon": "21.0.2",
|
|
73
73
|
"tailwindcss": "^3.4.18",
|
|
74
74
|
"typescript": "^5.9.3",
|
|
75
75
|
"vite": "^7.3.1",
|
package/tailwind.config.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import frontifyTailwindConfig from '@frontify/fondue/tokens/tailwind';
|
|
4
4
|
import containerQueryPlugin from '@tailwindcss/container-queries';
|
|
5
5
|
import plugin from 'tailwindcss/plugin';
|
|
6
|
+
import { type ThemeConfig } from 'tailwindcss/types/config';
|
|
6
7
|
|
|
7
8
|
module.exports = {
|
|
8
9
|
prefix: 'tw-',
|
|
@@ -42,6 +43,22 @@ module.exports = {
|
|
|
42
43
|
md: '740px',
|
|
43
44
|
lg: '1240px',
|
|
44
45
|
},
|
|
46
|
+
outlineColor: ({ theme }: { theme: (path: string) => ThemeConfig }) => ({
|
|
47
|
+
...theme('colors'),
|
|
48
|
+
}),
|
|
49
|
+
outlineWidth: {
|
|
50
|
+
0: '0px',
|
|
51
|
+
1: '1px',
|
|
52
|
+
2: '2px',
|
|
53
|
+
4: '4px',
|
|
54
|
+
8: '8px',
|
|
55
|
+
},
|
|
56
|
+
outlineOffset: {
|
|
57
|
+
0: '0px',
|
|
58
|
+
1: '1px',
|
|
59
|
+
2: '2px',
|
|
60
|
+
4: '4px',
|
|
61
|
+
},
|
|
45
62
|
},
|
|
46
63
|
},
|
|
47
64
|
};
|