@elementor/editor-editing-panel 0.14.2 → 0.16.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 (59) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/index.d.mts +29 -1
  3. package/dist/index.d.ts +29 -1
  4. package/dist/index.js +939 -302
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +944 -294
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +9 -8
  9. package/src/components/editing-panel.tsx +1 -1
  10. package/src/components/settings-tab.tsx +6 -17
  11. package/src/components/style-sections/position-section/position-section.tsx +15 -0
  12. package/src/components/style-sections/position-section/z-index-control.tsx +16 -0
  13. package/src/components/style-sections/size-section.tsx +14 -18
  14. package/src/components/style-sections/spacing-section/linked-dimensions-control.tsx +140 -0
  15. package/src/components/style-sections/spacing-section/spacing-section.tsx +22 -0
  16. package/src/components/style-sections/typography-section/font-size-control.tsx +16 -0
  17. package/src/components/style-sections/typography-section/font-weight-control.tsx +24 -0
  18. package/src/components/style-sections/typography-section/letter-spacing-control.tsx +16 -0
  19. package/src/components/style-sections/typography-section/text-color-control.tsx +16 -0
  20. package/src/{controls/control-types → components/style-sections/typography-section}/text-style-control.tsx +16 -14
  21. package/src/components/style-sections/typography-section/transform-control.tsx +23 -0
  22. package/src/components/style-sections/typography-section/typography-section.tsx +34 -0
  23. package/src/components/style-sections/typography-section/word-spacing-control.tsx +16 -0
  24. package/src/components/style-tab.tsx +30 -6
  25. package/src/contexts/element-context.tsx +5 -3
  26. package/src/contexts/style-context.tsx +8 -2
  27. package/src/controls/components/control-container.tsx +18 -0
  28. package/src/controls/components/control-toggle-button-group.tsx +59 -0
  29. package/src/controls/components/text-field-inner-selection.tsx +79 -0
  30. package/src/controls/control-replacement.ts +26 -0
  31. package/src/controls/control-types/color-control.tsx +24 -0
  32. package/src/controls/control-types/image-control.tsx +3 -18
  33. package/src/controls/control-types/number-control.tsx +25 -0
  34. package/src/controls/control-types/size-control.tsx +22 -34
  35. package/src/controls/control-types/text-area-control.tsx +1 -1
  36. package/src/controls/control-types/toggle-control.tsx +25 -0
  37. package/src/controls/control.tsx +50 -0
  38. package/src/controls/{get-control-by-type.ts → controls-registry.tsx} +13 -9
  39. package/src/controls/hooks/use-style-control.ts +2 -1
  40. package/src/controls/settings-control.tsx +8 -21
  41. package/src/dynamics/components/dynamic-selection-control.tsx +180 -0
  42. package/src/dynamics/components/dynamic-selection.tsx +144 -0
  43. package/src/dynamics/dynamic-control.tsx +42 -0
  44. package/src/dynamics/hooks/use-dynamic-tag.ts +10 -0
  45. package/src/dynamics/hooks/use-prop-dynamic-tags.ts +36 -0
  46. package/src/dynamics/init.ts +10 -0
  47. package/src/dynamics/sync/get-atomic-dynamic-tags.ts +14 -0
  48. package/src/dynamics/sync/get-elementor-config.ts +7 -0
  49. package/src/dynamics/types.ts +32 -0
  50. package/src/dynamics/utils.ts +9 -0
  51. package/src/hooks/use-element-type.ts +5 -0
  52. package/src/index.ts +3 -0
  53. package/src/init.ts +4 -0
  54. package/src/props/is-transformable.ts +14 -0
  55. package/src/sync/types.ts +2 -1
  56. package/src/sync/update-style.ts +2 -2
  57. package/src/types.ts +17 -0
  58. package/LICENSE +0 -674
  59. package/src/components/style-sections/typography-section.tsx +0 -15
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import { AccordionSection } from '../accordion-section';
3
- import { Stack } from '@elementor/ui';
4
- import { TextStyleControl } from '../../controls/control-types/text-style-control';
5
- import { __ } from '@wordpress/i18n';
6
-
7
- export const TypographySection = () => {
8
- return (
9
- <AccordionSection title={ __( 'Typography', 'elementor' ) }>
10
- <Stack gap={ 1.5 }>
11
- <TextStyleControl />
12
- </Stack>
13
- </AccordionSection>
14
- );
15
- };