@gouvfr-lasuite/ui-kit 0.4.1 → 0.5.0
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/cunningham.ts +85 -55
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +33 -1
- package/dist/index.js +8205 -9697
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -366,6 +366,36 @@ export declare const cunninghamConfig: {
|
|
|
366
366
|
"value-color": string;
|
|
367
367
|
"font-size": string;
|
|
368
368
|
};
|
|
369
|
+
badge: {
|
|
370
|
+
"font-size": string;
|
|
371
|
+
"border-radius": string;
|
|
372
|
+
"padding-inline": string;
|
|
373
|
+
"padding-block": string;
|
|
374
|
+
accent: {
|
|
375
|
+
"background-color": string;
|
|
376
|
+
color: string;
|
|
377
|
+
};
|
|
378
|
+
neutral: {
|
|
379
|
+
"background-color": string;
|
|
380
|
+
color: string;
|
|
381
|
+
};
|
|
382
|
+
danger: {
|
|
383
|
+
"background-color": string;
|
|
384
|
+
color: string;
|
|
385
|
+
};
|
|
386
|
+
success: {
|
|
387
|
+
"background-color": string;
|
|
388
|
+
color: string;
|
|
389
|
+
};
|
|
390
|
+
warning: {
|
|
391
|
+
"background-color": string;
|
|
392
|
+
color: string;
|
|
393
|
+
};
|
|
394
|
+
info: {
|
|
395
|
+
"background-color": string;
|
|
396
|
+
color: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
369
399
|
};
|
|
370
400
|
};
|
|
371
401
|
};
|
|
@@ -474,7 +504,7 @@ export declare type LeftPanelProps = {
|
|
|
474
504
|
isOpen?: boolean;
|
|
475
505
|
};
|
|
476
506
|
|
|
477
|
-
export declare const MainLayout: ({ icon, children, hideLeftPanelOnDesktop, leftPanelContent, rightPanelContent, rightHeaderContent, languages, enableResize, rightPanelIsOpen, }: PropsWithChildren<MainLayoutProps>) => JSX.Element;
|
|
507
|
+
export declare const MainLayout: ({ icon, children, hideLeftPanelOnDesktop, leftPanelContent, rightPanelContent, rightHeaderContent, languages, enableResize, rightPanelIsOpen, ...props }: PropsWithChildren<MainLayoutProps>) => JSX.Element;
|
|
478
508
|
|
|
479
509
|
export declare type MainLayoutProps = {
|
|
480
510
|
icon?: React.ReactNode;
|
|
@@ -486,6 +516,8 @@ export declare type MainLayoutProps = {
|
|
|
486
516
|
enableResize?: boolean;
|
|
487
517
|
rightPanelIsOpen?: boolean;
|
|
488
518
|
hideLeftPanelOnDesktop?: boolean;
|
|
519
|
+
isLeftPanelOpen?: boolean;
|
|
520
|
+
setIsLeftPanelOpen?: (isLeftPanelOpen: boolean) => void;
|
|
489
521
|
};
|
|
490
522
|
|
|
491
523
|
export { NodeRendererProps }
|