@strapi/design-system 2.0.0-rc.26 → 2.0.0-rc.28
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/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +3 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -3310,6 +3310,8 @@ const Content$5 = styled(Combobox$1.Content)`
|
|
|
3310
3310
|
const ComboboxCreateItem = styled(Combobox$1.CreateItem)`
|
|
3311
3311
|
&& {
|
|
3312
3312
|
border-top: 1px solid ${({ theme }) => theme.colors.neutral150};
|
|
3313
|
+
border-top-left-radius: 0;
|
|
3314
|
+
border-top-right-radius: 0;
|
|
3313
3315
|
background: ${({ theme }) => theme.colors.neutral0};
|
|
3314
3316
|
cursor: pointer;
|
|
3315
3317
|
padding: ${({ theme }) => theme.spaces[1]};
|
|
@@ -3323,14 +3325,10 @@ const ComboboxCreateItem = styled(Combobox$1.CreateItem)`
|
|
|
3323
3325
|
}
|
|
3324
3326
|
&&[data-disabled] {
|
|
3325
3327
|
color: ${({ theme }) => theme.colors.neutral600};
|
|
3326
|
-
background: ${({ theme }) => theme.colors.neutral150};
|
|
3327
3328
|
cursor: not-allowed;
|
|
3328
|
-
border-bottom-left-radius: 0;
|
|
3329
|
-
border-bottom-right-radius: 0;
|
|
3330
3329
|
}
|
|
3331
|
-
&&[data-disabled]
|
|
3332
|
-
|
|
3333
|
-
color: ${({ theme }) => theme.colors.neutral600};
|
|
3330
|
+
&&[data-disabled] svg {
|
|
3331
|
+
fill: ${({ theme }) => theme.colors.neutral300};
|
|
3334
3332
|
}
|
|
3335
3333
|
&& > div {
|
|
3336
3334
|
padding: ${({ theme }) => theme.spaces[2]} ${({ theme }) => theme.spaces[4]};
|
|
@@ -3338,9 +3336,10 @@ const ComboboxCreateItem = styled(Combobox$1.CreateItem)`
|
|
|
3338
3336
|
&& > div:hover,
|
|
3339
3337
|
&&[data-highlighted] > div {
|
|
3340
3338
|
background-color: ${({ theme }) => theme.colors.primary100};
|
|
3339
|
+
border-radius: ${({ theme }) => theme.borderRadius};
|
|
3341
3340
|
}
|
|
3342
|
-
&&[data-disabled] > div
|
|
3343
|
-
background:
|
|
3341
|
+
&&[data-disabled] > div {
|
|
3342
|
+
background-color: inherit;
|
|
3344
3343
|
}
|
|
3345
3344
|
`;
|
|
3346
3345
|
const ScrollAreaCombobox = styled(ScrollAreaImpl$1)`
|
|
@@ -5628,6 +5627,8 @@ const Dots = ({ children, ...props }) => /* @__PURE__ */ jsxs(Box, { ...props, c
|
|
|
5628
5627
|
/* @__PURE__ */ jsx(Typography, { "aria-hidden": true, lineHeight: "revert", textColor: "neutral800", variant: "pi", children: "…" })
|
|
5629
5628
|
] });
|
|
5630
5629
|
const Root$2 = Popover$1.Root;
|
|
5630
|
+
const Anchor = Popover$1.Anchor;
|
|
5631
|
+
const Arrow = Popover$1.Arrow;
|
|
5631
5632
|
const Trigger$1 = React.forwardRef((props, forwardedRef) => {
|
|
5632
5633
|
return /* @__PURE__ */ jsx(Popover$1.Trigger, { ...props, asChild: true, ref: forwardedRef });
|
|
5633
5634
|
});
|
|
@@ -5690,6 +5691,8 @@ const PopoverScrollArea = styled(ScrollAreaImpl$1)`
|
|
|
5690
5691
|
`;
|
|
5691
5692
|
const Popover = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5692
5693
|
__proto__: null,
|
|
5694
|
+
Anchor,
|
|
5695
|
+
Arrow,
|
|
5693
5696
|
Content: Content$1,
|
|
5694
5697
|
Root: Root$2,
|
|
5695
5698
|
ScrollArea: ScrollAreaImpl,
|