@wordpress/dataviews 11.2.1-next.ba3aee3a2.0 → 11.3.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.
- package/CHANGELOG.md +29 -1
- package/build/components/dataform-controls/combobox.cjs +80 -0
- package/build/components/dataform-controls/combobox.cjs.map +7 -0
- package/build/components/dataform-controls/date.cjs +35 -10
- package/build/components/dataform-controls/date.cjs.map +2 -2
- package/build/components/dataform-controls/index.cjs +2 -0
- package/build/components/dataform-controls/index.cjs.map +3 -3
- package/build/components/dataform-layouts/card/index.cjs +58 -3
- package/build/components/dataform-layouts/card/index.cjs.map +3 -3
- package/build/components/dataform-layouts/panel/dropdown.cjs +18 -8
- package/build/components/dataform-layouts/panel/dropdown.cjs.map +3 -3
- package/build/components/dataform-layouts/panel/index.cjs +5 -3
- package/build/components/dataform-layouts/panel/index.cjs.map +2 -2
- package/build/components/dataform-layouts/panel/modal.cjs +16 -10
- package/build/components/dataform-layouts/panel/modal.cjs.map +3 -3
- package/build/components/dataviews-bulk-actions/index.cjs +16 -18
- package/build/components/dataviews-bulk-actions/index.cjs.map +3 -3
- package/build/components/dataviews-filters/input-widget.cjs +1 -1
- package/build/components/dataviews-filters/input-widget.cjs.map +1 -1
- package/build/components/dataviews-item-actions/index.cjs +4 -1
- package/build/components/dataviews-item-actions/index.cjs.map +2 -2
- package/build/components/dataviews-layouts/activity/activity-item.cjs +6 -1
- package/build/components/dataviews-layouts/activity/activity-item.cjs.map +2 -2
- package/build/components/dataviews-layouts/table/column-header-menu.cjs +73 -66
- package/build/components/dataviews-layouts/table/column-header-menu.cjs.map +2 -2
- package/build/components/dataviews-layouts/table/index.cjs +3 -2
- package/build/components/dataviews-layouts/table/index.cjs.map +2 -2
- package/build/components/dataviews-picker-footer/index.cjs +8 -15
- package/build/components/dataviews-picker-footer/index.cjs.map +3 -3
- package/build/components/dataviews-view-config/properties-section.cjs +11 -39
- package/build/components/dataviews-view-config/properties-section.cjs.map +2 -2
- package/build/field-types/index.cjs +2 -0
- package/build/field-types/index.cjs.map +3 -3
- package/build/field-types/utils/get-filter.cjs +36 -0
- package/build/field-types/utils/get-filter.cjs.map +7 -0
- package/build/hooks/use-form-validity.cjs +1 -1
- package/build/hooks/use-form-validity.cjs.map +1 -1
- package/build/hooks/use-report-validity.cjs +39 -0
- package/build/hooks/use-report-validity.cjs.map +7 -0
- package/build/types/field-api.cjs.map +1 -1
- package/build/utils/filter-sort-and-paginate.cjs +6 -174
- package/build/utils/filter-sort-and-paginate.cjs.map +2 -2
- package/build/utils/get-footer-message.cjs +49 -0
- package/build/utils/get-footer-message.cjs.map +7 -0
- package/build/utils/operators.cjs +203 -24
- package/build/utils/operators.cjs.map +2 -2
- package/build-module/components/dataform-controls/combobox.mjs +49 -0
- package/build-module/components/dataform-controls/combobox.mjs.map +7 -0
- package/build-module/components/dataform-controls/date.mjs +35 -10
- package/build-module/components/dataform-controls/date.mjs.map +2 -2
- package/build-module/components/dataform-controls/index.mjs +2 -0
- package/build-module/components/dataform-controls/index.mjs.map +2 -2
- package/build-module/components/dataform-layouts/card/index.mjs +59 -3
- package/build-module/components/dataform-layouts/card/index.mjs.map +2 -2
- package/build-module/components/dataform-layouts/panel/dropdown.mjs +20 -10
- package/build-module/components/dataform-layouts/panel/dropdown.mjs.map +2 -2
- package/build-module/components/dataform-layouts/panel/index.mjs +5 -3
- package/build-module/components/dataform-layouts/panel/index.mjs.map +2 -2
- package/build-module/components/dataform-layouts/panel/modal.mjs +18 -12
- package/build-module/components/dataform-layouts/panel/modal.mjs.map +2 -2
- package/build-module/components/dataviews-bulk-actions/index.mjs +17 -19
- package/build-module/components/dataviews-bulk-actions/index.mjs.map +2 -2
- package/build-module/components/dataviews-filters/input-widget.mjs +1 -1
- package/build-module/components/dataviews-filters/input-widget.mjs.map +1 -1
- package/build-module/components/dataviews-item-actions/index.mjs +4 -1
- package/build-module/components/dataviews-item-actions/index.mjs.map +2 -2
- package/build-module/components/dataviews-layouts/activity/activity-item.mjs +6 -1
- package/build-module/components/dataviews-layouts/activity/activity-item.mjs.map +2 -2
- package/build-module/components/dataviews-layouts/table/column-header-menu.mjs +74 -67
- package/build-module/components/dataviews-layouts/table/column-header-menu.mjs.map +2 -2
- package/build-module/components/dataviews-layouts/table/index.mjs +4 -3
- package/build-module/components/dataviews-layouts/table/index.mjs.map +2 -2
- package/build-module/components/dataviews-picker-footer/index.mjs +8 -15
- package/build-module/components/dataviews-picker-footer/index.mjs.map +2 -2
- package/build-module/components/dataviews-view-config/properties-section.mjs +11 -39
- package/build-module/components/dataviews-view-config/properties-section.mjs.map +2 -2
- package/build-module/field-types/index.mjs +2 -0
- package/build-module/field-types/index.mjs.map +2 -2
- package/build-module/field-types/utils/get-filter.mjs +15 -0
- package/build-module/field-types/utils/get-filter.mjs.map +7 -0
- package/build-module/hooks/use-form-validity.mjs +1 -1
- package/build-module/hooks/use-form-validity.mjs.map +1 -1
- package/build-module/hooks/use-report-validity.mjs +18 -0
- package/build-module/hooks/use-report-validity.mjs.map +7 -0
- package/build-module/utils/filter-sort-and-paginate.mjs +7 -198
- package/build-module/utils/filter-sort-and-paginate.mjs.map +2 -2
- package/build-module/utils/get-footer-message.mjs +28 -0
- package/build-module/utils/get-footer-message.mjs.map +7 -0
- package/build-module/utils/operators.mjs +203 -24
- package/build-module/utils/operators.mjs.map +2 -2
- package/build-style/style-rtl.css +28 -44
- package/build-style/style.css +28 -44
- package/build-types/components/dataform-controls/combobox.d.ts +6 -0
- package/build-types/components/dataform-controls/combobox.d.ts.map +1 -0
- package/build-types/components/dataform-controls/date.d.ts.map +1 -1
- package/build-types/components/dataform-controls/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/card/index.d.ts +2 -0
- package/build-types/components/dataform-layouts/card/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/dropdown.d.ts +3 -2
- package/build-types/components/dataform-layouts/panel/dropdown.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/index.d.ts.map +1 -1
- package/build-types/components/dataform-layouts/panel/modal.d.ts +3 -2
- package/build-types/components/dataform-layouts/panel/modal.d.ts.map +1 -1
- package/build-types/components/dataviews-bulk-actions/index.d.ts.map +1 -1
- package/build-types/components/dataviews-item-actions/index.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/activity/activity-item.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/table/column-header-menu.d.ts.map +1 -1
- package/build-types/components/dataviews-layouts/table/index.d.ts.map +1 -1
- package/build-types/components/dataviews-picker-footer/index.d.ts.map +1 -1
- package/build-types/components/dataviews-view-config/properties-section.d.ts.map +1 -1
- package/build-types/dataform/stories/content.story.d.ts +14 -0
- package/build-types/dataform/stories/content.story.d.ts.map +1 -0
- package/build-types/dataform/stories/index.story.d.ts +1 -1
- package/build-types/dataform/stories/index.story.d.ts.map +1 -1
- package/build-types/dataform/stories/validation.d.ts +1 -1
- package/build-types/dataform/stories/validation.d.ts.map +1 -1
- package/build-types/dataviews/stories/fixtures.d.ts.map +1 -1
- package/build-types/dataviews/stories/index.story.d.ts +4 -1
- package/build-types/dataviews/stories/index.story.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-custom.d.ts +11 -0
- package/build-types/dataviews/stories/layout-custom.d.ts.map +1 -0
- package/build-types/dataviews-picker/stories/fixtures.d.ts.map +1 -1
- package/build-types/dataviews-picker/stories/index.story.d.ts +1 -1
- package/build-types/dataviews-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/field-types/email.d.ts +1 -1
- package/build-types/field-types/index.d.ts.map +1 -1
- package/build-types/field-types/integer.d.ts +1 -1
- package/build-types/field-types/no-type.d.ts +1 -1
- package/build-types/field-types/number.d.ts +1 -1
- package/build-types/field-types/stories/index.story.d.ts +1 -1
- package/build-types/field-types/stories/index.story.d.ts.map +1 -1
- package/build-types/field-types/utils/get-filter.d.ts +7 -0
- package/build-types/field-types/utils/get-filter.d.ts.map +1 -0
- package/build-types/field-types/utils/get-format.d.ts +56 -56
- package/build-types/hooks/use-report-validity.d.ts +14 -0
- package/build-types/hooks/use-report-validity.d.ts.map +1 -0
- package/build-types/types/field-api.d.ts +3 -0
- package/build-types/types/field-api.d.ts.map +1 -1
- package/build-types/utils/filter-sort-and-paginate.d.ts.map +1 -1
- package/build-types/utils/get-footer-message.d.ts +10 -0
- package/build-types/utils/get-footer-message.d.ts.map +1 -0
- package/build-types/utils/operators.d.ts +2 -1
- package/build-types/utils/operators.d.ts.map +1 -1
- package/build-wp/index.js +2758 -2234
- package/package.json +22 -20
- package/src/components/dataform-controls/combobox.tsx +58 -0
- package/src/components/dataform-controls/date.tsx +45 -10
- package/src/components/dataform-controls/index.tsx +2 -0
- package/src/components/dataform-layouts/card/index.tsx +81 -3
- package/src/components/dataform-layouts/panel/dropdown.tsx +26 -11
- package/src/components/dataform-layouts/panel/index.tsx +6 -4
- package/src/components/dataform-layouts/panel/modal.tsx +24 -12
- package/src/components/dataviews-bulk-actions/index.tsx +23 -20
- package/src/components/dataviews-bulk-actions/style.scss +0 -3
- package/src/components/dataviews-filters/input-widget.tsx +1 -1
- package/src/components/dataviews-item-actions/index.tsx +6 -1
- package/src/components/dataviews-layouts/activity/activity-item.tsx +8 -1
- package/src/components/dataviews-layouts/table/column-header-menu.tsx +99 -73
- package/src/components/dataviews-layouts/table/index.tsx +12 -3
- package/src/components/dataviews-layouts/table/style.scss +14 -7
- package/src/components/dataviews-picker-footer/index.tsx +8 -18
- package/src/components/dataviews-view-config/properties-section.tsx +24 -49
- package/src/dataform/stories/content.story.mdx +159 -0
- package/src/dataform/stories/content.story.tsx +390 -0
- package/src/dataform/stories/index.story.tsx +8 -1
- package/src/dataform/stories/validation.tsx +98 -5
- package/src/dataviews/stories/best-practices.story.mdx +55 -0
- package/src/dataviews/stories/fixtures.tsx +1 -3
- package/src/dataviews/stories/index.story.tsx +6 -1
- package/src/dataviews/stories/layout-custom.tsx +140 -0
- package/src/dataviews/test/dataviews.tsx +66 -1
- package/src/dataviews-picker/stories/fixtures.tsx +1 -3
- package/src/dataviews-picker/stories/index.story.tsx +1 -1
- package/src/field-types/index.tsx +2 -0
- package/src/field-types/stories/index.story.tsx +2 -0
- package/src/field-types/utils/get-filter.ts +18 -0
- package/src/hooks/use-form-validity.ts +1 -1
- package/src/hooks/use-report-validity.ts +32 -0
- package/src/types/field-api.ts +11 -0
- package/src/utils/filter-sort-and-paginate.ts +11 -306
- package/src/utils/get-footer-message.ts +41 -0
- package/src/utils/operators.tsx +303 -31
|
@@ -3,49 +3,38 @@
|
|
|
3
3
|
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
4
4
|
* ------------------------------------------- */
|
|
5
5
|
:root {
|
|
6
|
-
--wpds-border-radius-
|
|
7
|
-
--wpds-border-radius-
|
|
8
|
-
--wpds-border-radius-
|
|
9
|
-
--wpds-border-radius-
|
|
10
|
-
--wpds-border-width-
|
|
11
|
-
--wpds-border-width-
|
|
12
|
-
--wpds-border-width-
|
|
13
|
-
--wpds-border-width-
|
|
14
|
-
--wpds-border-width-
|
|
15
|
-
--wpds-color-bg-interactive-brand: #00000000; /* Background color for interactive elements with brand tone and normal emphasis. */
|
|
16
|
-
--wpds-color-bg-interactive-brand-active: #f6f8fd; /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
17
|
-
--wpds-color-bg-interactive-brand-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
6
|
+
--wpds-border-radius-lg: 8px; /* Large radius */
|
|
7
|
+
--wpds-border-radius-md: 4px; /* Medium radius */
|
|
8
|
+
--wpds-border-radius-sm: 2px; /* Small radius */
|
|
9
|
+
--wpds-border-radius-xs: 1px; /* Extra small radius */
|
|
10
|
+
--wpds-border-width-focus: 2px; /* Border width for focus ring */
|
|
11
|
+
--wpds-border-width-lg: 8px; /* Large width */
|
|
12
|
+
--wpds-border-width-md: 4px; /* Medium width */
|
|
13
|
+
--wpds-border-width-sm: 2px; /* Small width */
|
|
14
|
+
--wpds-border-width-xs: 1px; /* Extra small width */
|
|
18
15
|
--wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
|
|
19
16
|
--wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
20
|
-
--wpds-color-bg-interactive-brand-strong-disabled: #d2d2d2; /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
21
17
|
--wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
|
|
22
18
|
--wpds-color-bg-interactive-brand-weak-active: #e6eaf4; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
23
|
-
--wpds-color-bg-interactive-brand-weak-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
24
19
|
--wpds-color-bg-interactive-error: #00000000; /* Background color for interactive elements with error tone and normal emphasis. */
|
|
25
20
|
--wpds-color-bg-interactive-error-active: #fff6f4; /* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
26
|
-
--wpds-color-bg-interactive-error-disabled: #e2e2e2; /* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
27
21
|
--wpds-color-bg-interactive-error-strong: #cc1818; /* Background color for interactive elements with error tone and strong emphasis. */
|
|
28
22
|
--wpds-color-bg-interactive-error-strong-active: #b90000; /* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
29
|
-
--wpds-color-bg-interactive-error-strong-disabled: #d2d2d2; /* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
30
23
|
--wpds-color-bg-interactive-error-weak: #00000000; /* Background color for interactive elements with error tone and weak emphasis. */
|
|
31
24
|
--wpds-color-bg-interactive-error-weak-active: #f6e6e3; /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
32
|
-
--wpds-color-bg-interactive-error-weak-disabled: #e2e2e2; /* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
33
|
-
--wpds-color-bg-interactive-neutral: #00000000; /* Background color for interactive elements with neutral tone and normal emphasis. */
|
|
34
|
-
--wpds-color-bg-interactive-neutral-active: #eaeaea; /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
35
|
-
--wpds-color-bg-interactive-neutral-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
36
25
|
--wpds-color-bg-interactive-neutral-strong: #2d2d2d; /* Background color for interactive elements with neutral tone and strong emphasis. */
|
|
37
26
|
--wpds-color-bg-interactive-neutral-strong-active: #1e1e1e; /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
38
|
-
--wpds-color-bg-interactive-neutral-strong-disabled: #
|
|
27
|
+
--wpds-color-bg-interactive-neutral-strong-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
|
|
39
28
|
--wpds-color-bg-interactive-neutral-weak: #00000000; /* Background color for interactive elements with neutral tone and weak emphasis. */
|
|
40
29
|
--wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
41
|
-
--wpds-color-bg-interactive-neutral-weak-disabled: #
|
|
30
|
+
--wpds-color-bg-interactive-neutral-weak-disabled: #00000000; /* Background color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
|
|
42
31
|
--wpds-color-bg-surface-brand: #ecf0f9; /* Background color for surfaces with brand tone and normal emphasis. */
|
|
43
32
|
--wpds-color-bg-surface-caution: #fee994; /* Background color for surfaces with caution tone and normal emphasis. */
|
|
44
33
|
--wpds-color-bg-surface-caution-weak: #fff9c9; /* Background color for surfaces with caution tone and weak emphasis. */
|
|
45
34
|
--wpds-color-bg-surface-error: #f6e6e3; /* Background color for surfaces with error tone and normal emphasis. */
|
|
46
35
|
--wpds-color-bg-surface-error-weak: #fff6f4; /* Background color for surfaces with error tone and weak emphasis. */
|
|
47
36
|
--wpds-color-bg-surface-info: #deebfa; /* Background color for surfaces with info tone and normal emphasis. */
|
|
48
|
-
--wpds-color-bg-surface-info-weak: #
|
|
37
|
+
--wpds-color-bg-surface-info-weak: #f2f9ff; /* Background color for surfaces with info tone and weak emphasis. */
|
|
49
38
|
--wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
|
|
50
39
|
--wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
|
|
51
40
|
--wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
|
|
@@ -55,7 +44,7 @@
|
|
|
55
44
|
--wpds-color-bg-surface-warning-weak: #fff7e0; /* Background color for surfaces with warning tone and weak emphasis. */
|
|
56
45
|
--wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
57
46
|
--wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
58
|
-
--wpds-color-bg-thumb-
|
|
47
|
+
--wpds-color-bg-thumb-neutral-disabled: #d8d8d8; /* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
|
|
59
48
|
--wpds-color-bg-thumb-neutral-weak: #8a8a8a; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
|
|
60
49
|
--wpds-color-bg-thumb-neutral-weak-active: #6c6c6c; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
|
|
61
50
|
--wpds-color-bg-track-neutral: #d8d8d8; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
@@ -74,24 +63,20 @@
|
|
|
74
63
|
--wpds-color-fg-content-warning-weak: #926300; /* Foreground color for content like text with warning tone and weak emphasis. */
|
|
75
64
|
--wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
76
65
|
--wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
77
|
-
--wpds-color-fg-interactive-brand-disabled: #8a8a8a; /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
78
66
|
--wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
79
67
|
--wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
80
|
-
--wpds-color-fg-interactive-brand-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
81
68
|
--wpds-color-fg-interactive-error: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
82
69
|
--wpds-color-fg-interactive-error-active: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
83
|
-
--wpds-color-fg-interactive-error-disabled: #8a8a8a; /* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
84
70
|
--wpds-color-fg-interactive-error-strong: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
85
71
|
--wpds-color-fg-interactive-error-strong-active: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
86
|
-
--wpds-color-fg-interactive-error-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
87
72
|
--wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
88
73
|
--wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
89
|
-
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with
|
|
74
|
+
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
|
|
90
75
|
--wpds-color-fg-interactive-neutral-strong: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis. */
|
|
91
76
|
--wpds-color-fg-interactive-neutral-strong-active: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
92
|
-
--wpds-color-fg-interactive-neutral-strong-disabled: #
|
|
77
|
+
--wpds-color-fg-interactive-neutral-strong-disabled: #8a8a8a; /* Foreground color for interactive elements with strong emphasis, in their disabled state, regardless of the tone. */
|
|
93
78
|
--wpds-color-fg-interactive-neutral-weak: #6d6d6d; /* Foreground color for interactive elements with neutral tone and weak emphasis. */
|
|
94
|
-
--wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with
|
|
79
|
+
--wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
|
|
95
80
|
--wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
|
|
96
81
|
--wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
|
|
97
82
|
--wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
@@ -100,7 +85,7 @@
|
|
|
100
85
|
--wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
101
86
|
--wpds-color-stroke-interactive-neutral: #8a8a8a; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
|
|
102
87
|
--wpds-color-stroke-interactive-neutral-active: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
103
|
-
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive
|
|
88
|
+
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
|
|
104
89
|
--wpds-color-stroke-interactive-neutral-strong: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
105
90
|
--wpds-color-stroke-surface-brand: #a3b1d4; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
|
|
106
91
|
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
|
|
@@ -135,11 +120,11 @@
|
|
|
135
120
|
0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005; /* For components that provide contextual feedback without being intrusive. Generally non-interruptive. Example: Tooltips, Snackbar. */
|
|
136
121
|
--wpds-elevation-x-small: 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005,
|
|
137
122
|
0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003; /* For sections and containers that group related content and controls, which may overlap other content. Example: Preview Frame. */
|
|
138
|
-
--wpds-font-family-body: -apple-system, system-ui,
|
|
139
|
-
|
|
140
|
-
--wpds-font-family-heading: -apple-system, system-ui,
|
|
141
|
-
|
|
142
|
-
--wpds-font-family-mono:
|
|
123
|
+
--wpds-font-family-body: -apple-system, system-ui, 'Segoe UI', 'Roboto',
|
|
124
|
+
'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Body font family */
|
|
125
|
+
--wpds-font-family-heading: -apple-system, system-ui, 'Segoe UI', 'Roboto',
|
|
126
|
+
'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Headings font family */
|
|
127
|
+
--wpds-font-family-mono: 'Menlo', 'Consolas', monaco, monospace; /* Monospace font family */
|
|
143
128
|
--wpds-font-line-height-2xl: 40px; /* 2X large line height */
|
|
144
129
|
--wpds-font-line-height-lg: 28px; /* Large line height */
|
|
145
130
|
--wpds-font-line-height-md: 24px; /* Medium line height */
|
|
@@ -201,7 +186,7 @@
|
|
|
201
186
|
|
|
202
187
|
@media (min-resolution: 192dpi) {
|
|
203
188
|
:root {
|
|
204
|
-
--wpds-border-width-
|
|
189
|
+
--wpds-border-width-focus: 1.5px; /* Border width for focus ring */
|
|
205
190
|
}
|
|
206
191
|
}
|
|
207
192
|
/**
|
|
@@ -412,9 +397,6 @@
|
|
|
412
397
|
|
|
413
398
|
.dataviews-bulk-actions-footer__item-count {
|
|
414
399
|
color: #1e1e1e;
|
|
415
|
-
font-weight: 499;
|
|
416
|
-
font-size: 11px;
|
|
417
|
-
text-transform: uppercase;
|
|
418
400
|
}
|
|
419
401
|
|
|
420
402
|
.dataviews-bulk-actions-footer__container {
|
|
@@ -1591,7 +1573,7 @@ div.dataviews-view-list {
|
|
|
1591
1573
|
.dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
|
|
1592
1574
|
background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
|
|
1593
1575
|
}
|
|
1594
|
-
.dataviews-view-table
|
|
1576
|
+
.dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1595
1577
|
opacity: 1;
|
|
1596
1578
|
}
|
|
1597
1579
|
.dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky {
|
|
@@ -1701,6 +1683,8 @@ div.dataviews-view-list {
|
|
|
1701
1683
|
|
|
1702
1684
|
.dataviews-column-primary__media {
|
|
1703
1685
|
max-width: 60px;
|
|
1686
|
+
min-width: 32px;
|
|
1687
|
+
min-height: 32px;
|
|
1704
1688
|
overflow: hidden;
|
|
1705
1689
|
position: relative;
|
|
1706
1690
|
flex-shrink: 0;
|
|
@@ -1708,8 +1692,8 @@ div.dataviews-view-list {
|
|
|
1708
1692
|
border-radius: 4px;
|
|
1709
1693
|
}
|
|
1710
1694
|
.dataviews-column-primary__media img {
|
|
1711
|
-
width:
|
|
1712
|
-
height:
|
|
1695
|
+
width: 32px;
|
|
1696
|
+
height: 32px;
|
|
1713
1697
|
object-fit: cover;
|
|
1714
1698
|
}
|
|
1715
1699
|
.dataviews-column-primary__media::after {
|
package/build-style/style.css
CHANGED
|
@@ -3,49 +3,38 @@
|
|
|
3
3
|
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
4
4
|
* ------------------------------------------- */
|
|
5
5
|
:root {
|
|
6
|
-
--wpds-border-radius-
|
|
7
|
-
--wpds-border-radius-
|
|
8
|
-
--wpds-border-radius-
|
|
9
|
-
--wpds-border-radius-
|
|
10
|
-
--wpds-border-width-
|
|
11
|
-
--wpds-border-width-
|
|
12
|
-
--wpds-border-width-
|
|
13
|
-
--wpds-border-width-
|
|
14
|
-
--wpds-border-width-
|
|
15
|
-
--wpds-color-bg-interactive-brand: #00000000; /* Background color for interactive elements with brand tone and normal emphasis. */
|
|
16
|
-
--wpds-color-bg-interactive-brand-active: #f6f8fd; /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
17
|
-
--wpds-color-bg-interactive-brand-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
6
|
+
--wpds-border-radius-lg: 8px; /* Large radius */
|
|
7
|
+
--wpds-border-radius-md: 4px; /* Medium radius */
|
|
8
|
+
--wpds-border-radius-sm: 2px; /* Small radius */
|
|
9
|
+
--wpds-border-radius-xs: 1px; /* Extra small radius */
|
|
10
|
+
--wpds-border-width-focus: 2px; /* Border width for focus ring */
|
|
11
|
+
--wpds-border-width-lg: 8px; /* Large width */
|
|
12
|
+
--wpds-border-width-md: 4px; /* Medium width */
|
|
13
|
+
--wpds-border-width-sm: 2px; /* Small width */
|
|
14
|
+
--wpds-border-width-xs: 1px; /* Extra small width */
|
|
18
15
|
--wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
|
|
19
16
|
--wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
20
|
-
--wpds-color-bg-interactive-brand-strong-disabled: #d2d2d2; /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
21
17
|
--wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
|
|
22
18
|
--wpds-color-bg-interactive-brand-weak-active: #e6eaf4; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
23
|
-
--wpds-color-bg-interactive-brand-weak-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
24
19
|
--wpds-color-bg-interactive-error: #00000000; /* Background color for interactive elements with error tone and normal emphasis. */
|
|
25
20
|
--wpds-color-bg-interactive-error-active: #fff6f4; /* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
26
|
-
--wpds-color-bg-interactive-error-disabled: #e2e2e2; /* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
27
21
|
--wpds-color-bg-interactive-error-strong: #cc1818; /* Background color for interactive elements with error tone and strong emphasis. */
|
|
28
22
|
--wpds-color-bg-interactive-error-strong-active: #b90000; /* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
29
|
-
--wpds-color-bg-interactive-error-strong-disabled: #d2d2d2; /* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
30
23
|
--wpds-color-bg-interactive-error-weak: #00000000; /* Background color for interactive elements with error tone and weak emphasis. */
|
|
31
24
|
--wpds-color-bg-interactive-error-weak-active: #f6e6e3; /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
32
|
-
--wpds-color-bg-interactive-error-weak-disabled: #e2e2e2; /* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
33
|
-
--wpds-color-bg-interactive-neutral: #00000000; /* Background color for interactive elements with neutral tone and normal emphasis. */
|
|
34
|
-
--wpds-color-bg-interactive-neutral-active: #eaeaea; /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
35
|
-
--wpds-color-bg-interactive-neutral-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
36
25
|
--wpds-color-bg-interactive-neutral-strong: #2d2d2d; /* Background color for interactive elements with neutral tone and strong emphasis. */
|
|
37
26
|
--wpds-color-bg-interactive-neutral-strong-active: #1e1e1e; /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
38
|
-
--wpds-color-bg-interactive-neutral-strong-disabled: #
|
|
27
|
+
--wpds-color-bg-interactive-neutral-strong-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
|
|
39
28
|
--wpds-color-bg-interactive-neutral-weak: #00000000; /* Background color for interactive elements with neutral tone and weak emphasis. */
|
|
40
29
|
--wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
41
|
-
--wpds-color-bg-interactive-neutral-weak-disabled: #
|
|
30
|
+
--wpds-color-bg-interactive-neutral-weak-disabled: #00000000; /* Background color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
|
|
42
31
|
--wpds-color-bg-surface-brand: #ecf0f9; /* Background color for surfaces with brand tone and normal emphasis. */
|
|
43
32
|
--wpds-color-bg-surface-caution: #fee994; /* Background color for surfaces with caution tone and normal emphasis. */
|
|
44
33
|
--wpds-color-bg-surface-caution-weak: #fff9c9; /* Background color for surfaces with caution tone and weak emphasis. */
|
|
45
34
|
--wpds-color-bg-surface-error: #f6e6e3; /* Background color for surfaces with error tone and normal emphasis. */
|
|
46
35
|
--wpds-color-bg-surface-error-weak: #fff6f4; /* Background color for surfaces with error tone and weak emphasis. */
|
|
47
36
|
--wpds-color-bg-surface-info: #deebfa; /* Background color for surfaces with info tone and normal emphasis. */
|
|
48
|
-
--wpds-color-bg-surface-info-weak: #
|
|
37
|
+
--wpds-color-bg-surface-info-weak: #f2f9ff; /* Background color for surfaces with info tone and weak emphasis. */
|
|
49
38
|
--wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
|
|
50
39
|
--wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
|
|
51
40
|
--wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
|
|
@@ -55,7 +44,7 @@
|
|
|
55
44
|
--wpds-color-bg-surface-warning-weak: #fff7e0; /* Background color for surfaces with warning tone and weak emphasis. */
|
|
56
45
|
--wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
57
46
|
--wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
58
|
-
--wpds-color-bg-thumb-
|
|
47
|
+
--wpds-color-bg-thumb-neutral-disabled: #d8d8d8; /* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
|
|
59
48
|
--wpds-color-bg-thumb-neutral-weak: #8a8a8a; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
|
|
60
49
|
--wpds-color-bg-thumb-neutral-weak-active: #6c6c6c; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
|
|
61
50
|
--wpds-color-bg-track-neutral: #d8d8d8; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
@@ -74,24 +63,20 @@
|
|
|
74
63
|
--wpds-color-fg-content-warning-weak: #926300; /* Foreground color for content like text with warning tone and weak emphasis. */
|
|
75
64
|
--wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
76
65
|
--wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
77
|
-
--wpds-color-fg-interactive-brand-disabled: #8a8a8a; /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
78
66
|
--wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
79
67
|
--wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
80
|
-
--wpds-color-fg-interactive-brand-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
81
68
|
--wpds-color-fg-interactive-error: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
82
69
|
--wpds-color-fg-interactive-error-active: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
83
|
-
--wpds-color-fg-interactive-error-disabled: #8a8a8a; /* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
84
70
|
--wpds-color-fg-interactive-error-strong: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
85
71
|
--wpds-color-fg-interactive-error-strong-active: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
86
|
-
--wpds-color-fg-interactive-error-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
87
72
|
--wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
88
73
|
--wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
89
|
-
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with
|
|
74
|
+
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
|
|
90
75
|
--wpds-color-fg-interactive-neutral-strong: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis. */
|
|
91
76
|
--wpds-color-fg-interactive-neutral-strong-active: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
92
|
-
--wpds-color-fg-interactive-neutral-strong-disabled: #
|
|
77
|
+
--wpds-color-fg-interactive-neutral-strong-disabled: #8a8a8a; /* Foreground color for interactive elements with strong emphasis, in their disabled state, regardless of the tone. */
|
|
93
78
|
--wpds-color-fg-interactive-neutral-weak: #6d6d6d; /* Foreground color for interactive elements with neutral tone and weak emphasis. */
|
|
94
|
-
--wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with
|
|
79
|
+
--wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
|
|
95
80
|
--wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
|
|
96
81
|
--wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
|
|
97
82
|
--wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
@@ -100,7 +85,7 @@
|
|
|
100
85
|
--wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
101
86
|
--wpds-color-stroke-interactive-neutral: #8a8a8a; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
|
|
102
87
|
--wpds-color-stroke-interactive-neutral-active: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
103
|
-
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive
|
|
88
|
+
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
|
|
104
89
|
--wpds-color-stroke-interactive-neutral-strong: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
105
90
|
--wpds-color-stroke-surface-brand: #a3b1d4; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
|
|
106
91
|
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
|
|
@@ -135,11 +120,11 @@
|
|
|
135
120
|
0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005; /* For components that provide contextual feedback without being intrusive. Generally non-interruptive. Example: Tooltips, Snackbar. */
|
|
136
121
|
--wpds-elevation-x-small: 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005,
|
|
137
122
|
0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003; /* For sections and containers that group related content and controls, which may overlap other content. Example: Preview Frame. */
|
|
138
|
-
--wpds-font-family-body: -apple-system, system-ui,
|
|
139
|
-
|
|
140
|
-
--wpds-font-family-heading: -apple-system, system-ui,
|
|
141
|
-
|
|
142
|
-
--wpds-font-family-mono:
|
|
123
|
+
--wpds-font-family-body: -apple-system, system-ui, 'Segoe UI', 'Roboto',
|
|
124
|
+
'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Body font family */
|
|
125
|
+
--wpds-font-family-heading: -apple-system, system-ui, 'Segoe UI', 'Roboto',
|
|
126
|
+
'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Headings font family */
|
|
127
|
+
--wpds-font-family-mono: 'Menlo', 'Consolas', monaco, monospace; /* Monospace font family */
|
|
143
128
|
--wpds-font-line-height-2xl: 40px; /* 2X large line height */
|
|
144
129
|
--wpds-font-line-height-lg: 28px; /* Large line height */
|
|
145
130
|
--wpds-font-line-height-md: 24px; /* Medium line height */
|
|
@@ -201,7 +186,7 @@
|
|
|
201
186
|
|
|
202
187
|
@media (min-resolution: 192dpi) {
|
|
203
188
|
:root {
|
|
204
|
-
--wpds-border-width-
|
|
189
|
+
--wpds-border-width-focus: 1.5px; /* Border width for focus ring */
|
|
205
190
|
}
|
|
206
191
|
}
|
|
207
192
|
/**
|
|
@@ -412,9 +397,6 @@
|
|
|
412
397
|
|
|
413
398
|
.dataviews-bulk-actions-footer__item-count {
|
|
414
399
|
color: #1e1e1e;
|
|
415
|
-
font-weight: 499;
|
|
416
|
-
font-size: 11px;
|
|
417
|
-
text-transform: uppercase;
|
|
418
400
|
}
|
|
419
401
|
|
|
420
402
|
.dataviews-bulk-actions-footer__container {
|
|
@@ -1591,7 +1573,7 @@ div.dataviews-view-list {
|
|
|
1591
1573
|
.dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
|
|
1592
1574
|
background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
|
|
1593
1575
|
}
|
|
1594
|
-
.dataviews-view-table
|
|
1576
|
+
.dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1595
1577
|
opacity: 1;
|
|
1596
1578
|
}
|
|
1597
1579
|
.dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky {
|
|
@@ -1701,6 +1683,8 @@ div.dataviews-view-list {
|
|
|
1701
1683
|
|
|
1702
1684
|
.dataviews-column-primary__media {
|
|
1703
1685
|
max-width: 60px;
|
|
1686
|
+
min-width: 32px;
|
|
1687
|
+
min-height: 32px;
|
|
1704
1688
|
overflow: hidden;
|
|
1705
1689
|
position: relative;
|
|
1706
1690
|
flex-shrink: 0;
|
|
@@ -1708,8 +1692,8 @@ div.dataviews-view-list {
|
|
|
1708
1692
|
border-radius: 4px;
|
|
1709
1693
|
}
|
|
1710
1694
|
.dataviews-column-primary__media img {
|
|
1711
|
-
width:
|
|
1712
|
-
height:
|
|
1695
|
+
width: 32px;
|
|
1696
|
+
height: 32px;
|
|
1713
1697
|
object-fit: cover;
|
|
1714
1698
|
}
|
|
1715
1699
|
.dataviews-column-primary__media::after {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { DataFormControlProps } from '../../types';
|
|
5
|
+
export default function Combobox<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=combobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/combobox.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAmC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/date.tsx"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EACX,oBAAoB,EAIpB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/date.tsx"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EACX,oBAAoB,EAIpB,MAAM,aAAa,CAAC;AAsnBrB,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,IAAI,EAAI,EAC5C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAmC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAc,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAc,MAAM,aAAa,CAAC;AAkE3E,wBAAgB,UAAU,CAAE,IAAI,EAC/B,KAAK,EAAE,KAAK,CAAE,IAAI,CAAE,EACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACrB,aAAa,CAAE,oBAAoB,CAAE,IAAI,CAAE,CAAE,GAAG,IAAI,CAsBtD;AAED,wBAAgB,gBAAgB,CAAE,IAAI,EAAE,MAAM,mDAM7C"}
|
|
@@ -5,6 +5,8 @@ export declare function useCardHeader(layout: NormalizedCardLayout): {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}) => import("react").JSX.Element;
|
|
8
|
+
touched: boolean;
|
|
9
|
+
setTouched: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
8
10
|
};
|
|
9
11
|
export default function FormCardField<Item>({ data, field, onChange, hideLabelFromVision, validity, }: FieldLayoutProps<Item>): import("react").JSX.Element | null;
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/card/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/card/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EACX,gBAAgB,EAEhB,oBAAoB,EAIpB,MAAM,gBAAgB,CAAC;AAsDxB,wBAAgB,aAAa,CAAE,MAAM,EAAE,oBAAoB;;yCAuBtD;QACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,CAAE,GAAG,EAAE,MAAM,GAAI,GAAG,CAAC;KACrB;;;EA2CF;AAqDD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,IAAI,EAAI,EAC9C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCAuL1B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Internal dependencies
|
|
3
3
|
*/
|
|
4
4
|
import type { FieldValidity, NormalizedFormField, NormalizedField } from '../../../types';
|
|
5
|
-
declare function PanelDropdown<Item>({ data, field, onChange, validity, labelPosition, summaryFields, fieldDefinition, popoverAnchor,
|
|
5
|
+
declare function PanelDropdown<Item>({ data, field, onChange, validity, labelPosition, summaryFields, fieldDefinition, popoverAnchor, onClose: onCloseCallback, touched, }: {
|
|
6
6
|
data: Item;
|
|
7
7
|
field: NormalizedFormField;
|
|
8
8
|
onChange: (value: any) => void;
|
|
@@ -11,7 +11,8 @@ declare function PanelDropdown<Item>({ data, field, onChange, validity, labelPos
|
|
|
11
11
|
summaryFields: NormalizedField<Item>[];
|
|
12
12
|
fieldDefinition: NormalizedField<Item>;
|
|
13
13
|
popoverAnchor: HTMLElement | null;
|
|
14
|
-
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
touched: boolean;
|
|
15
16
|
}): import("react").JSX.Element;
|
|
16
17
|
export default PanelDropdown;
|
|
17
18
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/dropdown.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,OAAO,KAAK,EACX,aAAa,EAEb,mBAAmB,EAEnB,eAAe,EACf,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/dropdown.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,OAAO,KAAK,EACX,aAAa,EAEb,mBAAmB,EAEnB,eAAe,EACf,MAAM,gBAAgB,CAAC;AAmDxB,iBAAS,aAAa,CAAE,IAAI,EAAI,EAC/B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,aAAsB,EACtB,aAAa,EACb,eAAe,EACf,aAAa,EACb,OAAO,EAAE,eAAe,EACxB,OAAO,GACP,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,CAAE,KAAK,EAAE,GAAG,KAAM,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IACvC,aAAa,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACzC,eAAe,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IACzC,aAAa,EAAE,WAAW,GAAG,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CACjB,+BAkGA;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/index.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EACX,gBAAgB,EAKhB,MAAM,gBAAgB,CAAC;AAgHxB,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,IAAI,EAAI,EAC/C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/index.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EACX,gBAAgB,EAKhB,MAAM,gBAAgB,CAAC;AAgHxB,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,IAAI,EAAI,EAC/C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCAkI1B"}
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
* Internal dependencies
|
|
3
3
|
*/
|
|
4
4
|
import type { NormalizedFormField, NormalizedField } from '../../../types';
|
|
5
|
-
declare function PanelModal<Item>({ data, field, onChange, labelPosition, summaryFields, fieldDefinition,
|
|
5
|
+
declare function PanelModal<Item>({ data, field, onChange, labelPosition, summaryFields, fieldDefinition, onClose: onCloseCallback, touched, }: {
|
|
6
6
|
data: Item;
|
|
7
7
|
field: NormalizedFormField;
|
|
8
8
|
onChange: (value: any) => void;
|
|
9
9
|
labelPosition: 'side' | 'top' | 'none';
|
|
10
10
|
summaryFields: NormalizedField<Item>[];
|
|
11
11
|
fieldDefinition: NormalizedField<Item>;
|
|
12
|
-
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
touched: boolean;
|
|
13
14
|
}): import("react").JSX.Element;
|
|
14
15
|
export default PanelModal;
|
|
15
16
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/modal.tsx"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,KAAK,EAGX,mBAAmB,EACnB,eAAe,EACf,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/modal.tsx"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,KAAK,EAGX,mBAAmB,EACnB,eAAe,EACf,MAAM,gBAAgB,CAAC;AAkIxB,iBAAS,UAAU,CAAE,IAAI,EAAI,EAC5B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,aAAa,EACb,aAAa,EACb,eAAe,EACf,OAAO,EAAE,eAAe,EACxB,OAAO,GACP,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,CAAE,KAAK,EAAE,GAAG,KAAM,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IACvC,aAAa,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACzC,eAAe,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CACjB,+BAiCA;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-bulk-actions/index.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,MAAM,EAAkC,MAAM,aAAa,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-bulk-actions/index.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,MAAM,EAAkC,MAAM,aAAa,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAuCxD,wBAAgB,yBAAyB,CAAE,IAAI,EAC9C,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,EACzB,IAAI,EAAE,IAAI,WAUV;AAED,wBAAgB,iCAAiC,CAAE,IAAI,EACtD,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,EACzB,IAAI,EAAE,IAAI,EAAE,WAYZ;AAED,UAAU,0BAA0B,CAAE,IAAI;IACzC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iBAAiB,EAAE,YAAY,CAAC;IAChC,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,SAAS,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAC;CACpC;AAED,wBAAgB,qBAAqB,CAAE,IAAI,EAAI,EAC9C,SAAS,EACT,iBAAiB,EACjB,IAAI,EACJ,OAAO,EACP,SAAS,GACT,EAAE,0BAA0B,CAAE,IAAI,CAAE,+BAmCpC;AA4PD,wBAAgB,iBAAiB,gCAmBhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-item-actions/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAa/C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQ9C,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,aAAa,CAAC;AAI1E,MAAM,WAAW,kBAAkB,CAAE,IAAI;IACxC,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CACxD;AAED,MAAM,WAAW,gBAAgB,CAAE,IAAI;IACtC,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IAChC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,UAAU,qBAAqB,CAAE,IAAI;IACpC,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,UAAU,CAAE,OAAO,WAAW,CAAE,CAAC;IAC3C,oBAAoB,EAAE,CAAE,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,GAAG,IAAI,KAAM,IAAI,CAAC;CACzE;AAED,UAAU,gBAAgB,CAAE,IAAI;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AASD,UAAU,mBAAmB,CAAE,IAAI;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,QAAQ,EAAE,UAAU,CAAE,OAAO,WAAW,CAAE,CAAC;IAC3C,aAAa,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CAC9D;AAqCD,wBAAgB,WAAW,CAAE,IAAI,EAAI,EACpC,MAAM,EACN,KAAK,EACL,UAAU,GACV,EAAE,gBAAgB,CAAE,IAAI,CAAE,+BAsB1B;AAED,wBAAgB,gBAAgB,CAAE,IAAI,EAAI,EACzC,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,oBAAoB,GACpB,EAAE,qBAAqB,CAAE,IAAI,CAAE,+BA0C/B;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,IAAI,EAAI,EAC5C,IAAI,EACJ,OAAO,EACP,SAAS,GACT,EAAE,gBAAgB,CAAE,IAAI,CAAE,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-item-actions/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAa/C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQ9C,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,aAAa,CAAC;AAI1E,MAAM,WAAW,kBAAkB,CAAE,IAAI;IACxC,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CACxD;AAED,MAAM,WAAW,gBAAgB,CAAE,IAAI;IACtC,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IAChC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,UAAU,qBAAqB,CAAE,IAAI;IACpC,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,UAAU,CAAE,OAAO,WAAW,CAAE,CAAC;IAC3C,oBAAoB,EAAE,CAAE,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,GAAG,IAAI,KAAM,IAAI,CAAC;CACzE;AAED,UAAU,gBAAgB,CAAE,IAAI;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AASD,UAAU,mBAAmB,CAAE,IAAI;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC1B,QAAQ,EAAE,UAAU,CAAE,OAAO,WAAW,CAAE,CAAC;IAC3C,aAAa,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CAC9D;AAqCD,wBAAgB,WAAW,CAAE,IAAI,EAAI,EACpC,MAAM,EACN,KAAK,EACL,UAAU,GACV,EAAE,gBAAgB,CAAE,IAAI,CAAE,+BAsB1B;AAED,wBAAgB,gBAAgB,CAAE,IAAI,EAAI,EACzC,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,oBAAoB,GACpB,EAAE,qBAAqB,CAAE,IAAI,CAAE,+BA0C/B;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,IAAI,EAAI,EAC5C,IAAI,EACJ,OAAO,EACP,SAAS,GACT,EAAE,gBAAgB,CAAE,IAAI,CAAE,+BAyD1B;AA8CD,wBAAgB,cAAc,CAAE,IAAI,EAAI,EACvC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,aAAa,GACb,EAAE,mBAAmB,CAAE,IAAI,CAAE,sCAqC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-item.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/activity/activity-item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"activity-item.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/activity/activity-item.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,iBAAS,YAAY,CAAE,IAAI,EAC1B,KAAK,EAAE,iBAAiB,CAAE,IAAI,CAAE,GAAG;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,CAAC,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IACrC,UAAU,CAAC,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IACrC,gBAAgB,CAAC,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IAC3C,WAAW,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,+BA8KD;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-header-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/table/column-header-menu.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAkB,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAmB5E,OAAO,KAAK,EACX,eAAe,EAEf,SAAS,IAAI,aAAa,EAC1B,eAAe,IAAI,mBAAmB,EAEtC,MAAM,gBAAgB,CAAC;AAMxB,UAAU,eAAe,CAAE,IAAI;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,aAAa,GAAG,mBAAmB,CAAC;IAC1C,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IAClC,YAAY,EAAE,CAAE,IAAI,EAAE,aAAa,GAAG,mBAAmB,KAAM,IAAI,CAAC;IACpE,MAAM,EAAE,CAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,KAAM,IAAI,CAAC;IACnD,eAAe,EAAE,CAAE,OAAO,EAAE,MAAM,KAAM,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAaD,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"column-header-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/table/column-header-menu.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAkB,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAmB5E,OAAO,KAAK,EACX,eAAe,EAEf,SAAS,IAAI,aAAa,EAC1B,eAAe,IAAI,mBAAmB,EAEtC,MAAM,gBAAgB,CAAC;AAMxB,UAAU,eAAe,CAAE,IAAI;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,aAAa,GAAG,mBAAmB,CAAC;IAC1C,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IAClC,YAAY,EAAE,CAAE,IAAI,EAAE,aAAa,GAAG,mBAAmB,KAAM,IAAI,CAAC;IACpE,MAAM,EAAE,CAAE,KAAK,EAAE,eAAe,CAAE,IAAI,CAAE,KAAM,IAAI,CAAC;IACnD,eAAe,EAAE,CAAE,OAAO,EAAE,MAAM,KAAM,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAaD,QAAA,MAAM,WAAW,wGAoUd,CAAC;AAGJ,QAAA,MAAM,gBAAgB,EAAE,CAAE,IAAI,EAC7B,KAAK,EAAE,eAAe,CAAE,eAAe,CAAE,IAAI,CAAE,CAAE,GAChD,aAAa,CAAE,iBAAiB,CAAE,KAC/B,UAAU,CAAE,OAAO,WAAW,CAAgB,CAAC;AAEpD,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/table/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAIX,cAAc,EACd,MAAM,gBAAgB,CAAC;AAyOxB,iBAAS,SAAS,CAAE,IAAI,EAAI,EAC3B,OAAO,EACP,IAAI,EACJ,MAAM,EACN,SAAS,EACT,YAAY,EACZ,SAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,WAAW,EACX,eAAe,EACf,cAAc,EACd,IAAI,EACJ,SAAS,EACT,KAAK,GACL,EAAE,cAAc,CAAE,IAAI,CAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataviews-layouts/table/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAIX,cAAc,EACd,MAAM,gBAAgB,CAAC;AAyOxB,iBAAS,SAAS,CAAE,IAAI,EAAI,EAC3B,OAAO,EACP,IAAI,EACJ,MAAM,EACN,SAAS,EACT,YAAY,EACZ,SAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,WAAW,EACX,eAAe,EACf,cAAc,EACd,IAAI,EACJ,SAAS,EACT,KAAK,GACL,EAAE,cAAc,CAAE,IAAI,CAAE,2CAmXxB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-picker-footer/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-picker-footer/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAK1C,wBAAgB,sBAAsB,CAAE,IAAI,EAC3C,OAAO,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,GAAG,SAAS,uBAKrC;AAwGD,wBAAgB,qBAAqB,gCA+DpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties-section.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-view-config/properties-section.tsx"],"names":[],"mappings":"AAgDA,wBAAgB,iBAAiB,CAAE,EAClC,SAAgB,GAChB,EAAE;IACF,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,
|
|
1
|
+
{"version":3,"file":"properties-section.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-view-config/properties-section.tsx"],"names":[],"mappings":"AAgDA,wBAAgB,iBAAiB,CAAE,EAClC,SAAgB,GAChB,EAAE;IACF,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,sCAmHA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
5
|
+
import DataForm from '../index';
|
|
6
|
+
declare const meta: Meta<typeof DataForm>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof DataForm>;
|
|
9
|
+
export declare const Labels: Story;
|
|
10
|
+
export declare const HelpText: Story;
|
|
11
|
+
export declare const ValidationMessages: Story;
|
|
12
|
+
export declare const HighLevelHelpText: Story;
|
|
13
|
+
export declare const Placeholders: Story;
|
|
14
|
+
//# sourceMappingURL=content.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.story.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/content.story.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,QAAQ,MAAM,UAAU,CAAC;AAIhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAOhC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAE,OAAO,QAAQ,CAAE,CAAC;AAQzC,eAAO,MAAM,MAAM,EAAE,KAkDpB,CAAC;AAQF,eAAO,MAAM,QAAQ,EAAE,KA2DtB,CAAC;AAQF,eAAO,MAAM,kBAAkB,EAAE,KAmGhC,CAAC;AAQF,eAAO,MAAM,iBAAiB,EAAE,KAgE/B,CAAC;AAQF,eAAO,MAAM,YAAY,EAAE,KAqD1B,CAAC"}
|
|
@@ -113,7 +113,7 @@ export declare const Validation: {
|
|
|
113
113
|
custom: "sync" | "async" | "none";
|
|
114
114
|
pattern: boolean;
|
|
115
115
|
minMax: boolean;
|
|
116
|
-
layout: "regular" | "panel" | "card" | "details";
|
|
116
|
+
layout: "regular" | "panel-dropdown" | "panel-modal" | "card-collapsible" | "card-not-collapsible" | "details";
|
|
117
117
|
}) => import("react").JSX.Element;
|
|
118
118
|
argTypes: {
|
|
119
119
|
layout: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAWhC,QAAA,MAAM,IAAI;;;CAGT,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,UAAU;;;;;gBARmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1C,CAAC;AAEF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;CAcvB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;CASzB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAYrB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAWhC,QAAA,MAAM,IAAI;;;CAGT,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,UAAU;;;;;gBARmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC1C,CAAC;AAEF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;CAcvB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;CASzB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAYrB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDtB,CAAC;AAEF,eAAO,MAAM,UAAU;;CAEtB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC"}
|
|
@@ -4,7 +4,7 @@ declare const ValidationComponent: ({ required, elements, custom, pattern, minMa
|
|
|
4
4
|
custom: "sync" | "async" | "none";
|
|
5
5
|
pattern: boolean;
|
|
6
6
|
minMax: boolean;
|
|
7
|
-
layout: "regular" | "panel" | "card" | "details";
|
|
7
|
+
layout: "regular" | "panel-dropdown" | "panel-modal" | "card-collapsible" | "card-not-collapsible" | "details";
|
|
8
8
|
}) => import("react").JSX.Element;
|
|
9
9
|
export default ValidationComponent;
|
|
10
10
|
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/validation.tsx"],"names":[],"mappings":"AA2EA,QAAA,MAAM,mBAAmB,GAAK,0DAO3B;IACF,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/dataform/stories/validation.tsx"],"names":[],"mappings":"AA2EA,QAAA,MAAM,mBAAmB,GAAK,0DAO3B;IACF,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EACH,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,kBAAkB,GAClB,sBAAsB,GACtB,SAAS,CAAC;CACb,gCAq7BA,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/dataviews/stories/fixtures.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,WAAW,EA+R7B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAE,WAAW,CAAE,EAgD1C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAE,WAAW,CAAE,
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/dataviews/stories/fixtures.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,WAAW,EA+R7B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAE,WAAW,CAAE,EAgD1C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAE,WAAW,CAAE,EAmIxC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* External dependencies
|
|
3
3
|
*/
|
|
4
|
-
import type { Meta } from '@storybook/react-
|
|
4
|
+
import type { Meta } from '@storybook/react-vite';
|
|
5
5
|
/**
|
|
6
6
|
* Internal dependencies
|
|
7
7
|
*/
|
|
@@ -181,6 +181,9 @@ export declare const LayoutActivity: {
|
|
|
181
181
|
};
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
|
+
export declare const LayoutCustom: {
|
|
185
|
+
render: () => import("react").JSX.Element;
|
|
186
|
+
};
|
|
184
187
|
export declare const Empty: {
|
|
185
188
|
render: ({ customEmpty, containerHeight, isLoading, }: {
|
|
186
189
|
customEmpty?: boolean;
|