@norges-domstoler/dds-components 0.0.0-dev-20260120112414 → 0.0.0-dev-20260121140713
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/index.js +5 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10560,16 +10560,16 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
|
|
|
10560
10560
|
backgroundColor: "var(--dds-color-surface-medium)",
|
|
10561
10561
|
...(state.selectProps.isDisabled || isReadOnly) && {
|
|
10562
10562
|
boxShadow: "0 0 0 1px var(--dds-color-border-subtle) inset"
|
|
10563
|
-
}
|
|
10563
|
+
},
|
|
10564
|
+
...typography.multiValueLabel[size2],
|
|
10565
|
+
color: "var(--dds-color-text-default)"
|
|
10564
10566
|
}),
|
|
10565
10567
|
multiValueLabel: (provided, state) => ({
|
|
10566
10568
|
overflow: "hidden",
|
|
10567
10569
|
textOverflow: "ellipsis",
|
|
10568
10570
|
whiteSpace: "nowrap",
|
|
10569
10571
|
boxSizing: "border-box",
|
|
10570
|
-
|
|
10571
|
-
...typography.multiValueLabel[size2],
|
|
10572
|
-
color: "var(--dds-color-text-default)",
|
|
10572
|
+
paddingInline: "var(--dds-spacing-x0-25)",
|
|
10573
10573
|
...state.selectProps.isDisabled && {
|
|
10574
10574
|
color: "var(--dds-color-text-subtle)"
|
|
10575
10575
|
},
|
|
@@ -10588,9 +10588,6 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
|
|
|
10588
10588
|
"@media (prefers-reduced-motion: no-preference)": {
|
|
10589
10589
|
transition: "color 0.2s, background-color 0.2s, box-shadow 0.2s"
|
|
10590
10590
|
},
|
|
10591
|
-
color: "var(--dds-color-icon-default)",
|
|
10592
|
-
padding: "0 var(--dds-spacing-x0-125)",
|
|
10593
|
-
fontSize: "var(--dds-font-size-x1-125)",
|
|
10594
10591
|
"&:hover": {
|
|
10595
10592
|
backgroundColor: "var(--dds-color-surface-hover-default)"
|
|
10596
10593
|
}
|
|
@@ -10705,7 +10702,7 @@ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime292.j
|
|
|
10705
10702
|
var DDSClearIndicator = ({
|
|
10706
10703
|
...props
|
|
10707
10704
|
}) => /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "component" }) });
|
|
10708
|
-
var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "
|
|
10705
|
+
var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "component" }) });
|
|
10709
10706
|
var DDSDropdownIndicator = (props) => {
|
|
10710
10707
|
const { className, componentSize, ...rest } = props;
|
|
10711
10708
|
const iconState = rest.selectProps.menuIsOpen ? "up" : "down";
|