@apolitical/component-library 4.0.4 → 4.1.0-beta.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.
- package/accessibility/visually-hidden/visually-hidden.d.ts +1 -1
- package/discussion/components/form/form.d.ts +2 -4
- package/form/components/form/components/field-wrapper/field-wrapper.d.ts +1 -1
- package/form/components/form/components/fields/checkbox/checkbox.d.ts +4 -0
- package/form/components/form/components/fields/input/input.d.ts +4 -0
- package/form/components/form/form.types.d.ts +9 -1
- package/form/components/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/context/context.d.ts +23 -0
- package/form/components/rich-text-editor/components/context/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/editor/element/element.d.ts +3 -0
- package/form/components/rich-text-editor/components/editor/element/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/editor/index.d.ts +2 -0
- package/form/components/rich-text-editor/components/editor/leaf/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/editor/leaf/leaf.d.ts +3 -0
- package/form/components/rich-text-editor/components/index.d.ts +3 -0
- package/form/components/rich-text-editor/components/toolbar/components/block-option/block-option.d.ts +3 -0
- package/form/components/rich-text-editor/components/toolbar/components/block-option/block-option.helpers.d.ts +3 -0
- package/form/components/rich-text-editor/components/toolbar/components/block-option/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/toolbar/components/index.d.ts +4 -0
- package/form/components/rich-text-editor/components/toolbar/components/link-editor/index.d.ts +2 -0
- package/form/components/rich-text-editor/components/toolbar/components/link-editor/link-editor.d.ts +2 -0
- package/form/components/rich-text-editor/components/toolbar/components/link-editor/link-editor.helpers.d.ts +5 -0
- package/form/components/rich-text-editor/components/toolbar/components/link-option/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/toolbar/components/link-option/link-option.d.ts +2 -0
- package/form/components/rich-text-editor/components/toolbar/components/mark-option/index.d.ts +2 -0
- package/form/components/rich-text-editor/components/toolbar/components/mark-option/mark-option.d.ts +3 -0
- package/form/components/rich-text-editor/components/toolbar/components/mark-option/mark-option.helpers.d.ts +3 -0
- package/form/components/rich-text-editor/components/toolbar/components/option/index.d.ts +1 -0
- package/form/components/rich-text-editor/components/toolbar/components/option/option.d.ts +15 -0
- package/form/components/rich-text-editor/components/toolbar/index.d.ts +3 -0
- package/form/components/rich-text-editor/components/toolbar/toolbar.d.ts +4 -0
- package/form/components/rich-text-editor/components/toolbar/toolbar.data.d.ts +3 -0
- package/form/components/rich-text-editor/hooks/index.d.ts +2 -0
- package/form/components/rich-text-editor/hooks/use-positioned-element/index.d.ts +1 -0
- package/form/components/rich-text-editor/hooks/use-positioned-element/use-positioned-element.d.ts +4 -0
- package/form/components/rich-text-editor/hooks/use-selected-link/index.d.ts +1 -0
- package/form/components/rich-text-editor/hooks/use-selected-link/use-selected-link.d.ts +6 -0
- package/form/components/rich-text-editor/index.d.ts +1 -0
- package/form/components/rich-text-editor/plugins/index.d.ts +1 -0
- package/form/components/rich-text-editor/plugins/with-linlines/index.d.ts +1 -0
- package/form/components/rich-text-editor/plugins/with-linlines/with-inlines.d.ts +5 -0
- package/form/components/rich-text-editor/rich-text-editor.d.ts +19 -0
- package/form/components/rich-text-editor/rich-text-editor.helpers.d.ts +5 -0
- package/form/components/rich-text-editor/rich-text-editor.types.d.ts +24 -0
- package/general/buttons/button-wrapper/button-wrapper.d.ts +5 -1
- package/general/tooltip/tooltip.d.ts +25 -1
- package/helpers/intl.d.ts +16 -0
- package/helpers/validation.d.ts +1 -1
- package/index.js +119 -21
- package/index.mjs +19312 -5876
- package/package.json +12 -3
- package/style.css +1 -1
- package/styles/base/buttons/_icons.scss +0 -2
- package/styles/base/form/_fields.scss +1 -1
- package/styles/variables/colors/theme/_form.scss +10 -0
- package/testing/__mocks__/remark-parse.d.ts +2 -0
- package/testing/__mocks__/unified.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apolitical/component-library",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.1.0-beta.2",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"@tanstack/react-query": "5.8.3",
|
|
16
16
|
"@tanstack/react-query-devtools": "5.8.3",
|
|
17
17
|
"classnames": "2.3.2",
|
|
18
|
+
"focus-trap-react": "10.2.3",
|
|
19
|
+
"is-hotkey": "0.2.0",
|
|
20
|
+
"is-url": "1.2.4",
|
|
18
21
|
"lodash.clonedeep": "4.5.0",
|
|
19
22
|
"lodash.get": "4.4.2",
|
|
20
23
|
"lodash.isequal": "4.5.0",
|
|
@@ -29,9 +32,15 @@
|
|
|
29
32
|
"react-intl": "6.5.5",
|
|
30
33
|
"react-multi-email": "1.0.18",
|
|
31
34
|
"react-textarea-autosize": "8.5.3",
|
|
32
|
-
"
|
|
35
|
+
"remark-parse": "11.0.0",
|
|
36
|
+
"remark-slate": "1.8.6",
|
|
33
37
|
"sass": "1.69.5",
|
|
38
|
+
"slate": "0.102.0",
|
|
39
|
+
"slate-history": "0.100.0",
|
|
40
|
+
"slate-react": "0.102.0",
|
|
34
41
|
"truncate": "3.0.0",
|
|
35
|
-
"
|
|
42
|
+
"turndown": "7.1.3",
|
|
43
|
+
"tslib": "2.6.2",
|
|
44
|
+
"unified": "11.0.4"
|
|
36
45
|
}
|
|
37
46
|
}
|