@dbcdk/react-components 0.0.101 → 0.0.102

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 CHANGED
@@ -405,7 +405,6 @@ var Button_default = {
405
405
  rounded: "Button_rounded",
406
406
  link: "Button_link",
407
407
  icon: "Button_icon",
408
- xs: "Button_xs",
409
408
  sm: "Button_sm",
410
409
  lg: "Button_lg",
411
410
  fullWidth: "Button_fullWidth",
@@ -416,7 +415,8 @@ var Button_default = {
416
415
  active: "Button_active",
417
416
  success: "Button_success",
418
417
  danger: "Button_danger",
419
- inline: "Button_inline"
418
+ inline: "Button_inline",
419
+ xs: "Button_xs"
420
420
  };
421
421
  function cx(...parts) {
422
422
  return parts.filter(Boolean).join(" ");
@@ -783,7 +783,8 @@ function Headline({
783
783
  icon,
784
784
  tone,
785
785
  variant,
786
- allowWrap = true
786
+ allowWrap = true,
787
+ id
787
788
  }) {
788
789
  const Tag = `h${size}`;
789
790
  const containerClassName = [Headline_default.headlineContainer, tone ? Headline_default[`tone-${tone}`] : ""].filter(Boolean).join(" ");
@@ -799,6 +800,7 @@ function Headline({
799
800
  /* @__PURE__ */ jsxs(
800
801
  Tag,
801
802
  {
803
+ id,
802
804
  style: {
803
805
  "--font-weight": weight,
804
806
  "--marker-color": severity ? SeverityBgColor[severity] : void 0
@@ -2510,7 +2512,7 @@ function Tabs({
2510
2512
  "div",
2511
2513
  {
2512
2514
  className: [Tabs_default.headerContainer, disableTopPadding ? Tabs_default.disableTopPadding : ""].filter(Boolean).join(" "),
2513
- children: /* @__PURE__ */ jsx(Headline, { disableMargin: true, size: 2, subheader, addition, children: header })
2515
+ children: /* @__PURE__ */ jsx(Headline, { disableMargin: true, size: 1, subheader, addition, children: header })
2514
2516
  }
2515
2517
  ) : null,
2516
2518
  /* @__PURE__ */ jsxs("div", { className: `${Tabs_default.tabs} ${Tabs_default[variant]} ${panelStyle ? Tabs_default.panelStyle : ""}`, children: [
@@ -3428,6 +3430,10 @@ function Panel({
3428
3430
  var Card_default = {
3429
3431
  outerContainer: "Card_outerContainer",
3430
3432
  container: "Card_container",
3433
+ elevationNone: "Card_elevationNone",
3434
+ elevationXs: "Card_elevationXs",
3435
+ elevationSm: "Card_elevationSm",
3436
+ elevationMd: "Card_elevationMd",
3431
3437
  variantDefault: "Card_variantDefault",
3432
3438
  variantSubtle: "Card_variantSubtle",
3433
3439
  sm: "Card_sm",
@@ -3555,6 +3561,7 @@ function CardImpl({
3555
3561
  loading = false,
3556
3562
  variant = "default",
3557
3563
  size = "md",
3564
+ elevation = "sm",
3558
3565
  headerMarker = true,
3559
3566
  headerIcon,
3560
3567
  headerAddition,
@@ -3571,6 +3578,7 @@ function CardImpl({
3571
3578
  width,
3572
3579
  headlineSize = 4
3573
3580
  }) {
3581
+ var _a;
3574
3582
  const outerStyle = width ? {
3575
3583
  ["--width"]: `${width}%`,
3576
3584
  ["--gap-share"]: getGapShare(width)
@@ -3578,6 +3586,7 @@ function CardImpl({
3578
3586
  const mediaStyle = mediaWidth ? { ["--card-media-width"]: `${mediaWidth}px` } : void 0;
3579
3587
  const innerPlacementClass = getInnerPlacementClass(imgPlacement, Card_default);
3580
3588
  const variantClass = getVariantClass(variant, Card_default);
3589
+ const elevationClass = (_a = Card_default[`elevation${elevation.charAt(0).toUpperCase()}${elevation.slice(1)}`]) != null ? _a : Card_default.elevationSm;
3581
3590
  const hasHeader = !!title || !!headerMeta;
3582
3591
  const showSection = !loading && (showSectionDivider || !!sectionTitle);
3583
3592
  const showBody = !loading && !!children;
@@ -3615,7 +3624,7 @@ function CardImpl({
3615
3624
  ] })
3616
3625
  ] });
3617
3626
  const cardContent = link ? /* @__PURE__ */ jsx(Hyperlink, { children: link }) : inner;
3618
- return /* @__PURE__ */ jsx("div", { className: `${Card_default.outerContainer} ${Card_default[size]}`, style: outerStyle, children: /* @__PURE__ */ jsx("div", { className: `${Card_default.container} ${variantClass}`, children: cardContent }) });
3627
+ return /* @__PURE__ */ jsx("div", { className: `${Card_default.outerContainer} ${Card_default[size]}`, style: outerStyle, children: /* @__PURE__ */ jsx("div", { className: `${Card_default.container} ${variantClass} ${elevationClass}`, children: cardContent }) });
3619
3628
  }
3620
3629
  var Card = Object.assign(CardImpl, {
3621
3630
  Meta: CardMeta,
@@ -3662,7 +3671,7 @@ var Page_default = {
3662
3671
  headerMain: "Page_headerMain",
3663
3672
  content: "Page_content",
3664
3673
  contentLoading: "Page_contentLoading",
3665
- disableContentBox: "Page_disableContentBox"
3674
+ contentBox: "Page_contentBox"
3666
3675
  };
3667
3676
 
3668
3677
  // src/components/breadcrumbs/Breadcrumbs.module.css
@@ -3689,12 +3698,14 @@ function Page({
3689
3698
  headerAddition,
3690
3699
  breadcrumbs,
3691
3700
  disableContentBox,
3701
+ contentBox = false,
3692
3702
  disableTopPadding = true,
3693
3703
  maxWidth,
3694
3704
  containScrolling = false,
3695
3705
  children,
3696
3706
  loading = false
3697
3707
  }) {
3708
+ const showContentBox = contentBox && !disableContentBox;
3698
3709
  const maxWidthClass = maxWidth ? Page_default[`maxWidth${maxWidth.charAt(0).toUpperCase()}${maxWidth.slice(1)}`] : "";
3699
3710
  const hasHeadline = Boolean(header || subheader || headerAddition);
3700
3711
  return /* @__PURE__ */ jsxs(
@@ -3708,7 +3719,7 @@ function Page({
3708
3719
  Headline,
3709
3720
  {
3710
3721
  disableMargin: true,
3711
- size: 2,
3722
+ size: 1,
3712
3723
  severity,
3713
3724
  icon: headerIcon,
3714
3725
  subheader,
@@ -3720,7 +3731,7 @@ function Page({
3720
3731
  /* @__PURE__ */ jsx(
3721
3732
  "div",
3722
3733
  {
3723
- className: `${Page_default.content} ${loading ? Page_default.contentLoading : ""} ${disableContentBox ? Page_default.disableContentBox : ""}`,
3734
+ className: `${Page_default.content} ${loading ? Page_default.contentLoading : ""} ${showContentBox ? Page_default.contentBox : ""}`,
3724
3735
  children: loading ? /* @__PURE__ */ jsx(SkeletonLoader, { type: "squares", rows: 1, columns: 1 }) : children
3725
3736
  }
3726
3737
  )
@@ -4292,7 +4303,7 @@ function TableRow({
4292
4303
  columns.map((column) => {
4293
4304
  var _a2, _b, _c, _d;
4294
4305
  const allowWrap = shouldAllowWrap(column.allowWrap, isSelected, viewMode);
4295
- const allowOverflow = column.allowOverflow;
4306
+ column.allowOverflow;
4296
4307
  const cellValue = getCellDisplayValue(row, column);
4297
4308
  return /* @__PURE__ */ jsx(
4298
4309
  "td",
@@ -4312,7 +4323,7 @@ function TableRow({
4312
4323
  className: Table_default.cellContent,
4313
4324
  "data-align": (_c = column.align) != null ? _c : "left",
4314
4325
  "data-vertical-align": (_d = column.verticalAlign) != null ? _d : "top",
4315
- children: allowWrap || allowOverflow ? cellValue : /* @__PURE__ */ jsx("div", { className: Table_default.cellValueEllipsis, children: cellValue })
4326
+ children: /* @__PURE__ */ jsx("div", { className: Table_default.cellValueEllipsis, children: cellValue })
4316
4327
  }
4317
4328
  )
4318
4329
  },
@@ -7545,6 +7556,14 @@ var SegmentedProgressBar_default = {
7545
7556
  progressCenterLabel: "SegmentedProgressBar_progressCenterLabel",
7546
7557
  emptySegments: "SegmentedProgressBar_emptySegments"
7547
7558
  };
7559
+ var sizeTokenMap = {
7560
+ "2xs": "var(--component-size-2xs)",
7561
+ xxs: "var(--component-size-xxs)",
7562
+ xs: "var(--component-size-xs)",
7563
+ sm: "var(--component-size-sm)",
7564
+ md: "var(--component-size-md)",
7565
+ lg: "var(--component-size-lg)"
7566
+ };
7548
7567
  function SegmentWithTooltip({
7549
7568
  seg,
7550
7569
  index,
@@ -7584,9 +7603,9 @@ var SegmentedProgressBar = ({
7584
7603
  segments,
7585
7604
  total,
7586
7605
  showRemainder = true,
7587
- remainderSeverity = "neutral",
7606
+ remainderSeverity = "missing",
7588
7607
  centerLabel,
7589
- height,
7608
+ size = "sm",
7590
7609
  rounded = true,
7591
7610
  trackColor,
7592
7611
  tooltipPlacement = "top",
@@ -7624,7 +7643,8 @@ var SegmentedProgressBar = ({
7624
7643
  className: SegmentedProgressBar_default.progressBar,
7625
7644
  "data-rounded": rounded ? "true" : "false",
7626
7645
  style: {
7627
- height: height ? `${height}px` : "24px",
7646
+ ["--progress-height"]: sizeTokenMap[size],
7647
+ height: sizeTokenMap[size],
7628
7648
  background: trackColor != null ? trackColor : "var(--color-bg-surface-subtle)"
7629
7649
  },
7630
7650
  children: [
@@ -8505,7 +8525,7 @@ function Modal({
8505
8525
  tabIndex: -1,
8506
8526
  children: [
8507
8527
  /* @__PURE__ */ jsxs("div", { className: Modal_default.header, children: [
8508
- header && /* @__PURE__ */ jsx(Headline, { severity, size: 3, disableMargin: true, subheader, children: header }),
8528
+ header && /* @__PURE__ */ jsx(Headline, { severity, size: 2, disableMargin: true, subheader, children: header }),
8509
8529
  /* @__PURE__ */ jsx(
8510
8530
  Button,
8511
8531
  {
@@ -10668,7 +10688,7 @@ function SidePanel({
10668
10688
  /* @__PURE__ */ jsx(
10669
10689
  Headline,
10670
10690
  {
10671
- size: 3,
10691
+ size: 2,
10672
10692
  disableMargin: true,
10673
10693
  severity,
10674
10694
  marker: showHeaderMarker,
@@ -11028,6 +11048,7 @@ function IntervalSelect({
11028
11048
  // src/components/accordion/Accordion.module.css
11029
11049
  var Accordion_default = {
11030
11050
  container: "Accordion_container",
11051
+ outlined: "Accordion_outlined",
11031
11052
  sm: "Accordion_sm",
11032
11053
  md: "Accordion_md",
11033
11054
  lg: "Accordion_lg"
@@ -11044,7 +11065,8 @@ var AccordionRow_default = {
11044
11065
  panel: "AccordionRow_panel",
11045
11066
  animate: "AccordionRow_animate",
11046
11067
  noAnimate: "AccordionRow_noAnimate",
11047
- content: "AccordionRow_content"
11068
+ content: "AccordionRow_content",
11069
+ item: "AccordionRow_item"
11048
11070
  };
11049
11071
  function useCollapsibleHeight(isOpen, shouldAnimate) {
11050
11072
  const innerRef = useRef(null);
@@ -11087,7 +11109,9 @@ function AccordionRow({
11087
11109
  item,
11088
11110
  isOpen,
11089
11111
  onToggle,
11090
- shouldAnimate = true
11112
+ shouldAnimate = true,
11113
+ headlineSize = 4,
11114
+ variant = "default"
11091
11115
  }) {
11092
11116
  const isDisabled = !!item.disabled;
11093
11117
  const buttonId = `${uid}-acc-btn-${index}`;
@@ -11115,8 +11139,8 @@ function AccordionRow({
11115
11139
  Headline,
11116
11140
  {
11117
11141
  disableMargin: true,
11118
- size: 4,
11119
- weight: 500,
11142
+ size: headlineSize,
11143
+ weight: variant === "outlined" ? 400 : 500,
11120
11144
  severity: item.severity,
11121
11145
  subheader: item.subheader,
11122
11146
  allowWrap: isOpen,
@@ -11155,6 +11179,7 @@ function Accordion({
11155
11179
  items,
11156
11180
  mode = "single",
11157
11181
  size = "md",
11182
+ variant = "default",
11158
11183
  defaultOpenIndex = null,
11159
11184
  defaultOpenIndexes = [],
11160
11185
  openIndex,
@@ -11164,9 +11189,9 @@ function Accordion({
11164
11189
  }) {
11165
11190
  const uid = useId();
11166
11191
  const isControlled = mode === "single" ? openIndex !== void 0 : openIndexes !== void 0;
11167
- const hasMountedRef = useRef(false);
11192
+ const [hasMounted, setHasMounted] = useState(false);
11168
11193
  useEffect(() => {
11169
- hasMountedRef.current = true;
11194
+ setHasMounted(true);
11170
11195
  }, []);
11171
11196
  const [internalSingle, setInternalSingle] = useState(
11172
11197
  mode === "single" ? defaultOpenIndex : null
@@ -11212,18 +11237,26 @@ function Accordion({
11212
11237
  if (isOpen) commit(currentOpenIndexes.filter((i) => i !== index));
11213
11238
  else commit([...currentOpenIndexes, index]);
11214
11239
  }
11215
- return /* @__PURE__ */ jsx("div", { className: `${Accordion_default.container} ${Accordion_default[size]}`, children: items.map((item, i) => /* @__PURE__ */ jsx(
11216
- AccordionRow,
11240
+ return /* @__PURE__ */ jsx(
11241
+ "div",
11217
11242
  {
11218
- uid,
11219
- index: i,
11220
- item,
11221
- isOpen: openSet.has(i),
11222
- onToggle: toggle,
11223
- shouldAnimate: hasMountedRef.current
11224
- },
11225
- i
11226
- )) });
11243
+ className: [Accordion_default.container, Accordion_default[size], variant !== "default" ? Accordion_default[variant] : ""].filter(Boolean).join(" "),
11244
+ children: items.map((item, i) => /* @__PURE__ */ jsx(
11245
+ AccordionRow,
11246
+ {
11247
+ uid,
11248
+ index: i,
11249
+ item,
11250
+ isOpen: openSet.has(i),
11251
+ onToggle: toggle,
11252
+ shouldAnimate: hasMounted,
11253
+ headlineSize: size === "sm" ? 4 : 3,
11254
+ variant
11255
+ },
11256
+ i
11257
+ ))
11258
+ }
11259
+ );
11227
11260
  }
11228
11261
  var EmptyIllustration = () => /* @__PURE__ */ jsxs(
11229
11262
  "svg",
@@ -12724,4 +12757,46 @@ function Alert({
12724
12757
  );
12725
12758
  }
12726
12759
 
12727
- export { Accordion, Alert, AppHeader, AttributeChip, Avatar, Breadcrumbs, Button, ButtonSelect, Card, CardContainer, ChartSemanticColorVar, Checkbox, CheckboxGroup, Chip, ChipMultiToggle, Circle, CodeBlock, CollapsibleHeadline, CopyButton, DateTimePicker, Divider, FadeOverlay, FilterField, Footer, Grid, GridItem, Headline, Hyperlink, Icon, Input, InputContainer, IntervalSelect, JsonViewer, Menu, MetaBar, Modal, ModalProvider, MultiSelect, NUMBER_OPERATORS, NavBar, Page, PageLayout, Pagination, Panel, Popover, RadioButton, RadioButtonGroup, SearchBox, SegmentedProgressBar, Select, SeverityIcon, SidePanel, Sidebar, SkeletonLoader, SkeletonLoaderItem, SplitButton, SplitPane, SplitPaneGutter, SplitPanePrimary, SplitPaneSecondary, Stack, StatePage, StickyFooterLayout, Table, Tabs, Textarea, ThemeButton, ThemeMenuSection, Toast, ToastProvider, Tooltip, TooltipContext, TooltipProvider, Typeahead, UserDisplay, formatDate, nestedFiltering, useDeviceSize, useModal, useOptionalToast, usePagination, useSidePanel, useSorting, useTableData, useTableSelection, useTheme, useTimeDuration, useToast, useTooltipTrigger, useViewportFill };
12760
+ // src/components/inline-status/InlineStatus.module.css
12761
+ var InlineStatus_default = {
12762
+ container: "InlineStatus_container",
12763
+ fullWidth: "InlineStatus_fullWidth",
12764
+ leading: "InlineStatus_leading",
12765
+ body: "InlineStatus_body",
12766
+ sm: "InlineStatus_sm",
12767
+ md: "InlineStatus_md",
12768
+ neutral: "InlineStatus_neutral",
12769
+ success: "InlineStatus_success",
12770
+ warning: "InlineStatus_warning",
12771
+ error: "InlineStatus_error",
12772
+ info: "InlineStatus_info",
12773
+ brand: "InlineStatus_brand"
12774
+ };
12775
+ function InlineStatus({
12776
+ children,
12777
+ severity = "neutral",
12778
+ customIcon,
12779
+ disableIcon = false,
12780
+ fullWidth = false,
12781
+ size = "sm"
12782
+ }) {
12783
+ const hasLeading = Boolean(customIcon) || !disableIcon;
12784
+ return /* @__PURE__ */ jsxs(
12785
+ "div",
12786
+ {
12787
+ className: [
12788
+ InlineStatus_default.container,
12789
+ InlineStatus_default[severity],
12790
+ InlineStatus_default[size],
12791
+ fullWidth ? InlineStatus_default.fullWidth : "",
12792
+ hasLeading ? InlineStatus_default.hasLeading : ""
12793
+ ].filter(Boolean).join(" "),
12794
+ children: [
12795
+ hasLeading ? /* @__PURE__ */ jsx("span", { className: InlineStatus_default.leading, children: customIcon != null ? customIcon : /* @__PURE__ */ jsx(Icon, { severity }) }) : null,
12796
+ /* @__PURE__ */ jsx("span", { className: InlineStatus_default.body, children })
12797
+ ]
12798
+ }
12799
+ );
12800
+ }
12801
+
12802
+ export { Accordion, Alert, AppHeader, AttributeChip, Avatar, Breadcrumbs, Button, ButtonSelect, Card, CardContainer, ChartSemanticColorVar, Checkbox, CheckboxGroup, Chip, ChipMultiToggle, Circle, CodeBlock, CollapsibleHeadline, CopyButton, DateTimePicker, Divider, FadeOverlay, FilterField, Footer, Grid, GridItem, Headline, Hyperlink, Icon, InlineStatus, Input, InputContainer, IntervalSelect, JsonViewer, Menu, MetaBar, Modal, ModalProvider, MultiSelect, NUMBER_OPERATORS, NavBar, Page, PageLayout, Pagination, Panel, Popover, RadioButton, RadioButtonGroup, SearchBox, SegmentedProgressBar, Select, SeverityIcon, SidePanel, Sidebar, SkeletonLoader, SkeletonLoaderItem, SplitButton, SplitPane, SplitPaneGutter, SplitPanePrimary, SplitPaneSecondary, Stack, StatePage, StickyFooterLayout, Table, Tabs, Textarea, ThemeButton, ThemeMenuSection, Toast, ToastProvider, Tooltip, TooltipContext, TooltipProvider, Typeahead, UserDisplay, formatDate, nestedFiltering, useDeviceSize, useModal, useOptionalToast, usePagination, useSidePanel, useSorting, useTableData, useTableSelection, useTheme, useTimeDuration, useToast, useTooltipTrigger, useViewportFill };
@@ -42,15 +42,15 @@ body {
42
42
  }
43
43
 
44
44
  h1 {
45
- font-size: var(--font-size-2xl);
45
+ font-size: var(--font-size-xl);
46
46
  }
47
47
 
48
48
  h2 {
49
- font-size: var(--font-size-xl);
49
+ font-size: var(--font-size-lg);
50
50
  }
51
51
 
52
52
  h3 {
53
- font-size: var(--font-size-lg);
53
+ font-size: var(--font-size-md);
54
54
  }
55
55
 
56
56
  h4 {
@@ -240,6 +240,10 @@ body.dbc-app {
240
240
  font-size: var(--font-size-xs);
241
241
  }
242
242
 
243
+ .dbc-md-text {
244
+ font-size: var(--font-size-md);
245
+ }
246
+
243
247
  .dbc-lg-text {
244
248
  font-size: var(--font-size-lg);
245
249
  }
@@ -126,22 +126,22 @@ html {
126
126
  /* Status */
127
127
  --color-status-success: var(--dbc-green-500);
128
128
  --color-status-success-bg: var(--dbc-green-100);
129
- --color-status-success-border: var(--dbc-green-300);
129
+ --color-status-success-border: color-mix(in srgb, var(--dbc-green-500) 24%, transparent);
130
130
  --color-status-success-fg: var(--dbc-green-700);
131
131
 
132
132
  --color-status-warning: var(--dbc-amber-700);
133
133
  --color-status-warning-bg: var(--dbc-amber-100);
134
- --color-status-warning-border: var(--dbc-amber-400);
134
+ --color-status-warning-border: color-mix(in srgb, var(--dbc-amber-700) 24%, transparent);
135
135
  --color-status-warning-fg: var(--dbc-amber-800);
136
136
 
137
137
  --color-status-error: var(--dbc-red-600);
138
138
  --color-status-error-bg: var(--dbc-red-100);
139
- --color-status-error-border: var(--dbc-red-300);
139
+ --color-status-error-border: color-mix(in srgb, var(--dbc-red-600) 24%, transparent);
140
140
  --color-status-error-fg: var(--dbc-red-800);
141
141
 
142
142
  --color-status-info: var(--dbc-info-500);
143
143
  --color-status-info-bg: var(--dbc-info-100);
144
- --color-status-info-border: var(--dbc-info-300);
144
+ --color-status-info-border: color-mix(in srgb, var(--dbc-info-500) 24%, transparent);
145
145
  --color-status-info-fg: var(--dbc-info-700);
146
146
 
147
147
  /* Chart colors */
@@ -223,11 +223,16 @@ html {
223
223
  --opac-bg-dark-invert: light-dark(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.15));
224
224
 
225
225
  /* Shadows */
226
- --shadow-xs: 0 1px 2px light-dark(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
227
- --shadow-sm: 0 1px 3px light-dark(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.24));
228
- --shadow-md: 0 2px 6px light-dark(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.32));
229
- --shadow-lg: 0 4px 12px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
230
- --shadow-xl: 0 8px 24px light-dark(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
226
+
227
+ --shadow-xs: 0 1px 1px light-dark(rgba(0, 0, 0, 0.04), transparent);
228
+
229
+ --shadow-sm: 0 1px 2px light-dark(rgba(0, 0, 0, 0.06), transparent);
230
+
231
+ --shadow-md: 0 2px 6px light-dark(rgba(0, 0, 0, 0.08), transparent);
232
+
233
+ --shadow-lg: 0 4px 12px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
234
+
235
+ --shadow-xl: 0 8px 24px light-dark(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45));
231
236
 
232
237
  /* Skeletons */
233
238
  --skeleton-base: light-dark(#e5e7eb, #374151);
package/dist/styles.css CHANGED
@@ -42,15 +42,15 @@ body {
42
42
  }
43
43
 
44
44
  h1 {
45
- font-size: var(--font-size-2xl);
45
+ font-size: var(--font-size-xl);
46
46
  }
47
47
 
48
48
  h2 {
49
- font-size: var(--font-size-xl);
49
+ font-size: var(--font-size-lg);
50
50
  }
51
51
 
52
52
  h3 {
53
- font-size: var(--font-size-lg);
53
+ font-size: var(--font-size-md);
54
54
  }
55
55
 
56
56
  h4 {
@@ -240,6 +240,10 @@ body.dbc-app {
240
240
  font-size: var(--font-size-xs);
241
241
  }
242
242
 
243
+ .dbc-md-text {
244
+ font-size: var(--font-size-md);
245
+ }
246
+
243
247
  .dbc-lg-text {
244
248
  font-size: var(--font-size-lg);
245
249
  }
package/dist/tanstack.cjs CHANGED
@@ -171,7 +171,6 @@ var Button_default = {
171
171
  rounded: "Button_rounded2",
172
172
  link: "Button_link2",
173
173
  icon: "Button_icon2",
174
- xs: "Button_xs2",
175
174
  sm: "Button_sm2",
176
175
  lg: "Button_lg2",
177
176
  fullWidth: "Button_fullWidth2",
@@ -182,7 +181,8 @@ var Button_default = {
182
181
  active: "Button_active2",
183
182
  success: "Button_success2",
184
183
  danger: "Button_danger2",
185
- inline: "Button_inline2"
184
+ inline: "Button_inline2",
185
+ xs: "Button_xs2"
186
186
  };
187
187
  function cx(...parts) {
188
188
  return parts.filter(Boolean).join(" ");
@@ -1658,7 +1658,7 @@ function TableRow({
1658
1658
  columns.map((column) => {
1659
1659
  var _a2, _b, _c, _d;
1660
1660
  const allowWrap = shouldAllowWrap(column.allowWrap, isSelected, viewMode);
1661
- const allowOverflow = column.allowOverflow;
1661
+ column.allowOverflow;
1662
1662
  const cellValue = getCellDisplayValue(row, column);
1663
1663
  return /* @__PURE__ */ jsxRuntime.jsx(
1664
1664
  "td",
@@ -1678,7 +1678,7 @@ function TableRow({
1678
1678
  className: Table_default.cellContent,
1679
1679
  "data-align": (_c = column.align) != null ? _c : "left",
1680
1680
  "data-vertical-align": (_d = column.verticalAlign) != null ? _d : "top",
1681
- children: allowWrap || allowOverflow ? cellValue : /* @__PURE__ */ jsxRuntime.jsx("div", { className: Table_default.cellValueEllipsis, children: cellValue })
1681
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: Table_default.cellValueEllipsis, children: cellValue })
1682
1682
  }
1683
1683
  )
1684
1684
  },
package/dist/tanstack.css CHANGED
@@ -194,12 +194,6 @@
194
194
  .Button_icon2 {
195
195
  display: inline-flex;
196
196
  }
197
- .Button_button2.Button_xs2 {
198
- height: var(--component-size-xs);
199
- min-block-size: var(--component-size-xs);
200
- padding-inline: var(--spacing-xs);
201
- font-size: var(--font-size-xs);
202
- }
203
197
  .Button_button2.Button_sm2 {
204
198
  height: var(--component-size-sm);
205
199
  min-block-size: var(--component-size-sm);
@@ -314,6 +308,17 @@
314
308
  .Button_inline2.Button_active2:hover {
315
309
  color: var(--button-bg-primary-hover);
316
310
  }
311
+ .Button_button2.Button_xs2 {
312
+ height: auto;
313
+ min-block-size: 0;
314
+ padding-block: 0;
315
+ padding-inline: var(--spacing-xs);
316
+ font-size: var(--font-size-xs);
317
+ }
318
+ .Button_button2.Button_xs2 svg {
319
+ inline-size: var(--icon-size-sm);
320
+ block-size: var(--icon-size-sm);
321
+ }
317
322
 
318
323
  /* src/components/menu/Menu.module.css */
319
324
  .Menu_container2 {
@@ -625,7 +630,6 @@
625
630
  .InputContainer_inputContainer2[data-modified] label:not(.InputContainer_label2) {
626
631
  background-color: color-mix(in srgb, var(--color-status-warning-bg) 35%, transparent);
627
632
  border-radius: var(--border-radius-default);
628
- padding: 2px 6px;
629
633
  }
630
634
 
631
635
  /* src/components/forms/radio-buttons/RadioButtons.module.css */
@@ -766,7 +770,7 @@
766
770
  padding: var(--spacing-xxs);
767
771
  z-index: var(--z-popover);
768
772
  overflow: auto;
769
- box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), var(--shadow-sm);
773
+ box-shadow: var(--shadow-md);
770
774
  }
771
775
  .Popover_content2[hidden] {
772
776
  display: none;
package/dist/tanstack.js CHANGED
@@ -150,7 +150,6 @@ var Button_default = {
150
150
  rounded: "Button_rounded2",
151
151
  link: "Button_link2",
152
152
  icon: "Button_icon2",
153
- xs: "Button_xs2",
154
153
  sm: "Button_sm2",
155
154
  lg: "Button_lg2",
156
155
  fullWidth: "Button_fullWidth2",
@@ -161,7 +160,8 @@ var Button_default = {
161
160
  active: "Button_active2",
162
161
  success: "Button_success2",
163
162
  danger: "Button_danger2",
164
- inline: "Button_inline2"
163
+ inline: "Button_inline2",
164
+ xs: "Button_xs2"
165
165
  };
166
166
  function cx(...parts) {
167
167
  return parts.filter(Boolean).join(" ");
@@ -1637,7 +1637,7 @@ function TableRow({
1637
1637
  columns.map((column) => {
1638
1638
  var _a2, _b, _c, _d;
1639
1639
  const allowWrap = shouldAllowWrap(column.allowWrap, isSelected, viewMode);
1640
- const allowOverflow = column.allowOverflow;
1640
+ column.allowOverflow;
1641
1641
  const cellValue = getCellDisplayValue(row, column);
1642
1642
  return /* @__PURE__ */ jsx(
1643
1643
  "td",
@@ -1657,7 +1657,7 @@ function TableRow({
1657
1657
  className: Table_default.cellContent,
1658
1658
  "data-align": (_c = column.align) != null ? _c : "left",
1659
1659
  "data-vertical-align": (_d = column.verticalAlign) != null ? _d : "top",
1660
- children: allowWrap || allowOverflow ? cellValue : /* @__PURE__ */ jsx("div", { className: Table_default.cellValueEllipsis, children: cellValue })
1660
+ children: /* @__PURE__ */ jsx("div", { className: Table_default.cellValueEllipsis, children: cellValue })
1661
1661
  }
1662
1662
  )
1663
1663
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.101",
3
+ "version": "0.0.102",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",