@norges-domstoler/dds-components 0.0.0-dev-20260120080949 → 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.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- 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.d.mts
CHANGED
|
@@ -2212,13 +2212,13 @@ declare function useTheme(): {
|
|
|
2212
2212
|
ddsColorTextMedium: "#e9ebec";
|
|
2213
2213
|
ddsColorTextSubtle: "#d6dadd";
|
|
2214
2214
|
ddsColorTextOnInverse: "#ffffff";
|
|
2215
|
-
ddsColorTextDanger: "#
|
|
2215
|
+
ddsColorTextDanger: "#efafaf";
|
|
2216
2216
|
ddsColorTextOnAction: "#0b0d0e";
|
|
2217
2217
|
ddsColorTextOnStatusDefault: "#ffffff";
|
|
2218
2218
|
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
2219
2219
|
ddsColorTextActionResting: "#9fc5de";
|
|
2220
2220
|
ddsColorTextActionHover: "#e7f1f7";
|
|
2221
|
-
ddsColorTextRequiredfield: "#
|
|
2221
|
+
ddsColorTextRequiredfield: "#efafaf";
|
|
2222
2222
|
ddsColorTextActionVisited: "#cca9e1";
|
|
2223
2223
|
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
2224
2224
|
ddsColorTextOnNotification: "#ffffff";
|
|
@@ -2251,7 +2251,7 @@ declare function useTheme(): {
|
|
|
2251
2251
|
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
2252
2252
|
ddsColorIconOnInfoDefault: "#c8e3f5";
|
|
2253
2253
|
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
2254
|
-
ddsColorIconDanger: "#
|
|
2254
|
+
ddsColorIconDanger: "#efafaf";
|
|
2255
2255
|
ddsColorBrandPrimaryDefault: "#354754";
|
|
2256
2256
|
ddsColorBrandPrimarySubtle: "#2a3943";
|
|
2257
2257
|
ddsColorBrandPrimaryMedium: "#405767";
|
|
@@ -3062,13 +3062,13 @@ declare function useTheme(): {
|
|
|
3062
3062
|
ddsColorTextMedium: "#e9ebec";
|
|
3063
3063
|
ddsColorTextSubtle: "#d6dadd";
|
|
3064
3064
|
ddsColorTextOnInverse: "#ffffff";
|
|
3065
|
-
ddsColorTextDanger: "#
|
|
3065
|
+
ddsColorTextDanger: "#efafaf";
|
|
3066
3066
|
ddsColorTextOnAction: "#0b0d0e";
|
|
3067
3067
|
ddsColorTextOnStatusDefault: "#ffffff";
|
|
3068
3068
|
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
3069
3069
|
ddsColorTextActionResting: "#9fc5de";
|
|
3070
3070
|
ddsColorTextActionHover: "#e7f1f7";
|
|
3071
|
-
ddsColorTextRequiredfield: "#
|
|
3071
|
+
ddsColorTextRequiredfield: "#efafaf";
|
|
3072
3072
|
ddsColorTextActionVisited: "#cca9e1";
|
|
3073
3073
|
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
3074
3074
|
ddsColorTextOnNotification: "#ffffff";
|
|
@@ -3101,7 +3101,7 @@ declare function useTheme(): {
|
|
|
3101
3101
|
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
3102
3102
|
ddsColorIconOnInfoDefault: "#c8e3f5";
|
|
3103
3103
|
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
3104
|
-
ddsColorIconDanger: "#
|
|
3104
|
+
ddsColorIconDanger: "#efafaf";
|
|
3105
3105
|
ddsColorBrandPrimaryDefault: "#354754";
|
|
3106
3106
|
ddsColorBrandPrimarySubtle: "#2a3943";
|
|
3107
3107
|
ddsColorBrandPrimaryMedium: "#405767";
|
package/dist/index.d.ts
CHANGED
|
@@ -2212,13 +2212,13 @@ declare function useTheme(): {
|
|
|
2212
2212
|
ddsColorTextMedium: "#e9ebec";
|
|
2213
2213
|
ddsColorTextSubtle: "#d6dadd";
|
|
2214
2214
|
ddsColorTextOnInverse: "#ffffff";
|
|
2215
|
-
ddsColorTextDanger: "#
|
|
2215
|
+
ddsColorTextDanger: "#efafaf";
|
|
2216
2216
|
ddsColorTextOnAction: "#0b0d0e";
|
|
2217
2217
|
ddsColorTextOnStatusDefault: "#ffffff";
|
|
2218
2218
|
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
2219
2219
|
ddsColorTextActionResting: "#9fc5de";
|
|
2220
2220
|
ddsColorTextActionHover: "#e7f1f7";
|
|
2221
|
-
ddsColorTextRequiredfield: "#
|
|
2221
|
+
ddsColorTextRequiredfield: "#efafaf";
|
|
2222
2222
|
ddsColorTextActionVisited: "#cca9e1";
|
|
2223
2223
|
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
2224
2224
|
ddsColorTextOnNotification: "#ffffff";
|
|
@@ -2251,7 +2251,7 @@ declare function useTheme(): {
|
|
|
2251
2251
|
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
2252
2252
|
ddsColorIconOnInfoDefault: "#c8e3f5";
|
|
2253
2253
|
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
2254
|
-
ddsColorIconDanger: "#
|
|
2254
|
+
ddsColorIconDanger: "#efafaf";
|
|
2255
2255
|
ddsColorBrandPrimaryDefault: "#354754";
|
|
2256
2256
|
ddsColorBrandPrimarySubtle: "#2a3943";
|
|
2257
2257
|
ddsColorBrandPrimaryMedium: "#405767";
|
|
@@ -3062,13 +3062,13 @@ declare function useTheme(): {
|
|
|
3062
3062
|
ddsColorTextMedium: "#e9ebec";
|
|
3063
3063
|
ddsColorTextSubtle: "#d6dadd";
|
|
3064
3064
|
ddsColorTextOnInverse: "#ffffff";
|
|
3065
|
-
ddsColorTextDanger: "#
|
|
3065
|
+
ddsColorTextDanger: "#efafaf";
|
|
3066
3066
|
ddsColorTextOnAction: "#0b0d0e";
|
|
3067
3067
|
ddsColorTextOnStatusDefault: "#ffffff";
|
|
3068
3068
|
ddsColorTextOnStatusStrong: "#0b0d0e";
|
|
3069
3069
|
ddsColorTextActionResting: "#9fc5de";
|
|
3070
3070
|
ddsColorTextActionHover: "#e7f1f7";
|
|
3071
|
-
ddsColorTextRequiredfield: "#
|
|
3071
|
+
ddsColorTextRequiredfield: "#efafaf";
|
|
3072
3072
|
ddsColorTextActionVisited: "#cca9e1";
|
|
3073
3073
|
ddsColorTextActionVisitedOnInverse: "#cca9e1";
|
|
3074
3074
|
ddsColorTextOnNotification: "#ffffff";
|
|
@@ -3101,7 +3101,7 @@ declare function useTheme(): {
|
|
|
3101
3101
|
ddsColorIconOnDangerStrong: "#0b0d0e";
|
|
3102
3102
|
ddsColorIconOnInfoDefault: "#c8e3f5";
|
|
3103
3103
|
ddsColorIconOnInfoStrong: "#0b0d0e";
|
|
3104
|
-
ddsColorIconDanger: "#
|
|
3104
|
+
ddsColorIconDanger: "#efafaf";
|
|
3105
3105
|
ddsColorBrandPrimaryDefault: "#354754";
|
|
3106
3106
|
ddsColorBrandPrimarySubtle: "#2a3943";
|
|
3107
3107
|
ddsColorBrandPrimaryMedium: "#405767";
|
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";
|