@norges-domstoler/dds-components 17.5.0 → 17.5.2
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.css +4 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -2781,7 +2781,7 @@ type SkeletonProps = {
|
|
|
2781
2781
|
/**CSS border radius.
|
|
2782
2782
|
* @default "var(--dds-border-radius-surface)"
|
|
2783
2783
|
*/
|
|
2784
|
-
borderRadius
|
|
2784
|
+
borderRadius?: Property.BorderRadius;
|
|
2785
2785
|
} & ComponentPropsWithRef<'div'>;
|
|
2786
2786
|
declare const Skeleton: react.ForwardRefExoticComponent<Omit<SkeletonProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2787
2787
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2781,7 +2781,7 @@ type SkeletonProps = {
|
|
|
2781
2781
|
/**CSS border radius.
|
|
2782
2782
|
* @default "var(--dds-border-radius-surface)"
|
|
2783
2783
|
*/
|
|
2784
|
-
borderRadius
|
|
2784
|
+
borderRadius?: Property.BorderRadius;
|
|
2785
2785
|
} & ComponentPropsWithRef<'div'>;
|
|
2786
2786
|
declare const Skeleton: react.ForwardRefExoticComponent<Omit<SkeletonProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2787
2787
|
|
package/dist/index.js
CHANGED
|
@@ -5734,6 +5734,17 @@ Card.displayName = "Card";
|
|
|
5734
5734
|
|
|
5735
5735
|
// src/components/Card/CardAccordion/CardAccordion.tsx
|
|
5736
5736
|
var import_react45 = require("react");
|
|
5737
|
+
|
|
5738
|
+
// src/components/Card/CardAccordion/CardAccordion.module.css
|
|
5739
|
+
var CardAccordion_default = {
|
|
5740
|
+
container: "CardAccordion_container",
|
|
5741
|
+
"header-button": "CardAccordion_header-button",
|
|
5742
|
+
"header-container": "CardAccordion_header-container",
|
|
5743
|
+
body: "CardAccordion_body",
|
|
5744
|
+
body__content: "CardAccordion_body__content"
|
|
5745
|
+
};
|
|
5746
|
+
|
|
5747
|
+
// src/components/Card/CardAccordion/CardAccordion.tsx
|
|
5737
5748
|
var import_jsx_runtime198 = require("react/jsx-runtime");
|
|
5738
5749
|
var CardAccordion = (0, import_react45.forwardRef)(
|
|
5739
5750
|
(props, ref) => {
|
|
@@ -5757,7 +5768,12 @@ var CardAccordion = (0, import_react45.forwardRef)(
|
|
|
5757
5768
|
return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
|
|
5758
5769
|
"div",
|
|
5759
5770
|
{
|
|
5760
|
-
...getBaseHTMLProps(
|
|
5771
|
+
...getBaseHTMLProps(
|
|
5772
|
+
accordionId,
|
|
5773
|
+
cn(className, CardAccordion_default["container"]),
|
|
5774
|
+
htmlProps,
|
|
5775
|
+
rest
|
|
5776
|
+
),
|
|
5761
5777
|
ref,
|
|
5762
5778
|
children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
|
|
5763
5779
|
AccordionContextProvider,
|
|
@@ -5779,16 +5795,6 @@ CardAccordion.displayName = "CardAccordion";
|
|
|
5779
5795
|
// src/components/Card/CardAccordion/CardAccordionHeader.tsx
|
|
5780
5796
|
var import_dds_design_tokens14 = require("@norges-domstoler/dds-design-tokens");
|
|
5781
5797
|
var import_react46 = require("react");
|
|
5782
|
-
|
|
5783
|
-
// src/components/Card/CardAccordion/CardAccordion.module.css
|
|
5784
|
-
var CardAccordion_default = {
|
|
5785
|
-
"header-button": "CardAccordion_header-button",
|
|
5786
|
-
"header-container": "CardAccordion_header-container",
|
|
5787
|
-
body: "CardAccordion_body",
|
|
5788
|
-
body__content: "CardAccordion_body__content"
|
|
5789
|
-
};
|
|
5790
|
-
|
|
5791
|
-
// src/components/Card/CardAccordion/CardAccordionHeader.tsx
|
|
5792
5798
|
var import_jsx_runtime199 = require("react/jsx-runtime");
|
|
5793
5799
|
var CardAccordionHeader = (0, import_react46.forwardRef)((props, ref) => {
|
|
5794
5800
|
const {
|