@norges-domstoler/dds-components 0.0.0-dev-20260817084205 → 0.0.0-dev-20260817090134
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.cjs +34 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +14 -8
- package/dist/index.d.cts +18 -12
- package/dist/index.d.mts +18 -12
- package/dist/index.mjs +33 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/index.css
CHANGED
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
--dds-color-surface-warning-strong: #f4e04d; /* tag strong value */
|
|
158
158
|
--dds-color-surface-info-default: #2a4b61; /* tag, message */
|
|
159
159
|
--dds-color-surface-info-strong: #75b9e6; /* tag strong value */
|
|
160
|
-
--dds-color-surface-paper-default: #
|
|
160
|
+
--dds-color-surface-paper-default: #22272a; /* modal, drawer, popover etc */
|
|
161
161
|
--dds-color-surface-backdrop-default: #0b0d0e80; /* background overlay for modals (50%) */
|
|
162
162
|
--dds-color-surface-field-default: #0b0d0e; /* Form elements (textinput, datepicker etc) */
|
|
163
163
|
--dds-color-surface-field-disabled: #303438; /* disabled state on surface.field */
|
|
@@ -166,6 +166,7 @@
|
|
|
166
166
|
--dds-color-surface-notification: #d83737; /* bg on a notification */
|
|
167
167
|
--dds-color-surface-skeleton: #545c62; /* Used for skeleton */
|
|
168
168
|
--dds-color-border-default: #77838c; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
169
|
+
--dds-color-border-strong: #ffffff; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
169
170
|
--dds-color-border-subtle: #545c62; /* Dropdown, tooltip, overflow etc */
|
|
170
171
|
--dds-color-border-inverse: #acbbc6; /* Border or divider on surface.inverse */
|
|
171
172
|
--dds-color-border-action-default: #589ac6; /* Used in progress tracker */
|
|
@@ -540,6 +541,7 @@
|
|
|
540
541
|
--dds-color-surface-notification: #d83737; /* bg on a notification */
|
|
541
542
|
--dds-color-surface-skeleton: #d6dadd; /* Used for skeleton */
|
|
542
543
|
--dds-color-border-default: #77838c; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
544
|
+
--dds-color-border-strong: #0b0d0e; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
543
545
|
--dds-color-border-subtle: #d6dadd; /* Dropdown, tooltip, overflow etc */
|
|
544
546
|
--dds-color-border-inverse: #acbbc6; /* Border or divider on surface.inverse */
|
|
545
547
|
--dds-color-border-action-default: #106ead; /* Used in progress tracker */
|
|
@@ -905,7 +907,7 @@
|
|
|
905
907
|
--dds-color-surface-warning-strong: #f4e04d; /* tag strong value */
|
|
906
908
|
--dds-color-surface-info-default: #2a4b61; /* tag, message */
|
|
907
909
|
--dds-color-surface-info-strong: #75b9e6; /* tag strong value */
|
|
908
|
-
--dds-color-surface-paper-default: #
|
|
910
|
+
--dds-color-surface-paper-default: #22272a; /* modal, drawer, popover etc */
|
|
909
911
|
--dds-color-surface-backdrop-default: #0b0d0e80; /* background overlay for modals (50%) */
|
|
910
912
|
--dds-color-surface-field-default: #0b0d0e; /* Form elements (textinput, datepicker etc) */
|
|
911
913
|
--dds-color-surface-field-disabled: #303438; /* disabled state on surface.field */
|
|
@@ -914,6 +916,7 @@
|
|
|
914
916
|
--dds-color-surface-notification: #d83737; /* bg on a notification */
|
|
915
917
|
--dds-color-surface-skeleton: #545c62; /* Used for skeleton */
|
|
916
918
|
--dds-color-border-default: #77838c; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
919
|
+
--dds-color-border-strong: #ffffff; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
917
920
|
--dds-color-border-subtle: #545c62; /* Dropdown, tooltip, overflow etc */
|
|
918
921
|
--dds-color-border-inverse: #acbbc6; /* Border or divider on surface.inverse */
|
|
919
922
|
--dds-color-border-action-default: #589ac6; /* Used in progress tracker */
|
|
@@ -1288,6 +1291,7 @@
|
|
|
1288
1291
|
--dds-color-surface-notification: #d83737; /* bg on a notification */
|
|
1289
1292
|
--dds-color-surface-skeleton: #d6dadd; /* Used for skeleton */
|
|
1290
1293
|
--dds-color-border-default: #77838c; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
1294
|
+
--dds-color-border-strong: #0b0d0e; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
1291
1295
|
--dds-color-border-subtle: #d6dadd; /* Dropdown, tooltip, overflow etc */
|
|
1292
1296
|
--dds-color-border-inverse: #acbbc6; /* Border or divider on surface.inverse */
|
|
1293
1297
|
--dds-color-border-action-default: #106ead; /* Used in progress tracker */
|
|
@@ -1624,9 +1628,9 @@
|
|
|
1624
1628
|
--dds-color-data-09-subtle: #006461;
|
|
1625
1629
|
--dds-color-data-09-border: #5dafad;
|
|
1626
1630
|
--dds-border-radius-button: 2px; /* For use in button component and togglebutton */
|
|
1627
|
-
--dds-border-radius-surface:
|
|
1631
|
+
--dds-border-radius-surface: 0px; /* Most surfaces, for example cards, papers, messages, backgrounds in GUI */
|
|
1628
1632
|
--dds-border-radius-input: 2px; /* All input fields, and check boxes */
|
|
1629
|
-
--dds-border-radius-chip:
|
|
1633
|
+
--dds-border-radius-chip: 9999px; /* Chips and tags */
|
|
1630
1634
|
--dds-border-radius-rounded: 9999px; /* Rounded and circular components such as radiobutton, toggle, togglebutton and progress tracker */
|
|
1631
1635
|
--dds-color-bg-default: #1b1a18; /* UI shell base color */
|
|
1632
1636
|
--dds-color-bg-subtle: #292824; /* Alternative UI shell base color */
|
|
@@ -1653,7 +1657,7 @@
|
|
|
1653
1657
|
--dds-color-surface-warning-strong: #f4e04d; /* tag strong value */
|
|
1654
1658
|
--dds-color-surface-info-default: #2a4b61; /* tag, message */
|
|
1655
1659
|
--dds-color-surface-info-strong: #75b9e6; /* tag strong value */
|
|
1656
|
-
--dds-color-surface-paper-default: #
|
|
1660
|
+
--dds-color-surface-paper-default: #292824; /* modal, drawer, popover etc */
|
|
1657
1661
|
--dds-color-surface-backdrop-default: #0b0d0e80; /* background overlay for modals (50%) */
|
|
1658
1662
|
--dds-color-surface-field-default: #0b0d0e; /* Form elements (textinput, datepicker etc) */
|
|
1659
1663
|
--dds-color-surface-field-disabled: #303438; /* disabled state on surface.field */
|
|
@@ -1671,6 +1675,7 @@
|
|
|
1671
1675
|
--dds-color-border-danger: #ad2c2c; /* Tag.default, error message field */
|
|
1672
1676
|
--dds-color-border-info: #5197c5; /* Tag.default */
|
|
1673
1677
|
--dds-color-border-on-action: #1b1a18; /* Used on primary split button */
|
|
1678
|
+
--dds-color-border-strong: #ffffff; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
1674
1679
|
--dds-color-text-default: #ffffff; /* default text, heading, body. on surface.hover */
|
|
1675
1680
|
--dds-color-text-medium: #e7e6e4; /* Label, etc */
|
|
1676
1681
|
--dds-color-text-subtle: #cfcec9; /* Disabled or less important text */
|
|
@@ -1722,7 +1727,7 @@
|
|
|
1722
1727
|
--dds-color-brand-secondary-default: #891d22; /* Secondary brand color */
|
|
1723
1728
|
--dds-color-brand-secondary-subtle: #370c0e; /* Secondary brand color */
|
|
1724
1729
|
--dds-color-brand-secondary-medium: #521114; /* Secondary brand color */
|
|
1725
|
-
--dds-color-brand-secondary-strong: #
|
|
1730
|
+
--dds-color-brand-secondary-strong: #d0a5a7; /* Secondary brand color */
|
|
1726
1731
|
--dds-color-brand-tertiary-default: #b1995d; /* Tertiary brand color */
|
|
1727
1732
|
--dds-color-brand-tertiary-subtle: #594d2f; /* Tertiary brand color */
|
|
1728
1733
|
--dds-color-brand-tertiary-medium: #8e7a4a; /* Tertiary brand color */
|
|
@@ -1998,9 +2003,9 @@
|
|
|
1998
2003
|
--dds-color-data-09-subtle: #90ccc9;
|
|
1999
2004
|
--dds-color-data-09-border: #007d79;
|
|
2000
2005
|
--dds-border-radius-button: 2px; /* For use in button component and togglebutton */
|
|
2001
|
-
--dds-border-radius-surface:
|
|
2006
|
+
--dds-border-radius-surface: 0px; /* Most surfaces, for example cards, papers, messages, backgrounds in GUI */
|
|
2002
2007
|
--dds-border-radius-input: 2px; /* All input fields, and check boxes */
|
|
2003
|
-
--dds-border-radius-chip:
|
|
2008
|
+
--dds-border-radius-chip: 9999px; /* Chips and tags */
|
|
2004
2009
|
--dds-border-radius-rounded: 9999px; /* Rounded and circular components such as radiobutton, toggle, togglebutton and progress tracker */
|
|
2005
2010
|
--dds-color-bg-default: #ffffff; /* UI shell base color */
|
|
2006
2011
|
--dds-color-bg-subtle: #f3f3f2; /* Alternative UI shell base color */
|
|
@@ -2045,6 +2050,7 @@
|
|
|
2045
2050
|
--dds-color-border-danger: #d83737; /* Tag.default, error message field */
|
|
2046
2051
|
--dds-color-border-info: #75b9e6; /* Tag.default */
|
|
2047
2052
|
--dds-color-border-on-action: #ffffff; /* Used on primary split button */
|
|
2053
|
+
--dds-color-border-strong: #0b0d0e; /* Form components, togglebutton, secondary button, checkbox etc */
|
|
2048
2054
|
--dds-color-text-default: #0b0d0e; /* default text, heading, body. on surface.hover */
|
|
2049
2055
|
--dds-color-text-medium: #514f48; /* Label, etc */
|
|
2050
2056
|
--dds-color-text-subtle: #615f56; /* Disabled or less important text */
|
package/dist/index.d.cts
CHANGED
|
@@ -12383,7 +12383,7 @@ declare function useTheme(): {
|
|
|
12383
12383
|
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
12384
12384
|
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
12385
12385
|
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
12386
|
-
ddsColorSurfacePaperDefault: "#
|
|
12386
|
+
ddsColorSurfacePaperDefault: "#22272a";
|
|
12387
12387
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
12388
12388
|
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
12389
12389
|
ddsColorSurfaceFieldDisabled: "#303438";
|
|
@@ -12392,6 +12392,7 @@ declare function useTheme(): {
|
|
|
12392
12392
|
ddsColorSurfaceNotification: "#d83737";
|
|
12393
12393
|
ddsColorSurfaceSkeleton: "#545c62";
|
|
12394
12394
|
ddsColorBorderDefault: "#77838c";
|
|
12395
|
+
ddsColorBorderStrong: "#ffffff";
|
|
12395
12396
|
ddsColorBorderSubtle: "#545c62";
|
|
12396
12397
|
ddsColorBorderInverse: "#acbbc6";
|
|
12397
12398
|
ddsColorBorderActionDefault: "#589ac6";
|
|
@@ -12832,6 +12833,7 @@ declare function useTheme(): {
|
|
|
12832
12833
|
ddsColorSurfaceNotification: "#d83737";
|
|
12833
12834
|
ddsColorSurfaceSkeleton: "#d6dadd";
|
|
12834
12835
|
ddsColorBorderDefault: "#77838c";
|
|
12836
|
+
ddsColorBorderStrong: "#0b0d0e";
|
|
12835
12837
|
ddsColorBorderSubtle: "#d6dadd";
|
|
12836
12838
|
ddsColorBorderInverse: "#acbbc6";
|
|
12837
12839
|
ddsColorBorderActionDefault: "#106ead";
|
|
@@ -13263,7 +13265,7 @@ declare function useTheme(): {
|
|
|
13263
13265
|
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
13264
13266
|
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
13265
13267
|
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
13266
|
-
ddsColorSurfacePaperDefault: "#
|
|
13268
|
+
ddsColorSurfacePaperDefault: "#22272a";
|
|
13267
13269
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
13268
13270
|
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
13269
13271
|
ddsColorSurfaceFieldDisabled: "#303438";
|
|
@@ -13272,6 +13274,7 @@ declare function useTheme(): {
|
|
|
13272
13274
|
ddsColorSurfaceNotification: "#d83737";
|
|
13273
13275
|
ddsColorSurfaceSkeleton: "#545c62";
|
|
13274
13276
|
ddsColorBorderDefault: "#77838c";
|
|
13277
|
+
ddsColorBorderStrong: "#ffffff";
|
|
13275
13278
|
ddsColorBorderSubtle: "#545c62";
|
|
13276
13279
|
ddsColorBorderInverse: "#acbbc6";
|
|
13277
13280
|
ddsColorBorderActionDefault: "#589ac6";
|
|
@@ -13712,6 +13715,7 @@ declare function useTheme(): {
|
|
|
13712
13715
|
ddsColorSurfaceNotification: "#d83737";
|
|
13713
13716
|
ddsColorSurfaceSkeleton: "#d6dadd";
|
|
13714
13717
|
ddsColorBorderDefault: "#77838c";
|
|
13718
|
+
ddsColorBorderStrong: "#0b0d0e";
|
|
13715
13719
|
ddsColorBorderSubtle: "#d6dadd";
|
|
13716
13720
|
ddsColorBorderInverse: "#acbbc6";
|
|
13717
13721
|
ddsColorBorderActionDefault: "#106ead";
|
|
@@ -14110,12 +14114,12 @@ declare function useTheme(): {
|
|
|
14110
14114
|
ddsColorData09Border: "#5dafad";
|
|
14111
14115
|
ddsBorderRadiusButton: "2px";
|
|
14112
14116
|
ddsBorderRadiusButtonNumberPx: 2;
|
|
14113
|
-
ddsBorderRadiusSurface: "
|
|
14114
|
-
ddsBorderRadiusSurfaceNumberPx:
|
|
14117
|
+
ddsBorderRadiusSurface: "0px";
|
|
14118
|
+
ddsBorderRadiusSurfaceNumberPx: 0;
|
|
14115
14119
|
ddsBorderRadiusInput: "2px";
|
|
14116
14120
|
ddsBorderRadiusInputNumberPx: 2;
|
|
14117
|
-
ddsBorderRadiusChip: "
|
|
14118
|
-
ddsBorderRadiusChipNumberPx:
|
|
14121
|
+
ddsBorderRadiusChip: "9999px";
|
|
14122
|
+
ddsBorderRadiusChipNumberPx: 9999;
|
|
14119
14123
|
ddsBorderRadiusRounded: "9999px";
|
|
14120
14124
|
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
14121
14125
|
ddsColorBgDefault: "#1b1a18";
|
|
@@ -14143,7 +14147,7 @@ declare function useTheme(): {
|
|
|
14143
14147
|
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
14144
14148
|
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
14145
14149
|
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
14146
|
-
ddsColorSurfacePaperDefault: "#
|
|
14150
|
+
ddsColorSurfacePaperDefault: "#292824";
|
|
14147
14151
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
14148
14152
|
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
14149
14153
|
ddsColorSurfaceFieldDisabled: "#303438";
|
|
@@ -14161,6 +14165,7 @@ declare function useTheme(): {
|
|
|
14161
14165
|
ddsColorBorderDanger: "#ad2c2c";
|
|
14162
14166
|
ddsColorBorderInfo: "#5197c5";
|
|
14163
14167
|
ddsColorBorderOnAction: "#1b1a18";
|
|
14168
|
+
ddsColorBorderStrong: "#ffffff";
|
|
14164
14169
|
ddsColorTextDefault: "#ffffff";
|
|
14165
14170
|
ddsColorTextMedium: "#e7e6e4";
|
|
14166
14171
|
ddsColorTextSubtle: "#cfcec9";
|
|
@@ -14212,7 +14217,7 @@ declare function useTheme(): {
|
|
|
14212
14217
|
ddsColorBrandSecondaryDefault: "#891d22";
|
|
14213
14218
|
ddsColorBrandSecondarySubtle: "#370c0e";
|
|
14214
14219
|
ddsColorBrandSecondaryMedium: "#521114";
|
|
14215
|
-
ddsColorBrandSecondaryStrong: "#
|
|
14220
|
+
ddsColorBrandSecondaryStrong: "#d0a5a7";
|
|
14216
14221
|
ddsColorBrandTertiaryDefault: "#b1995d";
|
|
14217
14222
|
ddsColorBrandTertiarySubtle: "#594d2f";
|
|
14218
14223
|
ddsColorBrandTertiaryMedium: "#8e7a4a";
|
|
@@ -14550,12 +14555,12 @@ declare function useTheme(): {
|
|
|
14550
14555
|
ddsColorData09Border: "#007d79";
|
|
14551
14556
|
ddsBorderRadiusButton: "2px";
|
|
14552
14557
|
ddsBorderRadiusButtonNumberPx: 2;
|
|
14553
|
-
ddsBorderRadiusSurface: "
|
|
14554
|
-
ddsBorderRadiusSurfaceNumberPx:
|
|
14558
|
+
ddsBorderRadiusSurface: "0px";
|
|
14559
|
+
ddsBorderRadiusSurfaceNumberPx: 0;
|
|
14555
14560
|
ddsBorderRadiusInput: "2px";
|
|
14556
14561
|
ddsBorderRadiusInputNumberPx: 2;
|
|
14557
|
-
ddsBorderRadiusChip: "
|
|
14558
|
-
ddsBorderRadiusChipNumberPx:
|
|
14562
|
+
ddsBorderRadiusChip: "9999px";
|
|
14563
|
+
ddsBorderRadiusChipNumberPx: 9999;
|
|
14559
14564
|
ddsBorderRadiusRounded: "9999px";
|
|
14560
14565
|
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
14561
14566
|
ddsColorBgDefault: "#ffffff";
|
|
@@ -14601,6 +14606,7 @@ declare function useTheme(): {
|
|
|
14601
14606
|
ddsColorBorderDanger: "#d83737";
|
|
14602
14607
|
ddsColorBorderInfo: "#75b9e6";
|
|
14603
14608
|
ddsColorBorderOnAction: "#ffffff";
|
|
14609
|
+
ddsColorBorderStrong: "#0b0d0e";
|
|
14604
14610
|
ddsColorTextDefault: "#0b0d0e";
|
|
14605
14611
|
ddsColorTextMedium: "#514f48";
|
|
14606
14612
|
ddsColorTextSubtle: "#615f56";
|
package/dist/index.d.mts
CHANGED
|
@@ -12382,7 +12382,7 @@ declare function useTheme(): {
|
|
|
12382
12382
|
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
12383
12383
|
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
12384
12384
|
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
12385
|
-
ddsColorSurfacePaperDefault: "#
|
|
12385
|
+
ddsColorSurfacePaperDefault: "#22272a";
|
|
12386
12386
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
12387
12387
|
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
12388
12388
|
ddsColorSurfaceFieldDisabled: "#303438";
|
|
@@ -12391,6 +12391,7 @@ declare function useTheme(): {
|
|
|
12391
12391
|
ddsColorSurfaceNotification: "#d83737";
|
|
12392
12392
|
ddsColorSurfaceSkeleton: "#545c62";
|
|
12393
12393
|
ddsColorBorderDefault: "#77838c";
|
|
12394
|
+
ddsColorBorderStrong: "#ffffff";
|
|
12394
12395
|
ddsColorBorderSubtle: "#545c62";
|
|
12395
12396
|
ddsColorBorderInverse: "#acbbc6";
|
|
12396
12397
|
ddsColorBorderActionDefault: "#589ac6";
|
|
@@ -12831,6 +12832,7 @@ declare function useTheme(): {
|
|
|
12831
12832
|
ddsColorSurfaceNotification: "#d83737";
|
|
12832
12833
|
ddsColorSurfaceSkeleton: "#d6dadd";
|
|
12833
12834
|
ddsColorBorderDefault: "#77838c";
|
|
12835
|
+
ddsColorBorderStrong: "#0b0d0e";
|
|
12834
12836
|
ddsColorBorderSubtle: "#d6dadd";
|
|
12835
12837
|
ddsColorBorderInverse: "#acbbc6";
|
|
12836
12838
|
ddsColorBorderActionDefault: "#106ead";
|
|
@@ -13262,7 +13264,7 @@ declare function useTheme(): {
|
|
|
13262
13264
|
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
13263
13265
|
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
13264
13266
|
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
13265
|
-
ddsColorSurfacePaperDefault: "#
|
|
13267
|
+
ddsColorSurfacePaperDefault: "#22272a";
|
|
13266
13268
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
13267
13269
|
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
13268
13270
|
ddsColorSurfaceFieldDisabled: "#303438";
|
|
@@ -13271,6 +13273,7 @@ declare function useTheme(): {
|
|
|
13271
13273
|
ddsColorSurfaceNotification: "#d83737";
|
|
13272
13274
|
ddsColorSurfaceSkeleton: "#545c62";
|
|
13273
13275
|
ddsColorBorderDefault: "#77838c";
|
|
13276
|
+
ddsColorBorderStrong: "#ffffff";
|
|
13274
13277
|
ddsColorBorderSubtle: "#545c62";
|
|
13275
13278
|
ddsColorBorderInverse: "#acbbc6";
|
|
13276
13279
|
ddsColorBorderActionDefault: "#589ac6";
|
|
@@ -13711,6 +13714,7 @@ declare function useTheme(): {
|
|
|
13711
13714
|
ddsColorSurfaceNotification: "#d83737";
|
|
13712
13715
|
ddsColorSurfaceSkeleton: "#d6dadd";
|
|
13713
13716
|
ddsColorBorderDefault: "#77838c";
|
|
13717
|
+
ddsColorBorderStrong: "#0b0d0e";
|
|
13714
13718
|
ddsColorBorderSubtle: "#d6dadd";
|
|
13715
13719
|
ddsColorBorderInverse: "#acbbc6";
|
|
13716
13720
|
ddsColorBorderActionDefault: "#106ead";
|
|
@@ -14109,12 +14113,12 @@ declare function useTheme(): {
|
|
|
14109
14113
|
ddsColorData09Border: "#5dafad";
|
|
14110
14114
|
ddsBorderRadiusButton: "2px";
|
|
14111
14115
|
ddsBorderRadiusButtonNumberPx: 2;
|
|
14112
|
-
ddsBorderRadiusSurface: "
|
|
14113
|
-
ddsBorderRadiusSurfaceNumberPx:
|
|
14116
|
+
ddsBorderRadiusSurface: "0px";
|
|
14117
|
+
ddsBorderRadiusSurfaceNumberPx: 0;
|
|
14114
14118
|
ddsBorderRadiusInput: "2px";
|
|
14115
14119
|
ddsBorderRadiusInputNumberPx: 2;
|
|
14116
|
-
ddsBorderRadiusChip: "
|
|
14117
|
-
ddsBorderRadiusChipNumberPx:
|
|
14120
|
+
ddsBorderRadiusChip: "9999px";
|
|
14121
|
+
ddsBorderRadiusChipNumberPx: 9999;
|
|
14118
14122
|
ddsBorderRadiusRounded: "9999px";
|
|
14119
14123
|
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
14120
14124
|
ddsColorBgDefault: "#1b1a18";
|
|
@@ -14142,7 +14146,7 @@ declare function useTheme(): {
|
|
|
14142
14146
|
ddsColorSurfaceWarningStrong: "#f4e04d";
|
|
14143
14147
|
ddsColorSurfaceInfoDefault: "#2a4b61";
|
|
14144
14148
|
ddsColorSurfaceInfoStrong: "#75b9e6";
|
|
14145
|
-
ddsColorSurfacePaperDefault: "#
|
|
14149
|
+
ddsColorSurfacePaperDefault: "#292824";
|
|
14146
14150
|
ddsColorSurfaceBackdropDefault: "#0b0d0e80";
|
|
14147
14151
|
ddsColorSurfaceFieldDefault: "#0b0d0e";
|
|
14148
14152
|
ddsColorSurfaceFieldDisabled: "#303438";
|
|
@@ -14160,6 +14164,7 @@ declare function useTheme(): {
|
|
|
14160
14164
|
ddsColorBorderDanger: "#ad2c2c";
|
|
14161
14165
|
ddsColorBorderInfo: "#5197c5";
|
|
14162
14166
|
ddsColorBorderOnAction: "#1b1a18";
|
|
14167
|
+
ddsColorBorderStrong: "#ffffff";
|
|
14163
14168
|
ddsColorTextDefault: "#ffffff";
|
|
14164
14169
|
ddsColorTextMedium: "#e7e6e4";
|
|
14165
14170
|
ddsColorTextSubtle: "#cfcec9";
|
|
@@ -14211,7 +14216,7 @@ declare function useTheme(): {
|
|
|
14211
14216
|
ddsColorBrandSecondaryDefault: "#891d22";
|
|
14212
14217
|
ddsColorBrandSecondarySubtle: "#370c0e";
|
|
14213
14218
|
ddsColorBrandSecondaryMedium: "#521114";
|
|
14214
|
-
ddsColorBrandSecondaryStrong: "#
|
|
14219
|
+
ddsColorBrandSecondaryStrong: "#d0a5a7";
|
|
14215
14220
|
ddsColorBrandTertiaryDefault: "#b1995d";
|
|
14216
14221
|
ddsColorBrandTertiarySubtle: "#594d2f";
|
|
14217
14222
|
ddsColorBrandTertiaryMedium: "#8e7a4a";
|
|
@@ -14549,12 +14554,12 @@ declare function useTheme(): {
|
|
|
14549
14554
|
ddsColorData09Border: "#007d79";
|
|
14550
14555
|
ddsBorderRadiusButton: "2px";
|
|
14551
14556
|
ddsBorderRadiusButtonNumberPx: 2;
|
|
14552
|
-
ddsBorderRadiusSurface: "
|
|
14553
|
-
ddsBorderRadiusSurfaceNumberPx:
|
|
14557
|
+
ddsBorderRadiusSurface: "0px";
|
|
14558
|
+
ddsBorderRadiusSurfaceNumberPx: 0;
|
|
14554
14559
|
ddsBorderRadiusInput: "2px";
|
|
14555
14560
|
ddsBorderRadiusInputNumberPx: 2;
|
|
14556
|
-
ddsBorderRadiusChip: "
|
|
14557
|
-
ddsBorderRadiusChipNumberPx:
|
|
14561
|
+
ddsBorderRadiusChip: "9999px";
|
|
14562
|
+
ddsBorderRadiusChipNumberPx: 9999;
|
|
14558
14563
|
ddsBorderRadiusRounded: "9999px";
|
|
14559
14564
|
ddsBorderRadiusRoundedNumberPx: 9999;
|
|
14560
14565
|
ddsColorBgDefault: "#ffffff";
|
|
@@ -14600,6 +14605,7 @@ declare function useTheme(): {
|
|
|
14600
14605
|
ddsColorBorderDanger: "#d83737";
|
|
14601
14606
|
ddsColorBorderInfo: "#75b9e6";
|
|
14602
14607
|
ddsColorBorderOnAction: "#ffffff";
|
|
14608
|
+
ddsColorBorderStrong: "#0b0d0e";
|
|
14603
14609
|
ddsColorTextDefault: "#0b0d0e";
|
|
14604
14610
|
ddsColorTextMedium: "#514f48";
|
|
14605
14611
|
ddsColorTextSubtle: "#615f56";
|
package/dist/index.mjs
CHANGED
|
@@ -319,14 +319,15 @@ const defaultOffset = 8;
|
|
|
319
319
|
*/
|
|
320
320
|
const useFloatPosition = (arrowRef, options = {}) => {
|
|
321
321
|
const { animationFrame = true, offset: offset$1 = defaultOffset, placement = "bottom" } = options;
|
|
322
|
+
const middleware = [
|
|
323
|
+
offset(offset$1),
|
|
324
|
+
flip(),
|
|
325
|
+
shift(),
|
|
326
|
+
...arrowRef ? [arrow({ element: arrowRef })] : []
|
|
327
|
+
];
|
|
322
328
|
const { x, y, strategy, middlewareData, placement: actualPlacement, refs, isPositioned } = useFloating({
|
|
323
329
|
placement,
|
|
324
|
-
middleware
|
|
325
|
-
offset(offset$1),
|
|
326
|
-
flip(),
|
|
327
|
-
shift(),
|
|
328
|
-
...arrowRef ? [arrow({ element: arrowRef })] : []
|
|
329
|
-
],
|
|
330
|
+
middleware,
|
|
330
331
|
whileElementsMounted: (reference, floating, update) => autoUpdate(reference, floating, update, { animationFrame })
|
|
331
332
|
});
|
|
332
333
|
return {
|
|
@@ -1842,13 +1843,14 @@ const DropdownItem = ({ icon, className, children: propChildren, purpose = "defa
|
|
|
1842
1843
|
className: cn(loading && utilStyles_module_default.invisible),
|
|
1843
1844
|
children: propChildren
|
|
1844
1845
|
}) : propChildren;
|
|
1846
|
+
const cns = rest.as === "span" ? itemCns : interactiveItemCns;
|
|
1845
1847
|
return /* @__PURE__ */ jsxs(Box, {
|
|
1846
1848
|
display: "flex",
|
|
1847
1849
|
alignItems: "center",
|
|
1848
1850
|
padding: "x0.75",
|
|
1849
1851
|
gap: "x0.25",
|
|
1850
1852
|
width: "100%",
|
|
1851
|
-
className: cn(className, ...
|
|
1853
|
+
className: cn(className, ...cns, loading && DropdownItem_module_default["item--loading"]),
|
|
1852
1854
|
"aria-disabled": loading ? true : void 0,
|
|
1853
1855
|
...rest,
|
|
1854
1856
|
children: [
|
|
@@ -4841,11 +4843,13 @@ const Breadcrumbs = ({ children, smallScreenBreakpoint, id, className, style, ht
|
|
|
4841
4843
|
}, `breadcrumb-${index}`);
|
|
4842
4844
|
});
|
|
4843
4845
|
const bChildrenTruncated = childrenArray.length > 2 ? childrenArray.slice(1, childrenArray.length - 1).map((item, index) => {
|
|
4844
|
-
if (isValidElement(item))
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4846
|
+
if (isValidElement(item)) {
|
|
4847
|
+
if (isAnchorTypographyProps(item.props)) return /* @__PURE__ */ jsx(OverflowMenuLink, {
|
|
4848
|
+
href: item.props.href,
|
|
4849
|
+
children: item.props.children
|
|
4850
|
+
}, index);
|
|
4851
|
+
else return /* @__PURE__ */ jsx(OverflowMenuSpan, { children: item.props.children }, index);
|
|
4852
|
+
}
|
|
4849
4853
|
}) : [];
|
|
4850
4854
|
const bChildrenSmallScreen = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
4851
4855
|
/* @__PURE__ */ jsx(HStack, {
|
|
@@ -7062,8 +7066,9 @@ function CharCounter(props) {
|
|
|
7062
7066
|
const { t } = useTranslation();
|
|
7063
7067
|
const { current, max, id } = props;
|
|
7064
7068
|
const generatedId = useId();
|
|
7069
|
+
const uniqueId = id ?? `${generatedId}-characterCounter`;
|
|
7065
7070
|
return /* @__PURE__ */ jsxs(Typography, {
|
|
7066
|
-
id:
|
|
7071
|
+
id: uniqueId,
|
|
7067
7072
|
className: CharCounter_module_default.container,
|
|
7068
7073
|
as: "div",
|
|
7069
7074
|
typographyType: "body-short-xsmall",
|
|
@@ -7524,13 +7529,11 @@ const File$1 = (props) => {
|
|
|
7524
7529
|
});
|
|
7525
7530
|
break;
|
|
7526
7531
|
case "invalid":
|
|
7527
|
-
case "error":
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
});
|
|
7533
|
-
break;
|
|
7532
|
+
case "error": statusIndicator = /* @__PURE__ */ jsx(Icon, {
|
|
7533
|
+
icon: ErrorIcon,
|
|
7534
|
+
iconSize: "component",
|
|
7535
|
+
className: FileUploader_module_default[`file__icon--invalid`]
|
|
7536
|
+
});
|
|
7534
7537
|
}
|
|
7535
7538
|
return /* @__PURE__ */ jsxs("li", { children: [/* @__PURE__ */ jsxs(Paper, {
|
|
7536
7539
|
marginBlock: "x0.5 0",
|
|
@@ -11958,12 +11961,14 @@ const SearchAutocompleteWrapper = (props) => {
|
|
|
11958
11961
|
handleSetInputValue(query);
|
|
11959
11962
|
let finalSuggestions = [];
|
|
11960
11963
|
if (query.length >= queryLength) {
|
|
11961
|
-
if (data)
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11964
|
+
if (data) {
|
|
11965
|
+
if (isWeightedValueData(data)) {
|
|
11966
|
+
const { sortFunction, array } = data;
|
|
11967
|
+
finalSuggestions = array.filter((suggestion) => filter ? filter(suggestion.text, query) : searchFilter(suggestion.text, query)).sort(sortFunction ? (a, b) => sortFunction(a, b) : void 0).map((item) => item.text);
|
|
11968
|
+
} else {
|
|
11969
|
+
const { sortFunction, array } = data;
|
|
11970
|
+
finalSuggestions = array.filter((suggestion) => filter ? filter(suggestion, query) : searchFilter(suggestion, query)).sort(sortFunction ? (a, b) => sortFunction(a, b) : void 0);
|
|
11971
|
+
}
|
|
11967
11972
|
}
|
|
11968
11973
|
setSuggestions(finalSuggestions);
|
|
11969
11974
|
} else setSuggestions([]);
|
|
@@ -12203,7 +12208,8 @@ const Row = ({ type: _type, className, mode = "normal", children, ref, ...rest }
|
|
|
12203
12208
|
})] })
|
|
12204
12209
|
})] });
|
|
12205
12210
|
const descriptionListItems = collapseCells.map((child, index) => {
|
|
12206
|
-
|
|
12211
|
+
const label = labelsStore.get(child.props.collapseKey ?? "");
|
|
12212
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(DescriptionListTerm, { children: label }), /* @__PURE__ */ jsx(CollapsibleCellContext, {
|
|
12207
12213
|
value: true,
|
|
12208
12214
|
children: child
|
|
12209
12215
|
})] }, `DL-${index}`);
|