@draftbit/core 46.11.1-99ce8e.2 → 46.11.1-a1a70b.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/lib/commonjs/components/DeckSwiper/DeckSwiper.js +18 -4
- package/lib/commonjs/components/DeckSwiper/DeckSwiper.js.map +1 -1
- package/lib/commonjs/components/Picker/Picker.js +13 -4
- package/lib/commonjs/components/Picker/Picker.js.map +1 -1
- package/lib/commonjs/components/Shadow.js +10 -2
- package/lib/commonjs/components/Shadow.js.map +1 -1
- package/lib/commonjs/components/TabView/TabView.js +1 -1
- package/lib/commonjs/components/TabView/TabView.js.map +1 -1
- package/lib/commonjs/mappings/DeckSwiper.js +2 -2
- package/lib/commonjs/mappings/DeckSwiper.js.map +1 -1
- package/lib/commonjs/mappings/MapMarker.js +1 -10
- package/lib/commonjs/mappings/MapMarker.js.map +1 -1
- package/lib/commonjs/mappings/Shadow.js +2 -2
- package/lib/commonjs/mappings/Shadow.js.map +1 -1
- package/lib/module/components/DeckSwiper/DeckSwiper.js +18 -4
- package/lib/module/components/DeckSwiper/DeckSwiper.js.map +1 -1
- package/lib/module/components/Picker/Picker.js +13 -4
- package/lib/module/components/Picker/Picker.js.map +1 -1
- package/lib/module/components/Shadow.js +10 -2
- package/lib/module/components/Shadow.js.map +1 -1
- package/lib/module/components/TabView/TabView.js +1 -1
- package/lib/module/components/TabView/TabView.js.map +1 -1
- package/lib/module/mappings/DeckSwiper.js +3 -3
- package/lib/module/mappings/DeckSwiper.js.map +1 -1
- package/lib/module/mappings/MapMarker.js +2 -11
- package/lib/module/mappings/MapMarker.js.map +1 -1
- package/lib/module/mappings/Shadow.js +3 -3
- package/lib/module/mappings/Shadow.js.map +1 -1
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts.map +1 -1
- package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -1
- package/lib/typescript/src/components/Shadow.d.ts.map +1 -1
- package/lib/typescript/src/mappings/DeckSwiper.d.ts +1 -1
- package/lib/typescript/src/mappings/DeckSwiper.d.ts.map +1 -1
- package/lib/typescript/src/mappings/MapMarker.d.ts +0 -9
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -1
- package/lib/typescript/src/mappings/Shadow.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/DeckSwiper/DeckSwiper.js +15 -4
- package/src/components/DeckSwiper/DeckSwiper.tsx +23 -4
- package/src/components/Picker/Picker.js +16 -4
- package/src/components/Picker/Picker.tsx +25 -5
- package/src/components/Shadow.js +7 -2
- package/src/components/Shadow.tsx +10 -3
- package/src/components/TabView/TabView.js +1 -1
- package/src/components/TabView/TabView.tsx +1 -1
- package/src/mappings/DeckSwiper.js +7 -3
- package/src/mappings/DeckSwiper.ts +7 -3
- package/src/mappings/MapMarker.js +1 -10
- package/src/mappings/MapMarker.ts +0 -11
- package/src/mappings/Shadow.js +10 -3
- package/src/mappings/Shadow.ts +10 -3
package/src/mappings/Shadow.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMPONENT_TYPES,
|
|
3
|
-
CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
4
3
|
createColorProp,
|
|
5
4
|
createStaticNumberProp,
|
|
6
5
|
createStaticBoolProp,
|
|
7
6
|
createDisabledProp,
|
|
8
7
|
GROUPS,
|
|
8
|
+
StylesPanelSections,
|
|
9
9
|
} from "@draftbit/types";
|
|
10
10
|
|
|
11
11
|
export const SEED_DATA = {
|
|
@@ -13,7 +13,14 @@ export const SEED_DATA = {
|
|
|
13
13
|
tag: "Shadow",
|
|
14
14
|
description: "A cross-platform, universal shadow.",
|
|
15
15
|
category: COMPONENT_TYPES.view,
|
|
16
|
-
stylesPanelSections:
|
|
16
|
+
stylesPanelSections: [
|
|
17
|
+
StylesPanelSections.LayoutSelectedItem,
|
|
18
|
+
StylesPanelSections.Size,
|
|
19
|
+
StylesPanelSections.Margins,
|
|
20
|
+
StylesPanelSections.Position,
|
|
21
|
+
StylesPanelSections.Borders,
|
|
22
|
+
StylesPanelSections.Effects,
|
|
23
|
+
],
|
|
17
24
|
props: {
|
|
18
25
|
disabled: createDisabledProp({
|
|
19
26
|
description: "Disables the shadow.",
|
|
@@ -35,7 +42,7 @@ export const SEED_DATA = {
|
|
|
35
42
|
paintInside: createStaticBoolProp({
|
|
36
43
|
label: "Paint Inside",
|
|
37
44
|
description: "Apply the shadow below/inside the content.",
|
|
38
|
-
defaultValue:
|
|
45
|
+
defaultValue: true,
|
|
39
46
|
}),
|
|
40
47
|
stretch: createStaticBoolProp({
|
|
41
48
|
label: "Stretch",
|