@soppiya/app-bridge 1.1.5 → 1.1.7
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/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/media/Media.js +7 -7
- package/dist/components/meta-data/api/query.js +3 -0
- package/dist/components/meta-data/model/meta.types.js +3 -1
- package/dist/components/meta-data/model/useGetMetaFields.d.ts +4 -0
- package/dist/components/meta-data/ui/MetaData.stories.d.ts +1 -0
- package/dist/components/meta-data/ui/MetaData.stories.js +22 -1
- package/dist/components/meta-data/ui/MetaDataItem.js +22 -0
- package/dist/components/meta-data/ui/MetaobjectRefMetaField.d.ts +3 -0
- package/dist/components/meta-data/ui/MetaobjectRefMetaField.js +30 -0
- package/dist/components/meta-data/ui/SingleLineTextMetaField.js +10 -9
- package/dist/components/metaobjects-entries-picker/index.d.ts +1 -0
- package/dist/components/metaobjects-entries-picker/index.js +2 -0
- package/dist/components/metaobjects-entries-picker/ui/MetaobjectEntriesPicker.d.ts +10 -0
- package/dist/components/{metafield-entries/ui/MetaobjectEntries.js → metaobjects-entries-picker/ui/MetaobjectEntriesPicker.js} +3 -3
- package/dist/components/{metafield-entries/ui/MetaobjectEntries.stories.d.ts → metaobjects-entries-picker/ui/MetaobjectEntriesPicker.stories.d.ts} +1 -1
- package/dist/components/metaobjects-entries-picker/ui/MetaobjectEntriesPicker.stories.js +10 -0
- package/dist/components/metaobjects-picker/api/query.d.ts +8 -0
- package/dist/components/metaobjects-picker/api/query.js +18 -0
- package/dist/components/metaobjects-picker/index.d.ts +1 -0
- package/dist/components/metaobjects-picker/index.js +2 -0
- package/dist/components/metaobjects-picker/model/useMetaobjects.d.ts +24 -0
- package/dist/components/metaobjects-picker/model/useMetaobjects.js +45 -0
- package/dist/components/metaobjects-picker/ui/MetaobjectsPicker.d.ts +9 -0
- package/dist/components/metaobjects-picker/ui/MetaobjectsPicker.js +104 -0
- package/dist/components/metaobjects-picker/ui/MetaobjectsPicker.stories.d.ts +14 -0
- package/dist/components/metaobjects-picker/ui/MetaobjectsPicker.stories.js +10 -0
- package/dist/shared/graphql/gql.d.ts +7 -2
- package/dist/shared/graphql/gql.js +3 -2
- package/dist/shared/graphql/graphql.d.ts +71 -25
- package/dist/shared/graphql/graphql.js +318 -8
- package/dist/styles.css +20 -15
- package/package.json +1 -1
- package/dist/components/metafield-entries/index.d.ts +0 -0
- package/dist/components/metafield-entries/index.js +0 -0
- package/dist/components/metafield-entries/ui/MetaobjectEntries.d.ts +0 -10
- package/dist/components/metafield-entries/ui/MetaobjectEntries.stories.js +0 -10
- package/dist/components/metafields-picker/api/query.d.ts +0 -0
- package/dist/components/metafields-picker/api/query.js +0 -0
- package/dist/components/metafields-picker/index.d.ts +0 -0
- package/dist/components/metafields-picker/index.js +0 -0
- package/dist/components/metafields-picker/model/useMetafields.d.ts +0 -0
- package/dist/components/metafields-picker/model/useMetafields.js +0 -0
- package/dist/components/metafields-picker/ui/MetafieldsPicker.d.ts +0 -2
- package/dist/components/metafields-picker/ui/MetafieldsPicker.js +0 -7
- package/dist/components/metafields-picker/ui/MetafieldsPicker.stories.d.ts +0 -6
- package/dist/components/metafields-picker/ui/MetafieldsPicker.stories.js +0 -8
- /package/dist/components/{metafield-entries → metaobjects-entries-picker}/api/query.d.ts +0 -0
- /package/dist/components/{metafield-entries → metaobjects-entries-picker}/api/query.js +0 -0
- /package/dist/components/{metafield-entries → metaobjects-entries-picker}/model/useMetaobjectEntries.d.ts +0 -0
- /package/dist/components/{metafield-entries → metaobjects-entries-picker}/model/useMetaobjectEntries.js +0 -0
package/dist/styles.css
CHANGED
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
39
39
|
--color-gray-400: oklch(70.7% .022 261.325);
|
|
40
40
|
--spacing: .25rem;
|
|
41
|
+
--radius-md: .375rem;
|
|
41
42
|
--blur-xs: 4px;
|
|
42
43
|
--default-transition-duration: .15s;
|
|
43
44
|
--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
@@ -479,7 +480,7 @@
|
|
|
479
480
|
width: 100%;
|
|
480
481
|
}
|
|
481
482
|
|
|
482
|
-
|
|
483
|
+
.max-w-\[150px\]\! {
|
|
483
484
|
max-width: 150px !important;
|
|
484
485
|
}
|
|
485
486
|
|
|
@@ -517,8 +518,8 @@
|
|
|
517
518
|
justify-content: center;
|
|
518
519
|
}
|
|
519
520
|
|
|
520
|
-
.gap
|
|
521
|
-
gap:
|
|
521
|
+
.gap-5 {
|
|
522
|
+
gap: calc(var(--spacing) * 5);
|
|
522
523
|
}
|
|
523
524
|
|
|
524
525
|
.gap-x-\[12px\] {
|
|
@@ -547,14 +548,14 @@
|
|
|
547
548
|
border-radius: 3px !important;
|
|
548
549
|
}
|
|
549
550
|
|
|
550
|
-
.\!rounded-\[6px\] {
|
|
551
|
-
border-radius: 6px !important;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
551
|
.rounded-\[5px\] {
|
|
555
552
|
border-radius: 5px;
|
|
556
553
|
}
|
|
557
554
|
|
|
555
|
+
.rounded-md\! {
|
|
556
|
+
border-radius: var(--radius-md) !important;
|
|
557
|
+
}
|
|
558
|
+
|
|
558
559
|
.\!border-0 {
|
|
559
560
|
border-style: var(--tw-border-style) !important;
|
|
560
561
|
border-width: 0 !important;
|
|
@@ -635,6 +636,10 @@
|
|
|
635
636
|
padding-inline: 8px !important;
|
|
636
637
|
}
|
|
637
638
|
|
|
639
|
+
.px-2\! {
|
|
640
|
+
padding-inline: calc(var(--spacing) * 2) !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
638
643
|
.px-3 {
|
|
639
644
|
padding-inline: calc(var(--spacing) * 3);
|
|
640
645
|
}
|
|
@@ -739,10 +744,6 @@
|
|
|
739
744
|
width: 273px !important;
|
|
740
745
|
}
|
|
741
746
|
|
|
742
|
-
.md\:\!w-\[calc\(100\%-300px\)\] {
|
|
743
|
-
width: calc(100% - 300px) !important;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
747
|
.md\:w-\[100px\] {
|
|
747
748
|
width: 100px;
|
|
748
749
|
}
|
|
@@ -771,6 +772,10 @@
|
|
|
771
772
|
width: calc(100% - 256px) !important;
|
|
772
773
|
}
|
|
773
774
|
|
|
775
|
+
.md\:w-\[calc\(100\%-300px\)\]\! {
|
|
776
|
+
width: calc(100% - 300px) !important;
|
|
777
|
+
}
|
|
778
|
+
|
|
774
779
|
.md\:grid-cols-\[repeat\(auto-fill\,minmax\(117px\,1fr\)\)\] {
|
|
775
780
|
grid-template-columns: repeat(auto-fill, minmax(117px, 1fr));
|
|
776
781
|
}
|
|
@@ -814,10 +819,6 @@
|
|
|
814
819
|
width: 336px !important;
|
|
815
820
|
}
|
|
816
821
|
|
|
817
|
-
.lg\:\!w-\[calc\(100\%-336px\)\] {
|
|
818
|
-
width: calc(100% - 336px) !important;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
822
|
.lg\:w-\[108px\] {
|
|
822
823
|
width: 108px;
|
|
823
824
|
}
|
|
@@ -842,6 +843,10 @@
|
|
|
842
843
|
width: 780px;
|
|
843
844
|
}
|
|
844
845
|
|
|
846
|
+
.lg\:w-\[calc\(100\%-336px\)\]\! {
|
|
847
|
+
width: calc(100% - 336px) !important;
|
|
848
|
+
}
|
|
849
|
+
|
|
845
850
|
.lg\:w-\[calc\(100\%-352px\)\]\! {
|
|
846
851
|
width: calc(100% - 352px) !important;
|
|
847
852
|
}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
initialIds?: string[];
|
|
4
|
-
limit?: number;
|
|
5
|
-
metaobjects?: string[];
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
onOk?: (linklist: string[]) => void;
|
|
8
|
-
};
|
|
9
|
-
declare const MetaobjectEntries: ({ title, initialIds, limit, metaobjects, onClose, onOk }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default MetaobjectEntries;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import MetaobjectEntries from "./MetaobjectEntries.js";
|
|
2
|
-
const meta = {
|
|
3
|
-
title: "Example/MetaobjectEntries",
|
|
4
|
-
component: MetaobjectEntries
|
|
5
|
-
};
|
|
6
|
-
const MetaobjectEntries_stories = meta;
|
|
7
|
-
const Default = {
|
|
8
|
-
args: {}
|
|
9
|
-
};
|
|
10
|
-
export { Default, MetaobjectEntries_stories as default };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import MetafieldsPicker from "./MetafieldsPicker.js";
|
|
2
|
-
const meta = {
|
|
3
|
-
title: "Example/MetafieldsPicker",
|
|
4
|
-
component: MetafieldsPicker
|
|
5
|
-
};
|
|
6
|
-
const MetafieldsPicker_stories = meta;
|
|
7
|
-
const Default = ()=>{};
|
|
8
|
-
export { Default, MetafieldsPicker_stories as default };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|