@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.mjs
CHANGED
|
@@ -10262,16 +10262,16 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
|
|
|
10262
10262
|
backgroundColor: "var(--dds-color-surface-medium)",
|
|
10263
10263
|
...(state.selectProps.isDisabled || isReadOnly) && {
|
|
10264
10264
|
boxShadow: "0 0 0 1px var(--dds-color-border-subtle) inset"
|
|
10265
|
-
}
|
|
10265
|
+
},
|
|
10266
|
+
...typography.multiValueLabel[size2],
|
|
10267
|
+
color: "var(--dds-color-text-default)"
|
|
10266
10268
|
}),
|
|
10267
10269
|
multiValueLabel: (provided, state) => ({
|
|
10268
10270
|
overflow: "hidden",
|
|
10269
10271
|
textOverflow: "ellipsis",
|
|
10270
10272
|
whiteSpace: "nowrap",
|
|
10271
10273
|
boxSizing: "border-box",
|
|
10272
|
-
|
|
10273
|
-
...typography.multiValueLabel[size2],
|
|
10274
|
-
color: "var(--dds-color-text-default)",
|
|
10274
|
+
paddingInline: "var(--dds-spacing-x0-25)",
|
|
10275
10275
|
...state.selectProps.isDisabled && {
|
|
10276
10276
|
color: "var(--dds-color-text-subtle)"
|
|
10277
10277
|
},
|
|
@@ -10290,9 +10290,6 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
|
|
|
10290
10290
|
"@media (prefers-reduced-motion: no-preference)": {
|
|
10291
10291
|
transition: "color 0.2s, background-color 0.2s, box-shadow 0.2s"
|
|
10292
10292
|
},
|
|
10293
|
-
color: "var(--dds-color-icon-default)",
|
|
10294
|
-
padding: "0 var(--dds-spacing-x0-125)",
|
|
10295
|
-
fontSize: "var(--dds-font-size-x1-125)",
|
|
10296
10293
|
"&:hover": {
|
|
10297
10294
|
backgroundColor: "var(--dds-color-surface-hover-default)"
|
|
10298
10295
|
}
|
|
@@ -10409,7 +10406,7 @@ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx291(NoOptionsMessage, {
|
|
|
10409
10406
|
var DDSClearIndicator = ({
|
|
10410
10407
|
...props
|
|
10411
10408
|
}) => /* @__PURE__ */ jsx291(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx291(Icon, { icon: CloseSmallIcon, iconSize: "component" }) });
|
|
10412
|
-
var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx291(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx291(Icon, { icon: CloseSmallIcon, iconSize: "
|
|
10409
|
+
var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx291(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx291(Icon, { icon: CloseSmallIcon, iconSize: "component" }) });
|
|
10413
10410
|
var DDSDropdownIndicator = (props) => {
|
|
10414
10411
|
const { className, componentSize, ...rest } = props;
|
|
10415
10412
|
const iconState = rest.selectProps.menuIsOpen ? "up" : "down";
|